Skip to content

/AWS1/CL_EC2=>DELETECARRIERGATEWAY()

About DeleteCarrierGateway

Deletes a carrier gateway.

If you do not delete the route that contains the carrier gateway as the Target, the route is a blackhole route. For information about how to delete a route, see DeleteRoute.

Method Signature

IMPORTING

Required arguments:

IV_CARRIERGATEWAYID TYPE /AWS1/EC2CARRIERGATEWAYID /AWS1/EC2CARRIERGATEWAYID

The ID of the carrier 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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2DELCARRIERGWRSLT /AWS1/CL_EC2DELCARRIERGWRSLT