Skip to content

DescribeAnomaly

Source: src/AWS/DevOpsGuru/DescribeAnomaly.ts

Runtime binding for devops-guru:DescribeAnomaly.

Returns the details of a single anomaly — severity, status, time ranges, and the CloudWatch/Performance Insights metrics that triggered it. Provide the implementation with Effect.provide(AWS.DevOpsGuru.DescribeAnomalyHttp).

// init — account-level binding, no resource argument
const describeAnomaly = yield* AWS.DevOpsGuru.DescribeAnomaly();
// runtime
const { ReactiveAnomaly } = yield* describeAnomaly({ Id: anomalyId });
yield* Effect.log(`severity: ${ReactiveAnomaly?.Severity}`);