class Aws::S3::Types::PutBucketPolicyRequest
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicyRequest AWS API Documentation
@return [String]
</note>
HTTP status code ‘501 Not Implemented`.
operation. If you specify this header, the request fails with the
<note markdown=“1”> For directory buckets, this header is not supported in this API
denied).
request fails with the HTTP status code `403 Forbidden` (access
you provide does not match the actual owner of the bucket, the
The account ID of the expected bucket owner. If the account ID that
@!attribute [rw] expected_bucket_owner
@return [String]
policy is `s3express:CreateSession`.
For directory buckets, the only IAM action supported in the bucket
The bucket policy as a JSON document.
@!attribute [rw] policy
@return [Boolean]
</note>
<note markdown=“1”> This functionality is not supported for directory buckets.
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]<br>: docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html<br><br><br><br></note>
performance.
`CRC32` is the default checksum algorithm that’s used for
<note markdown=“1”> For directory buckets, when you use Amazon Web Services SDKs,
request with a ‘BadDigest` error.
you set through `x-amz-sdk-checksum-algorithm`, Amazon S3 fails the
`x-amz-checksum-algorithm ` doesn’t match the checksum algorithm
If the individual checksum value you provide through
*Amazon S3 User Guide*.
For more information, see [Checking object integrity] in the
* ‘SHA256`
* `SHA1`
* `CRC64NVME`
* `CRC32C`
* `CRC32`
with the supported algorithm from the following list:
For the `x-amz-checksum-algorithm ` header, replace ` algorithm `
with the HTTP status code `400 Bad Request`.
`x-amz-trailer` header sent. Otherwise, Amazon S3 fails the request
there must be a corresponding `x-amz-checksum-algorithm ` or
functionality if you don’t use the SDK. When you send this header,
when you use the SDK. This header will not provide any additional
Indicates the algorithm used to create the checksum for the request
@!attribute [rw] checksum_algorithm
@return [String]
</note>
<note markdown=“1”> This functionality is not supported for directory buckets.
calculated automatically.
Interface (CLI) or Amazon Web Services SDKs, this field is
For requests made using the Amazon Web Services Command Line
The MD5 hash of the request body.
@!attribute [rw] content_md5
@return [String]<br>: docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html<br><br><br><br>*Amazon S3 User Guide*
naming restrictions, see [Directory bucket naming rules] in the
DOC-EXAMPLE-BUCKET–usw2-az1–x-s3`). For information about bucket
bucket-base-name–zone-id–x-s3` (for example, ‘
Zone). Bucket names must also follow the format `
names must be unique in the chosen Zone (Availability Zone or Local
Virtual-hosted-style requests aren’t supported. Directory bucket
`s3express-control.region-code.amazonaws.com/bucket-name ‘.
directory bucket, you must use path-style requests in the format
Directory buckets - When you use this operation with a
The name of the bucket.
@!attribute [rw] bucket