Deletes the specified static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.
The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.
The CIDR block associated with the local subnet of the customer network.
The ID of the VPN connection.
The following elements are returned by the service.
The ID of the request.
trueif the request succeeds, and an error otherwise.
For information about the errors that are common to all actions, see Common Errors.
This example deletes a static route to the destination CIDR block
22.214.171.124/16 associated with the VPN connection with the ID
vpn-83ad48ea. Note that when using the Query API, the "/" is denoted as
https://ec2.amazonaws.com/?Action=DeleteVpnConnectionRoute &DestinationCidrBlock=126.96.36.199%2F16 &VpnConnectionId=vpn-83ad48ea &AUTHPARAMS
<DeleteVpnConnectionRouteResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/"> <requestId>4f35a1b2-c2c3-4093-b51f-abb9d7311990</requestId> <return>true</return> </DeleteVpnConnectionRouteResponse>
For more information about using this API in one of the language-specific AWS SDKs, see the following: