AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Returns the Region the bucket resides in. You set the bucket's Region using the
request parameter in a
CreateBucket request. For more information, see
To use this implementation of the operation, you must be the bucket owner.
To use this API against an access point, provide the alias of the access point in place of the bucket name.
The following operations are related to
For .NET Core this operation is only available in asynchronous form. Please refer to GetBucketLocationAsync.
public abstract GetBucketLocationResponse GetBucketLocation( String bucketName )
The name of the bucket for which to get the location.
Supported in: 4.5, 4.0, 3.5