Deletes the policy from the bucket.
See also: DELETE Bucket Policy.
delete-bucket-policy --bucket <value> [--cli-input-json <value>]
Operates a service or services based on the provided JSON string. If other arguments are provided on the command line, the CLI values override the JSON-provided values. You cannot pass arbitrary binary values using a JSON-provided value, because the string is taken literally.
The following command deletes a bucket policy from a bucket named “my-bucket”:
$ aws s3api delete-bucket-policy --bucket my-bucket