| 1 | import type * as comprehendmedical from "@distilled.cloud/aws/comprehendmedical"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for `comprehendmedical:DescribeSNOMEDCTInferenceJob` — get the properties and status of an asynchronous SNOMED CT ontology linking job. |
| 7 | * |
| 8 | * Comprehend Medical has no resource-level IAM, so the binding takes no |
| 9 | * arguments and grants `comprehendmedical:DescribeSNOMEDCTInferenceJob` on `*`. Provide the |
| 10 | * implementation with `Effect.provide(AWS.ComprehendMedical.DescribeSNOMEDCTInferenceJobHttp)`. |
| 11 | * |
| 12 | * ### Batch SNOMED CT Inference Jobs |
| 13 | * **Example:** Poll a Job's Status |
| 14 | * ```typescript |
| 15 | * // init |
| 16 | * const describeSNOMEDCTInferenceJob = yield* AWS.ComprehendMedical.DescribeSNOMEDCTInferenceJob(); |
| 17 | * |
| 18 | * // runtime |
| 19 | * const status = yield* describeSNOMEDCTInferenceJob({ JobId: jobId }); |
| 20 | * console.log(status.ComprehendMedicalAsyncJobProperties?.JobStatus); |
| 21 | * ``` |
| 22 | * |
| 23 | * @binding |
| 24 | */ |
| 25 | export interface DescribeSNOMEDCTInferenceJob extends Binding.Service< |
| 26 | DescribeSNOMEDCTInferenceJob, |
| 27 | "AWS.ComprehendMedical.DescribeSNOMEDCTInferenceJob", |
| 28 | () => Effect.Effect< |
| 29 | ( |
| 30 | request: comprehendmedical.DescribeSNOMEDCTInferenceJobRequest, |
| 31 | ) => Effect.Effect< |
| 32 | comprehendmedical.DescribeSNOMEDCTInferenceJobResponse, |
| 33 | comprehendmedical.DescribeSNOMEDCTInferenceJobError |
| 34 | > |
| 35 | > |
| 36 | > {} |
| 37 | export const DescribeSNOMEDCTInferenceJob = |
| 38 | Binding.Service<DescribeSNOMEDCTInferenceJob>( |
| 39 | "AWS.ComprehendMedical.DescribeSNOMEDCTInferenceJob", |
| 40 | ); |