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'
)
[REQUIRED]
The detector ID.
[REQUIRED]
The detector version ID.
[REQUIRED]
The new status.
The only supported values are ACTIVE and INACTIVE
dict
Response Syntax
{}
Response Structure
Exceptions
FraudDetector.Client.exceptions.ValidationExceptionFraudDetector.Client.exceptions.ResourceNotFoundExceptionFraudDetector.Client.exceptions.InternalServerExceptionFraudDetector.Client.exceptions.ThrottlingExceptionFraudDetector.Client.exceptions.AccessDeniedExceptionFraudDetector.Client.exceptions.ConflictException