File Coverage

blib/lib/Paws/DynamoDB/ProvisionedThroughputDescription.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             package Paws::DynamoDB::ProvisionedThroughputDescription;
2 1     1   730 use Moose;
  1     1   4  
  1         9  
  1         591  
  1         3  
  1         7  
3             has LastDecreaseDateTime => (is => 'ro', isa => 'Str');
4             has LastIncreaseDateTime => (is => 'ro', isa => 'Str');
5             has NumberOfDecreasesToday => (is => 'ro', isa => 'Int');
6             has ReadCapacityUnits => (is => 'ro', isa => 'Int');
7             has WriteCapacityUnits => (is => 'ro', isa => 'Int');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::DynamoDB::ProvisionedThroughputDescription
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::DynamoDB::ProvisionedThroughputDescription object:
26              
27             $service_obj->Method(Att1 => { LastDecreaseDateTime => $value, ..., WriteCapacityUnits => $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::DynamoDB::ProvisionedThroughputDescription object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->LastDecreaseDateTime
35              
36             =head1 DESCRIPTION
37              
38             Represents the provisioned throughput settings for the table,
39             consisting of read and write capacity units, along with data about
40             increases and decreases.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 LastDecreaseDateTime => Str
46              
47             The date and time of the last provisioned throughput decrease for this
48             table.
49              
50              
51             =head2 LastIncreaseDateTime => Str
52              
53             The date and time of the last provisioned throughput increase for this
54             table.
55              
56              
57             =head2 NumberOfDecreasesToday => Int
58              
59             The number of provisioned throughput decreases for this table during
60             this UTC calendar day. For current maximums on provisioned throughput
61             decreases, see Limits in the I<Amazon DynamoDB Developer Guide>.
62              
63              
64             =head2 ReadCapacityUnits => Int
65              
66             The maximum number of strongly consistent reads consumed per second
67             before DynamoDB returns a C<ThrottlingException>. Eventually consistent
68             reads require less effort than strongly consistent reads, so a setting
69             of 50 C<ReadCapacityUnits> per second provides 100 eventually
70             consistent C<ReadCapacityUnits> per second.
71              
72              
73             =head2 WriteCapacityUnits => Int
74              
75             The maximum number of writes consumed per second before DynamoDB
76             returns a C<ThrottlingException>.
77              
78              
79              
80             =head1 SEE ALSO
81              
82             This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDB>
83              
84             =head1 BUGS and CONTRIBUTIONS
85              
86             The source code is located here: https://github.com/pplu/aws-sdk-perl
87              
88             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
89              
90             =cut
91