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 |
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 .
- attachInternetGateway :: Text -> Text -> AttachInternetGateway
- data AttachInternetGateway
- aigDryRun :: Lens' AttachInternetGateway (Maybe Bool)
- aigInternetGatewayId :: Lens' AttachInternetGateway Text
- aigVPCId :: Lens' AttachInternetGateway Text
- attachInternetGatewayResponse :: AttachInternetGatewayResponse
- data AttachInternetGatewayResponse
Creating a Request
attachInternetGateway Source #
Creates a value of AttachInternetGateway
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aigDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.aigInternetGatewayId
- The ID of the Internet gateway.aigVPCId
- The ID of the VPC.
data AttachInternetGateway Source #
Contains the parameters for AttachInternetGateway.
See: attachInternetGateway
smart 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.
Destructuring the Response
attachInternetGatewayResponse :: AttachInternetGatewayResponse Source #
Creates a value of AttachInternetGatewayResponse
with the minimum fields required to make a request.
data AttachInternetGatewayResponse Source #
See: attachInternetGatewayResponse
smart constructor.