The best way to control Claude Code, Codex and more from any computer or phone

main
ts 34 lines 1.05 KB
Raw
1 import type * as mediaconvert from "@distilled.cloud/aws/mediaconvert";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `mediaconvert:ListJobs` — list your most recent
7 * transcode jobs from runtime code, optionally filtered by queue or status.
8 *
9 * The binding takes no arguments and grants `mediaconvert:ListJobs` on `*`.
10 * Provide the implementation with
11 * `Effect.provide(AWS.MediaConvert.ListJobsHttp)`.
12 *
13 * ### Tracking Jobs
14 * **Example:** List In-Flight Jobs
15 * ```typescript
16 * // init
17 * const listJobs = yield* AWS.MediaConvert.ListJobs();
18 *
19 * // runtime
20 * const { Jobs } = yield* listJobs({ Status: "PROGRESSING" });
21 * ```
22 *
23 * @binding
24 */
25 export interface ListJobs extends Binding.Service<
26 ListJobs,
27 "AWS.MediaConvert.ListJobs",
28 () => Effect.Effect<
29 (
30 request?: mediaconvert.ListJobsRequest,
31 ) => Effect.Effect<mediaconvert.ListJobsResponse, mediaconvert.ListJobsError>
32 >
33 > {}
34 export const ListJobs = Binding.Service<ListJobs>("AWS.MediaConvert.ListJobs");