Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data CalculateRouteMatrixSummary = CalculateRouteMatrixSummary' {}
- newCalculateRouteMatrixSummary :: Text -> DistanceUnit -> Natural -> Natural -> CalculateRouteMatrixSummary
- calculateRouteMatrixSummary_dataSource :: Lens' CalculateRouteMatrixSummary Text
- calculateRouteMatrixSummary_distanceUnit :: Lens' CalculateRouteMatrixSummary DistanceUnit
- calculateRouteMatrixSummary_errorCount :: Lens' CalculateRouteMatrixSummary Natural
- calculateRouteMatrixSummary_routeCount :: Lens' CalculateRouteMatrixSummary Natural
Documentation
data CalculateRouteMatrixSummary Source #
A summary of the calculated route matrix.
See: newCalculateRouteMatrixSummary
smart constructor.
CalculateRouteMatrixSummary' | |
|
Instances
newCalculateRouteMatrixSummary Source #
:: Text | |
-> DistanceUnit | |
-> Natural | |
-> Natural | |
-> CalculateRouteMatrixSummary |
Create a value of CalculateRouteMatrixSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dataSource:CalculateRouteMatrixSummary'
, calculateRouteMatrixSummary_dataSource
- The data provider of traffic and road network data used to calculate the
routes. Indicates one of the available providers:
Esri
Here
For more information about data providers, see Amazon Location Service data providers.
$sel:distanceUnit:CalculateRouteMatrixSummary'
, calculateRouteMatrixSummary_distanceUnit
- The unit of measurement for route distances.
$sel:errorCount:CalculateRouteMatrixSummary'
, calculateRouteMatrixSummary_errorCount
- The count of error results in the route matrix. If this number is 0, all
routes were calculated successfully.
$sel:routeCount:CalculateRouteMatrixSummary'
, calculateRouteMatrixSummary_routeCount
- The count of cells in the route matrix. Equal to the number of
DeparturePositions
multiplied by the number of DestinationPositions
.
calculateRouteMatrixSummary_dataSource :: Lens' CalculateRouteMatrixSummary Text Source #
The data provider of traffic and road network data used to calculate the routes. Indicates one of the available providers:
Esri
Here
For more information about data providers, see Amazon Location Service data providers.
calculateRouteMatrixSummary_distanceUnit :: Lens' CalculateRouteMatrixSummary DistanceUnit Source #
The unit of measurement for route distances.
calculateRouteMatrixSummary_errorCount :: Lens' CalculateRouteMatrixSummary Natural Source #
The count of error results in the route matrix. If this number is 0, all routes were calculated successfully.
calculateRouteMatrixSummary_routeCount :: Lens' CalculateRouteMatrixSummary Natural Source #
The count of cells in the route matrix. Equal to the number of
DeparturePositions
multiplied by the number of DestinationPositions
.