libZSservicesZSamazonka-glueZSamazonka-glue
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Glue.Types.Trigger

Description

 
Synopsis

Documentation

data Trigger Source #

Information about a specific trigger.

See: newTrigger smart constructor.

Constructors

Trigger' 

Fields

Instances

Instances details
Eq Trigger Source # 
Instance details

Defined in Amazonka.Glue.Types.Trigger

Methods

(==) :: Trigger -> Trigger -> Bool #

(/=) :: Trigger -> Trigger -> Bool #

Read Trigger Source # 
Instance details

Defined in Amazonka.Glue.Types.Trigger

Show Trigger Source # 
Instance details

Defined in Amazonka.Glue.Types.Trigger

Generic Trigger Source # 
Instance details

Defined in Amazonka.Glue.Types.Trigger

Associated Types

type Rep Trigger :: Type -> Type #

Methods

from :: Trigger -> Rep Trigger x #

to :: Rep Trigger x -> Trigger #

NFData Trigger Source # 
Instance details

Defined in Amazonka.Glue.Types.Trigger

Methods

rnf :: Trigger -> () #

Hashable Trigger Source # 
Instance details

Defined in Amazonka.Glue.Types.Trigger

Methods

hashWithSalt :: Int -> Trigger -> Int #

hash :: Trigger -> Int #

FromJSON Trigger Source # 
Instance details

Defined in Amazonka.Glue.Types.Trigger

type Rep Trigger Source # 
Instance details

Defined in Amazonka.Glue.Types.Trigger

newTrigger :: Trigger Source #

Create a value of Trigger 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:workflowName:Trigger', trigger_workflowName - The name of the workflow associated with the trigger.

$sel:state:Trigger', trigger_state - The current state of the trigger.

$sel:actions:Trigger', trigger_actions - The actions initiated by this trigger.

$sel:schedule:Trigger', trigger_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:Trigger', trigger_predicate - The predicate of this trigger, which defines when it will fire.

$sel:name:Trigger', trigger_name - The name of the trigger.

$sel:id:Trigger', trigger_id - Reserved for future use.

$sel:type':Trigger', trigger_type - The type of trigger that this is.

$sel:eventBatchingCondition:Trigger', trigger_eventBatchingCondition - Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.

$sel:description:Trigger', trigger_description - A description of this trigger.

trigger_workflowName :: Lens' Trigger (Maybe Text) Source #

The name of the workflow associated with the trigger.

trigger_state :: Lens' Trigger (Maybe TriggerState) Source #

The current state of the trigger.

trigger_actions :: Lens' Trigger (Maybe [Action]) Source #

The actions initiated by this trigger.

trigger_schedule :: Lens' Trigger (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 * * ? *).

trigger_predicate :: Lens' Trigger (Maybe Predicate) Source #

The predicate of this trigger, which defines when it will fire.

trigger_name :: Lens' Trigger (Maybe Text) Source #

The name of the trigger.

trigger_id :: Lens' Trigger (Maybe Text) Source #

Reserved for future use.

trigger_type :: Lens' Trigger (Maybe TriggerType) Source #

The type of trigger that this is.

trigger_eventBatchingCondition :: Lens' Trigger (Maybe EventBatchingCondition) Source #

Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.

trigger_description :: Lens' Trigger (Maybe Text) Source #

A description of this trigger.