Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.Deleting a lexicon
The following process describes how to delete a lexicon.
After deleting the lexicon, you must add it back before you can use it again. You
can delete one or more lexicons at the same time by selecting the check boxes next to individual
lexicons.
- Console
-
To delete a lexicon
Sign in to the AWS Management Console and open the Amazon Polly console at https://eusc-de-east-1.console.amazonaws-eusc.eu/polly/.
-
Choose the Lexicons tab.
-
Choose one or more lexicons that you want to delete from the list.
-
Choose Delete.
-
Enter confirmation text and then choose Delete
to remove the lexicon from the Region or Cancel to
keep it.
- AWS CLI
-
Amazon Polly provides the DeleteLexicon API operation to delete a pronunciation lexicon
from a specific AWS Region in your account. The following AWS CLI deletes the
specified lexicon.
The following AWS CLI example is formatted for Unix, Linux, and macOS.
For Windows, replace the backslash (\) Unix continuation character at the end of each line with a caret (^) and use full quotation marks (") around the input text with single quotes (') for interior tags.
aws polly delete-lexicon \
--name example
The following resources contain additional information for the DeleteLexicon operation: