Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key name prefix, one or more object tags, or a combination of both. Accordingly, this section describes the latest API. The response describes the new filter element that you can use to specify a filter to select a subset of objects to which the rule applies. If you are using a previous version of the lifecycle configuration, it still works. For the earlier action, see get_bucket_lifecycle
.
See https://www.paws-r-sdk.com/docs/s3_get_bucket_lifecycle_configuration/ for full documentation.
s3_get_bucket_lifecycle_configuration(Bucket, ExpectedBucketOwner = NULL)
[required] The name of the bucket for which to get the lifecycle information.
The account ID of the expected bucket owner. If the bucket is owned by a
different account, the request fails with the HTTP status code
403 Forbidden
(access denied).