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 a virtual private gateway to a VPC. For more information, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide.
- attachVPNGateway :: Text -> Text -> AttachVPNGateway
- data AttachVPNGateway
- avgDryRun :: Lens' AttachVPNGateway (Maybe Bool)
- avgVPNGatewayId :: Lens' AttachVPNGateway Text
- avgVPCId :: Lens' AttachVPNGateway Text
- attachVPNGatewayResponse :: Int -> AttachVPNGatewayResponse
- data AttachVPNGatewayResponse
- avgrsVPCAttachment :: Lens' AttachVPNGatewayResponse (Maybe VPCAttachment)
- avgrsResponseStatus :: Lens' AttachVPNGatewayResponse Int
Creating a Request
Creates a value of AttachVPNGateway
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AttachVPNGateway Source #
Contains the parameters for AttachVpnGateway.
See: attachVPNGateway
smart constructor.
Request Lenses
avgDryRun :: Lens' AttachVPNGateway (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
.
avgVPNGatewayId :: Lens' AttachVPNGateway Text Source #
The ID of the virtual private gateway.
Destructuring the Response
attachVPNGatewayResponse Source #
Creates a value of AttachVPNGatewayResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AttachVPNGatewayResponse Source #
Contains the output of AttachVpnGateway.
See: attachVPNGatewayResponse
smart constructor.
Response Lenses
avgrsVPCAttachment :: Lens' AttachVPNGatewayResponse (Maybe VPCAttachment) Source #
Information about the attachment.
avgrsResponseStatus :: Lens' AttachVPNGatewayResponse Int Source #
The response status code.