Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TriggerUpdate = TriggerUpdate' {}
- newTriggerUpdate :: TriggerUpdate
- triggerUpdate_actions :: Lens' TriggerUpdate (Maybe [Action])
- triggerUpdate_schedule :: Lens' TriggerUpdate (Maybe Text)
- triggerUpdate_predicate :: Lens' TriggerUpdate (Maybe Predicate)
- triggerUpdate_name :: Lens' TriggerUpdate (Maybe Text)
- triggerUpdate_eventBatchingCondition :: Lens' TriggerUpdate (Maybe EventBatchingCondition)
- triggerUpdate_description :: Lens' TriggerUpdate (Maybe Text)
Documentation
data TriggerUpdate Source #
A structure used to provide information used to update a trigger. This object updates the previous trigger definition by overwriting it completely.
See: newTriggerUpdate
smart constructor.
TriggerUpdate' | |
|
Instances
newTriggerUpdate :: TriggerUpdate Source #
Create a value of TriggerUpdate
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:actions:TriggerUpdate'
, triggerUpdate_actions
- The actions initiated by this trigger.
$sel:schedule:TriggerUpdate'
, triggerUpdate_schedule
- A cron
expression used to specify the schedule (see
Time-Based Schedules for Jobs and Crawlers.
For example, to run something every day at 12:15 UTC, you would specify:
cron(15 12 * * ? *)
.
$sel:predicate:TriggerUpdate'
, triggerUpdate_predicate
- The predicate of this trigger, which defines when it will fire.
$sel:name:TriggerUpdate'
, triggerUpdate_name
- Reserved for future use.
$sel:eventBatchingCondition:TriggerUpdate'
, triggerUpdate_eventBatchingCondition
- Batch condition that must be met (specified number of events received or
batch time window expired) before EventBridge event trigger fires.
$sel:description:TriggerUpdate'
, triggerUpdate_description
- A description of this trigger.
triggerUpdate_actions :: Lens' TriggerUpdate (Maybe [Action]) Source #
The actions initiated by this trigger.
triggerUpdate_schedule :: Lens' TriggerUpdate (Maybe Text) Source #
A cron
expression used to specify the schedule (see
Time-Based Schedules for Jobs and Crawlers.
For example, to run something every day at 12:15 UTC, you would specify:
cron(15 12 * * ? *)
.
triggerUpdate_predicate :: Lens' TriggerUpdate (Maybe Predicate) Source #
The predicate of this trigger, which defines when it will fire.
triggerUpdate_name :: Lens' TriggerUpdate (Maybe Text) Source #
Reserved for future use.
triggerUpdate_eventBatchingCondition :: Lens' TriggerUpdate (Maybe EventBatchingCondition) Source #
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
triggerUpdate_description :: Lens' TriggerUpdate (Maybe Text) Source #
A description of this trigger.