amazonka-ec2-0.3.6: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DeleteVpcPeeringConnection

Contents

Description

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.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteVpcPeeringConnection.html

Synopsis

Request

Request constructor

Request lenses

dvpcDryRun :: Lens' DeleteVpcPeeringConnection (Maybe Bool) Source

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 DryRunOperation. Otherwise, it is UnauthorizedOperation.

Response

Response constructor

Response lenses

dvpcrReturn :: Lens' DeleteVpcPeeringConnectionResponse (Maybe Bool) Source

Returns true if the request succeeds; otherwise, it returns an error.