Safe Haskell | None |
---|---|
Language | Haskell2010 |
Deletes the specified customer gateway. You must delete the VPN connection before you can delete the customer gateway.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteCustomerGateway.html
Request
data DeleteCustomerGateway Source
Request constructor
DeleteCustomerGateway
constructor.
The fields accessible through corresponding lenses are:
Request lenses
dcg1CustomerGatewayId :: Lens' DeleteCustomerGateway Text Source
The ID of the customer gateway.
dcg1DryRun :: Lens' DeleteCustomerGateway (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
.