libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.FraudDetector.Types.RuleResult

Description

 
Synopsis

Documentation

data RuleResult Source #

The rule results.

See: newRuleResult smart constructor.

Constructors

RuleResult' 

Fields

  • ruleId :: Maybe Text

    The rule ID that was matched, based on the rule execution mode.

  • outcomes :: Maybe [Text]

    The outcomes of the matched rule, based on the rule execution mode.

Instances

Instances details
Eq RuleResult Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.RuleResult

Read RuleResult Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.RuleResult

Show RuleResult Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.RuleResult

Generic RuleResult Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.RuleResult

Associated Types

type Rep RuleResult :: Type -> Type #

NFData RuleResult Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.RuleResult

Methods

rnf :: RuleResult -> () #

Hashable RuleResult Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.RuleResult

FromJSON RuleResult Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.RuleResult

type Rep RuleResult Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.RuleResult

type Rep RuleResult = D1 ('MetaData "RuleResult" "Amazonka.FraudDetector.Types.RuleResult" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "RuleResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "outcomes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

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:ruleId:RuleResult', ruleResult_ruleId - The rule ID that was matched, based on the rule execution mode.

$sel:outcomes:RuleResult', ruleResult_outcomes - 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.

ruleResult_outcomes :: Lens' RuleResult (Maybe [Text]) Source #

The outcomes of the matched rule, based on the rule execution mode.