ExAws.Location.Routes.WaypointOptimizationAvoidanceOptions (ex_aws_location v0.1.0)

Copy Markdown

Specifies options for areas to avoid. This is a best-effort avoidance setting, meaning the router will try to honor the avoidance preferences but may still include restricted areas if no feasible alternative route exists. If avoidance options are not followed, the response will indicate that the avoidance criteria were violated.

Fields

  • :areas - Areas to be avoided.

  • :car_shuttle_trains - Avoidance options for cars-shuttles-trains.

  • :controlled_access_highways - Avoid controlled access highways while calculating the route.

  • :dirt_roads - Avoid dirt roads while calculating the route.

  • :ferries - Avoidance options for ferries.

  • :toll_roads - Avoids roads where the specified toll transponders are the only mode of payment.

  • :tunnels - Avoid tunnels while calculating the route.

  • :u_turns - Avoid U-turns for calculation on highways and motorways.

See https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointOptimizationAvoidanceOptions.html

Summary

Types

t()

@type t() :: %ExAws.Location.Routes.WaypointOptimizationAvoidanceOptions{
  areas: [ExAws.Location.Routes.WaypointOptimizationAvoidanceArea.t()] | nil,
  car_shuttle_trains: boolean() | nil,
  controlled_access_highways: boolean() | nil,
  dirt_roads: boolean() | nil,
  ferries: boolean() | nil,
  toll_roads: boolean() | nil,
  tunnels: boolean() | nil,
  u_turns: boolean() | nil
}