Re-evaluates the compliance of resources based on a rule or based on all rules in a compliance package.
Operation description
In this example, the cr-9920626622af0035**** rule is used to re-evaluate the compliance of resources.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ConfigRuleId | string | No | The rule ID. You can call the ListConfigRules operation to obtain the rule ID. Note
You must configure either the CompliancePackId or ConfigRuleId parameter.
| cr-9920626622af0035**** |
RevertEvaluation | boolean | No | Specifies whether to re-evaluate the ignored non-compliant resource. Valid values:
| false |
CompliancePackId | string | No | The compliance package ID. For more information about how to obtain the ID of a compliance package, see ListCompliancePacks . Note
You must configure either the CompliancePackId or ConfigRuleId parameter.
| cp-ac16626622af0053**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "D31EEAD7-BF1E-5927-977A-AFF9342A7273",
"Result": true
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ConfigRuleNotExists | The ConfigRule does not exist. | The rule does not exist. |
400 | NoPermission | You are not authorized to perform this operation. | You are not authorized to perform this operation. |
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.
Change history
Change time | Summary of changes | Operation |
---|
No change history