Menghapus satu atau beberapa aturan pengalihan dari Pendengar pada satu pengatur waktu.
Deskripsi operasi
DeleteRules is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the ListRules operation to query the status of forwarding rules.
If the forwarding rules are in the Deleting state, the forwarding rules are being deleted.
If the forwarding rules cannot be found, the forwarding rules are deleted.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alb:DeleteRules |
delete |
*LoadBalancer
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Token Klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan Klien untuk menghasilkan token, tetapi Anda harus memastikan bahwa token unik di antara permintaan yang berbeda. Token hanya boleh berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan ID permintaan sebagai Token Klien. ID permintaan mungkin berbeda untuk setiap permintaan. |
5A2CFF0E-5718-45B5-9D4D-70B3FF3898 |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run saja, tanpa menjalankan permintaan aktual. Nilai valid:
|
false |
| RuleIds |
array |
Yes |
Aturan pengalihan. Anda dapat menentukan maksimal 100 aturan pengalihan dalam setiap panggilan. |
|
|
string |
No |
The ID of the forwarding rule. |
RuleIds.1=rule-a3x3pg1yohq3lq****,RuleIds.2=rule-a5x7og7yyhq8kq**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Deletes one or more forwarding rules at a time. |
||
| JobId |
string |
The asynchronous task ID. |
72dcd26b-f12d-4c27-b3af-18f6aed5**** |
| RequestId |
string |
The request ID. |
7BED4F62-3E6E-5E4F-8C53-2D8CCE77F2ED |
Contoh
Respons sukses
JSONformat
{
"JobId": "72dcd26b-f12d-4c27-b3af-18f6aed5****",
"RequestId": "7BED4F62-3E6E-5E4F-8C53-2D8CCE77F2ED"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectStatus.Rule | The status of %s [%s] is incorrect. | |
| 400 | OperationDenied.CrossLoadBalancerRules | The operation is not allowed because of %s. | The operation is not allowed because of %s. |
| 403 | Forbidden.LoadBalancer | Authentication is failed for %s. | Authentication is failed for %s. |
| 404 | ResourceNotFound.Rule | The specified resource %s is not found. | The specified resource %s is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.