Skip to content

/AWS1/CL_EC2=>DELETECLIENTVPNROUTE()

About DeleteClientVpnRoute

Deletes a route from a Client VPN endpoint. You can only delete routes that you manually added using the CreateClientVpnRoute action. You cannot delete routes that were automatically added when associating a subnet. To remove routes that have been automatically added, disassociate the target subnet from the Client VPN endpoint.

Method Signature

IMPORTING

Required arguments:

IV_CLIENTVPNENDPOINTID TYPE /AWS1/EC2CLIENTVPNENDPOINTID /AWS1/EC2CLIENTVPNENDPOINTID

The ID of the Client VPN endpoint from which the route is to be deleted.

IV_DESTINATIONCIDRBLOCK TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The IPv4 address range, in CIDR notation, of the route to be deleted.

Optional arguments:

IV_TARGETVPCSUBNETID TYPE /AWS1/EC2SUBNETID /AWS1/EC2SUBNETID

The ID of the target subnet used by the route.

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_EC2DELCLIVPNROUTERSLT /AWS1/CL_EC2DELCLIVPNROUTERSLT