# `ExAws.Location.Routes.RouteWaypoint`

Waypoint between the Origin and Destination.

## Fields

* `:avoid_actions_for_distance` - Avoids actions for the provided distance. This is typically
  to consider for users in moving vehicles who may not have sufficient time to make an action
  at an origin or a destination. Not supported in `ap-southeast-1` and `ap-southeast-5`
  regions for
  [GrabMaps](https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html)
  customers.

* `:avoid_u_turns` - Avoid U-turns for calculation on highways and motorways. Not supported in
  `ap-southeast-1` and `ap-southeast-5` regions for
  [GrabMaps](https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html)
  customers.

* `:heading` - GPS Heading at the position. Not supported in `ap-southeast-1` and
  `ap-southeast-5` regions for
  [GrabMaps](https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html)
  customers.

* `:matching` - Options to configure matching the provided position to the road network. Not
  supported in `ap-southeast-1` and `ap-southeast-5` regions for
  [GrabMaps](https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html)
  customers.

* `:pass_through` - If the waypoint should not be treated as a stop. If yes, the waypoint is
  passed through and doesn't split the route into different legs. Not supported in
  `ap-southeast-1` and `ap-southeast-5` regions for
  [GrabMaps](https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html)
  customers.

* `:position` - (required) Position in World Geodetic System (WGS 84) format: [longitude,
  latitude].

* `:side_of_street` - Options to configure matching the provided position to a side of the
  street. Not supported in `ap-southeast-1` and `ap-southeast-5` regions for
  [GrabMaps](https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html)
  customers.

* `:stop_duration` - Duration of the stop. Not supported in `ap-southeast-1` and
  `ap-southeast-5` regions for
  [GrabMaps](https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html)
  customers.

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

# `t`

```elixir
@type t() :: %ExAws.Location.Routes.RouteWaypoint{
  avoid_actions_for_distance: integer() | nil,
  avoid_u_turns: boolean() | nil,
  heading: number() | nil,
  matching: ExAws.Location.Routes.RouteMatchingOptions.t() | nil,
  pass_through: boolean() | nil,
  position: [number()],
  side_of_street: ExAws.Location.Routes.RouteSideOfStreetOptions.t() | nil,
  stop_duration: integer() | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
