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.Rule

Description

 
Synopsis

Documentation

data Rule Source #

A rule.

See: newRule smart constructor.

Constructors

Rule' 

Fields

Instances

Instances details
Eq Rule Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Rule

Methods

(==) :: Rule -> Rule -> Bool #

(/=) :: Rule -> Rule -> Bool #

Read Rule Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Rule

Show Rule Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Rule

Methods

showsPrec :: Int -> Rule -> ShowS #

show :: Rule -> String #

showList :: [Rule] -> ShowS #

Generic Rule Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Rule

Associated Types

type Rep Rule :: Type -> Type #

Methods

from :: Rule -> Rep Rule x #

to :: Rep Rule x -> Rule #

NFData Rule Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Rule

Methods

rnf :: Rule -> () #

Hashable Rule Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Rule

Methods

hashWithSalt :: Int -> Rule -> Int #

hash :: Rule -> Int #

ToJSON Rule Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Rule

FromJSON Rule Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Rule

type Rep Rule Source # 
Instance details

Defined in Amazonka.FraudDetector.Types.Rule

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

newRule Source #

Create a value of Rule 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:detectorId:Rule', rule_detectorId - The detector for which the rule is associated.

$sel:ruleId:Rule', rule_ruleId - The rule ID.

$sel:ruleVersion:Rule', rule_ruleVersion - The rule version.

rule_detectorId :: Lens' Rule Text Source #

The detector for which the rule is associated.

rule_ruleVersion :: Lens' Rule Text Source #

The rule version.