GET Bucket Location

After being granted the READ permission for a bucket, you can use this operation to obtain the location of the bucket.

Request Syntax

GET /?location HTTP/1.1
Date: date
Authorization: authorization

Request Parameters

This request contains no parameter.

Request Headers

This request uses common headers. For details, see Common Request Headers.

Request Elements

This request contains no element.

Response Syntax

HTTP/1.1 status_code
Date: date
Content-Type: type
Content-Length: length

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<CreateBucketConfiguration xmlns="">

Response Headers

This response uses common headers. For details, see Common Response Headers.

Response Elements

This response contains elements to describe the bucket region. Common Response Headers describes the elements.

Table 1 Response elements




Indicates the request result that saves bucket location, including information about bucket location.

Type: XML


Indicates the region where the bucket resides.

Type: string

Error Responses

No special error responses are returned. For details about error responses, see Table 1.