調用DeleteVpcEndpoint介面,刪除終端節點。
介面說明
-
刪除終端節點之前,請先刪除終端節點中已添加的可用性區域。
-
DeleteVpcEndpoint 介面屬於非同步介面,即系統會返回一個請求 ID,但該終端節點尚未刪除完成,系統後台刪除任務仍在進行中。您可以調用 GetVpcEndpointAttribute 查詢終端節點的刪除狀態:
當終端節點處於 Deleting 狀態時,表示終端節點正在刪除中。
當查詢不到指定的終端節點時,表示終端節點刪除成功。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
要刪除的終端節點所屬的地區 ID。您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
eu-west-1 |
| ClientToken |
string |
否 |
用戶端 Token,用於保證請求的等冪性。 從您的用戶端產生一個參數值,確保不同請求間該參數值唯一。ClientToken 只支援 ASCII 字元。 |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
否 |
是否只預檢此次請求。取值:
|
false |
| EndpointId |
string |
是 |
要刪除的終端節點 ID。 |
ep-hp33b2e43fays7s8**** |
| RegionId |
string |
是 |
要刪除的終端節點所屬的地區 ID。您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
eu-west-1 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
8D8992C1-6712-423C-BAC5-E5E817484C6B |
樣本
正常返回樣本
JSON格式
{
"RequestId": "8D8992C1-6712-423C-BAC5-E5E817484C6B"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 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. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。