Skip to content

UpdateMedicalVocabulary

Source: src/AWS/Transcribe/UpdateMedicalVocabulary.ts

Runtime binding for transcribe:UpdateMedicalVocabulary — replace a medical vocabulary with a new source file.

Amazon Transcribe batch actions have no resource-level IAM; the host is granted transcribe:UpdateMedicalVocabulary on *.

// init
const updateMedicalVocabulary = yield* AWS.Transcribe.UpdateMedicalVocabulary();
// runtime
yield* updateMedicalVocabulary({
VocabularyName: "clinic-vocabulary",
LanguageCode: "en-US",
VocabularyFileUri: "s3://my-bucket/vocab-v2.txt",
});