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 ScheduledInstanceRecurrenceRequest = ScheduledInstanceRecurrenceRequest' {}
- newScheduledInstanceRecurrenceRequest :: ScheduledInstanceRecurrenceRequest
- scheduledInstanceRecurrenceRequest_frequency :: Lens' ScheduledInstanceRecurrenceRequest (Maybe Text)
- scheduledInstanceRecurrenceRequest_interval :: Lens' ScheduledInstanceRecurrenceRequest (Maybe Int)
- scheduledInstanceRecurrenceRequest_occurrenceDays :: Lens' ScheduledInstanceRecurrenceRequest (Maybe [Int])
- scheduledInstanceRecurrenceRequest_occurrenceRelativeToEnd :: Lens' ScheduledInstanceRecurrenceRequest (Maybe Bool)
- scheduledInstanceRecurrenceRequest_occurrenceUnit :: Lens' ScheduledInstanceRecurrenceRequest (Maybe Text)
Documentation
data ScheduledInstanceRecurrenceRequest Source #
Describes the recurring schedule for a Scheduled Instance.
See: newScheduledInstanceRecurrenceRequest
smart constructor.
ScheduledInstanceRecurrenceRequest' | |
|
Instances
newScheduledInstanceRecurrenceRequest :: ScheduledInstanceRecurrenceRequest Source #
Create a value of ScheduledInstanceRecurrenceRequest
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:ScheduledInstanceRecurrenceRequest'
, scheduledInstanceRecurrenceRequest_frequency
- The frequency (Daily
, Weekly
, or Monthly
).
$sel:interval:ScheduledInstanceRecurrenceRequest'
, scheduledInstanceRecurrenceRequest_interval
- The interval quantity. The interval unit depends on the value of
Frequency
. For example, every 2 weeks or every 2 months.
$sel:occurrenceDays:ScheduledInstanceRecurrenceRequest'
, scheduledInstanceRecurrenceRequest_occurrenceDays
- 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). You can't specify this value with a daily
schedule. If the occurrence is relative to the end of the month, you can
specify only a single day.
$sel:occurrenceRelativeToEnd:ScheduledInstanceRecurrenceRequest'
, scheduledInstanceRecurrenceRequest_occurrenceRelativeToEnd
- Indicates whether the occurrence is relative to the end of the specified
week or month. You can't specify this value with a daily schedule.
$sel:occurrenceUnit:ScheduledInstanceRecurrenceRequest'
, scheduledInstanceRecurrenceRequest_occurrenceUnit
- The unit for OccurrenceDays
(DayOfWeek
or DayOfMonth
). This value
is required for a monthly schedule. You can't specify DayOfWeek
with
a weekly schedule. You can't specify this value with a daily schedule.
scheduledInstanceRecurrenceRequest_frequency :: Lens' ScheduledInstanceRecurrenceRequest (Maybe Text) Source #
The frequency (Daily
, Weekly
, or Monthly
).
scheduledInstanceRecurrenceRequest_interval :: Lens' ScheduledInstanceRecurrenceRequest (Maybe Int) Source #
The interval quantity. The interval unit depends on the value of
Frequency
. For example, every 2 weeks or every 2 months.
scheduledInstanceRecurrenceRequest_occurrenceDays :: Lens' ScheduledInstanceRecurrenceRequest (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). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.
scheduledInstanceRecurrenceRequest_occurrenceRelativeToEnd :: Lens' ScheduledInstanceRecurrenceRequest (Maybe Bool) Source #
Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule.
scheduledInstanceRecurrenceRequest_occurrenceUnit :: Lens' ScheduledInstanceRecurrenceRequest (Maybe Text) Source #
The unit for OccurrenceDays
(DayOfWeek
or DayOfMonth
). This value
is required for a monthly schedule. You can't specify DayOfWeek
with
a weekly schedule. You can't specify this value with a daily schedule.