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.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
Eq TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

Read TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

Show 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 #

NFData TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

Methods

rnf :: TruckWeight -> () #

Hashable TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

ToJSON 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" "libZSservicesZSamazonka-locationZSamazonka-location" '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