AWS SDK for .NET Documentation
DoesS3BucketExist Method (bucketName, s3Client)
AmazonAmazon.S3.UtilAmazonS3UtilDoesS3BucketExist(String, AmazonS3) Did this page help you?   Yes   No    Tell us about it...
Determines whether an S3 bucket exists or not. This is done by: 1. Creating a PreSigned Url for the bucket (with an expiry date at the end of this decade) 2. Making a HEAD request to the Url
Declaration Syntax
public static bool DoesS3BucketExist(
	string bucketName,
	AmazonS3 s3Client
bucketName (String)
The name of the bucket to check.
s3Client (AmazonS3)
The Amazon S3 Client to use for S3 specific operations.
Return Value

Assembly: AWSSDK (Module: AWSSDK) Version: (