UpdateProblem - Amazon CloudWatch Application Insights

UpdateProblem

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

Request Syntax

{ "ProblemId": "string", "UpdateStatus": "string", "Visibility": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

ProblemId

The ID of the problem.

Type: String

Length Constraints: Fixed length of 38.

Pattern: p-[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}

Required: Yes

UpdateStatus

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

Type: String

Valid Values: RESOLVED

Required: No

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.

Type: String

Valid Values: IGNORED | VISIBLE

Required: No

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServerException

The server encountered an internal error and is unable to complete the request.

HTTP Status Code: 400

ResourceNotFoundException

The resource does not exist in the customer account.

HTTP Status Code: 400

ValidationException

The parameter is not valid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: