Open History to see the last commit
1import type * as SVC from "@distilled.cloud/aws/codebuild";
2import * as Binding from "alchemy/Binding";
3import type * as Effect from "effect/Effect";
4import 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 */
22export 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> {}
33export const BatchGetCommandExecutions = Binding.Service<BatchGetCommandExecutions>(
34 "AWS.CodeBuild.BatchGetCommandExecutions",
35);