Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

create_model

create_model(**kwargs)

Creates a model using the specified model type.

See also: AWS API Documentation

Request Syntax

response = client.create_model(
    modelId='string',
    modelType='ONLINE_FRAUD_INSIGHTS'|'TRANSACTION_FRAUD_INSIGHTS'|'ACCOUNT_TAKEOVER_INSIGHTS',
    description='string',
    eventTypeName='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
Parameters
  • modelId (string) --

    [REQUIRED]

    The model ID.

  • modelType (string) --

    [REQUIRED]

    The model type.

  • description (string) -- The model description.
  • eventTypeName (string) --

    [REQUIRED]

    The name of the event type.

  • tags (list) --

    A collection of key and value pairs.

    • (dict) --

      A key and value pair.

      • key (string) -- [REQUIRED]

        A tag key.

      • value (string) -- [REQUIRED]

        A value assigned to a tag key.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • FraudDetector.Client.exceptions.ValidationException
  • FraudDetector.Client.exceptions.InternalServerException
  • FraudDetector.Client.exceptions.ThrottlingException
  • FraudDetector.Client.exceptions.AccessDeniedException