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 ConditionExpression = ConditionExpression' {}
- newConditionExpression :: Text -> Text -> ConditionExpression
- conditionExpression_value :: Lens' ConditionExpression (Maybe Text)
- conditionExpression_condition :: Lens' ConditionExpression Text
- conditionExpression_targetColumn :: Lens' ConditionExpression Text
Documentation
data ConditionExpression Source #
Represents an individual condition that evaluates to true or false.
Conditions are used with recipe actions. The action is only performed for column values where the condition evaluates to true.
If a recipe requires more than one condition, then the recipe must
specify multiple ConditionExpression
elements. Each condition is
applied to the rows in a dataset first, before the recipe action is
performed.
See: newConditionExpression
smart constructor.
ConditionExpression' | |
|
Instances
newConditionExpression Source #
:: Text | |
-> Text | |
-> ConditionExpression |
Create a value of ConditionExpression
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:value:ConditionExpression'
, conditionExpression_value
- A value that the condition must evaluate to for the condition to
succeed.
$sel:condition:ConditionExpression'
, conditionExpression_condition
- A specific condition to apply to a recipe action. For more information,
see
Recipe structure
in the Glue DataBrew Developer Guide.
$sel:targetColumn:ConditionExpression'
, conditionExpression_targetColumn
- A column to apply this condition to.
conditionExpression_value :: Lens' ConditionExpression (Maybe Text) Source #
A value that the condition must evaluate to for the condition to succeed.
conditionExpression_condition :: Lens' ConditionExpression Text Source #
A specific condition to apply to a recipe action. For more information, see Recipe structure in the Glue DataBrew Developer Guide.
conditionExpression_targetColumn :: Lens' ConditionExpression Text Source #
A column to apply this condition to.