S3.Client.
delete_bucket_encryption
(**kwargs)¶This implementation of the DELETE action removes default encryption from the bucket. For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption in the Amazon S3 User Guide .
To use this operation, you must have permissions to perform the s3:PutEncryptionConfiguration
action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3 Resources in the Amazon S3 User Guide .
Related Resources
See also: AWS API Documentation
Request Syntax
response = client.delete_bucket_encryption(
Bucket='string',
ExpectedBucketOwner='string'
)
[REQUIRED]
The name of the bucket containing the server-side encryption configuration to delete.
403 Forbidden
(access denied).None