@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 40 lines 1.23 KB
Raw
1 import type * as entityresolution from "@distilled.cloud/aws/entityresolution";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4 import type { MatchingWorkflow } from "./MatchingWorkflow.ts";
5
6 /**
7 * Runtime binding for `entityresolution:ListMatchingJobs`.
8 *
9 * Lists the matching job runs of the bound workflow. Provide the
10 * implementation with `Effect.provide(AWS.EntityResolution.ListMatchingJobsHttp)`.
11 * ### Running Matching Jobs
12 * **Example:** List Recent Jobs
13 * ```typescript
14 * // init — bind the operation to the workflow
15 * const listMatchingJobs = yield* AWS.EntityResolution.ListMatchingJobs(workflow);
16 *
17 * // runtime
18 * const { jobs } = yield* listMatchingJobs({});
19 * ```
20 *
21 * @binding
22 */
23 export interface ListMatchingJobs extends Binding.Service<
24 ListMatchingJobs,
25 "AWS.EntityResolution.ListMatchingJobs",
26 (
27 workflow: MatchingWorkflow,
28 ) => Effect.Effect<
29 (
30 request: Omit<entityresolution.ListMatchingJobsInput, "workflowName">,
31 ) => Effect.Effect<
32 entityresolution.ListMatchingJobsOutput,
33 entityresolution.ListMatchingJobsError
34 >
35 >
36 > {}
37
38 export const ListMatchingJobs = Binding.Service<ListMatchingJobs>(
39 "AWS.EntityResolution.ListMatchingJobs",
40 );