@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 38 lines 1.32 KB
Raw
1 import type * as devopsguru from "@distilled.cloud/aws/devops-guru";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `devops-guru:DescribeAccountHealth`.
7 *
8 * Returns the number of open reactive and proactive insights, analyzed metrics, and resource hours for the account — the top line of an operations dashboard.
9 * Provide the implementation with
10 * `Effect.provide(AWS.DevOpsGuru.DescribeAccountHealthHttp)`.
11 * ### Account Health
12 * **Example:** Read Open Insight Counts
13 * ```typescript
14 * // init — account-level binding, no resource argument
15 * const describeAccountHealth = yield* AWS.DevOpsGuru.DescribeAccountHealth();
16 *
17 * // runtime
18 * const health = yield* describeAccountHealth();
19 * yield* Effect.log(`open reactive insights: ${health.OpenReactiveInsights}`);
20 * ```
21 *
22 * @binding
23 */
24 export interface DescribeAccountHealth extends Binding.Service<
25 DescribeAccountHealth,
26 "AWS.DevOpsGuru.DescribeAccountHealth",
27 () => Effect.Effect<
28 (
29 request?: devopsguru.DescribeAccountHealthRequest,
30 ) => Effect.Effect<
31 devopsguru.DescribeAccountHealthResponse,
32 devopsguru.DescribeAccountHealthError
33 >
34 >
35 > {}
36 export const DescribeAccountHealth = Binding.Service<DescribeAccountHealth>(
37 "AWS.DevOpsGuru.DescribeAccountHealth",
38 );