Update Detector Version
| frauddetector_update_detector_version | R 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.
Usage¶
frauddetector_update_detector_version(detectorId, detectorVersionId,
externalModelEndpoints, rules, description, modelVersions,
ruleExecutionMode)
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.
descriptionThe detector version description.
modelVersionsThe model versions to include in the detector version.
ruleExecutionModeThe 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.
Value¶
An empty list.
Request syntax¶
svc$update_detector_version(
detectorId = "string",
detectorVersionId = "string",
externalModelEndpoints = list(
"string"
),
rules = list(
list(
detectorId = "string",
ruleId = "string",
ruleVersion = "string"
)
),
description = "string",
modelVersions = list(
list(
modelId = "string",
modelType = "ONLINE_FRAUD_INSIGHTS"|"TRANSACTION_FRAUD_INSIGHTS"|"ACCOUNT_TAKEOVER_INSIGHTS",
modelVersionNumber = "string",
arn = "string"
)
),
ruleExecutionMode = "ALL_MATCHED"|"FIRST_MATCHED"
)