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 |
Documentation
data SimpleRule Source #
A rule that compares an input property value to a threshold value with a comparison operator.
See: newSimpleRule
smart constructor.
SimpleRule' | |
|
Instances
:: Text | |
-> ComparisonOperator | |
-> Text | |
-> SimpleRule |
Create a value of SimpleRule
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:inputProperty:SimpleRule'
, simpleRule_inputProperty
- The value on the left side of the comparison operator. You can specify
an AWS IoT Events input attribute as an input property.
$sel:comparisonOperator:SimpleRule'
, simpleRule_comparisonOperator
- The comparison operator.
$sel:threshold:SimpleRule'
, simpleRule_threshold
- The value on the right side of the comparison operator. You can enter a
number or specify an AWS IoT Events input attribute.
simpleRule_inputProperty :: Lens' SimpleRule Text Source #
The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.
simpleRule_comparisonOperator :: Lens' SimpleRule ComparisonOperator Source #
The comparison operator.
simpleRule_threshold :: Lens' SimpleRule Text Source #
The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.