Skip to content

/AWS1/CL_EC2=>DELETEINTERNETGATEWAY()

About DeleteInternetGateway

Deletes the specified internet gateway. You must detach the internet gateway from the VPC before you can delete it.

Method Signature

IMPORTING

Required arguments:

IV_INTERNETGATEWAYID TYPE /AWS1/EC2INTERNETGATEWAYID /AWS1/EC2INTERNETGATEWAYID

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