« blib/lib/Paws/S3Control/LifecycleExpiration.pm
↑ Summary
blib/lib/Paws/S3Control/LifecycleRuleAndOperator.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::S3Control::LifecycleRule; | ||
| 3 | use Moose; | ||
| 4 | has AbortIncompleteMultipartUpload => (is => 'ro', isa => 'Paws::S3Control::AbortIncompleteMultipartUpload'); | ||
| 5 | has Expiration => (is => 'ro', isa => 'Paws::S3Control::LifecycleExpiration'); | ||
| 6 | has Filter => (is => 'ro', isa => 'Paws::S3Control::LifecycleRuleFilter'); | ||
| 7 | has ID => (is => 'ro', isa => 'Str'); | ||
| 8 | has NoncurrentVersionExpiration => (is => 'ro', isa => 'Paws::S3Control::NoncurrentVersionExpiration'); | ||
| 9 | has NoncurrentVersionTransitions => (is => 'ro', isa => 'ArrayRef[Paws::S3Control::NoncurrentVersionTransition]', request_name => 'NoncurrentVersionTransition', traits => ['NameInRequest']); | ||
| 10 | has Status => (is => 'ro', isa => 'Str', required => 1); | ||
| 11 | has Transitions => (is => 'ro', isa => 'ArrayRef[Paws::S3Control::Transition]', request_name => 'Transition', traits => ['NameInRequest']); | ||
| 12 | |||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::S3Control::LifecycleRule | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::S3Control::LifecycleRule object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { AbortIncompleteMultipartUpload => $value, ..., Transitions => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::S3Control::LifecycleRule object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->AbortIncompleteMultipartUpload | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | The container for the Outposts bucket lifecycle rule. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 AbortIncompleteMultipartUpload => L<Paws::S3Control::AbortIncompleteMultipartUpload> | ||
| 49 | |||
| 50 | Specifies the days since the initiation of an incomplete multipart | ||
| 51 | upload that Amazon S3 waits before permanently removing all parts of | ||
| 52 | the upload. For more information, see Aborting Incomplete Multipart | ||
| 53 | Uploads Using a Bucket Lifecycle Policy | ||
| 54 | (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config) | ||
| 55 | in the I<Amazon S3 User Guide>. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 Expiration => L<Paws::S3Control::LifecycleExpiration> | ||
| 59 | |||
| 60 | Specifies the expiration for the lifecycle of the object in the form of | ||
| 61 | date, days and, whether the object has a delete marker. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 Filter => L<Paws::S3Control::LifecycleRuleFilter> | ||
| 65 | |||
| 66 | The container for the filter of lifecycle rule. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 ID => Str | ||
| 70 | |||
| 71 | Unique identifier for the rule. The value cannot be longer than 255 | ||
| 72 | characters. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 NoncurrentVersionExpiration => L<Paws::S3Control::NoncurrentVersionExpiration> | ||
| 76 | |||
| 77 | The noncurrent version expiration of the lifecycle rule. | ||
| 78 | |||
| 79 | This is not supported by Amazon S3 on Outposts buckets. | ||
| 80 | |||
| 81 | |||
| 82 | =head2 NoncurrentVersionTransitions => ArrayRef[L<Paws::S3Control::NoncurrentVersionTransition>] | ||
| 83 | |||
| 84 | Specifies the transition rule for the lifecycle rule that describes | ||
| 85 | when noncurrent objects transition to a specific storage class. If your | ||
| 86 | bucket is versioning-enabled (or versioning is suspended), you can set | ||
| 87 | this action to request that Amazon S3 transition noncurrent object | ||
| 88 | versions to a specific storage class at a set period in the object's | ||
| 89 | lifetime. | ||
| 90 | |||
| 91 | This is not supported by Amazon S3 on Outposts buckets. | ||
| 92 | |||
| 93 | |||
| 94 | =head2 B<REQUIRED> Status => Str | ||
| 95 | |||
| 96 | If 'Enabled', the rule is currently being applied. If 'Disabled', the | ||
| 97 | rule is not currently being applied. | ||
| 98 | |||
| 99 | |||
| 100 | =head2 Transitions => ArrayRef[L<Paws::S3Control::Transition>] | ||
| 101 | |||
| 102 | Specifies when an Amazon S3 object transitions to a specified storage | ||
| 103 | class. | ||
| 104 | |||
| 105 | This is not supported by Amazon S3 on Outposts buckets. | ||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | =head1 SEE ALSO | ||
| 110 | |||
| 111 | This class forms part of L<Paws>, describing an object used in L<Paws::S3Control> | ||
| 112 | |||
| 113 | =head1 BUGS and CONTRIBUTIONS | ||
| 114 | |||
| 115 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 116 | |||
| 117 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 118 | |||
| 119 | =cut | ||
| 120 |