Amazon S3 · Arazzo Workflow
Amazon S3 Empty and Delete a Bucket
Version 1.0.0
List the bucket, batch-delete its objects, then delete the empty bucket.
View Spec
View on GitHub
ArchiveBackupCloud StorageData StorageObject StorageScalable StorageArazzoWorkflows
Provider
Workflows
empty-and-delete-bucket
List, batch-delete objects, then delete the empty bucket.
Lists the bucket, removes the supplied keys with DeleteObjects, and deletes the bucket once it is empty.
1
listObjects
ListObjectsV2
List the bucket contents to see what must be removed before the bucket can be deleted.
2
batchDelete
DeleteObjects
Delete the supplied keys in a single DeleteObjects request to empty the bucket.
3
deleteBucket
DeleteBucket
Delete the now-empty bucket. S3 responds with 204 No Content on success.