File Coverage

blib/lib/Paws/S3/NoncurrentVersionExpiration.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::NoncurrentVersionExpiration;
2 1     1   280 use Moose;
  1         2  
  1         6  
3             has NoncurrentDays => (is => 'ro', isa => 'Int');
4             1;
5              
6             ### main pod documentation begin ###
7              
8             =head1 NAME
9              
10             Paws::S3::NoncurrentVersionExpiration
11              
12             =head1 USAGE
13              
14             This class represents one of two things:
15              
16             =head3 Arguments in a call to a service
17              
18             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
19             Each attribute should be used as a named argument in the calls that expect this type of object.
20              
21             As an example, if Att1 is expected to be a Paws::S3::NoncurrentVersionExpiration object:
22              
23             $service_obj->Method(Att1 => { NoncurrentDays => $value, ..., NoncurrentDays => $value });
24              
25             =head3 Results returned from an API call
26              
27             Use accessors for each attribute. If Att1 is expected to be an Paws::S3::NoncurrentVersionExpiration object:
28              
29             $result = $service_obj->Method(...);
30             $result->Att1->NoncurrentDays
31              
32             =head1 DESCRIPTION
33              
34             Specifies when noncurrent object versions expire. Upon expiration,
35             Amazon S3 permanently deletes the noncurrent object versions. You set
36             this lifecycle configuration action on a bucket that has versioning
37             enabled (or suspended) to request that Amazon S3 delete noncurrent
38             object versions at a specific period in the object's lifetime.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 NoncurrentDays => Int
44              
45             Specifies the number of days an object is noncurrent before Amazon S3
46             can perform the associated action. For information about the noncurrent
47             days calculations, see How Amazon S3 Calculates When an Object Became
48             Noncurrent in the Amazon Simple Storage Service Developer Guide.
49              
50              
51              
52             =head1 SEE ALSO
53              
54             This class forms part of L<Paws>, describing an object used in L<Paws::S3>
55              
56             =head1 BUGS and CONTRIBUTIONS
57              
58             The source code is located here: https://github.com/pplu/aws-sdk-perl
59              
60             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
61              
62             =cut
63