AWS SDK for .NET Documentation
DeleteS3BucketWithObjects Method (bucketName, s3Client)
AmazonAmazon.S3.UtilAmazonS3UtilDeleteS3BucketWithObjects(String, AmazonS3) Did this page help you?   Yes   No    Tell us about it...
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.
Declaration Syntax
C#
public static void DeleteS3BucketWithObjects(
	string bucketName,
	AmazonS3 s3Client
)
Parameters
bucketName (String)
The bucket to be deleted.
s3Client (AmazonS3)
The Amazon S3 Client to use for S3 specific operations.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)