| 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 |
Amazonka.Glue.Types.Condition
Description
Synopsis
- data Condition = Condition' {}
- newCondition :: Condition
- condition_crawlState :: Lens' Condition (Maybe CrawlState)
- condition_crawlerName :: Lens' Condition (Maybe Text)
- condition_jobName :: Lens' Condition (Maybe Text)
- condition_logicalOperator :: Lens' Condition (Maybe LogicalOperator)
- condition_state :: Lens' Condition (Maybe JobRunState)
Documentation
Defines a condition under which a trigger fires.
See: newCondition smart constructor.
Constructors
| Condition' | |
Fields
| |
Instances
newCondition :: Condition Source #
Create a value of Condition 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:crawlState:Condition', condition_crawlState - The state of the crawler to which this condition applies.
$sel:crawlerName:Condition', condition_crawlerName - The name of the crawler to which this condition applies.
$sel:jobName:Condition', condition_jobName - The name of the job whose JobRuns this condition applies to, and on
which this trigger waits.
$sel:logicalOperator:Condition', condition_logicalOperator - A logical operator.
$sel:state:Condition', condition_state - The condition state. Currently, the only job states that a trigger can
listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only
crawler states that a trigger can listen for are SUCCEEDED, FAILED,
and CANCELLED.
condition_crawlState :: Lens' Condition (Maybe CrawlState) Source #
The state of the crawler to which this condition applies.
condition_crawlerName :: Lens' Condition (Maybe Text) Source #
The name of the crawler to which this condition applies.
condition_jobName :: Lens' Condition (Maybe Text) Source #
The name of the job whose JobRuns this condition applies to, and on
which this trigger waits.
condition_logicalOperator :: Lens' Condition (Maybe LogicalOperator) Source #
A logical operator.
condition_state :: Lens' Condition (Maybe JobRunState) Source #
The condition state. Currently, the only job states that a trigger can
listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only
crawler states that a trigger can listen for are SUCCEEDED, FAILED,
and CANCELLED.