class Aws::S3::Types::PutBucketEncryptionRequest
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryptionRequest 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 [Types::ServerSideEncryptionConfiguration]
Specifies the default server-side-encryption configuration.
@!attribute [rw] server_side_encryption_configuration
@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,
provided ‘ChecksumAlgorithm` parameter.
If you provide an individual checksum, Amazon S3 ignores any
object integrity] in the *Amazon S3 User Guide*.
status code `400 Bad Request`. For more information, see [Checking
header sent. Otherwise, Amazon S3 fails the request with the HTTP
there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
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
encryption configuration.
The Base64 encoded 128-bit ‘MD5` digest of the server-side
@!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
encryption with different key options.
Specifies default encryption for a bucket using server-side
@!attribute [rw] bucket