RouteMatrixEntry
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
- Distance
-
The total distance of travel for the route.
Type: Long
Valid Range: Minimum value of 0. Maximum value of 4294967295.
Required: Yes
- Duration
-
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
-
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
For more information about using this API in one of the language-specific AWS SDKs, see the following: