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:UpdateMedicalVocabulary` — replace a medical vocabulary with a new source file.
7 *
8 * Amazon Transcribe batch actions have no resource-level IAM; the host is
9 * granted `transcribe:UpdateMedicalVocabulary` on `*`.
10 *
11 * ### Medical Vocabularies
12 * **Example:** Update a Medical Vocabulary
13 * ```typescript
14 * // init
15 * const updateMedicalVocabulary = yield* AWS.Transcribe.UpdateMedicalVocabulary();
16 *
17 * // runtime
18 * yield* updateMedicalVocabulary({
19 * VocabularyName: "clinic-vocabulary",
20 * LanguageCode: "en-US",
21 * VocabularyFileUri: "s3://my-bucket/vocab-v2.txt",
22 * });
23 * ```
24 *
25 * @binding
26 */
27export interface UpdateMedicalVocabulary extends Binding.Service<
28 UpdateMedicalVocabulary,
29 "AWS.Transcribe.UpdateMedicalVocabulary",
30 () => Effect.Effect<
31 (
32 request: transcribe.UpdateMedicalVocabularyRequest,
33 ) => Effect.Effect<
34 transcribe.UpdateMedicalVocabularyResponse,
35 transcribe.UpdateMedicalVocabularyError
36 >
37 >
38> {}
39export const UpdateMedicalVocabulary = Binding.Service<UpdateMedicalVocabulary>(
40 "AWS.Transcribe.UpdateMedicalVocabulary",
41);