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 a virtual private gateway. A virtual private gateway is the endpoint on the VPC side of your VPN connection. You can create a virtual private gateway before creating the VPC itself.
For more information about virtual private gateways, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide.
- createVPNGateway :: GatewayType -> CreateVPNGateway
- data CreateVPNGateway
- cvgAvailabilityZone :: Lens' CreateVPNGateway (Maybe Text)
- cvgDryRun :: Lens' CreateVPNGateway (Maybe Bool)
- cvgType :: Lens' CreateVPNGateway GatewayType
- createVPNGatewayResponse :: Int -> CreateVPNGatewayResponse
- data CreateVPNGatewayResponse
- cvgrsVPNGateway :: Lens' CreateVPNGatewayResponse (Maybe VPNGateway)
- cvgrsResponseStatus :: Lens' CreateVPNGatewayResponse Int
Creating a Request
Creates a value of CreateVPNGateway
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateVPNGateway Source #
Contains the parameters for CreateVpnGateway.
See: createVPNGateway
smart constructor.
Request Lenses
cvgAvailabilityZone :: Lens' CreateVPNGateway (Maybe Text) Source #
The Availability Zone for the virtual private gateway.
cvgDryRun :: Lens' CreateVPNGateway (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
.
cvgType :: Lens' CreateVPNGateway GatewayType Source #
The type of VPN connection this virtual private gateway supports.
Destructuring the Response
createVPNGatewayResponse Source #
Creates a value of CreateVPNGatewayResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateVPNGatewayResponse Source #
Contains the output of CreateVpnGateway.
See: createVPNGatewayResponse
smart constructor.
Response Lenses
cvgrsVPNGateway :: Lens' CreateVPNGatewayResponse (Maybe VPNGateway) Source #
Information about the virtual private gateway.
cvgrsResponseStatus :: Lens' CreateVPNGatewayResponse Int Source #
The response status code.