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 rule IDs. Separate multiple rule IDs with commas (,). | cr-2652626622af005e**** |
AggregatorId | string | Yes | The ID of the account group. | ca-d6c9626622af0052**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"ComplianceResult": {
"ComplianceResultList": [
{
"RegionId": "cn-beijing",
"Compliances": [
{
"ComplianceType": "COMPLIANT",
"Count": 1
}
]
}
]
},
"RequestId": "5E3A847A-5D40-54A1-A2CE-77A87823ED07"
}
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.