Enables alert rules.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:EnableMetricRules |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RuleId |
array |
Yes |
The IDs of the alert rules. Valid values of N: 1 to 100. For information about how to obtain the ID of an alert rule, see DescribeMetricRuleList. |
ab05733c97b7ce239fb1b53393dc1697c123**** |
|
string |
No |
The ID of the alert rule. Valid values of N: 1 to 100. For information about how to obtain the ID of an alert rule, see DescribeMetricRuleList. |
GroupProcess_67800278_2FE7D515-4BBD-447B-BC1A-3F17ED49**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The HTTP status code. Note
The status code 200 indicates that the request was successful. |
200 |
| Message |
string |
The returned message. |
success |
| RequestId |
string |
The request ID. |
FF38D33A-67C1-40EB-AB65-FAEE51EDB644 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "success",
"RequestId": "FF38D33A-67C1-40EB-AB65-FAEE51EDB644",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | %s | %s | |
| 500 | %s | %s | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 402 | LimitExceeded | The quota for this customer had been reached. | |
| 403 | %s | %s | |
| 404 | %s | %s | |
| 503 | %s | %s | |
| 429 | Throttli∂ngException | The request was denied due to request throttling. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.