Skip to content

/AWS1/CL_EC2=>DELETECUSTOMERGATEWAY()

About DeleteCustomerGateway

Deletes the specified customer gateway. You must delete the VPN connection before you can delete the customer gateway.

Method Signature

IMPORTING

Required arguments:

IV_CUSTOMERGATEWAYID TYPE /AWS1/EC2CUSTOMERGATEWAYID /AWS1/EC2CUSTOMERGATEWAYID

The ID of the customer gateway.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.