frauddetector_update_detector_version: Updates a detector version

View source: R/frauddetector_operations.R

frauddetector_update_detector_versionR Documentation

Updates a detector version

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.

See https://www.paws-r-sdk.com/docs/frauddetector_update_detector_version/ for full documentation.

Usage

frauddetector_update_detector_version(
  detectorId,
  detectorVersionId,
  externalModelEndpoints,
  rules,
  description = NULL,
  modelVersions = NULL,
  ruleExecutionMode = NULL
)

Arguments

detectorId

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

detectorVersionId

[required] The detector version ID.

externalModelEndpoints

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

rules

[required] The rules to include in the detector version.

description

The detector version description.

modelVersions

The model versions to include in the detector version.

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.


paws.machine.learning documentation built on Sept. 12, 2024, 6:23 a.m.