libZSservicesZSamazonka-locationZSamazonka-location
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Location.Types.TruckDimensions

Description

 
Synopsis

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.

Constructors

TruckDimensions' 

Fields

Instances

Instances details
Eq TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

Read TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

Show TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

Generic TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

Associated Types

type Rep TruckDimensions :: Type -> Type #

NFData TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

Methods

rnf :: TruckDimensions -> () #

Hashable TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

ToJSON TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

type Rep TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

type Rep TruckDimensions = D1 ('MetaData "TruckDimensions" "Amazonka.Location.Types.TruckDimensions" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "TruckDimensions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "length") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DimensionUnit)))))

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