Menghapus koneksi Express Connect Router (ECR) dari transit router Enterprise Edition.
Deskripsi operasi
DeleteTransitRouterEcrAttachment adalah operasi asinkron. Setelah permintaan dikirim, sistem mengembalikan ID permintaan dan menjalankan tugas di latar belakang. Anda dapat memanggil operasi ListTransitRouterEcrAttachments untuk mengkueri status koneksi ECR.
Jika koneksi ECR berada dalam status Detaching, koneksi ECR sedang dihapus. Dalam kasus ini, Anda dapat mengkueri koneksi ECR tetapi tidak dapat melakukan operasi lain pada koneksi ECR. Jika koneksi ECR tidak dapat ditemukan, koneksi ECR telah dihapus. Sebelum Anda memanggil operasi DeleteTransitRouterEcrAttachment, pastikan semua parameter permintaan valid. Jika permintaan tidak valid, ID permintaan akan dikembalikan tetapi koneksi ECR tidak akan dihapus.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DeleteTransitRouterEcrAttachment |
delete |
*TransitRouterEcrAttachment
|
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 tersebut 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. |
02fb3da4**** |
| TransitRouterAttachmentId |
string |
Yes |
ID koneksi ECR. |
tr-attach-r6g0m3epjehw57**** |
| DryRun |
boolean |
No |
Menentukan apakah hanya melakukan dry run, tanpa mengeksekusi permintaan yang sebenarnya. Nilai yang valid:
|
false |
| Force |
boolean |
No |
Menentukan apakah akan menghapus koneksi ECR secara paksa. Nilai yang valid:
|
false |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationFailed.RouteTableAssociationExist | Operation failed because TransitRouterRouteTable exists | The error message returned because you cannot perform the operation when the connection is associated with a route table. |
| 400 | OperationFailed.RouteEntryExist | Operation failed because the TransitRouterAttachment exists in RouteTable. | |
| 400 | OperationFailed.RouteTablePropagationExist | The specified TransitRouterAttachment has configured RouteTablePropagation. Please remove the configuration first. | The error message returned because you cannot perform the operation when a route learning correlation is configured for the network instance connection. Disassociate from the route learning correlation and try again. |
| 400 | OperationFailed.FlowLogExistOrNisOpened | Operation failed because FlowLog exists or Nis opened. | The error message returned because this operation is not supported when a flow log exists or the NIS service is activated. |
| 400 | OperationUnsupported.TransitRouterType | The specified TransitRouterType does not support the operation. | The error message returned because this operation is not supported by the specified type of transit router. |
| 400 | OperationFailed.NotSupportForceDelete | Not support force delete attachment. | The error message returned because the specified resource cannot be forcefully deleted. |
| 400 | InvalidTransitRouterAttachmentId.NotFound | The TransitRouterAttachmentId is not found. | The error message returned because the specified transit router attachment ID (TransitRouterAttachmentId) does not exist. |
| 400 | OperationFailed.PrefixListExist | Operation failed because PrefixList exists. | The error message returned because a prefix list exists. |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
| 400 | IncorrectStatus.EcrResource | The ECR resource is not in a valid state for the attachment operation. | The ECR resource is not in a valid state for the attachment operation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.