Get the Region where the Amazon S3 bucket resides using an AWS SDK
The following code example shows how to get the Region location for an S3 bucket.
For a complete list of AWS SDK developer guides and code examples, see Using this service with an AWS SDK. This topic also includes information about getting started and details about previous SDK versions.