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 Condition = Condition' {}
- newCondition :: Condition
- condition_crawlState :: Lens' Condition (Maybe CrawlState)
- condition_state :: Lens' Condition (Maybe JobRunState)
- condition_jobName :: Lens' Condition (Maybe Text)
- condition_logicalOperator :: Lens' Condition (Maybe LogicalOperator)
- condition_crawlerName :: Lens' Condition (Maybe Text)
Documentation
Defines a condition under which a trigger fires.
See: newCondition
smart constructor.
Condition' | |
|
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: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
.
$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:crawlerName:Condition'
, condition_crawlerName
- The name of the crawler to which this condition applies.
condition_crawlState :: Lens' Condition (Maybe CrawlState) Source #
The state of the crawler to which this condition applies.
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
.
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.