| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Honeycode::UpsertRowData; | ||
| 3 | use Moose; | ||
| 4 | has BatchItemId => (is => 'ro', isa => 'Str', request_name => 'batchItemId', traits => ['NameInRequest'], required => 1); | ||
| 5 | has CellsToUpdate => (is => 'ro', isa => 'Paws::Honeycode::RowDataInput', request_name => 'cellsToUpdate', traits => ['NameInRequest'], required => 1); | ||
| 6 | has Filter => (is => 'ro', isa => 'Paws::Honeycode::Filter', request_name => 'filter', traits => ['NameInRequest'], required => 1); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::Honeycode::UpsertRowData | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::Honeycode::UpsertRowData object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { BatchItemId => $value, ..., Filter => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::Honeycode::UpsertRowData object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->BatchItemId | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Data needed to upsert rows in a table as part of a single item in the | ||
| 39 | BatchUpsertTableRows request. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 B<REQUIRED> BatchItemId => Str | ||
| 45 | |||
| 46 | An external identifier that represents a single item in the request | ||
| 47 | that is being upserted as part of the BatchUpsertTableRows request. | ||
| 48 | This can be any string that you can use to identify the item in the | ||
| 49 | request. The BatchUpsertTableRows API puts the batch item id in the | ||
| 50 | results to allow you to link data in the request to data in the | ||
| 51 | results. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> CellsToUpdate => L<Paws::Honeycode::RowDataInput> | ||
| 55 | |||
| 56 | A map representing the cells to update for the matching rows or an | ||
| 57 | appended row. The key is the column id of the cell and the value is the | ||
| 58 | CellInput object that represents the data to set in that cell. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> Filter => L<Paws::Honeycode::Filter> | ||
| 62 | |||
| 63 | The filter formula to use to find existing matching rows to update. The | ||
| 64 | formula needs to return zero or more rows. If the formula returns 0 | ||
| 65 | rows, then a new row will be appended in the target table. If the | ||
| 66 | formula returns one or more rows, then the returned rows will be | ||
| 67 | updated. | ||
| 68 | |||
| 69 | Note that the filter formula needs to return rows from the target table | ||
| 70 | for the upsert operation to succeed. If the filter formula has a syntax | ||
| 71 | error or it doesn't evaluate to zero or more rows in the target table | ||
| 72 | for any one item in the input list, then the entire | ||
| 73 | BatchUpsertTableRows request fails and no updates are made to the | ||
| 74 | table. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head1 SEE ALSO | ||
| 79 | |||
| 80 | This class forms part of L<Paws>, describing an object used in L<Paws::Honeycode> | ||
| 81 | |||
| 82 | =head1 BUGS and CONTRIBUTIONS | ||
| 83 | |||
| 84 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 85 | |||
| 86 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 87 | |||
| 88 | =cut | ||
| 89 |