Copyright | (c) 2013-2015 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.
See: AWS API Reference for AttachVPNGateway.
- 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)
- avgrsStatus :: 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
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.
avgVPCId :: Lens' AttachVPNGateway Text Source
The ID of the VPC.
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
See: attachVPNGatewayResponse
smart constructor.
Response Lenses
avgrsVPCAttachment :: Lens' AttachVPNGatewayResponse (Maybe VPCAttachment) Source
Information about the attachment.
avgrsStatus :: Lens' AttachVPNGatewayResponse Int Source
The response status code.