Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
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 Amazon Virtual Private Cloud User Guide.
- createInternetGateway :: CreateInternetGateway
- data CreateInternetGateway
- cigDryRun :: Lens' CreateInternetGateway (Maybe Bool)
- createInternetGatewayResponse :: Int -> CreateInternetGatewayResponse
- data CreateInternetGatewayResponse
- cigrsInternetGateway :: Lens' CreateInternetGatewayResponse (Maybe InternetGateway)
- cigrsResponseStatus :: Lens' CreateInternetGatewayResponse Int
Creating a Request
createInternetGateway :: CreateInternetGateway Source #
Creates a value of CreateInternetGateway
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateInternetGateway Source #
Contains the parameters for CreateInternetGateway.
See: createInternetGateway
smart constructor.
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
.
Destructuring the Response
createInternetGatewayResponse Source #
Creates a value of CreateInternetGatewayResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateInternetGatewayResponse Source #
Contains the output of CreateInternetGateway.
See: createInternetGatewayResponse
smart constructor.
Response Lenses
cigrsInternetGateway :: Lens' CreateInternetGatewayResponse (Maybe InternetGateway) Source #
Information about the Internet gateway.
cigrsResponseStatus :: Lens' CreateInternetGatewayResponse Int Source #
The response status code.