1import type * as transcribe from "@distilled.cloud/aws/transcribe";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `transcribe:GetMedicalScribeJob` — read a Medical Scribe job's status and, once complete, the clinical note and transcript locations.
7 *
8 * Amazon Transcribe batch actions have no resource-level IAM; the host is
9 * granted `transcribe:GetMedicalScribeJob` on `*`.
10 *
11 * ### Medical Scribe Jobs
12 * **Example:** Poll a Medical Scribe Job
13 * ```typescript
14 * // init
15 * const getMedicalScribeJob = yield* AWS.Transcribe.GetMedicalScribeJob();
16 *
17 * // runtime
18 * const { MedicalScribeJob } = yield* getMedicalScribeJob({
19 * MedicalScribeJobName: "my-visit",
20 * });
21 * ```
22 *
23 * @binding
24 */
25export interface GetMedicalScribeJob extends Binding.Service<
26 GetMedicalScribeJob,
27 "AWS.Transcribe.GetMedicalScribeJob",
28 () => Effect.Effect<
29 (
30 request: transcribe.GetMedicalScribeJobRequest,
31 ) => Effect.Effect<
32 transcribe.GetMedicalScribeJobResponse,
33 transcribe.GetMedicalScribeJobError
34 >
35 >
36> {}
37export const GetMedicalScribeJob = Binding.Service<GetMedicalScribeJob>(
38 "AWS.Transcribe.GetMedicalScribeJob",
39);