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

main
ts 33 lines 1.11 KB
Raw
1 import type * as SVC from "@distilled.cloud/aws/codebuild";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4 import type { ReportGroup } from "./ReportGroup.ts";
5
6 /**
7 * Runtime binding for `codebuild:GetReportGroupTrend` — aggregates a trend
8 * statistic (pass rate, duration, …) across the bound report group's most
9 * recent reports.
10 * ### Reading Reports
11 * **Example:** Read the Pass-Rate Trend
12 * ```typescript
13 * const getReportGroupTrend = yield* AWS.CodeBuild.GetReportGroupTrend(reportGroup);
14 *
15 * const { stats } = yield* getReportGroupTrend({ trendField: "PASS_RATE" });
16 * ```
17 *
18 * @binding
19 */
20 export interface GetReportGroupTrend extends Binding.Service<
21 GetReportGroupTrend,
22 "AWS.CodeBuild.GetReportGroupTrend",
23 <G extends ReportGroup>(
24 reportGroup: G,
25 ) => Effect.Effect<
26 (
27 request: Omit<SVC.GetReportGroupTrendInput, "reportGroupArn">,
28 ) => Effect.Effect<SVC.GetReportGroupTrendOutput, SVC.GetReportGroupTrendError>
29 >
30 > {}
31 export const GetReportGroupTrend = Binding.Service<GetReportGroupTrend>(
32 "AWS.CodeBuild.GetReportGroupTrend",
33 );