View a markdown version of this page

RouteTransitLegDetails - Amazon Location Service

RouteTransitLegDetails

Populated when the Leg type is Transit, and provides additional information that is specific to public transit travel.

Contents

AfterTravelSteps

Steps of a leg that must be performed after the travel portion of the leg.

Type: Array of RouteTransitAfterTravelStep objects

Required: Yes

Arrival

Details corresponding to the arrival for the leg.

Type: RouteTransitArrival object

Required: Yes

Attributions

List of required attributions to display.

Type: Array of RouteAttribution objects

Required: Yes

BeforeTravelSteps

Steps of a leg that must be performed before the travel portion of the leg.

Type: Array of RouteTransitBeforeTravelStep objects

Required: Yes

Web links to external ticket booking services for the transit.

Type: Array of RouteWebLink objects

Required: Yes

Departure

Details corresponding to the departure for the leg.

Type: RouteTransitDeparture object

Required: Yes

Incidents

Incidents affecting this leg of the transit route.

Type: Array of RouteTransitIncident objects

Required: Yes

IntermediateStops

Intermediate stops between departure and destination of the transit route.

Type: Array of RouteTransitIntermediateStop objects

Required: Yes

NextDepartures

List of next departures that cover the same section of the route.

Type: Array of RouteTransitNextDeparture objects

Required: Yes

Notices

List of notices that indicate issues that occurred during route calculation.

Type: Array of RouteTransitNotice objects

Required: Yes

PassThroughWaypoints

Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option. Not populated when the TravelMode is Transit or Intermodal.

Type: Array of RoutePassThroughWaypoint objects

Required: Yes

Spans

Spans that were computed for the requested SpanAdditionalFeatures. Not populated when the TravelMode is Transit or Intermodal.

Type: Array of RouteTransitSpan objects

Required: Yes

Transport

Transport mode details for the transit leg.

Type: RouteTransitTransportModeDetails object

Required: Yes

TravelSteps

Steps of a leg that must be performed during the travel portion of the leg.

Type: Array of RouteTransitTravelStep objects

Required: Yes

Agency

Details about the transit agency.

Type: RouteTransitAgency object

Required: No

Summary

Summary of the transit leg.

Type: RouteTransitSummary object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: