Skip to content

/AWS1/CL_FDT=>CREATEDETECTORVERSION()

About CreateDetectorVersion

Creates a detector version. The detector version starts in a DRAFT status.

Method Signature

IMPORTING

Required arguments:

IV_DETECTORID TYPE /AWS1/FDTIDENTIFIER /AWS1/FDTIDENTIFIER

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

IT_RULES TYPE /AWS1/CL_FDTRULE=>TT_RULELIST TT_RULELIST

The rules to include in the detector version.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/FDTDESCRIPTION /AWS1/FDTDESCRIPTION

The description of the detector version.

IT_EXTERNALMODELENDPOINTS TYPE /AWS1/CL_FDTLISTOFSTRINGS_W=>TT_LISTOFSTRINGS TT_LISTOFSTRINGS

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

IT_MODELVERSIONS TYPE /AWS1/CL_FDTMODELVERSION=>TT_LISTOFMODELVERSIONS TT_LISTOFMODELVERSIONS

The model versions to include in the detector version.

IV_RULEEXECUTIONMODE TYPE /AWS1/FDTRULEEXECUTIONMODE /AWS1/FDTRULEEXECUTIONMODE

The rule execution mode for the rules included in the detector version.

You can define and edit the rule mode at the detector version level, when it is in draft status.

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.

The default behavior is FIRST_MATCHED.

IT_TAGS TYPE /AWS1/CL_FDTTAG=>TT_TAGLIST TT_TAGLIST

A collection of key and value pairs.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FDTCREDETECTORVRSRSLT /AWS1/CL_FDTCREDETECTORVRSRSLT