Skip to content

/AWS1/CL_EC2=>DELETELOCALGATEWAYROUTE()

About DeleteLocalGatewayRoute

Deletes the specified route from the specified local gateway route table.

Method Signature

IMPORTING

Required arguments:

IV_LOCALGATEWAYROUTETABLEID TYPE /AWS1/EC2LOCALGWROUTETABLEID /AWS1/EC2LOCALGWROUTETABLEID

The ID of the local gateway route table.

Optional arguments:

IV_DESTINATIONCIDRBLOCK TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The CIDR range for the route. This must match the CIDR for the route exactly.

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.

IV_DESTINATIONPREFIXLISTID TYPE /AWS1/EC2PREFIXLISTRESOURCEID /AWS1/EC2PREFIXLISTRESOURCEID

Use a prefix list in place of DestinationCidrBlock. You cannot use DestinationPrefixListId and DestinationCidrBlock in the same request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2DELLOCALGWROUTERS /AWS1/CL_EC2DELLOCALGWROUTERS