Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data AttachVpnGateway
- attachVpnGateway :: Text -> Text -> AttachVpnGateway
- avgDryRun :: Lens' AttachVpnGateway (Maybe Bool)
- avgVpcId :: Lens' AttachVpnGateway Text
- avgVpnGatewayId :: Lens' AttachVpnGateway Text
- data AttachVpnGatewayResponse
- attachVpnGatewayResponse :: AttachVpnGatewayResponse
- avgrVpcAttachment :: Lens' AttachVpnGatewayResponse (Maybe VpcAttachment)
Request
data AttachVpnGateway Source
Request constructor
AttachVpnGateway
constructor.
The fields accessible through corresponding lenses are:
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
.
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.