Deleting a bucket in Amazon S3 compatible storage on Snowball Edge on a Snowball Edge - AWS Snowball Edge Developer Guide

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.

Important
  • The AWS 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 AWS 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 --profile your-profile --endpoint-url https://s3api-endpoint-ip

For more information about this command, see delete-bucket in the AWS CLI Command Reference.

s3control syntax
aws s3control delete-bucket --account-id 123456789012 --bucket amzn-s3-demo-bucket --profile your-profile --endpoint-url https://s3ctrlapi-endpoint-ip

For more information about this command, see delete-bucket in the AWS CLI Command Reference.