DescribeProblem - Amazon CloudWatch Application Insights

DescribeProblem

Describes an application problem.

Request Syntax

{ "AccountId": "string", "ProblemId": "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.

AccountId

The AWS account ID for the owner of the resource group affected by the problem.

Type: String

Length Constraints: Fixed length of 12.

Pattern: ^\d{12}$

Required: No

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

Response Syntax

{ "Problem": { "AccountId": "string", "AffectedResource": "string", "EndTime": number, "Feedback": { "string" : "string" }, "Id": "string", "Insights": "string", "LastRecurrenceTime": number, "RecurringCount": number, "ResolutionMethod": "string", "ResourceGroupName": "string", "SeverityLevel": "string", "ShortName": "string", "StartTime": number, "Status": "string", "Title": "string", "Visibility": "string" }, "SNSNotificationArn": "string" }

Response Elements

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

The following data is returned in JSON format by the service.

Problem

Information about the problem.

Type: Problem object

SNSNotificationArn

The SNS notification topic ARN of the problem.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 300.

Pattern: ^arn:aws(-\w+)*:[\w\d-]+:([\w\d-]*)?:[\w\d_-]*([:/].+)*$

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: