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 SchedulingConfig Source #
Specifies the date and time that a job will begin the rollout of the job document to all devices in the target group. Additionally, you can specify the end behavior for each job execution when it reaches the scheduled end time.
See: newSchedulingConfig
smart constructor.
SchedulingConfig' | |
|
Instances
newSchedulingConfig :: SchedulingConfig Source #
Create a value of SchedulingConfig
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:endBehavior:SchedulingConfig'
, schedulingConfig_endBehavior
- Specifies the end behavior for all job executions after a job reaches
the selected endTime
. If endTime
is not selected when creating the
job, then endBehavior
does not apply.
$sel:endTime:SchedulingConfig'
, schedulingConfig_endTime
- The time a job will stop rollout of the job document to all devices in
the target group for a job. The endTime
must take place no later than
two years from the current time and be scheduled a minimum of thirty
minutes from the current time. The minimum duration between startTime
and endTime
is thirty minutes. The maximum duration between
startTime
and endTime
is two years.
$sel:startTime:SchedulingConfig'
, schedulingConfig_startTime
- The time a job will begin rollout of the job document to all devices in
the target group for a job. The startTime
can be scheduled up to a
year in advance and must be scheduled a minimum of thirty minutes from
the current time.
schedulingConfig_endBehavior :: Lens' SchedulingConfig (Maybe JobEndBehavior) Source #
Specifies the end behavior for all job executions after a job reaches
the selected endTime
. If endTime
is not selected when creating the
job, then endBehavior
does not apply.
schedulingConfig_endTime :: Lens' SchedulingConfig (Maybe Text) Source #
The time a job will stop rollout of the job document to all devices in
the target group for a job. The endTime
must take place no later than
two years from the current time and be scheduled a minimum of thirty
minutes from the current time. The minimum duration between startTime
and endTime
is thirty minutes. The maximum duration between
startTime
and endTime
is two years.
schedulingConfig_startTime :: Lens' SchedulingConfig (Maybe Text) Source #
The time a job will begin rollout of the job document to all devices in
the target group for a job. The startTime
can be scheduled up to a
year in advance and must be scheduled a minimum of thirty minutes from
the current time.