update_detector_version_status

FraudDetector.Client.update_detector_version_status(**kwargs)

Updates the detector version’s status. You can perform the following promotions or demotions using UpdateDetectorVersionStatus : DRAFT to ACTIVE , ACTIVE to INACTIVE , and INACTIVE to ACTIVE .

See also: AWS API Documentation

Request Syntax

response = client.update_detector_version_status(
    detectorId='string',
    detectorVersionId='string',
    status='DRAFT'|'ACTIVE'|'INACTIVE'
)
Parameters
  • detectorId (string) --

    [REQUIRED]

    The detector ID.

  • detectorVersionId (string) --

    [REQUIRED]

    The detector version ID.

  • status (string) --

    [REQUIRED]

    The new status.

    The only supported values are ACTIVE and INACTIVE

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