CmdID / aws / aws geo-routes
aws geo-routes optimize-waypoints
OptimizeWaypoints calculates the optimal order to travel between a set of waypoints to minimize either the travel time or the distance travelled during the journey, based on road network restrictions and the traffic pattern data. AWS CLI reference
15 options Its page in the AWS CLI reference
Options
--avoidFeatures that are avoided.--clusteringClustering allows you to specify how nearby waypoints can be clustered to improve the optimized sequence.--departure-timeDeparture time from the waypoint.--destination-optionsDestination related options.--destinationThe final position for the route in the World Geodetic System (WGS 84) format: [longitude, latitude].--driverDriver related options.--excludeFeatures to be strictly excluded while calculating the route.--keyOptional: The API key to be used for authorization.--optimize-sequencing-forSpecifies the optimization criteria for the calculated sequence.--origin-optionsOrigin related options.--originThe start position for the route in World Geodetic System (WGS 84) format: [longitude, latitude].--trafficTraffic-related options.--travel-mode-optionsTravel mode related options for the provided travel mode.--travel-modeSpecifies the mode of transport when calculating a route.--waypointsList of waypoints between the Origin and Destination, in World Geodetic System (WGS 84) format: [longitude, latitude].