Safe Haskell | None |
---|---|
Language | Haskell2010 |
Deletes the specified virtual private gateway. We recommend that before you delete a virtual private gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the virtual private gateway if you plan to delete and recreate the VPN connection between your VPC and your network.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteVpnGateway.html
- data DeleteVpnGateway
- deleteVpnGateway :: Text -> DeleteVpnGateway
- dvgDryRun :: Lens' DeleteVpnGateway (Maybe Bool)
- dvgVpnGatewayId :: Lens' DeleteVpnGateway Text
- data DeleteVpnGatewayResponse
- deleteVpnGatewayResponse :: DeleteVpnGatewayResponse
Request
data DeleteVpnGateway Source
Eq DeleteVpnGateway | |
Ord DeleteVpnGateway | |
Read DeleteVpnGateway | |
Show DeleteVpnGateway | |
AWSRequest DeleteVpnGateway | |
ToQuery DeleteVpnGateway | |
ToPath DeleteVpnGateway | |
ToHeaders DeleteVpnGateway | |
type Sv DeleteVpnGateway = EC2 | |
type Rs DeleteVpnGateway = DeleteVpnGatewayResponse |
Request constructor
:: Text | |
-> DeleteVpnGateway |
DeleteVpnGateway
constructor.
The fields accessible through corresponding lenses are:
dvgDryRun
::
Maybe
Bool
dvgVpnGatewayId
::
Text
Request lenses
dvgDryRun :: Lens' DeleteVpnGateway (Maybe Bool) Source
dvgVpnGatewayId :: Lens' DeleteVpnGateway Text Source
The ID of the virtual private gateway.