Get Bucket versioning
処理概要
バケットのバージョニング設定状態を取得します。
バージョニング設定には以下のステータスがあります。
- 有効(Enabled)
- 中断(Suspended)
- 未設定(Off)※バケット作成後、一度もEnabled/Suspendedいずれの設定も行っていない場合
指定するパラメーター
パラメーター | 説明 | 必須 | サンプル値 |
---|---|---|---|
versioning | versioningリクエスト 値 : なし |
○ |
指定するヘッダー
必要なヘッダーはありません。
指定するボディ
必要なボディはありません。
応答フィールド
フィールド | 説明 | サンプル値 |
---|---|---|
VersioningConfiguration | VersioningConfigurationレスポンス Type : Container Ancestor : なし Children : すべてのelements |
|
Status | バージョニング設定 Type : xsd:string Ancestor : VersioningConfiguration Children : なし |
Enabled(有効) Suspended(中断) 空(未設定) |
リクエストサンプル
GET /?versioning HTTP/1.1
Host: my-first-bucket.jp-east-2.storage.api.nifcloud.com
Date: Wed, 29 Jun 2016 00:00:00 GMT
Authorization: AWS 15B4D3461F177624206A:xQE0diMbLRepdf3YB+FIEXAMPLE=
Content-Type: text/plain
応答サンプル
HTTP/1.1 200 OK
x-amz-request-id: 236A8905248E5A01
<VersioningConfiguration xmlns="http://doc.s3.amazonaws.com/doc/2006-03-01/">
<Status>Enabled</Status>
</VersioningConfiguration>