amazonka-frauddetector-2.0: Amazon Fraud Detector SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.FraudDetector.Types.RuleResult

Description

 
Synopsis

Documentation

data RuleResult Source #

The rule results.

See: newRuleResult smart constructor.

Constructors

RuleResult' 

Fields

  • outcomes :: Maybe [Text]

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

  • ruleId :: Maybe Text

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

Instances

Instances details
FromJSON 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 #

Read RuleResult Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.RuleResult

Show RuleResult Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.RuleResult

NFData RuleResult Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.RuleResult

Methods

rnf :: RuleResult -> () #

Eq RuleResult Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.RuleResult

Hashable 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" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "RuleResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "outcomes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "ruleId") '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: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.