NAME

Paws::S3::LifecycleRule

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::S3::LifecycleRule object:

$service_obj->Method(Att1 => { AbortIncompleteMultipartUpload => $value, ..., Transitions => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::S3::LifecycleRule object:

$result = $service_obj->Method(...);
$result->Att1->AbortIncompleteMultipartUpload

DESCRIPTION

A lifecycle rule for individual objects in an Amazon S3 bucket.

ATTRIBUTES

AbortIncompleteMultipartUpload => Paws::S3::AbortIncompleteMultipartUpload

Expiration => Paws::S3::LifecycleExpiration

Specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker.

Filter => Paws::S3::LifecycleRuleFilter

The Filter is used to identify objects that a Lifecycle Rule applies to. A Filter must have exactly one of Prefix, Tag, or And specified. Filter is required if the LifecycleRule does not containt a Prefix element.

ID => Str

Unique identifier for the rule. The value cannot be longer than 255 characters.

NoncurrentVersionExpiration => Paws::S3::NoncurrentVersionExpiration

NoncurrentVersionTransitions => ArrayRef[Paws::S3::NoncurrentVersionTransition]

Specifies the transition rule for the lifecycle rule that describes when noncurrent objects transition to a specific storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to a specific storage class at a set period in the object's lifetime.

Prefix => Str

Prefix identifying one or more objects to which the rule applies. This is no longer used; use Filter instead.

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints).

REQUIRED Status => Str

If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied.

Transitions => ArrayRef[Paws::S3::Transition]

Specifies when an Amazon S3 object transitions to a specified storage class.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::S3

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues