paws.compute (version 0.1.0)

ec2_delete_route: Deletes the specified route from the specified route table

Description

Deletes the specified route from the specified route table.

Usage

ec2_delete_route(DestinationCidrBlock, DestinationIpv6CidrBlock, DryRun,
  RouteTableId)

Arguments

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.

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 DryRunOperation. Otherwise, it is UnauthorizedOperation.

RouteTableId

[required] The ID of the route table.

Request syntax

svc$delete_route(
  DestinationCidrBlock = "string",
  DestinationIpv6CidrBlock = "string",
  DryRun = TRUE|FALSE,
  RouteTableId = "string"
)

Examples

Run this code
# NOT RUN {
# This example deletes the specified route from the specified route table.
# }
# NOT RUN {
svc$delete_route(
  DestinationCidrBlock = "0.0.0.0/0",
  RouteTableId = "rtb-22574640"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace