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

  • avoidFerries :: Maybe Bool

    Avoids ferries when calculating routes.

    Default Value: false

    Valid Values: false | true

  • avoidTolls :: Maybe Bool

    Avoids tolls 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.

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

Instances

Instances details
ToJSON 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 #

Read CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

Show CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

NFData CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

Eq CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

Hashable 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" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "CalculateRouteTruckModeOptions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "avoidFerries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "avoidTolls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TruckDimensions)) :*: S1 ('MetaSel ('Just "weight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TruckWeight)))))

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:avoidFerries:CalculateRouteTruckModeOptions', calculateRouteTruckModeOptions_avoidFerries - Avoids ferries when calculating routes.

Default Value: false

Valid Values: false | true

$sel:avoidTolls:CalculateRouteTruckModeOptions', calculateRouteTruckModeOptions_avoidTolls - Avoids tolls 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: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.

calculateRouteTruckModeOptions_avoidFerries :: Lens' CalculateRouteTruckModeOptions (Maybe Bool) Source #

Avoids ferries when calculating routes.

Default Value: false

Valid Values: false | true

calculateRouteTruckModeOptions_avoidTolls :: Lens' CalculateRouteTruckModeOptions (Maybe Bool) Source #

Avoids tolls 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_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.