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 |
Synopsis
- data ScheduledInstanceRecurrence = ScheduledInstanceRecurrence' {}
- newScheduledInstanceRecurrence :: ScheduledInstanceRecurrence
- scheduledInstanceRecurrence_frequency :: Lens' ScheduledInstanceRecurrence (Maybe Text)
- scheduledInstanceRecurrence_interval :: Lens' ScheduledInstanceRecurrence (Maybe Int)
- scheduledInstanceRecurrence_occurrenceDaySet :: Lens' ScheduledInstanceRecurrence (Maybe [Int])
- scheduledInstanceRecurrence_occurrenceRelativeToEnd :: Lens' ScheduledInstanceRecurrence (Maybe Bool)
- scheduledInstanceRecurrence_occurrenceUnit :: Lens' ScheduledInstanceRecurrence (Maybe Text)
Documentation
data ScheduledInstanceRecurrence Source #
Describes the recurring schedule for a Scheduled Instance.
See: newScheduledInstanceRecurrence
smart constructor.
ScheduledInstanceRecurrence' | |
|
Instances
newScheduledInstanceRecurrence :: ScheduledInstanceRecurrence Source #
Create a value of ScheduledInstanceRecurrence
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:frequency:ScheduledInstanceRecurrence'
, scheduledInstanceRecurrence_frequency
- The frequency (Daily
, Weekly
, or Monthly
).
$sel:interval:ScheduledInstanceRecurrence'
, scheduledInstanceRecurrence_interval
- The interval quantity. The interval unit depends on the value of
frequency
. For example, every 2 weeks or every 2 months.
$sel:occurrenceDaySet:ScheduledInstanceRecurrence'
, scheduledInstanceRecurrence_occurrenceDaySet
- The days. For a monthly schedule, this is one or more days of the month
(1-31). For a weekly schedule, this is one or more days of the week
(1-7, where 1 is Sunday).
$sel:occurrenceRelativeToEnd:ScheduledInstanceRecurrence'
, scheduledInstanceRecurrence_occurrenceRelativeToEnd
- Indicates whether the occurrence is relative to the end of the specified
week or month.
$sel:occurrenceUnit:ScheduledInstanceRecurrence'
, scheduledInstanceRecurrence_occurrenceUnit
- The unit for occurrenceDaySet
(DayOfWeek
or DayOfMonth
).
scheduledInstanceRecurrence_frequency :: Lens' ScheduledInstanceRecurrence (Maybe Text) Source #
The frequency (Daily
, Weekly
, or Monthly
).
scheduledInstanceRecurrence_interval :: Lens' ScheduledInstanceRecurrence (Maybe Int) Source #
The interval quantity. The interval unit depends on the value of
frequency
. For example, every 2 weeks or every 2 months.
scheduledInstanceRecurrence_occurrenceDaySet :: Lens' ScheduledInstanceRecurrence (Maybe [Int]) Source #
The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).
scheduledInstanceRecurrence_occurrenceRelativeToEnd :: Lens' ScheduledInstanceRecurrence (Maybe Bool) Source #
Indicates whether the occurrence is relative to the end of the specified week or month.
scheduledInstanceRecurrence_occurrenceUnit :: Lens' ScheduledInstanceRecurrence (Maybe Text) Source #
The unit for occurrenceDaySet
(DayOfWeek
or DayOfMonth
).