:doc:`ApplicationInsights <../../application-insights>` / Client / update_problem

**************
update_problem
**************



.. py:method:: ApplicationInsights.Client.update_problem(**kwargs)

  

  Updates the visibility of the problem or specifies the problem as ``RESOLVED``.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateProblem>`_  


  **Request Syntax**
  ::

    response = client.update_problem(
        ProblemId='string',
        UpdateStatus='RESOLVED',
        Visibility='IGNORED'|'VISIBLE'
    )
    
  :type ProblemId: string
  :param ProblemId: **[REQUIRED]** 

    The ID of the problem.

    

  
  :type UpdateStatus: string
  :param UpdateStatus: 

    The status of the problem. Arguments can be passed for only problems that show a status of ``RECOVERING``.

    

  
  :type Visibility: string
  :param Visibility: 

    The visibility of a problem. When you pass a value of ``IGNORED``, the problem is removed from the default view, and all notifications for the problem are suspended. When ``VISIBLE`` is passed, the ``IGNORED`` action is reversed.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`ApplicationInsights.Client.exceptions.InternalServerException`

  
  *   :py:class:`ApplicationInsights.Client.exceptions.ValidationException`

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

  