class Aws::LocationService::Types::TruckWeight

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

@note When making an API call, you may pass TruckWeight

data as a hash:

    {
      total: 1.0,
      unit: "Kilograms", # accepts Kilograms, Pounds
    }

@!attribute [rw] total

The total weight of the truck.

* For example, `3500`.

^
@return [Float]

@!attribute [rw] unit

The unit of measurement to use for the truck weight.

Default Value: `Kilograms`
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/TruckWeight AWS API Documentation

Constants

SENSITIVE