@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 934 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:StopBuildBatch` — stops an in-progress
8 * batch build of the bound project by batch id.
9 * ### Batch Builds
10 * **Example:** Stop a Batch Build
11 * ```typescript
12 * const stopBuildBatch = yield* AWS.CodeBuild.StopBuildBatch(project);
13 *
14 * yield* stopBuildBatch({ id: batchId });
15 * ```
16 *
17 * @binding
18 */
19 export interface StopBuildBatch extends Binding.Service<
20 StopBuildBatch,
21 "AWS.CodeBuild.StopBuildBatch",
22 <P extends Project>(
23 project: P,
24 ) => Effect.Effect<
25 (
26 request: SVC.StopBuildBatchInput,
27 ) => Effect.Effect<SVC.StopBuildBatchOutput, SVC.StopBuildBatchError>
28 >
29 > {}
30 export const StopBuildBatch = Binding.Service<StopBuildBatch>("AWS.CodeBuild.StopBuildBatch");