delete_route
(**kwargs)¶Deletes the specified route from the specified route table.
See also: AWS API Documentation
Request Syntax
response = client.delete_route(
DestinationCidrBlock='string',
DestinationIpv6CidrBlock='string',
DestinationPrefixListId='string',
DryRun=True|False,
RouteTableId='string'
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
The ID of the route table.
None
Examples
This example deletes the specified route from the specified route table.
response = client.delete_route(
DestinationCidrBlock='0.0.0.0/0',
RouteTableId='rtb-22574640',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}