« blib/lib/Paws/DynamoDB/PutItemInputAttributeMap.pm
↑ Summary
blib/lib/Paws/DynamoDB/PutRequest.pm »
| 1 | |||
| 2 | package Paws::DynamoDB::PutItemOutput; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has Attributes => (is => 'ro', isa => 'Paws::DynamoDB::AttributeMap'); | |
| 5 | 1 | has ConsumedCapacity => (is => 'ro', isa => 'Paws::DynamoDB::ConsumedCapacity'); | |
| 6 | 1 | has ItemCollectionMetrics => (is => 'ro', isa => 'Paws::DynamoDB::ItemCollectionMetrics'); | |
| 7 | |||
| 8 | 1 | has _request_id => (is => 'ro', isa => 'Str'); | |
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::DynamoDB::PutItemOutput | ||
| 15 | |||
| 16 | =head1 ATTRIBUTES | ||
| 17 | |||
| 18 | |||
| 19 | =head2 Attributes => L<Paws::DynamoDB::AttributeMap> | ||
| 20 | |||
| 21 | The attribute values as they appeared before the C<PutItem> operation, | ||
| 22 | but only if C<ReturnValues> is specified as C<ALL_OLD> in the request. | ||
| 23 | Each element consists of an attribute name and an attribute value. | ||
| 24 | |||
| 25 | |||
| 26 | =head2 ConsumedCapacity => L<Paws::DynamoDB::ConsumedCapacity> | ||
| 27 | |||
| 28 | The capacity units consumed by the C<PutItem> operation. The data | ||
| 29 | returned includes the total provisioned throughput consumed, along with | ||
| 30 | statistics for the table and any indexes involved in the operation. | ||
| 31 | C<ConsumedCapacity> is only returned if the C<ReturnConsumedCapacity> | ||
| 32 | parameter was specified. For more information, see Read/Write Capacity | ||
| 33 | Mode | ||
| 34 | (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html) | ||
| 35 | in the I<Amazon DynamoDB Developer Guide>. | ||
| 36 | |||
| 37 | |||
| 38 | =head2 ItemCollectionMetrics => L<Paws::DynamoDB::ItemCollectionMetrics> | ||
| 39 | |||
| 40 | Information about item collections, if any, that were affected by the | ||
| 41 | C<PutItem> operation. C<ItemCollectionMetrics> is only returned if the | ||
| 42 | C<ReturnItemCollectionMetrics> parameter was specified. If the table | ||
| 43 | does not have any local secondary indexes, this information is not | ||
| 44 | returned in the response. | ||
| 45 | |||
| 46 | Each C<ItemCollectionMetrics> element consists of: | ||
| 47 | |||
| 48 | =over | ||
| 49 | |||
| 50 | =item * | ||
| 51 | |||
| 52 | C<ItemCollectionKey> - The partition key value of the item collection. | ||
| 53 | This is the same as the partition key value of the item itself. | ||
| 54 | |||
| 55 | =item * | ||
| 56 | |||
| 57 | C<SizeEstimateRangeGB> - An estimate of item collection size, in | ||
| 58 | gigabytes. This value is a two-element array containing a lower bound | ||
| 59 | and an upper bound for the estimate. The estimate includes the size of | ||
| 60 | all the items in the table, plus the size of all attributes projected | ||
| 61 | into all of the local secondary indexes on that table. Use this | ||
| 62 | estimate to measure whether a local secondary index is approaching its | ||
| 63 | size limit. | ||
| 64 | |||
| 65 | The estimate is subject to change over time; therefore, do not rely on | ||
| 66 | the precision or accuracy of the estimate. | ||
| 67 | |||
| 68 | =back | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 _request_id => Str | ||
| 73 | |||
| 74 | |||
| 75 | =cut | ||
| 76 | |||
| 77 | 1 | 1; | |