Menghapus instans Application Load Balancer (ALB) dari grup keamanan.
Deskripsi operasi
-
LoadBalancerLeaveSecurityGroup 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 ListAsynJobs operation to query the status of the task.
-
If the task is in the Succeeded state, the ALB instance is removed from the security group.
-
If the task is in the Processing state, the ALB instance is being removed from the security group. In this case, you can query the task but cannot perform other operations.
-
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alb:LoadBalancerLeaveSecurityGroup |
none |
*LoadBalancer
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SecurityGroupIds |
array |
Yes |
ID grup keamanan. |
|
|
string |
No |
The security group ID. |
sg-1nmf15kvwj37g2g1**** |
|
| LoadBalancerId |
string |
Yes |
ID Instans ALB. |
alb-iv9gj3spak6fbj**** |
| DryRun |
boolean |
No |
Token Klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan Klien untuk menghasilkan token, tetapi Anda harus memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Token hanya dapat 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. |
false |
| ClientToken |
string |
No |
Hasil Tugas. |
593B0448-D13E-4C56-AC0D-FDF0FDE0**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
EC0C96E4-7CCB-599C-9329-3A5DB6FF**** |
| JobId |
string |
The ID of the asynchronous task. |
51c5b627-3500-487c-b17d-5cc583f0**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "EC0C96E4-7CCB-599C-9329-3A5DB6FF****",
"JobId": "51c5b627-3500-487c-b17d-5cc583f0****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectStatus.LoadBalancer | The status of %s [%s] is incorrect. | |
| 400 | OperationDenied.SecurityGroupNotSupport | The operation is not allowed because of %s. | |
| 400 | ResourceNotAssociated.SecurityGroup | The specified resource of %s is not associated. | |
| 404 | ResourceNotFound.LoadBalancer | The specified resource %s is not found. | |
| 404 | ResourceNotFound.SecurityGroup | The specified resource %s is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.