blib/lib/Paws/DynamoDB/ConsumedCapacity.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/DynamoDB/Capacity.pm ↑ Summary blib/lib/Paws/DynamoDB/CreateTable.pm »
1 # Generated by default/object.tt
2 package Paws::DynamoDB::ConsumedCapacity;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has CapacityUnits => (is => 'ro', isa => 'Num');
5 1 has GlobalSecondaryIndexes => (is => 'ro', isa => 'Paws::DynamoDB::SecondaryIndexesCapacityMap');
6 1 has LocalSecondaryIndexes => (is => 'ro', isa => 'Paws::DynamoDB::SecondaryIndexesCapacityMap');
7 1 has ReadCapacityUnits => (is => 'ro', isa => 'Num');
8 1 has Table => (is => 'ro', isa => 'Paws::DynamoDB::Capacity');
9 1 has TableName => (is => 'ro', isa => 'Str');
10 1 has WriteCapacityUnits => (is => 'ro', isa => 'Num');
11  
12 1 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::DynamoDB::ConsumedCapacity
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::DynamoDB::ConsumedCapacity object:
30  
31 $service_obj->Method(Att1 => { CapacityUnits => $value, ..., WriteCapacityUnits => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::DynamoDB::ConsumedCapacity object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->CapacityUnits
39  
40 =head1 DESCRIPTION
41  
42 The capacity units consumed by an operation. The data returned includes
43 the total provisioned throughput consumed, along with statistics for
44 the table and any indexes involved in the operation.
45 C<ConsumedCapacity> is only returned if the request asked for it. For
46 more information, see Provisioned Throughput
47 (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html)
48 in the I<Amazon DynamoDB Developer Guide>.
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 CapacityUnits => Num
54  
55 The total number of capacity units consumed by the operation.
56  
57  
58 =head2 GlobalSecondaryIndexes => L<Paws::DynamoDB::SecondaryIndexesCapacityMap>
59  
60 The amount of throughput consumed on each global index affected by the
61 operation.
62  
63  
64 =head2 LocalSecondaryIndexes => L<Paws::DynamoDB::SecondaryIndexesCapacityMap>
65  
66 The amount of throughput consumed on each local index affected by the
67 operation.
68  
69  
70 =head2 ReadCapacityUnits => Num
71  
72 The total number of read capacity units consumed by the operation.
73  
74  
75 =head2 Table => L<Paws::DynamoDB::Capacity>
76  
77 The amount of throughput consumed on the table affected by the
78 operation.
79  
80  
81 =head2 TableName => Str
82  
83 The name of the table that was affected by the operation.
84  
85  
86 =head2 WriteCapacityUnits => Num
87  
88 The total number of write capacity units consumed by the operation.
89  
90  
91  
92 =head1 SEE ALSO
93  
94 This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDB>
95  
96 =head1 BUGS and CONTRIBUTIONS
97  
98 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
99  
100 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
101  
102 =cut
103  
« blib/lib/Paws/DynamoDB/Capacity.pm ↑ Summary blib/lib/Paws/DynamoDB/CreateTable.pm »