Re-evaluates a specific rule or all rules in a compliance package.
Operation description
This topic provides an example of how to re-evaluate the rule cr-9920626622af0035****.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
config:StartConfigRuleEvaluation |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ConfigRuleId |
string |
No |
The ID of the rule. For more information, see ListConfigRules. Note
Specify either |
cr-9920626622af0035**** |
| RevertEvaluation |
boolean |
No |
Specifies whether to restore evaluation results that were ignored. Valid values:
|
false |
| CompliancePackId |
string |
No |
The ID of the compliance package. For more information, see ListCompliancePacks. Note
Specify either |
cp-ac16626622af0053**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
D31EEAD7-BF1E-5927-977A-AFF9342A7273 |
| Result |
boolean |
The result of the request. Valid values:
|
true |
Examples
Success response
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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.