Skip to content

DescribeAccountHealth

Source: src/AWS/DevOpsGuru/DescribeAccountHealth.ts

Runtime binding for devops-guru:DescribeAccountHealth.

Returns the number of open reactive and proactive insights, analyzed metrics, and resource hours for the account — the top line of an operations dashboard. Provide the implementation with Effect.provide(AWS.DevOpsGuru.DescribeAccountHealthHttp).

// init — account-level binding, no resource argument
const describeAccountHealth = yield* AWS.DevOpsGuru.DescribeAccountHealth();
// runtime
const health = yield* describeAccountHealth();
yield* Effect.log(`open reactive insights: ${health.OpenReactiveInsights}`);