Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CalculateRouteTruckModeOptions = CalculateRouteTruckModeOptions' {}
- newCalculateRouteTruckModeOptions :: CalculateRouteTruckModeOptions
- calculateRouteTruckModeOptions_weight :: Lens' CalculateRouteTruckModeOptions (Maybe TruckWeight)
- calculateRouteTruckModeOptions_avoidTolls :: Lens' CalculateRouteTruckModeOptions (Maybe Bool)
- calculateRouteTruckModeOptions_dimensions :: Lens' CalculateRouteTruckModeOptions (Maybe TruckDimensions)
- calculateRouteTruckModeOptions_avoidFerries :: Lens' CalculateRouteTruckModeOptions (Maybe Bool)
Documentation
data CalculateRouteTruckModeOptions Source #
Contains details about additional route preferences for requests that
specify TravelMode
as Truck
.
See: newCalculateRouteTruckModeOptions
smart constructor.
CalculateRouteTruckModeOptions' | |
|
Instances
newCalculateRouteTruckModeOptions :: CalculateRouteTruckModeOptions Source #
Create a value of CalculateRouteTruckModeOptions
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:weight:CalculateRouteTruckModeOptions'
, calculateRouteTruckModeOptions_weight
- Specifies the truck's weight specifications including total weight and
unit of measurement. Used to avoid roads that can't support the
truck's weight.
$sel:avoidTolls:CalculateRouteTruckModeOptions'
, calculateRouteTruckModeOptions_avoidTolls
- Avoids ferries when calculating routes.
Default Value: false
Valid Values: false
| true
$sel:dimensions:CalculateRouteTruckModeOptions'
, calculateRouteTruckModeOptions_dimensions
- Specifies the truck's dimension specifications including length,
height, width, and unit of measurement. Used to avoid roads that can't
support the truck's dimensions.
$sel:avoidFerries:CalculateRouteTruckModeOptions'
, calculateRouteTruckModeOptions_avoidFerries
- Avoids ferries when calculating routes.
Default Value: false
Valid Values: false
| true
calculateRouteTruckModeOptions_weight :: Lens' CalculateRouteTruckModeOptions (Maybe TruckWeight) Source #
Specifies the truck's weight specifications including total weight and unit of measurement. Used to avoid roads that can't support the truck's weight.
calculateRouteTruckModeOptions_avoidTolls :: Lens' CalculateRouteTruckModeOptions (Maybe Bool) Source #
Avoids ferries when calculating routes.
Default Value: false
Valid Values: false
| true
calculateRouteTruckModeOptions_dimensions :: Lens' CalculateRouteTruckModeOptions (Maybe TruckDimensions) Source #
Specifies the truck's dimension specifications including length, height, width, and unit of measurement. Used to avoid roads that can't support the truck's dimensions.
calculateRouteTruckModeOptions_avoidFerries :: Lens' CalculateRouteTruckModeOptions (Maybe Bool) Source #
Avoids ferries when calculating routes.
Default Value: false
Valid Values: false
| true