Class: Aws::S3::Types::PutBucketLoggingRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::PutBucketLoggingRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
Note:
When making an API call, you may pass PutBucketLoggingRequest data as a hash:
{
bucket: "BucketName", # required
bucket_logging_status: { # required
logging_enabled: {
target_bucket: "TargetBucket", # required
target_grants: [
{
grantee: {
display_name: "DisplayName",
email_address: "EmailAddress",
id: "ID",
type: "CanonicalUser", # required, accepts CanonicalUser, AmazonCustomerByEmail, Group
uri: "URI",
},
permission: "FULL_CONTROL", # accepts FULL_CONTROL, READ, WRITE
},
],
target_prefix: "TargetPrefix", # required
},
},
content_md5: "ContentMD5",
}
Instance Attribute Summary collapse
-
#bucket ⇒ String
The name of the bucket for which to set the logging parameters.
-
#bucket_logging_status ⇒ Types::BucketLoggingStatus
Container for logging status information.
-
#content_md5 ⇒ String
The MD5 hash of the ‘PutBucketLogging` request body.
Instance Attribute Details
#bucket ⇒ String
The name of the bucket for which to set the logging parameters.
8918 8919 8920 8921 8922 8923 |
# File 'lib/aws-sdk-s3/types.rb', line 8918 class PutBucketLoggingRequest < Struct.new( :bucket, :bucket_logging_status, :content_md5) include Aws::Structure end |
#bucket_logging_status ⇒ Types::BucketLoggingStatus
Container for logging status information.
8918 8919 8920 8921 8922 8923 |
# File 'lib/aws-sdk-s3/types.rb', line 8918 class PutBucketLoggingRequest < Struct.new( :bucket, :bucket_logging_status, :content_md5) include Aws::Structure end |
#content_md5 ⇒ String
The MD5 hash of the ‘PutBucketLogging` request body.
8918 8919 8920 8921 8922 8923 |
# File 'lib/aws-sdk-s3/types.rb', line 8918 class PutBucketLoggingRequest < Struct.new( :bucket, :bucket_logging_status, :content_md5) include Aws::Structure end |