amazonka-ec2-0.3.6: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DeleteCustomerGateway

Contents

Description

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

Synopsis

Request

Request constructor

deleteCustomerGateway Source

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.

Response

Response constructor