FraudDetector / Client / update_model_version_status
update_model_version_status#
- FraudDetector.Client.update_model_version_status(**kwargs)#
Updates the status of a model version.
You can perform the following status updates:
Change the
TRAINING_IN_PROGRESS
status toTRAINING_CANCELLED
.Change the
TRAINING_COMPLETE
status toACTIVE
.Change
ACTIVE
toINACTIVE
.
See also: AWS API Documentation
Request Syntax
response = client.update_model_version_status( modelId='string', modelType='ONLINE_FRAUD_INSIGHTS'|'TRANSACTION_FRAUD_INSIGHTS'|'ACCOUNT_TAKEOVER_INSIGHTS', modelVersionNumber='string', status='ACTIVE'|'INACTIVE'|'TRAINING_CANCELLED' )
- Parameters:
modelId (string) –
[REQUIRED]
The model ID of the model version to update.
modelType (string) –
[REQUIRED]
The model type.
modelVersionNumber (string) –
[REQUIRED]
The model version number.
status (string) –
[REQUIRED]
The model version status.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
FraudDetector.Client.exceptions.ValidationException
FraudDetector.Client.exceptions.ResourceNotFoundException
FraudDetector.Client.exceptions.InternalServerException
FraudDetector.Client.exceptions.ThrottlingException
FraudDetector.Client.exceptions.AccessDeniedException
FraudDetector.Client.exceptions.ConflictException