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 RuleConfig = RuleConfig' {}
- newRuleConfig :: RuleType -> Bool -> Int -> RuleConfig
- ruleConfig_type :: Lens' RuleConfig RuleType
- ruleConfig_inverted :: Lens' RuleConfig Bool
- ruleConfig_threshold :: Lens' RuleConfig Int
Documentation
data RuleConfig Source #
The rule configuration for an assertion rule. That is, the criteria that you set for specific assertion controls (routing controls) that specify how many controls must be enabled after a transaction completes.
See: newRuleConfig
smart constructor.
RuleConfig' | |
|
Instances
:: RuleType | |
-> Bool | |
-> Int | |
-> RuleConfig |
Create a value of RuleConfig
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:type':RuleConfig'
, ruleConfig_type
- A rule can be one of the following: ATLEAST, AND, or OR.
$sel:inverted:RuleConfig'
, ruleConfig_inverted
- Logical negation of the rule. If the rule would usually evaluate true,
it's evaluated as false, and vice versa.
$sel:threshold:RuleConfig'
, ruleConfig_threshold
- The value of N, when you specify an ATLEAST rule type. That is,
Threshold is the number of controls that must be set when you specify an
ATLEAST type.
ruleConfig_type :: Lens' RuleConfig RuleType Source #
A rule can be one of the following: ATLEAST, AND, or OR.
ruleConfig_inverted :: Lens' RuleConfig Bool Source #
Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.
ruleConfig_threshold :: Lens' RuleConfig Int Source #
The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.