Starts a re-evaluation of a single resource.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
config:StartConfigRuleEvaluationByResource |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceId |
string |
Yes |
The ID of the resource. For more information about how to obtain the resource ID, see ListDiscoveredResources. |
i-bp151g9tpto890zr**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| ConfigRuleId |
string |
The ID of the rule. For more information about how to obtain the rule ID, see ListConfigRules. |
cr-2da35180a8d1008e**** |
| RequestId |
string |
The ID of the request. |
A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7 |
Examples
Success response
JSON format
{
"ConfigRuleId": "cr-2da35180a8d1008e****",
"RequestId": "A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ExceedMaxRuleCount | The maximum number of rules is exceeded. | |
| 400 | ConfigRuleNotExists | The ConfigRule does not exist. | The rule does not exist. |
| 400 | ConfigRuleExists | The ConfigRule already exists. | |
| 404 | AccountNotExisted | Your 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.