Table Of Contents

Feedback

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 ]

get-models

Description

Gets all of the models for the AWS account, or the specified model type, or gets a single model for the specified model type, model ID combination.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

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

Options

--model-type (string)

The model type.

Possible values:

  • ONLINE_FRAUD_INSIGHTS

--model-id (string)

The model ID.

--next-token (string)

The next token for the request.

--max-results (integer)

The maximum results to return for the request.

--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.

Output

nextToken -> (string)

The next token for subsequent requests.

models -> (list)

The returned models.

(structure)

The model.

modelId -> (string)

The model ID.

modelType -> (string)

The model type.

description -> (string)

The model description.

trainingDataSource -> (structure)

The model training data source in Amazon S3.

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 input variables.

(structure)

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)

(string)

lastUpdatedTime -> (string)

Timestamp of last time the model was updated.

createdTime -> (string)

Timestamp of when the model was created.