Class: Aws::LocationService::Types::CalculateRouteMatrixSummary

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

Overview

A summary of the calculated route matrix.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_sourceString

The data provider of traffic and road network data used to calculate the routes. Indicates one of the available providers:

  • Esri

  • Grab

  • Here

For more information about data providers, see Amazon Location Service data providers.

Returns:

  • (String)


744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 744

class CalculateRouteMatrixSummary < Struct.new(
  :data_source,
  :distance_unit,
  :error_count,
  :route_count)
  SENSITIVE = []
  include Aws::Structure
end

#distance_unitString

The unit of measurement for route distances.

Returns:

  • (String)


744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 744

class CalculateRouteMatrixSummary < Struct.new(
  :data_source,
  :distance_unit,
  :error_count,
  :route_count)
  SENSITIVE = []
  include Aws::Structure
end

#error_countInteger

The count of error results in the route matrix. If this number is 0, all routes were calculated successfully.

Returns:

  • (Integer)


744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 744

class CalculateRouteMatrixSummary < Struct.new(
  :data_source,
  :distance_unit,
  :error_count,
  :route_count)
  SENSITIVE = []
  include Aws::Structure
end

#route_countInteger

The count of cells in the route matrix. Equal to the number of DeparturePositions multiplied by the number of DestinationPositions.

Returns:

  • (Integer)


744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 744

class CalculateRouteMatrixSummary < Struct.new(
  :data_source,
  :distance_unit,
  :error_count,
  :route_count)
  SENSITIVE = []
  include Aws::Structure
end