Queries the tag values for a specified tag key.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DescribeTagValueList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. Starts from 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| TagKey |
string |
Yes |
The tag key. For more information about how to obtain the tag key, see DescribeTagKeyList. |
tagKey1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. Note
A status code of 200 indicates a successful response. |
200 |
| Message |
string |
The error message. |
The specified resource is not found. |
| RequestId |
string |
The request ID. |
B04B8CF3-4489-432D-83BA-6F128E4F2295 |
| Success |
boolean |
Indicates whether the operation was successful. Valid values:
|
true |
| TagValues |
object |
||
| TagValue |
array |
The tag values. |
|
|
string |
The tag value. |
si-65d55ff37d6c4b4ea3b3 |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "The specified resource is not found.",
"RequestId": "B04B8CF3-4489-432D-83BA-6F128E4F2295",
"Success": true,
"TagValues": {
"TagValue": [
"si-65d55ff37d6c4b4ea3b3"
]
}
}
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.