Call the DescribeProductResourceTagKeyList operation to query all tag keys of cloud resources in a specified region.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NextToken |
string |
No |
The token that is used to retrieve the next page of results. |
dbc2826f237e**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. Note
A value of 200 indicates that the request was successful. |
200 |
| Message |
string |
The returned message. |
The request processing has failed due to some unknown error. |
| NextToken |
string |
The token that is used to start the next query. |
dbc2826f237e**** |
| RequestId |
string |
The request ID. |
945ACAA9-89F2-4A62-8913-076FDEDAA8DB |
| Success |
boolean |
Indicates whether the operation was successful. Valid values:
|
true |
| TagKeys |
object |
||
| TagKey |
array |
The tag keys. |
|
|
string |
The tag key. |
tag_****** |
Examples
Success response
JSON format
{
"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_******"
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. | The specified resource is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.