Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Attaches a virtual private gateway to a VPC. You can attach one virtual private gateway to one VPC at a time.
For more information, see AWS Managed VPN Connections in the Amazon Virtual Private Cloud User Guide .
- attachVPNGateway :: Text -> Text -> AttachVPNGateway
- data AttachVPNGateway
- avgDryRun :: Lens' AttachVPNGateway (Maybe Bool)
- avgVPCId :: Lens' AttachVPNGateway Text
- avgVPNGatewayId :: 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:
avgDryRun
- 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
.avgVPCId
- The ID of the VPC.avgVPNGatewayId
- The ID of the virtual private gateway.
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:
avgrsVPCAttachment
- Information about the attachment.avgrsResponseStatus
- -- | The response status code.
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.