deleteLexicon

Deletes the specified pronunciation lexicon stored in an Amazon Web Services Region. A lexicon which has been deleted is not available for speech synthesis, nor is it possible to retrieve it using either the GetLexicon or ListLexicon APIs.

For more information, see Managing Lexicons.

Samples


fun main() { 
   //sampleStart 
   // Deletes a specified pronunciation lexicon stored in an AWS Region.
val resp = pollyClient.deleteLexicon {
    name = "example"
} 
   //sampleEnd
}