# `ExAws.Location.Routes.RouteDriverScheduleInterval`

Interval of the driver work-rest schedule. Stops are added to fulfil the provided rest
schedule.

## Fields

* `:drive_duration` - (required) Maximum allowed driving time before stopping to rest.

* `:rest_duration` - (required) Resting time before the driver can continue driving.

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

# `t`

```elixir
@type t() :: %ExAws.Location.Routes.RouteDriverScheduleInterval{
  drive_duration: integer(),
  rest_duration: integer()
}
```

---

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