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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.RejectVpcPeeringConnection

Contents

Description

Rejects a VPC peering connection request. The VPC peering connection must be in the 'pending-acceptance' state. Use the DescribeVpcPeeringConnections request to view your outstanding VPC peering connection requests. To delete an active VPC peering connection, or to delete a VPC peering connection request that you initiated, use DeleteVpcPeeringConnection.

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

Synopsis

Request

Request constructor

Request lenses

rvpcDryRun :: Lens' RejectVpcPeeringConnection (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

rvpcrReturn :: Lens' RejectVpcPeeringConnectionResponse (Maybe Bool) Source

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