| 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:ListSandboxesForProject` — lists the |
| 8 | * bound project's sandbox ids, newest first. |
| 9 | * ### Sandboxes |
| 10 | * **Example:** List Sandboxes |
| 11 | * ```typescript |
| 12 | * const listSandboxes = yield* AWS.CodeBuild.ListSandboxesForProject(project); |
| 13 | * |
| 14 | * const { ids } = yield* listSandboxes(); |
| 15 | * ``` |
| 16 | * |
| 17 | * @binding |
| 18 | */ |
| 19 | export interface ListSandboxesForProject extends Binding.Service< |
| 20 | ListSandboxesForProject, |
| 21 | "AWS.CodeBuild.ListSandboxesForProject", |
| 22 | <P extends Project>( |
| 23 | project: P, |
| 24 | ) => Effect.Effect< |
| 25 | ( |
| 26 | request?: Omit<SVC.ListSandboxesForProjectInput, "projectName">, |
| 27 | ) => Effect.Effect< |
| 28 | SVC.ListSandboxesForProjectOutput, |
| 29 | SVC.ListSandboxesForProjectError |
| 30 | > |
| 31 | > |
| 32 | > {} |
| 33 | export const ListSandboxesForProject = Binding.Service<ListSandboxesForProject>( |
| 34 | "AWS.CodeBuild.ListSandboxesForProject", |
| 35 | ); |