Class: Aws::GeoRoutes::Types::RouteMatrixEntry

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

Overview

The calculated route matrix containing the results for all pairs of Origins to Destination positions. Each row corresponds to one entry in Origins. Each entry in the row corresponds to the route from that entry in Origins to an entry in Destination positions.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#distanceInteger

The total distance of travel for the route.

Returns:

  • (Integer)


3261
3262
3263
3264
3265
3266
3267
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 3261

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

#durationInteger

The expected duration of travel for the route.

Unit: seconds

Returns:

  • (Integer)


3261
3262
3263
3264
3265
3266
3267
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 3261

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

#errorString

Error code that occurred during calculation of the route.

Returns:

  • (String)


3261
3262
3263
3264
3265
3266
3267
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 3261

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