AWS SDK for C++AWS SDK for C++ Version 1.11.440 |
#include <PollyClient.h>
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.
Definition at line 25 of file PollyClient.h.
Definition at line 28 of file PollyClient.h.
Definition at line 32 of file PollyClient.h.
Definition at line 33 of file PollyClient.h.
Aws::Polly::PollyClientConfiguration()
,
nullptr
Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.
nullptr
,
Aws::Polly::PollyClientConfiguration()
Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.
nullptr
,
Aws::Polly::PollyClientConfiguration()
Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, the default http client factory will be used
Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.
Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.
Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, the default http client factory will be used
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.
nullptr
An Async wrapper for DeleteLexicon that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 108 of file PollyClient.h.
A Callable wrapper for DeleteLexicon that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 99 of file PollyClient.h.
{}
)
const
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 ( SynthesizeSpeech
), you provide the voice ID for the voice you want from the list of voices returned by 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 DescribeVoices
operation you can provide the user with a list of available voices to select from.
You can optionally specify a language code to filter the available voices. For example, if you specify en-US
, the operation returns a list of all available US English voices.
This operation requires permissions to perform the polly:DescribeVoices
action.
nullptr
,
{}
An Async wrapper for DescribeVoices that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 145 of file PollyClient.h.
{}
)
const
A Callable wrapper for DescribeVoices that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 136 of file PollyClient.h.
Returns the content of the specified pronunciation lexicon stored in an Amazon Web Services Region. For more information, see Managing Lexicons.
nullptr
An Async wrapper for GetLexicon that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 173 of file PollyClient.h.
A Callable wrapper for GetLexicon that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 164 of file PollyClient.h.
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.
nullptr
An Async wrapper for GetSpeechSynthesisTask that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 201 of file PollyClient.h.
A Callable wrapper for GetSpeechSynthesisTask that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 192 of file PollyClient.h.
{}
)
const
Returns a list of pronunciation lexicons stored in an Amazon Web Services Region. For more information, see Managing Lexicons.
nullptr
,
{}
An Async wrapper for ListLexicons that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 229 of file PollyClient.h.
{}
)
const
A Callable wrapper for ListLexicons that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 220 of file PollyClient.h.
{}
)
const
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.
nullptr
,
{}
An Async wrapper for ListSpeechSynthesisTasks that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 256 of file PollyClient.h.
{}
)
const
A Callable wrapper for ListSpeechSynthesisTasks that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 247 of file PollyClient.h.
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.
nullptr
An Async wrapper for PutLexicon that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 287 of file PollyClient.h.
A Callable wrapper for PutLexicon that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 278 of file PollyClient.h.
Allows the creation of an asynchronous synthesis task, by starting a new SpeechSynthesisTask
. This operation requires all the standard information needed for speech synthesis, plus the name of an Amazon S3 bucket for the service to store the output of the synthesis task and two optional parameters (OutputS3KeyPrefix
and SnsTopicArn
). Once the synthesis task is created, this operation will return a SpeechSynthesisTask
object, which will include an identifier of this task as well as the current status. The SpeechSynthesisTask
object is available for 72 hours after starting the asynchronous synthesis task.
nullptr
An Async wrapper for StartSpeechSynthesisTask that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 321 of file PollyClient.h.
A Callable wrapper for StartSpeechSynthesisTask that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 312 of file PollyClient.h.
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.
nullptr
An Async wrapper for SynthesizeSpeech that queues the request into a thread executor and triggers associated callback when operation has finished.
Definition at line 351 of file PollyClient.h.
A Callable wrapper for SynthesizeSpeech that returns a future to the operation so that it can be executed in parallel to other requests.
Definition at line 342 of file PollyClient.h.
Definition at line 358 of file PollyClient.h.