v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1473344266.2 KB

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 <code>DRAFT</code> detector version.

post/#X-Amz-Target=AWSHawksNestServiceFacade.UpdateDetectorVersion

Headers

X-Amz-Target'AWSHawksNestServiceFacade.UpdateDetectorVersion' required

Request body

detectorIdstring required

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

detectorVersionIdstring required

The detector version ID.

externalModelEndpointsString[] required

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

descriptionstring

The detector version description.

ruleExecutionMode'ALL_MATCHED' | 'FIRST_MATCHED'
<p>The rule execution mode to add to the detector.</p> <p>If you specify <code>FIRST_MATCHED</code>, 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.</p> <p>If you specifiy <code>ALL_MATCHED</code>, 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.</p> <p>The default behavior is <code>FIRST_MATCHED</code>.</p>

Response

Success

UpdateDetectorVersionResult required