Menghapus instans Application Load Balancer (ALB).
Deskripsi operasi
Operasi DeleteLoadBalancer bersifat asinkron. Setelah permintaan dikirim, sistem akan mengembalikan ID permintaan dan menjalankan tugas tersebut di latar belakang. Anda dapat memanggil GetLoadBalancerAttribute untuk mengecek status tugas tersebut.
Jika instans ALB berada dalam status Deleting, artinya instans tersebut sedang dalam proses penghapusan.
Jika instans ALB tidak ditemukan, berarti instans tersebut telah dihapus.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alb:DeleteLoadBalancer |
delete |
*LoadBalancer
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| LoadBalancerId |
string |
Yes |
ID instans ALB. |
lb-bp1b6c719dfa08ex**** |
| ClientToken |
string |
No |
Token client yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan client untuk menghasilkan token tersebut, tetapi harus memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Token hanya boleh berisi karakter ASCII. |
5A2CFF0E-5718-45B5-9D4D-70B3FF3898 |
| DryRun |
boolean |
No |
Menentukan apakah hanya akan melakukan dry run tanpa benar-benar menjalankan permintaan. Nilai yang valid:
|
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Instans ALB yang akan dihapus. |
||
| JobId |
string |
ID tugas asinkron. |
72dcd26b-f12d-4c27-b3af-18f6aed5**** |
| RequestId |
string |
ID permintaan. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
Contoh
Respons sukses
JSONformat
{
"JobId": "72dcd26b-f12d-4c27-b3af-18f6aed5****",
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectStatus.LoadBalancer | The status of %s [%s] is incorrect. | |
| 400 | IncorrectBusinessStatus.LoadBalancer | The business status of %s [%s] is incorrect. | The business status of %s [%s] is incorrect. |
| 400 | OperationDenied.DeletionProtectionEnabled | The operation is not allowed because of %s. | The operation is not allowed because of %s. |
| 403 | Forbidden.LoadBalancer | Authentication has failed for LoadBalancer. | |
| 404 | ResourceNotFound.LoadBalancer | 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.