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 Configuration (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html) in the Amazon S3 API Reference. For examples, see Put Bucket Lifecycle Configuration Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html#API_PutBucketLifecycleConfiguration_Examples).
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.
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.
Transition => Paws::S3::Transition
Specifies when an object transitions to a specified storage class. For more information about Amazon S3 lifecycle configuration rules, see Transitioning Objects Using Amazon S3 Lifecycle (https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html) in the Amazon S3 User Guide.
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