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
Instance Attribute Details
#bucket ⇒ String
6909 6910 6911 6912 6913 6914 |
# File 'lib/aws-sdk-s3/types.rb', line 6909 class PutBucketLoggingRequest < Struct.new( :bucket, :bucket_logging_status, :content_md5) include Aws::Structure end |
#bucket_logging_status ⇒ Types::BucketLoggingStatus
6909 6910 6911 6912 6913 6914 |
# File 'lib/aws-sdk-s3/types.rb', line 6909 class PutBucketLoggingRequest < Struct.new( :bucket, :bucket_logging_status, :content_md5) include Aws::Structure end |
#content_md5 ⇒ String
6909 6910 6911 6912 6913 6914 |
# File 'lib/aws-sdk-s3/types.rb', line 6909 class PutBucketLoggingRequest < Struct.new( :bucket, :bucket_logging_status, :content_md5) include Aws::Structure end |