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 ScheduleAction = ScheduleAction' {}
- newScheduleAction :: Text -> ScheduleActionStartSettings -> ScheduleActionSettings -> ScheduleAction
- scheduleAction_actionName :: Lens' ScheduleAction Text
- scheduleAction_scheduleActionStartSettings :: Lens' ScheduleAction ScheduleActionStartSettings
- scheduleAction_scheduleActionSettings :: Lens' ScheduleAction ScheduleActionSettings
Documentation
data ScheduleAction Source #
Contains information on a single schedule action.
See: newScheduleAction
smart constructor.
ScheduleAction' | |
|
Instances
Create a value of ScheduleAction
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:actionName:ScheduleAction'
, scheduleAction_actionName
- The name of the action, must be unique within the schedule. This name
provides the main reference to an action once it is added to the
schedule. A name is unique if it is no longer in the schedule. The
schedule is automatically cleaned up to remove actions with a start time
of more than 1 hour ago (approximately) so at that point a name can be
reused.
$sel:scheduleActionStartSettings:ScheduleAction'
, scheduleAction_scheduleActionStartSettings
- The time for the action to start in the channel.
$sel:scheduleActionSettings:ScheduleAction'
, scheduleAction_scheduleActionSettings
- Settings for this schedule action.
scheduleAction_actionName :: Lens' ScheduleAction Text Source #
The name of the action, must be unique within the schedule. This name provides the main reference to an action once it is added to the schedule. A name is unique if it is no longer in the schedule. The schedule is automatically cleaned up to remove actions with a start time of more than 1 hour ago (approximately) so at that point a name can be reused.
scheduleAction_scheduleActionStartSettings :: Lens' ScheduleAction ScheduleActionStartSettings Source #
The time for the action to start in the channel.
scheduleAction_scheduleActionSettings :: Lens' ScheduleAction ScheduleActionSettings Source #
Settings for this schedule action.