@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 35 lines 1.15 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:BatchGetCommandExecutions` — reads the
8 * status and output of sandbox command executions of the bound project.
9 * ### Sandboxes
10 * **Example:** Poll a Command Execution
11 * ```typescript
12 * const batchGetCommandExecutions = yield* AWS.CodeBuild.BatchGetCommandExecutions(project);
13 *
14 * const { commandExecutions } = yield* batchGetCommandExecutions({
15 * sandboxId,
16 * commandExecutionIds: [commandId],
17 * });
18 * ```
19 *
20 * @binding
21 */
22 export interface BatchGetCommandExecutions extends Binding.Service<
23 BatchGetCommandExecutions,
24 "AWS.CodeBuild.BatchGetCommandExecutions",
25 <P extends Project>(
26 project: P,
27 ) => Effect.Effect<
28 (
29 request: SVC.BatchGetCommandExecutionsInput,
30 ) => Effect.Effect<SVC.BatchGetCommandExecutionsOutput, SVC.BatchGetCommandExecutionsError>
31 >
32 > {}
33 export const BatchGetCommandExecutions = Binding.Service<BatchGetCommandExecutions>(
34 "AWS.CodeBuild.BatchGetCommandExecutions",
35 );