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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.AttachInternetGateway

Contents

Description

Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC. For more information about your VPC and Internet gateway, see the Amazon Virtual Private Cloud User Guide.

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

Synopsis

Request

Request constructor

Request lenses

aigDryRun :: Lens' AttachInternetGateway (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.

aigInternetGatewayId :: Lens' AttachInternetGateway Text Source

The ID of the Internet gateway.

Response

Response constructor