File Coverage

blib/lib/Paws/S3/LifecycleRule.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::S3::LifecycleRule;
2 1     1   687 use Moose;
  1         4  
  1         9  
3             has AbortIncompleteMultipartUpload => (is => 'ro', isa => 'Paws::S3::AbortIncompleteMultipartUpload');
4             has Expiration => (is => 'ro', isa => 'Paws::S3::LifecycleExpiration');
5             has Filter => (is => 'ro', isa => 'Paws::S3::LifecycleRuleFilter');
6             has ID => (is => 'ro', isa => 'Str');
7             has NoncurrentVersionExpiration => (is => 'ro', isa => 'Paws::S3::NoncurrentVersionExpiration');
8             has NoncurrentVersionTransitions => (is => 'ro', isa => 'ArrayRef[Paws::S3::NoncurrentVersionTransition]', request_name => 'NoncurrentVersionTransition', traits => ['NameInRequest']);
9             has Prefix => (is => 'ro', isa => 'Str');
10             has Status => (is => 'ro', isa => 'Str', required => 1);
11             has Transitions => (is => 'ro', isa => 'ArrayRef[Paws::S3::Transition]', request_name => 'Transition', traits => ['NameInRequest']);
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::S3::LifecycleRule
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::S3::LifecycleRule object:
30              
31             $service_obj->Method(Att1 => { AbortIncompleteMultipartUpload => $value, ..., Transitions => $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::S3::LifecycleRule object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->AbortIncompleteMultipartUpload
39              
40             =head1 DESCRIPTION
41              
42             This class has no description
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 AbortIncompleteMultipartUpload => L<Paws::S3::AbortIncompleteMultipartUpload>
48              
49            
50              
51              
52             =head2 Expiration => L<Paws::S3::LifecycleExpiration>
53              
54            
55              
56              
57             =head2 Filter => L<Paws::S3::LifecycleRuleFilter>
58              
59            
60              
61              
62             =head2 ID => Str
63              
64             Unique identifier for the rule. The value cannot be longer than 255
65             characters.
66              
67              
68             =head2 NoncurrentVersionExpiration => L<Paws::S3::NoncurrentVersionExpiration>
69              
70            
71              
72              
73             =head2 NoncurrentVersionTransitions => ArrayRef[L<Paws::S3::NoncurrentVersionTransition>]
74              
75            
76              
77              
78             =head2 Prefix => Str
79              
80             Prefix identifying one or more objects to which the rule applies. This
81             is deprecated; use Filter instead.
82              
83              
84             =head2 B<REQUIRED> Status => Str
85              
86             If 'Enabled', the rule is currently being applied. If 'Disabled', the
87             rule is not currently being applied.
88              
89              
90             =head2 Transitions => ArrayRef[L<Paws::S3::Transition>]
91              
92            
93              
94              
95              
96             =head1 SEE ALSO
97              
98             This class forms part of L<Paws>, describing an object used in L<Paws::S3>
99              
100             =head1 BUGS and CONTRIBUTIONS
101              
102             The source code is located here: https://github.com/pplu/aws-sdk-perl
103              
104             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
105              
106             =cut
107