update_model_version_status

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 to TRAINING_CANCELLED .
  • Change the TRAINING_COMPLETE status to ACTIVE .
  • Change ACTIVE to INACTIVE .

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