AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Interface for accessing Polly
Amazon Polly is a web service that makes it easy to synthesize speech from text.The Amazon Polly service provides API operations for synthesizing high-quality speech from plain text and Speech Synthesis Markup Language (SSML), along with managing pronunciations lexicons that enable you to get the best results for your application domain.
Namespace: Amazon.Polly
Assembly: AWSSDK.Polly.dll
Version: 3.x.y.z
public interface IAmazonPolly IAmazonService, IDisposable
The IAmazonPolly type exposes the following members
Name | Type | Description | |
---|---|---|---|
Paginators | Amazon.Polly.Model.IPollyPaginatorFactory |
Paginators for the service |
Name | Description | |
---|---|---|
DeleteLexicon(DeleteLexiconRequest) |
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 For more information, see Managing Lexicons. |
|
DeleteLexiconAsync(DeleteLexiconRequest, CancellationToken) |
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 For more information, see Managing Lexicons. |
|
DescribeVoices(DescribeVoicesRequest) |
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 (
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
You can optionally specify a language code to filter the available voices. For example,
if you specify
This operation requires permissions to perform the |
|
DescribeVoicesAsync(DescribeVoicesRequest, CancellationToken) |
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 (
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
You can optionally specify a language code to filter the available voices. For example,
if you specify
This operation requires permissions to perform the |
|
DetermineServiceOperationEndpoint(AmazonWebServiceRequest) |
Returns the endpoint that will be used for a particular request. |
|
GetLexicon(GetLexiconRequest) |
Returns the content of the specified pronunciation lexicon stored in an Amazon Web Services Region. For more information, see Managing Lexicons. |
|
GetLexiconAsync(GetLexiconRequest, CancellationToken) |
Returns the content of the specified pronunciation lexicon stored in an Amazon Web Services Region. For more information, see Managing Lexicons. |
|
GetSpeechSynthesisTask(GetSpeechSynthesisTaskRequest) |
Retrieves a specific SpeechSynthesisTask object based on its TaskID. This object contains information about the given speech synthesis task, including the status of the task, and a link to the S3 bucket containing the output of the task. |
|
GetSpeechSynthesisTaskAsync(GetSpeechSynthesisTaskRequest, CancellationToken) |
Retrieves a specific SpeechSynthesisTask object based on its TaskID. This object contains information about the given speech synthesis task, including the status of the task, and a link to the S3 bucket containing the output of the task. |
|
ListLexicons(ListLexiconsRequest) |
Returns a list of pronunciation lexicons stored in an Amazon Web Services Region. For more information, see Managing Lexicons. |
|
ListLexiconsAsync(ListLexiconsRequest, CancellationToken) |
Returns a list of pronunciation lexicons stored in an Amazon Web Services Region. For more information, see Managing Lexicons. |
|
ListSpeechSynthesisTasks(ListSpeechSynthesisTasksRequest) |
Returns a list of SpeechSynthesisTask objects ordered by their creation date. This operation can filter the tasks by their status, for example, allowing users to list only tasks that are completed. |
|
ListSpeechSynthesisTasksAsync(ListSpeechSynthesisTasksRequest, CancellationToken) |
Returns a list of SpeechSynthesisTask objects ordered by their creation date. This operation can filter the tasks by their status, for example, allowing users to list only tasks that are completed. |
|
PutLexicon(PutLexiconRequest) |
Stores a pronunciation lexicon in an Amazon Web Services 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. |
|
PutLexiconAsync(PutLexiconRequest, CancellationToken) |
Stores a pronunciation lexicon in an Amazon Web Services 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. |
|
StartSpeechSynthesisTask(StartSpeechSynthesisTaskRequest) |
Allows the creation of an asynchronous synthesis task, by starting a new |
|
StartSpeechSynthesisTaskAsync(StartSpeechSynthesisTaskRequest, CancellationToken) |
Allows the creation of an asynchronous synthesis task, by starting a new |
|
SynthesizeSpeech(SynthesizeSpeechRequest) |
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. |
|
SynthesizeSpeechAsync(SynthesizeSpeechRequest, CancellationToken) |
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. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5