Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data CreateInternetGateway
- createInternetGateway :: CreateInternetGateway
- cigDryRun :: Lens' CreateInternetGateway (Maybe Bool)
- data CreateInternetGatewayResponse
- createInternetGatewayResponse :: CreateInternetGatewayResponse
- cigrInternetGateway :: Lens' CreateInternetGatewayResponse (Maybe InternetGateway)
Request
data CreateInternetGateway Source
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
createInternetGatewayResponse :: CreateInternetGatewayResponse Source
CreateInternetGatewayResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
cigrInternetGateway :: Lens' CreateInternetGatewayResponse (Maybe InternetGateway) Source
Information about the Internet gateway.