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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.AttachVpnGateway

Contents

Description

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

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

Synopsis

Request

Request constructor

attachVpnGateway Source

Arguments

:: Text

avgVpnGatewayId

-> Text

avgVpcId

-> AttachVpnGateway 

AttachVpnGateway constructor.

The fields accessible through corresponding lenses are:

Request lenses

avgVpcId :: Lens' AttachVpnGateway Text Source

The ID of the VPC.

avgVpnGatewayId :: Lens' AttachVpnGateway Text Source

The ID of the virtual private gateway.

Response

Response constructor

attachVpnGatewayResponse :: AttachVpnGatewayResponse Source

AttachVpnGatewayResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

avgrVpcAttachment :: Lens' AttachVpnGatewayResponse (Maybe VpcAttachment) Source

Information about the attachment.