The best way to control Claude Code, Codex and more from any computer or phone
| 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: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 | */ |
| 19 | export 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<SVC.ListBuildBatchesForProjectOutput, SVC.ListBuildBatchesForProjectError> |
| 28 | > |
| 29 | > {} |
| 30 | export const ListBuildBatchesForProject = Binding.Service<ListBuildBatchesForProject>( |
| 31 | "AWS.CodeBuild.ListBuildBatchesForProject", |
| 32 | ); |