LookoutEquipment / Client / update_active_model_version

update_active_model_version

LookoutEquipment.Client.update_active_model_version(**kwargs)

Sets the active model version for a given machine learning model.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.update_active_model_version(
    ModelName='string',
    ModelVersion=123
)
Parameters:
  • ModelName (string) –

    [REQUIRED]

    The name of the machine learning model for which the active model version is being set.

  • ModelVersion (integer) –

    [REQUIRED]

    The version of the machine learning model for which the active model version is being set.

Return type:

dict

Returns:

Response Syntax

{
    'ModelName': 'string',
    'ModelArn': 'string',
    'CurrentActiveVersion': 123,
    'PreviousActiveVersion': 123,
    'CurrentActiveVersionArn': 'string',
    'PreviousActiveVersionArn': 'string'
}

Response Structure

  • (dict) –

    • ModelName (string) –

      The name of the machine learning model for which the active model version was set.

    • ModelArn (string) –

      The Amazon Resource Name (ARN) of the machine learning model for which the active model version was set.

    • CurrentActiveVersion (integer) –

      The version that is currently active of the machine learning model for which the active model version was set.

    • PreviousActiveVersion (integer) –

      The previous version that was active of the machine learning model for which the active model version was set.

    • CurrentActiveVersionArn (string) –

      The Amazon Resource Name (ARN) of the machine learning model version that is the current active model version.

    • PreviousActiveVersionArn (string) –

      The Amazon Resource Name (ARN) of the machine learning model version that was the previous active model version.

Exceptions