1import type * as entityresolution from "@distilled.cloud/aws/entityresolution";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4import 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 */
23export 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
38export const ListIdMappingJobs = Binding.Service<ListIdMappingJobs>(
39 "AWS.EntityResolution.ListIdMappingJobs",
40);