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
get_bucket_logging
:
create_bucket
put_bucket_logging
s3_get_bucket_logging(Bucket, ExpectedBucketOwner)
A list with the following syntax:
list(
LoggingEnabled = list(
TargetBucket = "string",
TargetGrants = list(
list(
Grantee = list(
DisplayName = "string",
EmailAddress = "string",
ID = "string",
Type = "CanonicalUser"|"AmazonCustomerByEmail"|"Group",
URI = "string"
),
Permission = "FULL_CONTROL"|"READ"|"WRITE"
)
),
TargetPrefix = "string"
)
)
[required] The bucket name for which to get the logging information.
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.
svc$get_bucket_logging(
Bucket = "string",
ExpectedBucketOwner = "string"
)