- Navigation Guide
@aws-sdk/client-location
CalculateRouteCommandOutput Interface
Members
Name | Type | Details |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Legs Required | Leg[] | undefined | Contains details about each path between a pair of positions included along a route such as: For example, a route with a departure position and destination position returns one leg with the positions snapped to a nearby road :
A route with a waypoint between the departure and destination position returns two legs with the positions snapped to a nearby road:
|
Summary Required | CalculateRouteSummary | undefined | Contains information about the whole route, such as: |
Full Signature
export interface CalculateRouteCommandOutput extends CalculateRouteResponse, MetadataBearer