@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 38 lines 1.29 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:StartJobsQuery` — start an asynchronous,
7 * filtered query over your job history (the async counterpart of
8 * `SearchJobs` for larger result sets). Retrieve the results with
9 * {@link GetJobsQueryResults} using the returned query `Id`.
10 *
11 * The binding takes no arguments and grants `mediaconvert:StartJobsQuery`
12 * on `*`. Provide the implementation with
13 * `Effect.provide(AWS.MediaConvert.StartJobsQueryHttp)`.
14 *
15 * ### Tracking Jobs
16 * **Example:** Query Errored Jobs
17 * ```typescript
18 * // init
19 * const startJobsQuery = yield* AWS.MediaConvert.StartJobsQuery();
20 *
21 * // runtime
22 * const { Id } = yield* startJobsQuery({
23 * FilterList: [{ Type: "STATUS", Inputs: ["ERROR"] }],
24 * });
25 * ```
26 *
27 * @binding
28 */
29 export interface StartJobsQuery extends Binding.Service<
30 StartJobsQuery,
31 "AWS.MediaConvert.StartJobsQuery",
32 () => Effect.Effect<
33 (
34 request?: mediaconvert.StartJobsQueryRequest,
35 ) => Effect.Effect<mediaconvert.StartJobsQueryResponse, mediaconvert.StartJobsQueryError>
36 >
37 > {}
38 export const StartJobsQuery = Binding.Service<StartJobsQuery>("AWS.MediaConvert.StartJobsQuery");