AmazonS3.createBucket(bucketName) should use region set with setRegion()
This makes the interface a lot more natural. Set on region and then expect all subsequent calls to target on that region by default. The current behavior is confusing.
Thanks for the feature request. We have added this to our backlog.
I took a look at this. There's already a function in AmazonS3Client (getRegion()) that gets the region from the superclass and defaults to US_Standard if it hasn't been set. I think the easiest course for createBucket(bucketName) is to pass the value from getRegion as a second parameter into the CreateBucketRequest. I'm sending a pull request for this change.
I believe this has been fixed at the client level: https://github.com/aws/aws-sdk-java/blob/3baab096839f6848eed40940fb7b6f519a8e0580/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/AmazonS3Client.java#L771-L786