

# RouteMatrixEntry
<a name="API_RouteMatrixEntry"></a>

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.

## Contents
<a name="API_RouteMatrixEntry_Contents"></a>

 ** Distance **   <a name="location-Type-RouteMatrixEntry-Distance"></a>
The total distance of travel for the route.  
Type: Long  
Valid Range: Minimum value of 0. Maximum value of 4294967295.  
Required: Yes

 ** Duration **   <a name="location-Type-RouteMatrixEntry-Duration"></a>
The expected duration of travel for the route.  
 **Unit**: `seconds`   
Type: Long  
Valid Range: Minimum value of 0. Maximum value of 4294967295.  
Required: Yes

 ** Error **   <a name="location-Type-RouteMatrixEntry-Error"></a>
Error code that occurred during calculation of the route.  
Type: String  
Valid Values: `NoMatch | NoMatchDestination | NoMatchOrigin | NoRoute | OutOfBounds | OutOfBoundsDestination | OutOfBoundsOrigin | Other | Violation`   
Required: No

## See Also
<a name="API_RouteMatrixEntry_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/geo-routes-2020-11-19/RouteMatrixEntry) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/geo-routes-2020-11-19/RouteMatrixEntry) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/geo-routes-2020-11-19/RouteMatrixEntry) 