s3_get_bucket_lifecycle_configuration: Bucket lifecycle configuration now supports specifying a...

View source: R/s3_operations.R

s3_get_bucket_lifecycle_configurationR Documentation

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

Description

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.

Usage

s3_get_bucket_lifecycle_configuration(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 bucket is owned by a different account, the request fails with the HTTP status code ⁠403 Forbidden⁠ (access denied).


paws.storage documentation built on Sept. 12, 2023, 1:23 a.m.