FraudDetector / Client / update_detector_version_status
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:DRAFTtoACTIVE,ACTIVEtoINACTIVE, andINACTIVEtoACTIVE.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
ACTIVEandINACTIVE
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
FraudDetector.Client.exceptions.ValidationExceptionFraudDetector.Client.exceptions.ResourceNotFoundExceptionFraudDetector.Client.exceptions.InternalServerExceptionFraudDetector.Client.exceptions.ThrottlingExceptionFraudDetector.Client.exceptions.AccessDeniedExceptionFraudDetector.Client.exceptions.ConflictException