Queries a list of filters.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
resourcecenter:ListFilters |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DefaultFilterName |
string |
The name of the default filter. |
My Filters |
| Filters |
array<object> |
The configurations of the filter. |
|
|
object |
|||
| FilterConfiguration |
string |
The configurations of the filter. |
{ "regions": [], "tagFilters": [ [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }], [{ "tagKey": "xxx", "tagValue": "xxx" }] ], "resourceTypes": [ "ACS::ECS::AutoSnapshotPolicy" ] } |
| FilterName |
string |
The name of the filter. |
My devices |
| RequestId |
string |
The request ID. |
AA39FB9C-CB74-5E73-8DFE-3A2B096F0759 |
Examples
Success response
JSON format
{
"DefaultFilterName": "My Filters",
"Filters": [
{
"FilterConfiguration": "{\n \"regions\": [],\n \"tagFilters\": [\n [{ \"type\": \"notContainTagKey\", \"tagKey\": \"xxx\", \"tagValue\": \"\" }],\n [{ \"tagKey\": \"xxx\", \"tagValue\": \"xxx\" }]\n ],\n \"resourceTypes\": [\n \"ACS::ECS::AutoSnapshotPolicy\"\n ]\n}",
"FilterName": "My devices"
}
],
"RequestId": "AA39FB9C-CB74-5E73-8DFE-3A2B096F0759"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.