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-vocabulary-filter.rst
**To replace the words in a vocabulary filter**

The following ``update-vocabulary-filter`` example replaces the words in a vocabulary filter with new ones. Prerequisite: To update a vocabulary filter with the new words, you must have those words saved as a text file. ::

    aws transcribe update-vocabulary-filter \
        --vocabulary-filter-file-uri s3://DOC-EXAMPLE-BUCKET/Amazon-S3-Prefix/your-text-file-to-update-your-vocabulary-filter.txt \
        --vocabulary-filter-name vocabulary-filter-name

Output::

    {
        "VocabularyFilterName": "vocabulary-filter-name",
        "LanguageCode": "language-code",
        "LastModifiedTime": "2020-09-23T18:40:35.139000+00:00"
    }

For more information, see `Filtering Unwanted Words <https://docs.aws.amazon.com/transcribe/latest/dg/filter-unwanted-words.html>`__ in the *Amazon Transcribe Developer Guide*.