paws.storage (version 0.5.0)

s3_get_bucket_lifecycle: For an updated version of this API, see GetBucketLifecycleConfiguration

Description

For an updated version of this API, see get_bucket_lifecycle_configuration. If you configured a bucket lifecycle using the filter element, you should see the updated version of this topic. This topic is provided for backward compatibility.

See https://www.paws-r-sdk.com/docs/s3_get_bucket_lifecycle/ for full documentation.

Usage

s3_get_bucket_lifecycle(Bucket, ExpectedBucketOwner = NULL)

Arguments

Bucket

[required] The name of the bucket for which to get the lifecycle information.

ExpectedBucketOwner

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).