Class: Aws::LocationService::Types::RouteMatrixEntry

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb

Overview

The result for the calculated route of one DeparturePosition DestinationPosition pair.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#distanceFloat

The total distance of travel for the route.

Returns:

  • (Float)


5123
5124
5125
5126
5127
5128
5129
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5123

class RouteMatrixEntry < Struct.new(
  :distance,
  :duration_seconds,
  :error)
  SENSITIVE = []
  include Aws::Structure
end

#duration_secondsFloat

The expected duration of travel for the route.

Returns:

  • (Float)


5123
5124
5125
5126
5127
5128
5129
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5123

class RouteMatrixEntry < Struct.new(
  :distance,
  :duration_seconds,
  :error)
  SENSITIVE = []
  include Aws::Structure
end

#errorTypes::RouteMatrixEntryError

An error corresponding to the calculation of a route between the DeparturePosition and DestinationPosition.



5123
5124
5125
5126
5127
5128
5129
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5123

class RouteMatrixEntry < Struct.new(
  :distance,
  :duration_seconds,
  :error)
  SENSITIVE = []
  include Aws::Structure
end