@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 30 lines 974 Bytes
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:DeleteBuildBatch` — deletes a batch build
8 * of the bound project (and its child builds) by batch id.
9 * ### Batch Builds
10 * **Example:** Delete a Batch Build
11 * ```typescript
12 * const deleteBuildBatch = yield* AWS.CodeBuild.DeleteBuildBatch(project);
13 *
14 * yield* deleteBuildBatch({ id: batchId });
15 * ```
16 *
17 * @binding
18 */
19 export interface DeleteBuildBatch extends Binding.Service<
20 DeleteBuildBatch,
21 "AWS.CodeBuild.DeleteBuildBatch",
22 <P extends Project>(
23 project: P,
24 ) => Effect.Effect<
25 (
26 request: SVC.DeleteBuildBatchInput,
27 ) => Effect.Effect<SVC.DeleteBuildBatchOutput, SVC.DeleteBuildBatchError>
28 >
29 > {}
30 export const DeleteBuildBatch = Binding.Service<DeleteBuildBatch>("AWS.CodeBuild.DeleteBuildBatch");