delete_model
(**kwargs)¶Deletes a model.
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, Amazon Fraud Detector permanently deletes that model and the data is no longer stored in Amazon Fraud Detector.
See also: AWS API Documentation
Request Syntax
response = client.delete_model(
modelId='string',
modelType='ONLINE_FRAUD_INSIGHTS'|'TRANSACTION_FRAUD_INSIGHTS'|'ACCOUNT_TAKEOVER_INSIGHTS'
)
[REQUIRED]
The model ID of the model to delete.
[REQUIRED]
The model type of the model to delete.
dict
Response Syntax
{}
Response Structure
Exceptions
FraudDetector.Client.exceptions.ConflictException
FraudDetector.Client.exceptions.ValidationException
FraudDetector.Client.exceptions.InternalServerException
FraudDetector.Client.exceptions.ThrottlingException
FraudDetector.Client.exceptions.AccessDeniedException