Skip to main content

problems

Creates, updates, deletes, gets or lists a problems resource.

Overview

Nameproblems
TypeResource
Idaws.application_insights.problems

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
problemobjectInformation about the problem.
sns_notification_arnstringThe SNS notification topic ARN of the problem. (pattern: <code>^arn:aws(-\w+):[\w\d-]+:([\w\d-])?:[\w\d_-]([:/].+)$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_problemselectregionDescribes an application problem.
list_problemsselectregionLists the problems with your application.
update_problemupdateregion, ProblemIdUpdates the visibility of the problem or specifies the problem as RESOLVED.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Describes an application problem.

SELECT
problem,
sns_notification_arn
FROM aws.application_insights.problems
WHERE region = '{{ region }}' -- required
;

UPDATE examples

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

UPDATE aws.application_insights.problems
SET
ProblemId = '{{ ProblemId }}',
UpdateStatus = '{{ UpdateStatus }}',
Visibility = '{{ Visibility }}'
WHERE
region = '{{ region }}' --required
AND ProblemId = '{{ ProblemId }}' --required;