:doc:`FraudDetector <../../frauddetector>` / Client / update_detector_version_status

******************************
update_detector_version_status
******************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersionStatus>`_  


  **Request Syntax**
  ::

    response = client.update_detector_version_status(
        detectorId='string',
        detectorVersionId='string',
        status='DRAFT'|'ACTIVE'|'INACTIVE'
    )
    
  :type detectorId: string
  :param detectorId: **[REQUIRED]** 

    The detector ID.

    

  
  :type detectorVersionId: string
  :param detectorVersionId: **[REQUIRED]** 

    The detector version ID.

    

  
  :type status: string
  :param status: **[REQUIRED]** 

    The new status.

     

    The only supported values are ``ACTIVE`` and ``INACTIVE``

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`FraudDetector.Client.exceptions.ValidationException`

  
  *   :py:class:`FraudDetector.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`FraudDetector.Client.exceptions.InternalServerException`

  
  *   :py:class:`FraudDetector.Client.exceptions.ThrottlingException`

  
  *   :py:class:`FraudDetector.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`FraudDetector.Client.exceptions.ConflictException`

  