ApplicationInsights / Client / update_problem

update_problem#

ApplicationInsights.Client.update_problem(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.update_problem(
    ProblemId='string',
    UpdateStatus='RESOLVED',
    Visibility='IGNORED'|'VISIBLE'
)
Parameters:
  • ProblemId (string) –

    [REQUIRED]

    The ID of the problem.

  • UpdateStatus (string) – The status of the problem. Arguments can be passed for only problems that show a status of RECOVERING.

  • Visibility (string) – 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.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ApplicationInsights.Client.exceptions.InternalServerException

  • ApplicationInsights.Client.exceptions.ValidationException

  • ApplicationInsights.Client.exceptions.ResourceNotFoundException