S3.Client.
delete_bucket_ownership_controls
(**kwargs)¶Removes OwnershipControls
for an Amazon S3 bucket. To use this operation, you must have the s3:PutBucketOwnershipControls
permission. For more information about Amazon S3 permissions, see Specifying Permissions in a Policy.
For information about Amazon S3 Object Ownership, see Using Object Ownership.
The following operations are related to DeleteBucketOwnershipControls
:
See also: AWS API Documentation
Request Syntax
response = client.delete_bucket_ownership_controls(
Bucket='string',
ExpectedBucketOwner='string'
)
[REQUIRED]
The Amazon S3 bucket whose OwnershipControls
you want to delete.
403 Forbidden
(access denied).None