Manually run remediation for a specified account group rule.
Operation description
This topic describes how to manually run remediation once for the rule cr-6b7c626622af00b4**** in the account group ca-6b4a626622af0012****. The response indicates that remediation completed successfully.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
config:StartAggregateRemediation |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ConfigRuleId |
string |
Yes |
The ID of the rule. To get the rule ID, see ListAggregateConfigRules. |
cr-6b7c626622af00b4**** |
| AggregatorId |
string |
Yes |
The ID of the account group. To get the account group ID, see ListAggregators. |
ca-6b4a626622af0012**** |
| ResourceAccountId |
integer |
No |
100271897542**** |
For more information about common request parameters, see Common parameters.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
None |
||
| RequestId |
string |
The ID of the request. |
C7817373-78CB-4F9A-8AFA-E7A88E9D64A2 |
| Data |
boolean |
Indicates whether the operation succeeded. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "C7817373-78CB-4F9A-8AFA-E7A88E9D64A2",
"Data": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | You are not authorized to perform this operation. |
| 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.