Skip to content

DescribeAccountOverview

Source: src/AWS/DevOpsGuru/DescribeAccountOverview.ts

Runtime binding for devops-guru:DescribeAccountOverview.

Summarizes the insights created and the mean time to recover over a time range — the account’s operational scorecard for a reporting window. Provide the implementation with Effect.provide(AWS.DevOpsGuru.DescribeAccountOverviewHttp).

// init — account-level binding, no resource argument
const describeAccountOverview = yield* AWS.DevOpsGuru.DescribeAccountOverview();
// runtime
const overview = yield* describeAccountOverview({
FromTime: new Date(Date.now() - 7 * 24 * 3600_000),
});
yield* Effect.log(`MTTR: ${overview.MeanTimeToRecoverInMilliseconds}ms`);