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)


5477
5478
5479
5480
5481
5482
5483
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5477

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)


5477
5478
5479
5480
5481
5482
5483
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5477

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.



5477
5478
5479
5480
5481
5482
5483
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5477

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