Skip to content

/AWS1/CL_EC2=>DELETENATGATEWAY()

About DeleteNatGateway

Deletes the specified NAT gateway. Deleting a public NAT gateway disassociates its Elastic IP address, but does not release the address from your account. Deleting a NAT gateway does not delete any NAT gateway routes in your route tables.

Method Signature

IMPORTING

Required arguments:

IV_NATGATEWAYID TYPE /AWS1/EC2NATGATEWAYID /AWS1/EC2NATGATEWAYID

The ID of the NAT 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_EC2DELETENATGWRESULT /AWS1/CL_EC2DELETENATGWRESULT