class Aws::S3::Types::PutBucketPolicyRequest


@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicyRequest 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]
The bucket policy as a JSON document.
@!attribute [rw] policy
@return [Boolean]
permissions to change this bucket policy in the future.
Set this parameter to true to confirm that you want to remove your
@!attribute [rw] confirm_remove_self_bucket_access
@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 request body.
@!attribute [rw] content_md5
@return [String]
The name of the bucket.
@!attribute [rw] bucket
}
expected_bucket_owner: “AccountId”,
policy: “Policy”, # required
confirm_remove_self_bucket_access: false,
content_md5: “ContentMD5”,
bucket: “BucketName”, # required
{
data as a hash:
@note When making an API call, you may pass PutBucketPolicyRequest