amazonka-location-2.0: Amazon Location Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Location.Types.TruckWeight

Description

 
Synopsis

Documentation

data TruckWeight Source #

Contains details about the truck's weight specifications. Used to avoid roads that can't support or allow the total weight for requests that specify TravelMode as Truck.

See: newTruckWeight smart constructor.

Constructors

TruckWeight' 

Fields

Instances

Instances details
ToJSON TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

Generic TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

Associated Types

type Rep TruckWeight :: Type -> Type #

Read TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

Show TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

NFData TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

Methods

rnf :: TruckWeight -> () #

Eq TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

Hashable TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

type Rep TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

type Rep TruckWeight = D1 ('MetaData "TruckWeight" "Amazonka.Location.Types.TruckWeight" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "TruckWeight'" 'PrefixI 'True) (S1 ('MetaSel ('Just "total") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VehicleWeightUnit))))

newTruckWeight :: TruckWeight Source #

Create a value of TruckWeight 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:total:TruckWeight', truckWeight_total - The total weight of the truck.

  • For example, 3500.

$sel:unit:TruckWeight', truckWeight_unit - The unit of measurement to use for the truck weight.

Default Value: Kilograms

truckWeight_total :: Lens' TruckWeight (Maybe Double) Source #

The total weight of the truck.

  • For example, 3500.

truckWeight_unit :: Lens' TruckWeight (Maybe VehicleWeightUnit) Source #

The unit of measurement to use for the truck weight.

Default Value: Kilograms