# `ExAws.Location.Routes.WaypointOptimizationDriverOptions`

Driver related options.

## Fields

* `:rest_cycles` - Driver work-rest schedules defined by a short and long cycle. A rest needs
  to be taken after the short work duration. The short cycle can be repeated until you hit the
  long work duration, at which point the long rest duration should be taken before restarting.

* `:rest_profile` - Pre defined rest profiles for a driver schedule. The only currently
  supported profile is EU.

* `:treat_service_time_as` - If the service time provided at a waypoint/destination should be
  considered as rest or work. This contributes to the total time breakdown returned within the
  response. Valid values: `Rest`, `Work`.

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

# `t`

```elixir
@type t() :: %ExAws.Location.Routes.WaypointOptimizationDriverOptions{
  rest_cycles: ExAws.Location.Routes.WaypointOptimizationRestCycles.t() | nil,
  rest_profile: ExAws.Location.Routes.WaypointOptimizationRestProfile.t() | nil,
  treat_service_time_as: String.t() | nil
}
```

---

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