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
:
s3_get_bucket_logging(Bucket, ExpectedBucketOwner)
[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.
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" ) )
svc$get_bucket_logging( Bucket = "string", ExpectedBucketOwner = "string" )