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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.CreateInternetGateway

Contents

Description

Creates an Internet gateway for use with a VPC. After creating the Internet gateway, you attach it to a VPC using AttachInternetGateway.

For more information about your VPC and Internet gateway, see the AmazonVirtual Private Cloud User Guide.

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

Synopsis

Request

Request constructor

createInternetGateway :: CreateInternetGateway Source

CreateInternetGateway constructor.

The fields accessible through corresponding lenses are:

Request lenses

cigDryRun :: Lens' CreateInternetGateway (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.

Response

Response constructor

Response lenses