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

main
ts 32 lines 1.01 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 { Project } from "./Project.ts";
5
6 /**
7 * Runtime binding for `codebuild:ListSandboxesForProject` — lists the
8 * bound project's sandbox ids, newest first.
9 * ### Sandboxes
10 * **Example:** List Sandboxes
11 * ```typescript
12 * const listSandboxes = yield* AWS.CodeBuild.ListSandboxesForProject(project);
13 *
14 * const { ids } = yield* listSandboxes();
15 * ```
16 *
17 * @binding
18 */
19 export interface ListSandboxesForProject extends Binding.Service<
20 ListSandboxesForProject,
21 "AWS.CodeBuild.ListSandboxesForProject",
22 <P extends Project>(
23 project: P,
24 ) => Effect.Effect<
25 (
26 request?: Omit<SVC.ListSandboxesForProjectInput, "projectName">,
27 ) => Effect.Effect<SVC.ListSandboxesForProjectOutput, SVC.ListSandboxesForProjectError>
28 >
29 > {}
30 export const ListSandboxesForProject = Binding.Service<ListSandboxesForProject>(
31 "AWS.CodeBuild.ListSandboxesForProject",
32 );