Membatalkan akses Sirkuit Express Connect. Setelah pembatalan, Sirkuit Express Connect berada dalam status Canceled.
Deskripsi operasi
Anda hanya dapat membatalkan akses Sirkuit Express Connect saat berada dalam status Initial, Approved, Allocated, atau Confirmed (belum diaktifkan). Setelah Sirkuit Express Connect dibuat melalui pemanggilan CreatePhysicalConnection, statusnya mungkin sementara berada dalam keadaan Allocating, yang tidak memungkinkan pembatalan. Lakukan polling status dengan memanggil DescribePhysicalConnections, lalu panggil operasi ini setelah status berubah menjadi Allocated.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:CancelPhysicalConnection |
update |
*PhysicalConnection.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah Sirkuit Express Connect. Anda dapat memanggil DescribeRegions untuk mengkueri ID wilayah. |
cn-shanghai |
| PhysicalConnectionId |
string |
Yes |
ID Sirkuit Express Connect. |
pc-119mfjzm7**** |
| ClientToken |
string |
No |
Token client yang digunakan untuk memastikan idempotensi permintaan. Nilai ini dihasilkan oleh client. Nilainya harus unik di antara permintaan yang berbeda dan tidak boleh melebihi 64 karakter ASCII. |
02fb3da4-130e-11e9-8e44-0016e04115b |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
4EC47282-1B74-4534-BD0E-403F3EE64CAF |
Contoh
Respons sukses
JSONformat
{
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Forbidden.NotAllowedInState | The request does not allow in this state. | |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | Parameter tidak valid. |
| 404 | InvalidPhysicalConnectionId.NotFound | The PhysicalConnectionId provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.