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.

delete_model_version

delete_model_version(**kwargs)

Deletes a model version.

You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.

When you delete a model version, Amazon Fraud Detector permanently deletes that model version and the data is no longer stored in Amazon Fraud Detector.

See also: AWS API Documentation

Request Syntax

response = client.delete_model_version(
    modelId='string',
    modelType='ONLINE_FRAUD_INSIGHTS'|'TRANSACTION_FRAUD_INSIGHTS'|'ACCOUNT_TAKEOVER_INSIGHTS',
    modelVersionNumber='string'
)
Parameters
  • modelId (string) --

    [REQUIRED]

    The model ID of the model version to delete.

  • modelType (string) --

    [REQUIRED]

    The model type of the model version to delete.

  • modelVersionNumber (string) --

    [REQUIRED]

    The model version number of the model version to delete.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

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