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 HardwareVirtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud UserGuide.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreateVpnGateway.html
- data CreateVpnGateway
- createVpnGateway :: GatewayType -> CreateVpnGateway
- cvgAvailabilityZone :: Lens' CreateVpnGateway (Maybe Text)
- cvgDryRun :: Lens' CreateVpnGateway (Maybe Bool)
- cvgType :: Lens' CreateVpnGateway GatewayType
- data CreateVpnGatewayResponse
- createVpnGatewayResponse :: CreateVpnGatewayResponse
- cvgrVpnGateway :: Lens' CreateVpnGatewayResponse (Maybe VpnGateway)
Request
data CreateVpnGateway Source
Request constructor
CreateVpnGateway
constructor.
The fields accessible through corresponding lenses are:
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.
Response
Response constructor
createVpnGatewayResponse :: CreateVpnGatewayResponse Source
CreateVpnGatewayResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
cvgrVpnGateway :: Lens' CreateVpnGatewayResponse (Maybe VpnGateway) Source
Information about the virtual private gateway.