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.ValidationException
FraudDetector.Client.exceptions.ResourceNotFoundException
FraudDetector.Client.exceptions.InternalServerException
FraudDetector.Client.exceptions.ThrottlingException
FraudDetector.Client.exceptions.AccessDeniedException
FraudDetector.Client.exceptions.ConflictException