@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonPollyAsync extends AbstractAmazonPolly implements AmazonPollyAsync
AmazonPollyAsync. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler, which throws an
UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
Future<DeleteLexiconResult> |
deleteLexiconAsync(DeleteLexiconRequest request)
Deletes the specified pronunciation lexicon stored in an AWS Region.
|
Future<DeleteLexiconResult> |
deleteLexiconAsync(DeleteLexiconRequest request,
AsyncHandler<DeleteLexiconRequest,DeleteLexiconResult> asyncHandler)
Deletes the specified pronunciation lexicon stored in an AWS Region.
|
Future<DescribeVoicesResult> |
describeVoicesAsync(DescribeVoicesRequest request)
Returns the list of voices that are available for use when requesting speech synthesis.
|
Future<DescribeVoicesResult> |
describeVoicesAsync(DescribeVoicesRequest request,
AsyncHandler<DescribeVoicesRequest,DescribeVoicesResult> asyncHandler)
Returns the list of voices that are available for use when requesting speech synthesis.
|
Future<GetLexiconResult> |
getLexiconAsync(GetLexiconRequest request)
Returns the content of the specified pronunciation lexicon stored in an AWS Region.
|
Future<GetLexiconResult> |
getLexiconAsync(GetLexiconRequest request,
AsyncHandler<GetLexiconRequest,GetLexiconResult> asyncHandler)
Returns the content of the specified pronunciation lexicon stored in an AWS Region.
|
Future<ListLexiconsResult> |
listLexiconsAsync(ListLexiconsRequest request)
Returns a list of pronunciation lexicons stored in an AWS Region.
|
Future<ListLexiconsResult> |
listLexiconsAsync(ListLexiconsRequest request,
AsyncHandler<ListLexiconsRequest,ListLexiconsResult> asyncHandler)
Returns a list of pronunciation lexicons stored in an AWS Region.
|
Future<PutLexiconResult> |
putLexiconAsync(PutLexiconRequest request)
Stores a pronunciation lexicon in an AWS Region.
|
Future<PutLexiconResult> |
putLexiconAsync(PutLexiconRequest request,
AsyncHandler<PutLexiconRequest,PutLexiconResult> asyncHandler)
Stores a pronunciation lexicon in an AWS Region.
|
Future<SynthesizeSpeechResult> |
synthesizeSpeechAsync(SynthesizeSpeechRequest request)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
Future<SynthesizeSpeechResult> |
synthesizeSpeechAsync(SynthesizeSpeechRequest request,
AsyncHandler<SynthesizeSpeechRequest,SynthesizeSpeechResult> asyncHandler)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
deleteLexicon, describeVoices, getCachedResponseMetadata, getLexicon, listLexicons, presigners, putLexicon, setEndpoint, setRegion, shutdown, synthesizeSpeechequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteLexicon, describeVoices, getCachedResponseMetadata, getLexicon, listLexicons, presigners, putLexicon, setEndpoint, setRegion, shutdown, synthesizeSpeechpublic Future<DeleteLexiconResult> deleteLexiconAsync(DeleteLexiconRequest request)
AmazonPollyAsync
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 GetLexicon or
ListLexicon APIs.
For more information, see Managing Lexicons.
deleteLexiconAsync in interface AmazonPollyAsyncpublic Future<DeleteLexiconResult> deleteLexiconAsync(DeleteLexiconRequest request, AsyncHandler<DeleteLexiconRequest,DeleteLexiconResult> asyncHandler)
AmazonPollyAsync
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 GetLexicon or
ListLexicon APIs.
For more information, see Managing Lexicons.
deleteLexiconAsync in interface AmazonPollyAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeVoicesResult> describeVoicesAsync(DescribeVoicesRequest request)
AmazonPollyAsyncReturns 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.
describeVoicesAsync in interface AmazonPollyAsyncpublic Future<DescribeVoicesResult> describeVoicesAsync(DescribeVoicesRequest request, AsyncHandler<DescribeVoicesRequest,DescribeVoicesResult> asyncHandler)
AmazonPollyAsyncReturns 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.
describeVoicesAsync in interface AmazonPollyAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetLexiconResult> getLexiconAsync(GetLexiconRequest request)
AmazonPollyAsyncReturns the content of the specified pronunciation lexicon stored in an AWS Region. For more information, see Managing Lexicons.
getLexiconAsync in interface AmazonPollyAsyncpublic Future<GetLexiconResult> getLexiconAsync(GetLexiconRequest request, AsyncHandler<GetLexiconRequest,GetLexiconResult> asyncHandler)
AmazonPollyAsyncReturns the content of the specified pronunciation lexicon stored in an AWS Region. For more information, see Managing Lexicons.
getLexiconAsync in interface AmazonPollyAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListLexiconsResult> listLexiconsAsync(ListLexiconsRequest request)
AmazonPollyAsyncReturns a list of pronunciation lexicons stored in an AWS Region. For more information, see Managing Lexicons.
listLexiconsAsync in interface AmazonPollyAsyncpublic Future<ListLexiconsResult> listLexiconsAsync(ListLexiconsRequest request, AsyncHandler<ListLexiconsRequest,ListLexiconsResult> asyncHandler)
AmazonPollyAsyncReturns a list of pronunciation lexicons stored in an AWS Region. For more information, see Managing Lexicons.
listLexiconsAsync in interface AmazonPollyAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutLexiconResult> putLexiconAsync(PutLexiconRequest request)
AmazonPollyAsyncStores 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.
putLexiconAsync in interface AmazonPollyAsyncpublic Future<PutLexiconResult> putLexiconAsync(PutLexiconRequest request, AsyncHandler<PutLexiconRequest,PutLexiconResult> asyncHandler)
AmazonPollyAsyncStores 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.
putLexiconAsync in interface AmazonPollyAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<SynthesizeSpeechResult> synthesizeSpeechAsync(SynthesizeSpeechRequest request)
AmazonPollyAsyncSynthesizes 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 in interface AmazonPollyAsyncpublic Future<SynthesizeSpeechResult> synthesizeSpeechAsync(SynthesizeSpeechRequest request, AsyncHandler<SynthesizeSpeechRequest,SynthesizeSpeechResult> asyncHandler)
AmazonPollyAsyncSynthesizes 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 in interface AmazonPollyAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.