Initiates the asynchronous execution of the DeleteS3BucketWithObjects operation. DeleteS3BucketWithObjects deletes an S3 bucket which contains objects. An S3 bucket which contains objects cannot be deleted until all the objects in it are deleted. This method deletes all the objects in the specified bucket and then deletes the bucket itself.
- bucketName (String)
- The bucket to be deleted.
- s3Client (AmazonS3)
- The Amazon S3 Client to use for S3 specific operations.
- callback (AsyncCallback)
- An AsyncCallback delegate that is invoked when the operation completes.
- state (Object)
- A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback procedure using the AsyncState property.
Assembly: AWSSDK (Module: AWSSDK) Version: 220.127.116.11 (18.104.22.168)
An IAsyncCancelableResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteS3BucketWithObjects. IAsyncCancelableResult can also be used to cancel the operation while it's in progress.