Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Amazon Snowball Edge is no longer available to new customers. New customers should explore Amazon DataSync for online transfers, Amazon Data Transfer Terminal for
secure physical transfers, or Amazon Partner solutions. For edge computing, explore Amazon Outposts.
Deleting a bucket in Amazon S3 compatible storage on Snowball Edge on a Snowball Edge
You can use the s3api SDK or s3control SDK to delete a bucket in Amazon S3 compatible storage on Snowball Edge.
-
The Amazon Web Services account that creates the bucket owns it and is the only one
that can delete it.
-
Snowball Edge buckets must be empty before they can be deleted.
-
You cannot recover a bucket after it has been deleted.
The following examples delete an Amazon S3 compatible storage on Snowball Edge bucket using the Amazon CLI. To use this
command, replace each user input placeholder with your own information.
Example of deleting a bucket
- s3api syntax
-
aws s3api delete-bucket --bucket amzn-s3-demo-bucket --endpoint-url https://s3api-endpoint-ip --profile your-profile
For more information about this command, see delete-bucket in the Amazon CLI Command Reference.
- s3control syntax
-
aws s3control delete-bucket --account-id 123456789012 --bucket amzn-s3-demo-bucket --endpoint-url https://s3ctrlapi-endpoint-ip --profile your-profile
For more information about this command, see delete-bucket in the Amazon CLI Command
Reference.