deleteRoute

abstract suspend fun deleteRoute(input: DeleteRouteRequest): DeleteRouteResponse

Deletes the specified route from the specified route table.

Samples

// This example deletes the specified route from the specified route table.
ec2Client.deleteRoute {
    routeTableId = "rtb-22574640"
    destinationCidrBlock = "0.0.0.0/0"
}