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 TruckDimensions = TruckDimensions' {}
- newTruckDimensions :: TruckDimensions
- truckDimensions_length :: Lens' TruckDimensions (Maybe Double)
- truckDimensions_height :: Lens' TruckDimensions (Maybe Double)
- truckDimensions_width :: Lens' TruckDimensions (Maybe Double)
- truckDimensions_unit :: Lens' TruckDimensions (Maybe DimensionUnit)
Documentation
data TruckDimensions Source #
Contains details about the truck dimensions in the unit of measurement
that you specify. Used to filter out roads that can't support or allow
the specified dimensions for requests that specify TravelMode
as
Truck
.
See: newTruckDimensions
smart constructor.
Instances
newTruckDimensions :: TruckDimensions Source #
Create a value of TruckDimensions
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:length:TruckDimensions'
, truckDimensions_length
- The length of the truck.
- For example,
15.5
.
$sel:height:TruckDimensions'
, truckDimensions_height
- The height of the truck.
- For example,
4.5
.
$sel:width:TruckDimensions'
, truckDimensions_width
- The width of the truck.
- For example,
4.5
.
$sel:unit:TruckDimensions'
, truckDimensions_unit
- Specifies the unit of measurement for the truck dimensions.
Default Value: Meters
truckDimensions_length :: Lens' TruckDimensions (Maybe Double) Source #
The length of the truck.
- For example,
15.5
.
truckDimensions_height :: Lens' TruckDimensions (Maybe Double) Source #
The height of the truck.
- For example,
4.5
.
truckDimensions_width :: Lens' TruckDimensions (Maybe Double) Source #
The width of the truck.
- For example,
4.5
.
truckDimensions_unit :: Lens' TruckDimensions (Maybe DimensionUnit) Source #
Specifies the unit of measurement for the truck dimensions.
Default Value: Meters