NAME

Paws::S3::Rule

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::Rule object:

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

Results returned from an API call

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

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

DESCRIPTION

Specifies lifecycle rules for an Amazon S3 bucket. For more information, see PUT Bucket lifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html) in the Amazon Simple Storage Service API Reference.

ATTRIBUTES

AbortIncompleteMultipartUpload => Paws::S3::AbortIncompleteMultipartUpload

Expiration => Paws::S3::LifecycleExpiration

Specifies the expiration for the lifecycle of the object.

ID => Str

Unique identifier for the rule. The value can't be longer than 255 characters.

NoncurrentVersionExpiration => Paws::S3::NoncurrentVersionExpiration

NoncurrentVersionTransition => Paws::S3::NoncurrentVersionTransition

REQUIRED Prefix => Str

Object key prefix that identifies one or more objects to which this rule applies.

REQUIRED Status => Str

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

Transition => Paws::S3::Transition

Specifies when an 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