Menonaktifkan aturan event.
Deskripsi operasi
You can call this API operation to disable an event rule.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:DisableRule |
update |
*Rule
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| EventBusName |
string |
Yes |
Nama EventBridge. |
MyEventBus |
| RuleName |
string |
Yes |
Nama aturan event. |
tf-testacc-rule |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The returned error message. |
EventRuleNotExisted |
| RequestId |
string |
The request ID. |
C36345A1-75F3-5A1A-BFCF-33B8271971FA |
| Code |
string |
The error code. The value Success indicates that the request is successful. |
Success |
| Success |
boolean |
Indicates whether the operation is successful. Valid values: true and false. |
true |
Contoh
Respons sukses
JSONformat
{
"Message": "EventRuleNotExisted",
"RequestId": "C36345A1-75F3-5A1A-BFCF-33B8271971FA",
"Code": "Success",
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | ServiceNotEnable | Service not enable |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.