CreateVocabulary
Source:
src/AWS/Transcribe/CreateVocabulary.ts
Runtime binding for transcribe:CreateVocabulary — create a custom vocabulary that improves transcription accuracy for domain-specific terms (e.g. per-tenant vocabularies created at runtime).
Vocabulary processing is asynchronous: the vocabulary is created in the PENDING state and must reach READY (poll with GetVocabulary) before a transcription job can reference it.
Amazon Transcribe batch actions have no resource-level IAM; the host is
granted transcribe:CreateVocabulary on *.
Custom Vocabularies
Section titled “Custom Vocabularies”// initconst createVocabulary = yield* AWS.Transcribe.CreateVocabulary();
// runtimeconst { VocabularyState } = yield* createVocabulary({ VocabularyName: "tenant-123-vocabulary", LanguageCode: "en-US", Phrases: ["Alchemy", "workerd"],});