class Aws::LocationService::Types::Step
Represents an element of a leg within a route. A step contains instructions for how to move to the next step in the leg.
@!attribute [rw] distance
The travel distance between the step's `StartPosition` and `EndPosition`. @return [Float]
@!attribute [rw] duration_seconds
The estimated travel time, in seconds, from the step's `StartPosition` to the `EndPosition`. . The travel mode and departure time that you specify in the request determines the calculated time. @return [Float]
@!attribute [rw] end_position
The end position of a step. If the position the last step in the leg, this position is the same as the end position of the leg. @return [Array<Float>]
@!attribute [rw] geometry_offset
Represents the start position, or index, in a sequence of steps within the leg's line string geometry. For example, the index of the first step in a leg geometry is `0`. Included in the response for queries that set `IncludeLegGeometry` to `True`. @return [Integer]
@!attribute [rw] start_position
The starting position of a step. If the position is the first step in the leg, this position is the same as the start position of the leg. @return [Array<Float>]
@see docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/Step AWS API Documentation
Constants
- SENSITIVE