Creates an advanced search download file for resources in a specified account group.
Operation description
This topic provides an example of querying ECS instances in the account group ca-edd3626622af00b3**** and creating a download file for the search results.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
config:CreateAggregateAdvancedSearchFile |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Sql |
string |
Yes |
The SQL statement for advanced search. |
SELECT * WHERE ResourceType = 'ACS::ECS::Instance' |
| AggregatorId |
string |
Yes |
The ID of the account group. For more information about how to obtain the account group ID, see ListAggregators. |
ca-edd3626622af00b3**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
5F290373-2BE6-534B-8724-A33F1116958B |
Examples
Success response
JSON format
{
"RequestId": "5F290373-2BE6-534B-8724-A33F1116958B"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | AccountNotExisted | Your account does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.