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

************
update_model
************



.. py:method:: FraudDetector.Client.update_model(**kwargs)

  

  Updates model description.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModel>`_  


  **Request Syntax**
  ::

    response = client.update_model(
        modelId='string',
        modelType='ONLINE_FRAUD_INSIGHTS'|'TRANSACTION_FRAUD_INSIGHTS'|'ACCOUNT_TAKEOVER_INSIGHTS',
        description='string'
    )
    
  :type modelId: string
  :param modelId: **[REQUIRED]** 

    The model ID.

    

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

    The model type.

    

  
  :type description: string
  :param description: 

    The new model description.

    

  
  
  :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`

  