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:BatchGetBuildBatches` — reads the status
8 * of one or more batch builds of the bound project by batch id.
9 * ### Batch Builds
10 * **Example:** Poll a Batch Build
11 * ```typescript
12 * const batchGetBuildBatches = yield* AWS.CodeBuild.BatchGetBuildBatches(project);
13 *
14 * const { buildBatches } = yield* batchGetBuildBatches({ ids: [batchId] });
15 * ```
16 *
17 * @binding
18 */
19export interface BatchGetBuildBatches extends Binding.Service<
20 BatchGetBuildBatches,
21 "AWS.CodeBuild.BatchGetBuildBatches",
22 <P extends Project>(
23 project: P,
24 ) => Effect.Effect<
25 (
26 request: SVC.BatchGetBuildBatchesInput,
27 ) => Effect.Effect<
28 SVC.BatchGetBuildBatchesOutput,
29 SVC.BatchGetBuildBatchesError
30 >
31 >
32> {}
33export const BatchGetBuildBatches = Binding.Service<BatchGetBuildBatches>(
34 "AWS.CodeBuild.BatchGetBuildBatches",
35);