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.CalculateRouteTruckModeOptions

Description

 
Synopsis

Documentation

data CalculateRouteTruckModeOptions Source #

Contains details about additional route preferences for requests that specify TravelMode as Truck.

See: newCalculateRouteTruckModeOptions smart constructor.

Constructors

CalculateRouteTruckModeOptions' 

Fields

  • weight :: Maybe TruckWeight

    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.

  • avoidTolls :: Maybe Bool

    Avoids ferries when calculating routes.

    Default Value: false

    Valid Values: false | true

  • dimensions :: Maybe TruckDimensions

    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.

  • avoidFerries :: Maybe Bool

    Avoids ferries when calculating routes.

    Default Value: false

    Valid Values: false | true

Instances

Instances details
Eq CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

Read CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

Show CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

Generic CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

Associated Types

type Rep CalculateRouteTruckModeOptions :: Type -> Type #

NFData CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

Hashable CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

ToJSON CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

type Rep CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

type Rep CalculateRouteTruckModeOptions = D1 ('MetaData "CalculateRouteTruckModeOptions" "Amazonka.Location.Types.CalculateRouteTruckModeOptions" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "CalculateRouteTruckModeOptions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "weight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TruckWeight)) :*: S1 ('MetaSel ('Just "avoidTolls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TruckDimensions)) :*: S1 ('MetaSel ('Just "avoidFerries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

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