Namespace Amazon.Polly.Model
Classes
- DeleteLexiconRequest
Container for the parameters to the DeleteLexicon operation. Deletes the specified pronunciation lexicon stored in an AWS Region. A lexicon which has been deleted is not available for speech synthesis, nor is it possible to retrieve it using either the
orGetLexicon
APIs.ListLexicon
For more information, see Managing Lexicons.
- DeleteLexiconResponse
This is the response object from the DeleteLexicon operation.
- DescribeVoicesRequest
Container for the parameters to the DescribeVoices operation. Returns the list of voices that are available for use when requesting speech synthesis. Each voice speaks a specified language, is either male or female, and is identified by an ID, which is the ASCII version of the voice name.
When synthesizing speech (
), you provide the voice ID for the voice you want from the list of voices returned bySynthesizeSpeech
.DescribeVoices
For example, you want your news reader application to read news in a specific language, but giving a user the option to choose the voice. Using the
operation you can provide the user with a list of available voices to select from.DescribeVoices
You can optionally specify a language code to filter the available voices. For example, if you specify
, the operation returns a list of all available US English voices.en-US
This operation requires permissions to perform the
action.polly:DescribeVoices
- DescribeVoicesResponse
This is the response object from the DescribeVoices operation.
- GetLexiconRequest
Container for the parameters to the GetLexicon operation. Returns the content of the specified pronunciation lexicon stored in an AWS Region. For more information, see Managing Lexicons.
- GetLexiconResponse
This is the response object from the GetLexicon operation.
- InvalidLexiconException
Polly exception
- InvalidNextTokenException
Polly exception
- InvalidSampleRateException
Polly exception
- InvalidSsmlException
Polly exception
- Lexicon
Provides lexicon name and lexicon content in string format. For more information, see Pronunciation Lexicon Specification (PLS) Version 1.0.
- LexiconAttributes
Contains metadata describing the lexicon such as the number of lexemes, language code, and so on. For more information, see Managing Lexicons.
- LexiconDescription
Describes the content of the lexicon.
- LexiconNotFoundException
Polly exception
- LexiconSizeExceededException
Polly exception
- ListLexiconsRequest
Container for the parameters to the ListLexicons operation. Returns a list of pronunciation lexicons stored in an AWS Region. For more information, see Managing Lexicons.
- ListLexiconsResponse
This is the response object from the ListLexicons operation.
- MarksNotSupportedForFormatException
Polly exception
- MaxLexemeLengthExceededException
Polly exception
- MaxLexiconsNumberExceededException
Polly exception
- PutLexiconRequest
Container for the parameters to the PutLexicon operation. Stores a pronunciation lexicon in an AWS Region. If a lexicon with the same name already exists in the region, it is overwritten by the new lexicon. Lexicon operations have eventual consistency, therefore, it might take some time before the lexicon is available to the SynthesizeSpeech operation.
For more information, see Managing Lexicons.
- PutLexiconResponse
This is the response object from the PutLexicon operation.
- ServiceFailureException
Polly exception
- SsmlMarksNotSupportedForTextTypeException
Polly exception
- SynthesizeSpeechRequest
Container for the parameters to the SynthesizeSpeech operation. Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes. SSML input must be valid, well-formed SSML. Some alphabets might not be available with all the voices (for example, Cyrillic might not be read at all by English voices) unless phoneme mapping is used. For more information, see How it Works.
- SynthesizeSpeechResponse
This is the response object from the SynthesizeSpeech operation.
- TextLengthExceededException
Polly exception
- UnsupportedPlsAlphabetException
Polly exception
- UnsupportedPlsLanguageException
Polly exception
- Voice
Description of the voice.