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.
 Declaration Syntax
 Declaration Syntax| C# | 
public DeleteVpcPeeringConnectionResponse DeleteVpcPeeringConnection( DeleteVpcPeeringConnectionRequest request )
 Parameters
 Parameters- request (DeleteVpcPeeringConnectionRequest)
- DeleteVpcPeeringConnection request
 Return Value
 Return ValueDeleteVpcPeeringConnection Response from the service
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| WebException | |
| AmazonEC2Exception |