1import type * as comprehendmedical from "@distilled.cloud/aws/comprehendmedical";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `comprehendmedical:ListRxNormInferenceJobs` — list the asynchronous RxNorm ontology linking jobs you have submitted.
7 *
8 * Comprehend Medical has no resource-level IAM, so the binding takes no
9 * arguments and grants `comprehendmedical:ListRxNormInferenceJobs` on `*`. Provide the
10 * implementation with `Effect.provide(AWS.ComprehendMedical.ListRxNormInferenceJobsHttp)`.
11 *
12 * ### Batch RxNorm Inference Jobs
13 * **Example:** List Submitted Jobs
14 * ```typescript
15 * // init
16 * const listRxNormInferenceJobs = yield* AWS.ComprehendMedical.ListRxNormInferenceJobs();
17 *
18 * // runtime
19 * const jobs = yield* listRxNormInferenceJobs({});
20 * console.log(jobs.ComprehendMedicalAsyncJobPropertiesList?.length ?? 0);
21 * ```
22 *
23 * @binding
24 */
25export interface ListRxNormInferenceJobs extends Binding.Service<
26 ListRxNormInferenceJobs,
27 "AWS.ComprehendMedical.ListRxNormInferenceJobs",
28 () => Effect.Effect<
29 (
30 request: comprehendmedical.ListRxNormInferenceJobsRequest,
31 ) => Effect.Effect<
32 comprehendmedical.ListRxNormInferenceJobsResponse,
33 comprehendmedical.ListRxNormInferenceJobsError
34 >
35 >
36> {}
37export const ListRxNormInferenceJobs = Binding.Service<ListRxNormInferenceJobs>(
38 "AWS.ComprehendMedical.ListRxNormInferenceJobs",
39);