Learn R Programming

paws.storage (version 0.1.10)

s3_get_bucket_logging: Returns the logging status of a bucket and the permissions users have to view and modify that status

Description

Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner.

The following operations are related to GetBucketLogging:

Usage

s3_get_bucket_logging(Bucket, ExpectedBucketOwner)

Arguments

Bucket

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

ExpectedBucketOwner

The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

Request syntax

svc$get_bucket_logging(
  Bucket = "string",
  ExpectedBucketOwner = "string"
)