class Aws::LocationService::Types::CalculateRouteTruckModeOptions
Contains details about additional route preferences for requests that specify `TravelMode` as `Truck`.
@note When making an API call, you may pass CalculateRouteTruckModeOptions
data as a hash: { avoid_ferries: false, avoid_tolls: false, dimensions: { height: 1.0, length: 1.0, unit: "Meters", # accepts Meters, Feet width: 1.0, }, weight: { total: 1.0, unit: "Kilograms", # accepts Kilograms, Pounds }, }
@!attribute [rw] avoid_ferries
Avoids ferries when calculating routes. Default Value: `false` Valid Values: `false` \| `true` @return [Boolean]
@!attribute [rw] avoid_tolls
Avoids ferries when calculating routes. Default Value: `false` Valid Values: `false` \| `true` @return [Boolean]
@!attribute [rw] 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. @return [Types::TruckDimensions]
@!attribute [rw] 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. @return [Types::TruckWeight]
@see docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CalculateRouteTruckModeOptions AWS API Documentation
Constants
- SENSITIVE