本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
GetTieringConfiguration
傳回指定 TieringConfigurationName 的 TieringConfiguration 詳細資訊。除了組態中繼資料之外,詳細資訊也是 JSON 格式分層組態的內文。
請求語法
GET /tiering-configurations/tieringConfigurationName HTTP/1.1
URI 請求參數
請求會使用下列 URI 參數。
- tieringConfigurationName
-
分層組態的唯一名稱。
模式:
^[a-zA-Z0-9_]{1,200}$必要:是
請求主體
請求沒有請求主體。
回應語法
HTTP/1.1 200
Content-type: application/json
{
"TieringConfiguration": {
"BackupVaultName": "string",
"CreationTime": number,
"CreatorRequestId": "string",
"LastUpdatedTime": number,
"ResourceSelection": [
{
"Resources": [ "string" ],
"ResourceType": "string",
"TieringDownSettingsInDays": number
}
],
"TieringConfigurationArn": "string",
"TieringConfigurationName": "string"
}
}
回應元素
如果動作成功,則服務傳回 HTTP 200 回應。
服務會傳回下列 JSON 格式的資料。
- TieringConfiguration
-
指定分層組態的內文。包括
TieringConfigurationName。類型:TieringConfiguration 物件
錯誤
如需所有動作常見錯誤的資訊,請參閱常見錯誤。
- InvalidParameterValueException
-
表示參數的值出現問題。例如,值超出範圍。
- Context
- Type
HTTP 狀態碼:400
- MissingParameterValueException
-
表示缺少必要的參數。
- Context
- Type
HTTP 狀態碼:400
- ResourceNotFoundException
-
動作所需的資源不存在。
- Context
- Type
HTTP 狀態碼:400
- ServiceUnavailableException
-
由於伺服器發生臨時故障,請求失敗。
- Context
- Type
HTTP 狀態碼:500
另請參閱
如需在其中一種語言特定 AWS SDKs中使用此 API 的詳細資訊,請參閱下列內容: