File Coverage

blib/lib/Paws/DynamoDB/PutItemOutput.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::DynamoDB::PutItemOutput;
3 1     1   588 use Moose;
  1     1   3  
  1         8  
  1         515  
  1         4  
  1         6  
4             has Attributes => (is => 'ro', isa => 'Paws::DynamoDB::AttributeMap');
5             has ConsumedCapacity => (is => 'ro', isa => 'Paws::DynamoDB::ConsumedCapacity');
6             has ItemCollectionMetrics => (is => 'ro', isa => 'Paws::DynamoDB::ItemCollectionMetrics');
7              
8             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 Provisioned
33             Throughput in the I<Amazon DynamoDB Developer Guide>.
34              
35              
36             =head2 ItemCollectionMetrics => L<Paws::DynamoDB::ItemCollectionMetrics>
37              
38             Information about item collections, if any, that were affected by the
39             C<PutItem> operation. C<ItemCollectionMetrics> is only returned if the
40             C<ReturnItemCollectionMetrics> parameter was specified. If the table
41             does not have any local secondary indexes, this information is not
42             returned in the response.
43              
44             Each C<ItemCollectionMetrics> element consists of:
45              
46             =over
47              
48             =item *
49              
50             C<ItemCollectionKey> - The partition key value of the item collection.
51             This is the same as the partition key value of the item itself.
52              
53             =item *
54              
55             C<SizeEstimateRange> - An estimate of item collection size, in
56             gigabytes. This value is a two-element array containing a lower bound
57             and an upper bound for the estimate. The estimate includes the size of
58             all the items in the table, plus the size of all attributes projected
59             into all of the local secondary indexes on that table. Use this
60             estimate to measure whether a local secondary index is approaching its
61             size limit.
62              
63             The estimate is subject to change over time; therefore, do not rely on
64             the precision or accuracy of the estimate.
65              
66             =back
67              
68              
69              
70             =head2 _request_id => Str
71              
72              
73             =cut
74              
75             1;