class Aws::S3::Types::PutBucketLoggingRequest


@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLoggingRequest AWS API Documentation
@return [String]
(Access Denied)‘ error.
by a different account, the request will fail with an HTTP `403
The account ID of the expected bucket owner. If the bucket is owned
@!attribute [rw] expected_bucket_owner
@return [String]
SDKs, this field is calculated automatically.
For requests made using the AWS Command Line Interface (CLI) or AWS
The MD5 hash of the `PutBucketLogging` request body.
@!attribute [rw] content_md5
@return [Types::BucketLoggingStatus]
Container for logging status information.
@!attribute [rw] bucket_logging_status
@return [String]
The name of the bucket for which to set the logging parameters.
@!attribute [rw] bucket
}
expected_bucket_owner: “AccountId”,
content_md5: “ContentMD5”,
},
},
target_prefix: “TargetPrefix”, # required
],
},
permission: “FULL_CONTROL”, # accepts FULL_CONTROL, READ, WRITE
},
uri: “URI”,
type: “CanonicalUser”, # required, accepts CanonicalUser, AmazonCustomerByEmail, Group
id: “ID”,
email_address: “EmailAddress”,
display_name: “DisplayName”,
grantee: {
{
target_grants: [
target_bucket: “TargetBucket”, # required
logging_enabled: {
bucket_logging_status: { # required
bucket: “BucketName”, # required
{
data as a hash:
@note When making an API call, you may pass PutBucketLoggingRequest