Deletes a VPC peering connection. Either the owner of the requester VPC or the owner of the accepter VPC can delete the VPC peering connection if it's in the <code>active</code> state. The owner of the requester VPC can delete a VPC peering connection in the <code>pending-acceptance</code> state. You cannot delete a VPC peering connection that's in the <code>failed</code> state.
get/#Action=DeleteVpcPeeringConnection
Query parameters
DryRunboolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.
VpcPeeringConnectionIdstring required
The ID of the VPC peering connection.
Action'DeleteVpcPeeringConnection' required
Version'2016-11-15' required
Response
Success