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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.AcceptVPCPeeringConnection

Contents

Description

Accept a VPC peering connection request. To accept a request, the VPC peering connection must be in the 'pending-acceptance' state, and you must be the owner of the peer VPC. Use the DescribeVpcPeeringConnections request to view your outstanding VPC peering connection requests.

See: AWS API Reference for AcceptVPCPeeringConnection.

Synopsis

Creating a Request

acceptVPCPeeringConnection :: AcceptVPCPeeringConnection Source

Creates a value of AcceptVPCPeeringConnection with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

avpcDryRun :: Lens' AcceptVPCPeeringConnection (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.

Destructuring the Response

acceptVPCPeeringConnectionResponse Source

Creates a value of AcceptVPCPeeringConnectionResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses