Deletes a VPC peering connection. Either the owner of the requester VPC or the owner of the peer VPC can delete the VPC peering connection if it's in the active state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance state.

C# |
public DeleteVpcPeeringConnectionResponse DeleteVpcPeeringConnection( DeleteVpcPeeringConnectionRequest request )

- request (DeleteVpcPeeringConnectionRequest)
- DeleteVpcPeeringConnection request

DeleteVpcPeeringConnection Response from the service

Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |