Amazon Fraud Detector

2021/01/13 - Amazon Fraud Detector - 1 updated api methods

Changes  Update frauddetector client to latest version

UpdateModelVersionStatus (updated) Link ΒΆ
Changes (request)
{'status': {'TRAINING_CANCELLED'}}

Updates the status of a model version.

You can perform the following status updates:

  • Change the TRAINING_COMPLETE status to ACTIVE.

  • Change ACTIVE``to ``INACTIVE.

See also: AWS API Documentation

Request Syntax

client.update_model_version_status(
    modelId='string',
    modelType='ONLINE_FRAUD_INSIGHTS',
    modelVersionNumber='string',
    status='ACTIVE'|'INACTIVE'|'TRAINING_CANCELLED'
)
type modelId:

string

param modelId:

[REQUIRED]

The model ID of the model version to update.

type modelType:

string

param modelType:

[REQUIRED]

The model type.

type modelVersionNumber:

string

param modelVersionNumber:

[REQUIRED]

The model version number.

type status:

string

param status:

[REQUIRED]

The model version status.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --