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:DeleteMedicalVocabulary` — delete a medical vocabulary.
7 *
8 * Amazon Transcribe batch actions have no resource-level IAM; the host is
9 * granted `transcribe:DeleteMedicalVocabulary` on `*`.
10 *
11 * ### Medical Vocabularies
12 * **Example:** Delete a Medical Vocabulary
13 * ```typescript
14 * // init
15 * const deleteMedicalVocabulary = yield* AWS.Transcribe.DeleteMedicalVocabulary();
16 *
17 * // runtime
18 * yield* deleteMedicalVocabulary({ VocabularyName: "clinic-vocabulary" });
19 * ```
20 *
21 * @binding
22 */
23export interface DeleteMedicalVocabulary extends Binding.Service<
24 DeleteMedicalVocabulary,
25 "AWS.Transcribe.DeleteMedicalVocabulary",
26 () => Effect.Effect<
27 (
28 request: transcribe.DeleteMedicalVocabularyRequest,
29 ) => Effect.Effect<
30 transcribe.DeleteMedicalVocabularyResponse,
31 transcribe.DeleteMedicalVocabularyError
32 >
33 >
34> {}
35export const DeleteMedicalVocabulary = Binding.Service<DeleteMedicalVocabulary>(
36 "AWS.Transcribe.DeleteMedicalVocabulary",
37);