Menghapus titik akhir.
Deskripsi operasi
-
Sebelum menghapus titik akhir, hapus zona yang telah ditambahkan ke titik akhir.
-
DeleteVpcEndpoint adalah operasi asinkron. Setelah Anda mengirim permintaan, sistem mengembalikan ID permintaan, tetapi titik akhir belum dihapus. Tugas penghapusan terus berjalan di latar belakang. Anda dapat memanggil GetVpcEndpointAttribute untuk mengkueri status penghapusan titik akhir:
Jika titik akhir berada dalam status Deleting, titik akhir sedang dihapus.
Jika titik akhir yang ditentukan tidak dapat ditemukan, titik akhir telah dihapus.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:DeleteVpcEndpoint |
delete |
*VpcEndpoint
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID Wilayah titik akhir yang ingin Anda hapus. Anda dapat memanggil DescribeRegions untuk mengkueri daftar Wilayah terbaru. |
eu-west-1 |
| 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 berbagai permintaan. Token hanya dapat berisi karakter ASCII. |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run saja, tanpa menjalankan permintaan aktual. Nilai valid:
|
false |
| EndpointId |
string |
Yes |
ID titik akhir yang ingin Anda hapus. |
ep-hp33b2e43fays7s8**** |
| RegionId |
string |
Yes |
ID wilayah Titik akhir yang ingin Anda hapus. Panggil operasi DescribeRegions untuk mendapatkan ID wilayah. |
eu-west-1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
8D8992C1-6712-423C-BAC5-E5E817484C6B |
Contoh
Respons sukses
JSONformat
{
"RequestId": "8D8992C1-6712-423C-BAC5-E5E817484C6B"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationDenied.EndpointProtected | The operation is not allowed because of EndpointProtected. | |
| 400 | EndpointOperationDenied | The specified operation of endpoint is not allowed. | |
| 400 | EndpointDependenceViolation | The specified endpoint has dependent zone(s). | |
| 400 | EndpointNotFound | The specified Endpoint does not exist. | |
| 400 | EndpointProtected | The specified Endpoint is protected. | |
| 400 | EndpointAssociatedVpc | The endpoint is associated with a vpc. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.