The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import type * as SVC from "@distilled.cloud/aws/databrew"; |
| 2 | import * as Binding from "alchemy/Binding"; |
| 3 | import type * as Effect from "effect/Effect"; |
| 4 | import type { Job } from "./Job.ts"; |
| 5 | |
| 6 | export interface ListJobRunsRequest extends Omit<SVC.ListJobRunsRequest, "Name"> {} |
| 7 | |
| 8 | /** |
| 9 | * Runtime binding for `databrew:ListJobRuns` — lists the previous runs of |
| 10 | * the bound DataBrew job (newest first, paginated via `NextToken`). |
| 11 | * ### Observing Job Runs |
| 12 | * **Example:** List Recent Runs |
| 13 | * ```typescript |
| 14 | * const listJobRuns = yield* AWS.DataBrew.ListJobRuns(job); |
| 15 | * |
| 16 | * const { JobRuns } = yield* listJobRuns(); |
| 17 | * ``` |
| 18 | * |
| 19 | * @binding |
| 20 | */ |
| 21 | export interface ListJobRuns extends Binding.Service< |
| 22 | ListJobRuns, |
| 23 | "AWS.DataBrew.ListJobRuns", |
| 24 | <J extends Job>( |
| 25 | job: J, |
| 26 | ) => Effect.Effect< |
| 27 | (request?: ListJobRunsRequest) => Effect.Effect<SVC.ListJobRunsResponse, SVC.ListJobRunsError> |
| 28 | > |
| 29 | > {} |
| 30 | export const ListJobRuns = Binding.Service<ListJobRuns>("AWS.DataBrew.ListJobRuns"); |