Class: Aws::LocationService::Types::RouteMatrixEntry
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::LocationService::Types::RouteMatrixEntry
 
- 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 =
- [:distance, :duration_seconds] 
Instance Attribute Summary collapse
- 
  
    
      #distance  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The total distance of travel for the route. 
- 
  
    
      #duration_seconds  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The expected duration of travel for the route. 
- 
  
    
      #error  ⇒ Types::RouteMatrixEntryError 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An error corresponding to the calculation of a route between the DeparturePositionandDestinationPosition.
Instance Attribute Details
#distance ⇒ Float
The total distance of travel for the route.
| 5654 5655 5656 5657 5658 5659 5660 | # File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5654 class RouteMatrixEntry < Struct.new( :distance, :duration_seconds, :error) SENSITIVE = [:distance, :duration_seconds] include Aws::Structure end | 
#duration_seconds ⇒ Float
The expected duration of travel for the route.
| 5654 5655 5656 5657 5658 5659 5660 | # File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5654 class RouteMatrixEntry < Struct.new( :distance, :duration_seconds, :error) SENSITIVE = [:distance, :duration_seconds] include Aws::Structure end | 
#error ⇒ Types::RouteMatrixEntryError
An error corresponding to the calculation of a route between the
DeparturePosition and DestinationPosition.
| 5654 5655 5656 5657 5658 5659 5660 | # File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5654 class RouteMatrixEntry < Struct.new( :distance, :duration_seconds, :error) SENSITIVE = [:distance, :duration_seconds] include Aws::Structure end |