blib/lib/Paws/Glacier/DataRetrievalRule.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 7 / 7 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/Glacier/DataRetrievalPolicy.pm ↑ Summary blib/lib/Paws/Glacier/DeleteArchive.pm »
1 # Generated by default/object.tt
2 package Paws::Glacier::DataRetrievalRule;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has BytesPerHour => (is => 'ro', isa => 'Int');
5 1 has Strategy => (is => 'ro', isa => 'Str');
6  
7 1 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::Glacier::DataRetrievalRule
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::Glacier::DataRetrievalRule object:
25  
26 $service_obj->Method(Att1 => { BytesPerHour => $value, ..., Strategy => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::Glacier::DataRetrievalRule object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->BytesPerHour
34  
35 =head1 DESCRIPTION
36  
37 Data retrieval policy rule.
38  
39 =head1 ATTRIBUTES
40  
41  
42 =head2 BytesPerHour => Int
43  
44 The maximum number of bytes that can be retrieved in an hour.
45  
46 This field is required only if the value of the Strategy field is
47 C<BytesPerHour>. Your PUT operation will be rejected if the Strategy
48 field is not set to C<BytesPerHour> and you set this field.
49  
50  
51 =head2 Strategy => Str
52  
53 The type of data retrieval policy to set.
54  
55 Valid values: BytesPerHour|FreeTier|None
56  
57  
58  
59 =head1 SEE ALSO
60  
61 This class forms part of L<Paws>, describing an object used in L<Paws::Glacier>
62  
63 =head1 BUGS and CONTRIBUTIONS
64  
65 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
66  
67 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
68  
69 =cut
70  
« blib/lib/Paws/Glacier/DataRetrievalPolicy.pm ↑ Summary blib/lib/Paws/Glacier/DeleteArchive.pm »