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
:DRAFT
toACTIVE
,ACTIVE
toINACTIVE
, andINACTIVE
toACTIVE
.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
andINACTIVE
- 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