amazonka-ec2-1.3.3.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.AttachVPNGateway

Contents

Description

Attaches a virtual private gateway to a VPC. For more information, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide.

See: AWS API Reference for AttachVPNGateway.

Synopsis

Creating a Request

attachVPNGateway Source

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

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

Request Lenses

avgDryRun :: Lens' AttachVPNGateway (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.

avgVPNGatewayId :: Lens' AttachVPNGateway Text Source

The ID of the virtual private gateway.

Destructuring the Response

attachVPNGatewayResponse Source

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

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

Response Lenses