Skip to content

Delete Lexicon

polly_delete_lexicon R Documentation

Deletes the specified pronunciation lexicon stored in an Amazon Web Services Region

Description

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 get_lexicon or ListLexicon APIs.

For more information, see Managing Lexicons.

Usage

polly_delete_lexicon(Name)

Arguments

Name

[required] The name of the lexicon to delete. Must be an existing lexicon in the region.

Value

An empty list.

Request syntax

svc$delete_lexicon(
  Name = "string"
)

Examples

## Not run: 
# Deletes a specified pronunciation lexicon stored in an AWS Region.
svc$delete_lexicon(
  Name = "example"
)

## End(Not run)