@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 35 lines 1.05 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:DescribeTestCases` — reads the individual
8 * test cases of a test report in the bound report group.
9 * ### Reading Reports
10 * **Example:** Read Failed Test Cases
11 * ```typescript
12 * const describeTestCases = yield* AWS.CodeBuild.DescribeTestCases(reportGroup);
13 *
14 * const { testCases } = yield* describeTestCases({
15 * reportArn,
16 * filter: { status: "FAILED" },
17 * });
18 * ```
19 *
20 * @binding
21 */
22 export interface DescribeTestCases extends Binding.Service<
23 DescribeTestCases,
24 "AWS.CodeBuild.DescribeTestCases",
25 <G extends ReportGroup>(
26 reportGroup: G,
27 ) => Effect.Effect<
28 (
29 request: SVC.DescribeTestCasesInput,
30 ) => Effect.Effect<SVC.DescribeTestCasesOutput, SVC.DescribeTestCasesError>
31 >
32 > {}
33 export const DescribeTestCases = Binding.Service<DescribeTestCases>(
34 "AWS.CodeBuild.DescribeTestCases",
35 );