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

Description

Updates a detector version. The detector version attributes that you can update include models, external model endpoints, rules, rule execution mode, and description. You can only update a DRAFT detector version.

Synopsis

Creating a Request

data UpdateDetectorVersion Source #

See: newUpdateDetectorVersion smart constructor.

Constructors

UpdateDetectorVersion' 

Fields

  • ruleExecutionMode :: Maybe RuleExecutionMode

    The rule execution mode to add to the detector.

    If you specify FIRST_MATCHED, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.

    If you specifiy ALL_MATCHED, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.

    The default behavior is FIRST_MATCHED.

  • modelVersions :: Maybe [ModelVersion]

    The model versions to include in the detector version.

  • description :: Maybe Text

    The detector version description.

  • detectorId :: Text

    The parent detector ID for the detector version you want to update.

  • detectorVersionId :: Text

    The detector version ID.

  • externalModelEndpoints :: [Text]

    The Amazon SageMaker model endpoints to include in the detector version.

  • rules :: [Rule]

    The rules to include in the detector version.

Instances

Instances details
Eq UpdateDetectorVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

Read UpdateDetectorVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

Show UpdateDetectorVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

Generic UpdateDetectorVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

Associated Types

type Rep UpdateDetectorVersion :: Type -> Type #

NFData UpdateDetectorVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

Methods

rnf :: UpdateDetectorVersion -> () #

Hashable UpdateDetectorVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

ToJSON UpdateDetectorVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

AWSRequest UpdateDetectorVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

Associated Types

type AWSResponse UpdateDetectorVersion #

ToHeaders UpdateDetectorVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

ToPath UpdateDetectorVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

ToQuery UpdateDetectorVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

type Rep UpdateDetectorVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

type Rep UpdateDetectorVersion = D1 ('MetaData "UpdateDetectorVersion" "Amazonka.FraudDetector.UpdateDetectorVersion" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "UpdateDetectorVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ruleExecutionMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuleExecutionMode)) :*: (S1 ('MetaSel ('Just "modelVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ModelVersion])) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "detectorVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "externalModelEndpoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Rule])))))
type AWSResponse UpdateDetectorVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

newUpdateDetectorVersion Source #

Create a value of UpdateDetectorVersion 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:ruleExecutionMode:UpdateDetectorVersion', updateDetectorVersion_ruleExecutionMode - The rule execution mode to add to the detector.

If you specify FIRST_MATCHED, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.

If you specifiy ALL_MATCHED, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.

The default behavior is FIRST_MATCHED.

$sel:modelVersions:UpdateDetectorVersion', updateDetectorVersion_modelVersions - The model versions to include in the detector version.

$sel:description:UpdateDetectorVersion', updateDetectorVersion_description - The detector version description.

$sel:detectorId:UpdateDetectorVersion', updateDetectorVersion_detectorId - The parent detector ID for the detector version you want to update.

$sel:detectorVersionId:UpdateDetectorVersion', updateDetectorVersion_detectorVersionId - The detector version ID.

$sel:externalModelEndpoints:UpdateDetectorVersion', updateDetectorVersion_externalModelEndpoints - The Amazon SageMaker model endpoints to include in the detector version.

$sel:rules:UpdateDetectorVersion', updateDetectorVersion_rules - The rules to include in the detector version.

Request Lenses

updateDetectorVersion_ruleExecutionMode :: Lens' UpdateDetectorVersion (Maybe RuleExecutionMode) Source #

The rule execution mode to add to the detector.

If you specify FIRST_MATCHED, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.

If you specifiy ALL_MATCHED, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.

The default behavior is FIRST_MATCHED.

updateDetectorVersion_modelVersions :: Lens' UpdateDetectorVersion (Maybe [ModelVersion]) Source #

The model versions to include in the detector version.

updateDetectorVersion_detectorId :: Lens' UpdateDetectorVersion Text Source #

The parent detector ID for the detector version you want to update.

updateDetectorVersion_externalModelEndpoints :: Lens' UpdateDetectorVersion [Text] Source #

The Amazon SageMaker model endpoints to include in the detector version.

updateDetectorVersion_rules :: Lens' UpdateDetectorVersion [Rule] Source #

The rules to include in the detector version.

Destructuring the Response

data UpdateDetectorVersionResponse Source #

See: newUpdateDetectorVersionResponse smart constructor.

Constructors

UpdateDetectorVersionResponse' 

Fields

Instances

Instances details
Eq UpdateDetectorVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

Read UpdateDetectorVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

Show UpdateDetectorVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

Generic UpdateDetectorVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

Associated Types

type Rep UpdateDetectorVersionResponse :: Type -> Type #

NFData UpdateDetectorVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

type Rep UpdateDetectorVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateDetectorVersion

type Rep UpdateDetectorVersionResponse = D1 ('MetaData "UpdateDetectorVersionResponse" "Amazonka.FraudDetector.UpdateDetectorVersion" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "UpdateDetectorVersionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateDetectorVersionResponse Source #

Create a value of UpdateDetectorVersionResponse 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:httpStatus:UpdateDetectorVersionResponse', updateDetectorVersionResponse_httpStatus - The response's http status code.

Response Lenses