Queries tag keys.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ListTagKeys |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region of the WAF instance. Valid values:
|
cn-hangzhou |
| NextToken |
string |
No |
The pagination token used in the next request to retrieve a new page of results. |
caeba0bbb2be03f84eb48b699f0***** |
| ResourceType |
string |
Yes |
The resource type. Set the value to ALIYUN::WAF::DEFENSERESOURCE. |
ALIYUN::WAF::DEFENSERESOURCE |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
You can call DescribeInstance to query the ID of the current WAF instance. |
waf_v3prepaid_public_cn-wwo****iw02 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The pagination token. If NextToken is empty, there are no more results to return. |
caeba0bbb2be03f84eb48b699f0***** |
| RequestId |
string |
The ID of the request. |
8CB8BB88-24C7-5608-BF5E-4DCA****CF1C |
| Keys |
array<object> |
The keys and types of the tags. |
|
|
object |
|||
| Key |
string |
The tag key. |
demoTagKey |
| Category |
string |
The type of the tag. Valid values:
|
custom |
Examples
Success response
JSON format
{
"NextToken": "caeba0bbb2be03f84eb48b699f0*****",
"RequestId": "8CB8BB88-24C7-5608-BF5E-4DCA****CF1C",
"Keys": [
{
"Key": "demoTagKey",
"Category": "custom"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.