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:BatchGetSandboxes` — reads the status of
8 * one or more sandboxes of the bound project by sandbox id.
9 * ### Sandboxes
10 * **Example:** Poll a Sandbox
11 * ```typescript
12 * const batchGetSandboxes = yield* AWS.CodeBuild.BatchGetSandboxes(project);
13 *
14 * const { sandboxes } = yield* batchGetSandboxes({ ids: [sandboxId] });
15 * ```
16 *
17 * @binding
18 */
19export interface BatchGetSandboxes extends Binding.Service<
20 BatchGetSandboxes,
21 "AWS.CodeBuild.BatchGetSandboxes",
22 <P extends Project>(
23 project: P,
24 ) => Effect.Effect<
25 (
26 request: SVC.BatchGetSandboxesInput,
27 ) => Effect.Effect<SVC.BatchGetSandboxesOutput, SVC.BatchGetSandboxesError>
28 >
29> {}
30export const BatchGetSandboxes = Binding.Service<BatchGetSandboxes>(
31 "AWS.CodeBuild.BatchGetSandboxes",
32);