Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data ScheduleConfig Source #
This API enables you to specify the duration that the camera, or local
media file, should record onto the Edge Agent. The ScheduleConfig
consists of the ScheduleExpression
and the DurationInMinutes
attributes.
If the ScheduleExpression
is not provided, then the Edge Agent will
always be set to recording mode.
See: newScheduleConfig
smart constructor.
ScheduleConfig' | |
|
Instances
:: Text | |
-> Natural | |
-> ScheduleConfig |
Create a value of ScheduleConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:scheduleExpression:ScheduleConfig'
, scheduleConfig_scheduleExpression
- The Quartz cron expression that takes care of scheduling jobs to record
from the camera, or local media file, onto the Edge Agent. If the
ScheduleExpression
is not provided for the RecorderConfig
, then the
Edge Agent will always be set to recording mode.
For more information about Quartz, refer to the Cron Trigger Tutorial page to understand the valid expressions and its use.
$sel:durationInSeconds:ScheduleConfig'
, scheduleConfig_durationInSeconds
- The total duration to record the media. If the ScheduleExpression
attribute is provided, then the DurationInSeconds
attribute should
also be specified.
scheduleConfig_scheduleExpression :: Lens' ScheduleConfig Text Source #
The Quartz cron expression that takes care of scheduling jobs to record
from the camera, or local media file, onto the Edge Agent. If the
ScheduleExpression
is not provided for the RecorderConfig
, then the
Edge Agent will always be set to recording mode.
For more information about Quartz, refer to the Cron Trigger Tutorial page to understand the valid expressions and its use.
scheduleConfig_durationInSeconds :: Lens' ScheduleConfig Natural Source #
The total duration to record the media. If the ScheduleExpression
attribute is provided, then the DurationInSeconds
attribute should
also be specified.