@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.25 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 { IdMappingWorkflow } from "./IdMappingWorkflow.ts";
5
6 /**
7 * Runtime binding for `entityresolution:ListIdMappingJobs`.
8 *
9 * Lists the ID mapping job runs of the bound workflow. Provide the
10 * implementation with `Effect.provide(AWS.EntityResolution.ListIdMappingJobsHttp)`.
11 * ### Running ID Mapping Jobs
12 * **Example:** List Recent Jobs
13 * ```typescript
14 * // init — bind the operation to the workflow
15 * const listIdMappingJobs = yield* AWS.EntityResolution.ListIdMappingJobs(workflow);
16 *
17 * // runtime
18 * const { jobs } = yield* listIdMappingJobs({});
19 * ```
20 *
21 * @binding
22 */
23 export interface ListIdMappingJobs extends Binding.Service<
24 ListIdMappingJobs,
25 "AWS.EntityResolution.ListIdMappingJobs",
26 (
27 workflow: IdMappingWorkflow,
28 ) => Effect.Effect<
29 (
30 request: Omit<entityresolution.ListIdMappingJobsInput, "workflowName">,
31 ) => Effect.Effect<
32 entityresolution.ListIdMappingJobsOutput,
33 entityresolution.ListIdMappingJobsError
34 >
35 >
36 > {}
37
38 export const ListIdMappingJobs = Binding.Service<ListIdMappingJobs>(
39 "AWS.EntityResolution.ListIdMappingJobs",
40 );