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 |
Synopsis
- data RuleResult = RuleResult' {}
- newRuleResult :: RuleResult
- ruleResult_outcomes :: Lens' RuleResult (Maybe [Text])
- ruleResult_ruleId :: Lens' RuleResult (Maybe Text)
Documentation
data RuleResult Source #
The rule results.
See: newRuleResult
smart constructor.
Instances
newRuleResult :: RuleResult Source #
Create a value of RuleResult
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:outcomes:RuleResult'
, ruleResult_outcomes
- The outcomes of the matched rule, based on the rule execution mode.
$sel:ruleId:RuleResult'
, ruleResult_ruleId
- The rule ID that was matched, based on the rule execution mode.
ruleResult_outcomes :: Lens' RuleResult (Maybe [Text]) Source #
The outcomes of the matched rule, based on the rule execution mode.
ruleResult_ruleId :: Lens' RuleResult (Maybe Text) Source #
The rule ID that was matched, based on the rule execution mode.