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

main
ts 40 lines 1.46 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:DescribeOrganizationOverview`.
7 *
8 * Summarizes the insights created across the organization during a time range (management or delegated-administrator account).
9 * Provide the implementation with
10 * `Effect.provide(AWS.DevOpsGuru.DescribeOrganizationOverviewHttp)`.
11 * ### Organization Visibility
12 * **Example:** Summarize the Organization over a Time Range
13 * ```typescript
14 * // init — account-level binding, no resource argument
15 * const describeOrganizationOverview = yield* AWS.DevOpsGuru.DescribeOrganizationOverview();
16 *
17 * // runtime
18 * const overview = yield* describeOrganizationOverview({
19 * FromTime: new Date(Date.now() - 7 * 24 * 3600_000),
20 * });
21 * yield* Effect.log(`reactive insights: ${overview.ReactiveInsights}`);
22 * ```
23 *
24 * @binding
25 */
26 export interface DescribeOrganizationOverview extends Binding.Service<
27 DescribeOrganizationOverview,
28 "AWS.DevOpsGuru.DescribeOrganizationOverview",
29 () => Effect.Effect<
30 (
31 request: devopsguru.DescribeOrganizationOverviewRequest,
32 ) => Effect.Effect<
33 devopsguru.DescribeOrganizationOverviewResponse,
34 devopsguru.DescribeOrganizationOverviewError
35 >
36 >
37 > {}
38 export const DescribeOrganizationOverview = Binding.Service<DescribeOrganizationOverview>(
39 "AWS.DevOpsGuru.DescribeOrganizationOverview",
40 );