| 1 | import type * as SVC from "@distilled.cloud/aws/codebuild"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | import type { Project } from "./Project.ts"; |
| 5 | |
| 6 | /** |
| 7 | * Runtime binding for `codebuild:ListCommandExecutionsForSandbox` — lists |
| 8 | * the command executions run in a sandbox of the bound project. |
| 9 | * ### Sandboxes |
| 10 | * **Example:** List Command Executions |
| 11 | * ```typescript |
| 12 | * const listCommandExecutions = yield* AWS.CodeBuild.ListCommandExecutionsForSandbox(project); |
| 13 | * |
| 14 | * const { commandExecutions } = yield* listCommandExecutions({ sandboxId }); |
| 15 | * ``` |
| 16 | * |
| 17 | * @binding |
| 18 | */ |
| 19 | export interface ListCommandExecutionsForSandbox extends Binding.Service< |
| 20 | ListCommandExecutionsForSandbox, |
| 21 | "AWS.CodeBuild.ListCommandExecutionsForSandbox", |
| 22 | <P extends Project>( |
| 23 | project: P, |
| 24 | ) => Effect.Effect< |
| 25 | ( |
| 26 | request: SVC.ListCommandExecutionsForSandboxInput, |
| 27 | ) => Effect.Effect< |
| 28 | SVC.ListCommandExecutionsForSandboxOutput, |
| 29 | SVC.ListCommandExecutionsForSandboxError |
| 30 | > |
| 31 | > |
| 32 | > {} |
| 33 | export const ListCommandExecutionsForSandbox = |
| 34 | Binding.Service<ListCommandExecutionsForSandbox>( |
| 35 | "AWS.CodeBuild.ListCommandExecutionsForSandbox", |
| 36 | ); |