Class: Aws::GeoRoutes::Types::RouteMatrixEntry
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoRoutes::Types::RouteMatrixEntry
- 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
-
#distance ⇒ Integer
The total distance of travel for the route.
-
#duration ⇒ Integer
The expected duration of travel for the route.
-
#error ⇒ String
Error code that occurred during calculation of the route.
Instance Attribute Details
#distance ⇒ Integer
The total distance of travel for the route.
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 |
#duration ⇒ Integer
The expected duration of travel for the route.
Unit: seconds
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 |
#error ⇒ String
Error code that occurred during calculation of the route.
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 |