Delete Route
ec2_delete_route | R Documentation |
Deletes the specified route from the specified route table¶
Description¶
Deletes the specified route from the specified route table.
Usage¶
ec2_delete_route(DestinationPrefixListId, DryRun, RouteTableId,
DestinationCidrBlock, DestinationIpv6CidrBlock)
Arguments¶
DestinationPrefixListId |
The ID of the prefix list for the route. |
DryRun |
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
|
RouteTableId |
[required] The ID of the route table. |
DestinationCidrBlock |
The IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly. |
DestinationIpv6CidrBlock |
The IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly. |
Value¶
An empty list.
Request syntax¶
svc$delete_route(
DestinationPrefixListId = "string",
DryRun = TRUE|FALSE,
RouteTableId = "string",
DestinationCidrBlock = "string",
DestinationIpv6CidrBlock = "string"
)
Examples¶
## Not run:
# This example deletes the specified route from the specified route table.
svc$delete_route(
DestinationCidrBlock = "0.0.0.0/0",
RouteTableId = "rtb-22574640"
)
## End(Not run)