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)


884
885
886
887
888
889
890
891
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 884

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

#distance_unitString

The unit of measurement for route distances.

Returns:

  • (String)


884
885
886
887
888
889
890
891
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 884

class CalculateRouteMatrixSummary < Struct.new(
  :data_source,
  :route_count,
  :error_count,
  :distance_unit)
  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)


884
885
886
887
888
889
890
891
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 884

class CalculateRouteMatrixSummary < Struct.new(
  :data_source,
  :route_count,
  :error_count,
  :distance_unit)
  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)


884
885
886
887
888
889
890
891
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 884

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