class Aws::S3::Types::PutBucketLifecycleRequest


@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleRequest AWS API Documentation
@return [String]
(Access Denied)‘ error.
by a different account, the request will fail with an HTTP `403
The account ID of the expected bucket owner. If the bucket is owned
@!attribute [rw] expected_bucket_owner
@return [Types::LifecycleConfiguration]
@!attribute [rw] lifecycle_configuration
@return [String]
SDKs, this field is calculated automatically.
For requests made using the AWS Command Line Interface (CLI) or AWS
@!attribute [rw] content_md5
@return [String]
@!attribute [rw] bucket
}
expected_bucket_owner: “AccountId”,
},
],
},
},
days_after_initiation: 1,
abort_incomplete_multipart_upload: {
},
noncurrent_days: 1,
noncurrent_version_expiration: {
},
storage_class: “GLACIER”, # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
noncurrent_days: 1,
noncurrent_version_transition: {
},
storage_class: “GLACIER”, # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
days: 1,
date: Time.now,
transition: {
status: “Enabled”, # required, accepts Enabled, Disabled
prefix: “Prefix”, # required
id: “ID”,
},
expired_object_delete_marker: false,
days: 1,
date: Time.now,
expiration: {
{
rules: [ # required
lifecycle_configuration: {
content_md5: “ContentMD5”,
bucket: “BucketName”, # required
{
data as a hash:
@note When making an API call, you may pass PutBucketLifecycleRequest