Bucket Location

GET https://s3.amazonaws.com/{{bucket}}/?location

Returns the region the bucket resides in. You set the bucket's region using the LocationConstraint request parameter in a CreateBucket request. For more information, see CreateBucket.

Request Params

KeyDatatypeRequiredDescription
locationnull

HEADERS

KeyDatatypeRequiredDescription
x-amz-content-sha256string

RESPONSES

status: OK

"\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cLocationConstraint xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"/\u003e"