ListAnomaliesForInsight
Source:
src/AWS/DevOpsGuru/ListAnomaliesForInsight.ts
Runtime binding for devops-guru:ListAnomaliesForInsight.
Lists the anomalies that belong to an insight — the individual metric deviations DevOps Guru correlated into the incident.
Provide the implementation with
Effect.provide(AWS.DevOpsGuru.ListAnomaliesForInsightHttp).
Inspecting Anomalies
Section titled “Inspecting Anomalies”// init — account-level binding, no resource argumentconst listAnomaliesForInsight = yield* AWS.DevOpsGuru.ListAnomaliesForInsight();
// runtimeconst { ReactiveAnomalies } = yield* listAnomaliesForInsight({ InsightId: insightId,});yield* Effect.log(`anomalies: ${ReactiveAnomalies?.length}`);