RouteViolatedConstraints - Amazon Location Service

RouteViolatedConstraints

This property contains a summary of violated constraints.

Contents

HazardousCargos

List of Hazardous cargo contained in the vehicle.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 11 items.

Valid Values: Combustible | Corrosive | Explosive | Flammable | Gas | HarmfulToWater | Organic | Other | Poison | PoisonousInhalation | Radioactive

Required: Yes

AllHazardsRestricted

This restriction applies to truck cargo, where the resulting route excludes roads on which hazardous materials are prohibited from being transported.

Type: Boolean

Required: No

AxleCount

Total number of axles of the vehicle.

Type: RouteNoticeDetailRange object

Required: No

MaxHeight

The maximum height of the vehicle.

Type: Long

Valid Range: Minimum value of 0. Maximum value of 4294967295.

Required: No

MaxKpraLength

The maximum Kpra length of the vehicle.

Unit: centimeters

Type: Long

Valid Range: Minimum value of 0. Maximum value of 4294967295.

Required: No

MaxLength

The maximum length of the vehicle.

Type: Long

Valid Range: Minimum value of 0. Maximum value of 4294967295.

Required: No

MaxPayloadCapacity

The maximum load capacity of the vehicle.

Unit: kilograms

Type: Long

Valid Range: Minimum value of 0. Maximum value of 4294967295.

Required: No

MaxWeight

The maximum weight of the route.

Unit: Kilograms

Type: RouteWeightConstraint object

Required: No

MaxWeightPerAxle

The maximum weight per axle of the vehicle.

Unit: Kilograms

Type: Long

Valid Range: Minimum value of 0. Maximum value of 4294967295.

Required: No

MaxWeightPerAxleGroup

The maximum weight per axle group of the vehicle.

Unit: Kilograms

Type: WeightPerAxleGroup object

Required: No

MaxWidth

The maximum width of the vehicle.

Type: Long

Valid Range: Minimum value of 0. Maximum value of 4294967295.

Required: No

Occupancy

The number of occupants in the vehicle.

Default Value: 1

Type: RouteNoticeDetailRange object

Required: No

RestrictedTimes

Access radius restrictions based on time.

Type: String

Required: No

TimeDependent

The time dependent constraint.

Type: Boolean

Required: No

TrailerCount

Number of trailers attached to the vehicle.

Default Value: 0

Type: RouteNoticeDetailRange object

Required: No

TravelMode

Travel mode corresponding to the leg.

Type: Boolean

Required: No

TruckRoadType

Truck road type identifiers. BK1 through BK4 apply only to Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico.

Note

There are currently no other supported values as of 26th April 2024.

Type: String

Required: No

TruckType

Type of the truck.

Type: String

Valid Values: LightTruck | StraightTruck | Tractor

Required: No

TunnelRestrictionCode

The tunnel restriction code.

Tunnel categories in this list indicate the restrictions which apply to certain tunnels in Great Britain. They relate to the types of dangerous goods that can be transported through them.

  • Tunnel Category B

    • Risk Level: Limited risk

    • Restrictions: Few restrictions

  • Tunnel Category C

    • Risk Level: Medium risk

    • Restrictions: Some restrictions

  • Tunnel Category D

    • Risk Level: High risk

    • Restrictions: Many restrictions occur

  • Tunnel Category E

    • Risk Level: Very high risk

    • Restrictions: Restricted tunnel

Type: String

Length Constraints: Fixed length of 1.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: