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 |
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.
Creating a Request
Creates a value of DeleteVPNGateway
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvgDryRun
- 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
.dvgVPNGatewayId
- The ID of the virtual private gateway.
data DeleteVPNGateway Source #
Contains the parameters for DeleteVpnGateway.
See: deleteVPNGateway
smart constructor.
Request Lenses
dvgDryRun :: Lens' DeleteVPNGateway (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
.
dvgVPNGatewayId :: Lens' DeleteVPNGateway Text Source #
The ID of the virtual private gateway.
Destructuring the Response
deleteVPNGatewayResponse :: DeleteVPNGatewayResponse Source #
Creates a value of DeleteVPNGatewayResponse
with the minimum fields required to make a request.
data DeleteVPNGatewayResponse Source #
See: deleteVPNGatewayResponse
smart constructor.