調用DescribeProductResourceTagKeyList介面擷取對應地區下雲資源的所有標籤鍵列表。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
cms:DescribeProductResourceTagKeyList |
get |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| NextToken |
string |
否 |
分頁遊標標識。 |
dbc2826f237e**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| Code |
string |
狀態代碼。 說明
200 表示成功。 |
200 |
| Message |
string |
返回資訊。 |
The request processing has failed due to some unknown error. |
| NextToken |
string |
下一個查詢開始的 token。 |
dbc2826f237e**** |
| RequestId |
string |
請求 ID。 |
945ACAA9-89F2-4A62-8913-076FDEDAA8DB |
| Success |
boolean |
操作是否成功。取值:
|
true |
| TagKeys |
object |
||
| TagKey |
array |
標籤鍵。 |
|
|
string |
標籤鍵。 |
tag_****** |
樣本
正常返回樣本
JSON格式
{
"Code": "200",
"Message": "The request processing has failed due to some unknown error.",
"NextToken": "dbc2826f237e****",
"RequestId": "945ACAA9-89F2-4A62-8913-076FDEDAA8DB",
"Success": true,
"TagKeys": {
"TagKey": [
"tag_******"
]
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | 未找到指定資源。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。