HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/transcribe/update-medical-vocabulary.rst
**To update a medical custom vocabulary with new terms.**

The following ``update-medical-vocabulary`` example replaces the terms used in a medical custom vocabulary with the new ones. Prerequisite: to replace the terms in a medical custom vocabulary, you need a file with new terms. ::

    aws transcribe update-medical-vocabulary \
        --vocabulary-file-uri s3://DOC-EXAMPLE-BUCKET/Amazon-S3-Prefix/medical-custom-vocabulary.txt \
        --vocabulary-name medical-custom-vocabulary \
        --language-code language

Output::

    {
        "VocabularyName": "medical-custom-vocabulary",
        "LanguageCode": "en-US",
        "VocabularyState": "PENDING"
    }

For more information, see `Medical Custom Vocabularies <https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html>`__ in the *Amazon Transcribe Developer Guide*.