Table Of Contents


User Guide

First time using the AWS CLI? See the User Guide for help getting started.

Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . frauddetector ]



Gets all of the model versions for the specified model type or for the specified model type and model ID. You can also get details for a single, specified model version.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.


[--model-id <value>]
[--model-version-number <value>]
[--model-type <value>]
[--next-token <value>]
[--max-results <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]


--model-id (string)

The model ID.

--model-version-number (string)

The model version.

--model-type (string)

The model type.

Possible values:


--next-token (string)

The next token from the previous results.

--max-results (integer)

The maximum number of results to return.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.


modelVersionDetails -> (list)

The model version details.


Provides the model version details.

modelId -> (string)

The model ID.

modelType -> (string)

The model type.

modelVersionNumber -> (string)

The model version.

description -> (string)

The model description.

status -> (string)

The model status.

trainingDataSource -> (structure)

The model training data source.

dataLocation -> (string)

The data location of the training data source.

dataAccessRoleArn -> (string)

The data access role ARN for the training data source.

modelVariables -> (list)

The model variables.


The model variable.

name -> (string)

The model variable's name.

index -> (integer)

The model variable's index.

labelSchema -> (structure)

The model label schema.

labelKey -> (string)

The label key.

labelMapper -> (map)

The label mapper maps the Amazon Fraud Detector supported label to the appropriate source labels. For example, if "FRAUD" and "LEGIT" are Amazon Fraud Detector supported labels, this mapper could be: {"FRAUD" =["0"] , "LEGIT" =["1"]} or {"FRAUD" =["false"], "LEGIT" =["true"]} or {"FRAUD" =["fraud", "abuse"], "LEGIT" =["legit", "safe"]} . The value part of the mapper is a list, because you may have multiple variants for a single Amazon Fraud Detector label.

key -> (string)

value -> (list)


validationMetrics -> (map)

The model validation metrics.

key -> (string)

value -> (string)

trainingMetrics -> (map)

The model training metrics.

key -> (string)

value -> (string)

lastUpdatedTime -> (string)

The timestamp when the model was last updated.

createdTime -> (string)

The timestamp when the model was created.

nextToken -> (string)

The next token.