Queries the evaluation results grouped by resource type for an account group rule.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ConfigRuleIds | string | Yes | The ID of the rule. Separate multiple rule IDs with commas (,). | cr-2541626622af0000**** |
AggregatorId | string | Yes | The ID of the account group. | ca-cdbd626622af0042**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"ComplianceResult": {
"ComplianceResultList": [
{
"ResourceType": "ACS::ECS::Instance",
"Compliances": [
{
"ComplianceType": "COMPLIANT",
"Count": 1
}
]
}
]
},
"RequestId": "0CE6AEE1-B3D8-530A-9302-6606B20503BB"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | Invalid.AggregatorId.Value | The specified AggregatorId is invalid. | The specified aggregator ID does not exist or you are not authorized to use the aggregator. |
404 | AccountNotExisted | Your account does not exist. | The specified account does not exist. |
503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | The request has failed due to a temporary failure of the server. |
For a list of error codes, visit the Service error codes.