Mengaktifkan aturan alert.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:EnableMetricRules |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RuleId |
array |
Yes |
ID aturan alert. Nilai valid N: 1 hingga 100. Untuk informasi tentang cara mendapatkan ID aturan alert, lihat 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**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The HTTP status code. Catatan
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 |
Contoh
Respons sukses
JSONformat
{
"Code": "200",
"Message": "success",
"RequestId": "FF38D33A-67C1-40EB-AB65-FAEE51EDB644",
"Success": true
}
Kode kesalahan
|
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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.