• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (OBS)
  4. Operations on Buckets
  5. GET Bucket storage class
  6. Responses

Responses

Syntax

HTTP/1.1 status_code
Server: Server Name
x-amz-request-id: request id
x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc
x-amz-id-2: id
Content-Type: type
Date: date
Content-Length: length

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<StoragePolicy xmlns="http://obs.example.com/doc/2015-06-30/">
  <DefaultStorageClass>STANDARD</DefaultStorageClass>
</StoragePolicy>

Response Headers

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

Response Elements

This response contains elements to specify the default bucket storage class. Table 1 describes the elements.

Table 1 Response elements

Element

Description

StoragePolicy

Indicates the bucket storage specification, including the default bucket storage class.

Type: XML

DefaultStorageClass

Indicates the default bucket storage class.

Type: It is a character string. Table 1 provides the possible values.

Error Responses

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