| Package | Description |
|---|---|
| software.amazon.awssdk.services.polly |
Amazon Polly is a web service that makes it easy to synthesize speech from text.
|
| software.amazon.awssdk.services.polly.model |
| Modifier and Type | Method and Description |
|---|---|
default DeleteLexiconResponse |
PollyClient.deleteLexicon(Consumer<DeleteLexiconRequest.Builder> deleteLexiconRequest)
Deletes the specified pronunciation lexicon stored in an Amazon Web Services Region.
|
default DeleteLexiconResponse |
PollyClient.deleteLexicon(DeleteLexiconRequest deleteLexiconRequest)
Deletes the specified pronunciation lexicon stored in an Amazon Web Services Region.
|
default DescribeVoicesResponse |
PollyClient.describeVoices()
Returns the list of voices that are available for use when requesting speech synthesis.
|
default DescribeVoicesResponse |
PollyClient.describeVoices(Consumer<DescribeVoicesRequest.Builder> describeVoicesRequest)
Returns the list of voices that are available for use when requesting speech synthesis.
|
default DescribeVoicesResponse |
PollyClient.describeVoices(DescribeVoicesRequest describeVoicesRequest)
Returns the list of voices that are available for use when requesting speech synthesis.
|
default GetLexiconResponse |
PollyClient.getLexicon(Consumer<GetLexiconRequest.Builder> getLexiconRequest)
Returns the content of the specified pronunciation lexicon stored in an Amazon Web Services Region.
|
default GetLexiconResponse |
PollyClient.getLexicon(GetLexiconRequest getLexiconRequest)
Returns the content of the specified pronunciation lexicon stored in an Amazon Web Services Region.
|
default GetSpeechSynthesisTaskResponse |
PollyClient.getSpeechSynthesisTask(Consumer<GetSpeechSynthesisTaskRequest.Builder> getSpeechSynthesisTaskRequest)
Retrieves a specific SpeechSynthesisTask object based on its TaskID.
|
default GetSpeechSynthesisTaskResponse |
PollyClient.getSpeechSynthesisTask(GetSpeechSynthesisTaskRequest getSpeechSynthesisTaskRequest)
Retrieves a specific SpeechSynthesisTask object based on its TaskID.
|
default ListLexiconsResponse |
PollyClient.listLexicons()
Returns a list of pronunciation lexicons stored in an Amazon Web Services Region.
|
default ListLexiconsResponse |
PollyClient.listLexicons(Consumer<ListLexiconsRequest.Builder> listLexiconsRequest)
Returns a list of pronunciation lexicons stored in an Amazon Web Services Region.
|
default ListLexiconsResponse |
PollyClient.listLexicons(ListLexiconsRequest listLexiconsRequest)
Returns a list of pronunciation lexicons stored in an Amazon Web Services Region.
|
default ListSpeechSynthesisTasksResponse |
PollyClient.listSpeechSynthesisTasks()
Returns a list of SpeechSynthesisTask objects ordered by their creation date.
|
default ListSpeechSynthesisTasksResponse |
PollyClient.listSpeechSynthesisTasks(Consumer<ListSpeechSynthesisTasksRequest.Builder> listSpeechSynthesisTasksRequest)
Returns a list of SpeechSynthesisTask objects ordered by their creation date.
|
default ListSpeechSynthesisTasksResponse |
PollyClient.listSpeechSynthesisTasks(ListSpeechSynthesisTasksRequest listSpeechSynthesisTasksRequest)
Returns a list of SpeechSynthesisTask objects ordered by their creation date.
|
default ListSpeechSynthesisTasksIterable |
PollyClient.listSpeechSynthesisTasksPaginator()
Returns a list of SpeechSynthesisTask objects ordered by their creation date.
|
default ListSpeechSynthesisTasksIterable |
PollyClient.listSpeechSynthesisTasksPaginator(Consumer<ListSpeechSynthesisTasksRequest.Builder> listSpeechSynthesisTasksRequest)
Returns a list of SpeechSynthesisTask objects ordered by their creation date.
|
default ListSpeechSynthesisTasksIterable |
PollyClient.listSpeechSynthesisTasksPaginator(ListSpeechSynthesisTasksRequest listSpeechSynthesisTasksRequest)
Returns a list of SpeechSynthesisTask objects ordered by their creation date.
|
default PutLexiconResponse |
PollyClient.putLexicon(Consumer<PutLexiconRequest.Builder> putLexiconRequest)
Stores a pronunciation lexicon in an Amazon Web Services Region.
|
default PutLexiconResponse |
PollyClient.putLexicon(PutLexiconRequest putLexiconRequest)
Stores a pronunciation lexicon in an Amazon Web Services Region.
|
default StartSpeechSynthesisTaskResponse |
PollyClient.startSpeechSynthesisTask(Consumer<StartSpeechSynthesisTaskRequest.Builder> startSpeechSynthesisTaskRequest)
Allows the creation of an asynchronous synthesis task, by starting a new
SpeechSynthesisTask. |
default StartSpeechSynthesisTaskResponse |
PollyClient.startSpeechSynthesisTask(StartSpeechSynthesisTaskRequest startSpeechSynthesisTaskRequest)
Allows the creation of an asynchronous synthesis task, by starting a new
SpeechSynthesisTask. |
default ResponseInputStream<SynthesizeSpeechResponse> |
PollyClient.synthesizeSpeech(Consumer<SynthesizeSpeechRequest.Builder> synthesizeSpeechRequest)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
default SynthesizeSpeechResponse |
PollyClient.synthesizeSpeech(Consumer<SynthesizeSpeechRequest.Builder> synthesizeSpeechRequest,
Path destinationPath)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
default <ReturnT> ReturnT |
PollyClient.synthesizeSpeech(Consumer<SynthesizeSpeechRequest.Builder> synthesizeSpeechRequest,
ResponseTransformer<SynthesizeSpeechResponse,ReturnT> responseTransformer)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
default ResponseInputStream<SynthesizeSpeechResponse> |
PollyClient.synthesizeSpeech(SynthesizeSpeechRequest synthesizeSpeechRequest)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
default SynthesizeSpeechResponse |
PollyClient.synthesizeSpeech(SynthesizeSpeechRequest synthesizeSpeechRequest,
Path destinationPath)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
default <ReturnT> ReturnT |
PollyClient.synthesizeSpeech(SynthesizeSpeechRequest synthesizeSpeechRequest,
ResponseTransformer<SynthesizeSpeechResponse,ReturnT> responseTransformer)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
default ResponseBytes<SynthesizeSpeechResponse> |
PollyClient.synthesizeSpeechAsBytes(Consumer<SynthesizeSpeechRequest.Builder> synthesizeSpeechRequest)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
default ResponseBytes<SynthesizeSpeechResponse> |
PollyClient.synthesizeSpeechAsBytes(SynthesizeSpeechRequest synthesizeSpeechRequest)
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EngineNotSupportedException
This engine is not compatible with the voice that you have designated.
|
class |
InvalidLexiconException
Amazon Polly can't find the specified lexicon.
|
class |
InvalidNextTokenException
The NextToken is invalid.
|
class |
InvalidS3BucketException
The provided Amazon S3 bucket name is invalid.
|
class |
InvalidS3KeyException
The provided Amazon S3 key prefix is invalid.
|
class |
InvalidSampleRateException
The specified sample rate is not valid.
|
class |
InvalidSnsTopicArnException
The provided SNS topic ARN is invalid.
|
class |
InvalidSsmlException
The SSML you provided is invalid.
|
class |
InvalidTaskIdException
The provided Task ID is not valid.
|
class |
LanguageNotSupportedException
The language specified is not currently supported by Amazon Polly in this capacity.
|
class |
LexiconNotFoundException
Amazon Polly can't find the specified lexicon.
|
class |
LexiconSizeExceededException
The maximum size of the specified lexicon would be exceeded by this operation.
|
class |
MarksNotSupportedForFormatException
Speech marks are not supported for the
OutputFormat selected. |
class |
MaxLexemeLengthExceededException
The maximum size of the lexeme would be exceeded by this operation.
|
class |
MaxLexiconsNumberExceededException
The maximum number of lexicons would be exceeded by this operation.
|
class |
ServiceFailureException
An unknown condition has caused a service failure.
|
class |
SsmlMarksNotSupportedForTextTypeException
SSML speech marks are not supported for plain text-type input.
|
class |
SynthesisTaskNotFoundException
The Speech Synthesis task with requested Task ID cannot be found.
|
class |
TextLengthExceededException
The value of the "Text" parameter is longer than the accepted limits.
|
class |
UnsupportedPlsAlphabetException
The alphabet specified by the lexicon is not a supported alphabet.
|
class |
UnsupportedPlsLanguageException
The language specified in the lexicon is unsupported.
|
| Modifier and Type | Method and Description |
|---|---|
PollyException |
PollyException.BuilderImpl.build() |
| Constructor and Description |
|---|
BuilderImpl(PollyException ex) |
Copyright © 2023. All rights reserved.