FraudDetector / Client / delete_model_version
delete_model_version#
- FraudDetector.Client.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