3 ms·
You could use S3 versioning to distinguish the two operations.
by jeffbarr 12y ago
You could use S3 versioning to distinguish the two operations.
- kolev 12y agoS3 versioning could be pricey and painful. Try deleting a versioned bucket! I wrote a tool that I'm gonna open-source if my employer okays it, but the pathetic part is that you get charged for each HTTP request - imagine a bucket with a billion objects and a gazillion versions!
- hemancuso 12y agohttp://docs.aws.amazon.com/AmazonS3/latest/API/multiobjectdeleteapi.html http://docs.aws.amazon.com/AmazonS3/latest/API/multiobjectde...
- kolev 12y agoThat's the API I use as well. The DELETEs are free, but GETs, PUTs, POSTs, and LISTs are not [1]. [1] http://aws.amazon.com/s3/pricing/ http://aws.amazon.com/s3/pricing/
- evansd 12y agoIf you're not in a huge hurry to delete the bucket you can easily set lifecycle rules to expire all versions older than 1 day (the minimum) and then just wait for S3 to delete them for you.