Deletes the S3 bucket. All objects (including all object versions and
delete markers) in the bucket must be deleted before the bucket itself
can be deleted.
Related Resources
create_bucket
delete_object
Usage
s3_delete_bucket(Bucket, ExpectedBucketOwner)
Value
An empty list.
Arguments
Bucket
[required] Specifies the bucket being deleted.
ExpectedBucketOwner
The account id of the expected bucket owner. If the bucket is owned by a
different account, the request will fail with an HTTP
403 (Access Denied) error.