DescribeInsight
Source:
src/AWS/DevOpsGuru/DescribeInsight.ts
Runtime binding for devops-guru:DescribeInsight.
Returns the details of a single insight — severity, status, time ranges, and the SSM OpsItem id when OpsCenter integration is enabled. The building block of an incident-response Function reacting to DevOps Guru notifications.
Provide the implementation with
Effect.provide(AWS.DevOpsGuru.DescribeInsightHttp).
Inspecting Insights
Section titled “Inspecting Insights”// init — account-level binding, no resource argumentconst describeInsight = yield* AWS.DevOpsGuru.DescribeInsight();
// runtimeconst { ReactiveInsight } = yield* describeInsight({ Id: insightId });yield* Effect.log(`${ReactiveInsight?.Severity}: ${ReactiveInsight?.Name}`);