DeleteVpcPeeringConnection
GET /?Action=DeleteVpcPeeringConnection
Description
Deletes a VPC peering connection.
If the VPC peering connection is in the active state, it can be deleted either by the owner of the requester VPC or the owner of the peer VPC.
If it is in the pending-acceptance state, it can be deleted only by the owner of the requester VPC.
If it is in the rejected, failed, or expired states, it cannot be deleted.
Body parameter
Required: false
Name: DeleteVpcPeeringConnectionRequest
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
VpcPeeringConnectionId |
The ID of the VPC peering connection you want to delete. |
true |
string |
Responses
HTTP Code 200
| HTTP Code | Description | Schema |
|---|---|---|
200 |
DeleteVpcPeeringConnectionResult |
Response 200
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
requestId |
The ID of the request. |
false |
string |
||
return |
If |
false |
boolean |