1import type * as SVC from "@distilled.cloud/aws/codebuild";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4import type { Project } from "./Project.ts";
5
6/**
7 * Runtime binding for `codebuild:ListBuildBatchesForProject` — lists the
8 * bound project's batch build ids, optionally filtered by status.
9 * ### Batch Builds
10 * **Example:** List Batch Builds
11 * ```typescript
12 * const listBuildBatches = yield* AWS.CodeBuild.ListBuildBatchesForProject(project);
13 *
14 * const { ids } = yield* listBuildBatches();
15 * ```
16 *
17 * @binding
18 */
19export interface ListBuildBatchesForProject extends Binding.Service<
20 ListBuildBatchesForProject,
21 "AWS.CodeBuild.ListBuildBatchesForProject",
22 <P extends Project>(
23 project: P,
24 ) => Effect.Effect<
25 (
26 request?: Omit<SVC.ListBuildBatchesForProjectInput, "projectName">,
27 ) => Effect.Effect<
28 SVC.ListBuildBatchesForProjectOutput,
29 SVC.ListBuildBatchesForProjectError
30 >
31 >
32> {}
33export const ListBuildBatchesForProject =
34 Binding.Service<ListBuildBatchesForProject>(
35 "AWS.CodeBuild.ListBuildBatchesForProject",
36 );