v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1473344266.2 KB

Creates a detector version. The detector version starts in a <code>DRAFT</code> status.

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

Headers

X-Amz-Target'AWSHawksNestServiceFacade.CreateDetectorVersion' required

Request body

detectorIdstring required

The ID of the detector under which you want to create a new version.

descriptionstring

The description of the detector version.

externalModelEndpointsString[]

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

ruleExecutionMode'ALL_MATCHED' | 'FIRST_MATCHED'
<p>The rule execution mode for the rules included in the detector version.</p> <p>You can define and edit the rule mode at the detector version level, when it is in draft status.</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. </p> <p>The default behavior is <code>FIRST_MATCHED</code>.</p>

Response

Success

detectorIdstring

The ID for the created version's parent detector.

detectorVersionIdstring

The ID for the created detector.

status'DRAFT' | 'ACTIVE' | 'INACTIVE'

The status of the detector version.