S3.Client.
delete_public_access_block
(**kwargs)¶Removes the PublicAccessBlock
configuration for an Amazon S3 bucket. To use this operation, you must have the s3:PutBucketPublicAccessBlock
permission. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.
The following operations are related to DeletePublicAccessBlock
:
See also: AWS API Documentation
Request Syntax
response = client.delete_public_access_block(
Bucket='string',
ExpectedBucketOwner='string'
)
[REQUIRED]
The Amazon S3 bucket whose PublicAccessBlock
configuration you want to delete.
403 Forbidden
(access denied).None