java.lang.String name
The name of the lexicon to delete. Must be an existing lexicon in the region.
Constraints:
Pattern: [0-9A-Za-z]{1,20}
java.lang.String engine
Specifies the engine (standard or neural) used
by Amazon Polly when processing input text for speech synthesis.
Constraints:
Allowed Values: standard, neural
java.lang.String languageCode
The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned. If you don't specify this optional parameter, all available voices are returned.
Constraints:
Allowed Values: arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT
java.lang.Boolean includeAdditionalLanguageCodes
Boolean value indicating whether to return any bilingual voices that use
the specified language as an additional language. For instance, if you
request all languages that use US English (es-US), and there is an
Italian voice that speaks both Italian (it-IT) and US English, that voice
will be included if you specify yes but not if you specify
no.
java.lang.String nextToken
An opaque pagination token returned from the previous
DescribeVoices operation. If present, this indicates where
to continue the listing.
Constraints:
Length: 0 - 4096
java.util.List<E> voices
A list of voices with their properties.
java.lang.String nextToken
The pagination token to use in the next request to continue the listing
of voices. NextToken is returned only if the response is
truncated.
Constraints:
Length: 0 - 4096
java.lang.String name
Name of the lexicon.
Constraints:
Pattern: [0-9A-Za-z]{1,20}
Lexicon lexicon
Lexicon object that provides name and the string content of the lexicon.
LexiconAttributes lexiconAttributes
Metadata of the lexicon, including phonetic alphabetic used, language code, lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in bytes.
java.lang.String taskId
The Amazon Polly generated identifier for a speech synthesis task.
Constraints:
Pattern: ^[a-zA-Z0-9_-]{1,100}$
SynthesisTask synthesisTask
SynthesisTask object that provides information from the requested task, including output format, creation time, task status, and so on.
java.lang.String content
Lexicon content in string format. The content of a lexicon must be in PLS format.
java.lang.String name
Name of the lexicon.
Constraints:
Pattern: [0-9A-Za-z]{1,20}
java.lang.String alphabet
Phonetic alphabet used in the lexicon. Valid values are ipa
and x-sampa.
java.lang.String languageCode
Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.
Constraints:
Allowed Values: arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT
java.util.Date lastModified
Date lexicon was last modified (a timestamp value).
java.lang.String lexiconArn
Amazon Resource Name (ARN) of the lexicon.
java.lang.Integer lexemesCount
Number of lexemes in the lexicon.
java.lang.Integer size
Total size of the lexicon, in characters.
java.lang.String name
Name of the lexicon.
Constraints:
Pattern: [0-9A-Za-z]{1,20}
LexiconAttributes attributes
Provides lexicon metadata.
java.lang.String nextToken
An opaque pagination token returned from previous
ListLexicons operation. If present, indicates where to
continue the list of lexicons.
Constraints:
Length: 0 - 4096
java.util.List<E> lexicons
A list of lexicon names and attributes.
java.lang.String nextToken
The pagination token to use in the next request to continue the listing
of lexicons. NextToken is returned only if the response is
truncated.
Constraints:
Length: 0 - 4096
java.lang.Integer maxResults
Maximum number of speech synthesis tasks returned in a List operation.
Constraints:
Range: 1 - 100
java.lang.String nextToken
The pagination token to use in the next request to continue the listing of speech synthesis tasks.
Constraints:
Length: 0 - 4096
java.lang.String status
Status of the speech synthesis tasks returned in a List operation
Constraints:
Allowed Values: scheduled, inProgress, completed, failed
java.lang.String nextToken
An opaque pagination token returned from the previous List operation in this request. If present, this indicates where to continue the listing.
Constraints:
Length: 0 - 4096
java.util.List<E> synthesisTasks
List of SynthesisTask objects that provides information from the specified task in the list request, including output format, creation time, task status, and so on.
java.lang.String name
Name of the lexicon. The name must follow the regular express format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive alphanumeric string up to 20 characters long.
Constraints:
Pattern: [0-9A-Za-z]{1,20}
java.lang.String content
Content of the PLS lexicon as string data.
java.lang.String engine
Specifies the engine (standard or neural) for
Amazon Polly to use when processing input text for speech synthesis.
Using a voice that is not supported for the engine selected will result
in an error.
Constraints:
Allowed Values: standard, neural
java.lang.String languageCode
Optional language code for the Speech Synthesis request. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is specified, Amazon
Polly uses the default language of the bilingual voice. The default
language for any voice is the one returned by the DescribeVoices operation for the LanguageCode
parameter. For example, if no language code is specified, Aditi will use
Indian English rather than Hindi.
Constraints:
Allowed Values: arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT
java.util.List<E> lexiconNames
List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice.
java.lang.String outputFormat
The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.
Constraints:
Allowed Values: json, mp3, ogg_vorbis, pcm
java.lang.String outputS3BucketName
Amazon S3 bucket name to which the output file will be saved.
Constraints:
Pattern: ^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$
java.lang.String outputS3KeyPrefix
The Amazon S3 key prefix for the output speech file.
Constraints:
Pattern: ^[0-9a-zA-Z\/\!\-_\.\*\'\(\):;\$@=+\,\?&]{0,800}$
java.lang.String sampleRate
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
java.lang.String snsTopicArn
ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.
Constraints:
Pattern: ^arn:aws(-(cn|iso(-b)?|us-gov))?:sns:[a-z0-
9_-]{1,50}:\d{12}:[a-zA-Z0-9_-]{1,256}$
java.util.List<E> speechMarkTypes
The type of speech marks returned for the input text.
java.lang.String text
The input text to synthesize. If you specify ssml as the TextType, follow the SSML format for the input text.
java.lang.String textType
Specifies whether the input text is plain text or SSML. The default value is plain text.
Constraints:
Allowed Values: ssml, text
java.lang.String voiceId
Voice ID to use for the synthesis.
Constraints:
Allowed Values: Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla,
Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa,
Filiz, Gabrielle, Geraint, Giorgio, Gwyneth, Hans, Ines, Ivy, Jacek, Jan,
Joanna, Joey, Justin, Karl, Kendra, Kevin, Kimberly, Lea, Liv, Lotte,
Lucia, Lupe, Mads, Maja, Marlene, Mathieu, Matthew, Maxim, Mia, Miguel,
Mizuki, Naja, Nicole, Olivia, Penelope, Raveena, Ricardo, Ruben, Russell,
Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu, Aria,
Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro, Kajal
SynthesisTask synthesisTask
SynthesisTask object that provides information and attributes about a newly submitted speech synthesis task.
java.lang.String engine
Specifies the engine (standard or neural) for
Amazon Polly to use when processing input text for speech synthesis.
Using a voice that is not supported for the engine selected will result
in an error.
Constraints:
Allowed Values: standard, neural
java.lang.String taskId
The Amazon Polly generated identifier for a speech synthesis task.
Constraints:
Pattern: ^[a-zA-Z0-9_-]{1,100}$
java.lang.String taskStatus
Current status of the individual speech synthesis task.
Constraints:
Allowed Values: scheduled, inProgress, completed, failed
java.lang.String taskStatusReason
Reason for the current status of a specific speech synthesis task, including errors if the task has failed.
java.lang.String outputUri
Pathway for the output speech file.
java.util.Date creationTime
Timestamp for the time the synthesis task was started.
java.lang.Integer requestCharacters
Number of billable characters synthesized.
java.lang.String snsTopicArn
ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.
Constraints:
Pattern: ^arn:aws(-(cn|iso(-b)?|us-gov))?:sns:[a-z0-
9_-]{1,50}:\d{12}:[a-zA-Z0-9_-]{1,256}$
java.util.List<E> lexiconNames
List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice.
java.lang.String outputFormat
The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.
Constraints:
Allowed Values: json, mp3, ogg_vorbis, pcm
java.lang.String sampleRate
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
java.util.List<E> speechMarkTypes
The type of speech marks returned for the input text.
java.lang.String textType
Specifies whether the input text is plain text or SSML. The default value is plain text.
Constraints:
Allowed Values: ssml, text
java.lang.String voiceId
Voice ID to use for the synthesis.
Constraints:
Allowed Values: Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla,
Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa,
Filiz, Gabrielle, Geraint, Giorgio, Gwyneth, Hans, Ines, Ivy, Jacek, Jan,
Joanna, Joey, Justin, Karl, Kendra, Kevin, Kimberly, Lea, Liv, Lotte,
Lucia, Lupe, Mads, Maja, Marlene, Mathieu, Matthew, Maxim, Mia, Miguel,
Mizuki, Naja, Nicole, Olivia, Penelope, Raveena, Ricardo, Ruben, Russell,
Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu, Aria,
Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro, Kajal
java.lang.String languageCode
Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is specified, Amazon
Polly uses the default language of the bilingual voice. The default
language for any voice is the one returned by the DescribeVoices operation for the LanguageCode
parameter. For example, if no language code is specified, Aditi will use
Indian English rather than Hindi.
Constraints:
Allowed Values: arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT
java.util.Date expiration
com.amazonaws.auth.AWSCredentials credentials
java.util.List<E> lexiconNames
List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice. For information about storing lexicons, see PutLexicon.
java.lang.String outputFormat
The audio format in which the resulting stream will be encoded.
Constraints:
Allowed Values: mp3, ogg_vorbis, pcm
java.lang.String sampleRate
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are
"8000", "16000", and "22050". The default value is "22050".
Valid values for pcm are "8000" and "16000" The default
value is "16000".
java.util.List<E> speechMarkTypes
java.lang.String text
Input text to synthesize. If you specify ssml as the
TextType, follow the SSML format for the input text.
java.lang.String textType
Specifies whether the input text is plain text or SSML. The default value is plain text. For more information, see Using SSML.
Constraints:
Allowed Values: ssml, text
java.lang.String voiceId
Voice ID to use for the synthesis. You can get a list of available voice IDs by calling the DescribeVoices operation.
Constraints:
Allowed Values: Geraint, Gwyneth, Mads, Naja, Hans, Marlene,
Nicole, Russell, Amy, Brian, Emma, Raveena, Ivy, Joanna, Joey, Justin,
Kendra, Kimberly, Matthew, Salli, Conchita, Enrique, Miguel, Penelope, Chantal,
Celine, Mathieu, Dora, Karl, Carla, Giorgio, Mizuki, Liv, Lotte, Ruben,
Ewa, Jacek, Jan, Maja, Ricardo, Vitoria, Cristiano, Ines, Carmen, Maxim,
Tatyana, Astrid, Filiz, Vicki, Takumi, Seoyeon, Aditi, Lea, Zhiyu, Bianca,
Lucia, Mia
java.lang.String languageCode
Optional language code for the Synthesize Speech request. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is specified, Amazon
Polly will use the default language of the bilingual voice. The default
language for any voice is the one returned by the DescribeVoices operation for the LanguageCode
parameter. For example, if no language code is specified, Aditi will use
Indian English rather than Hindi.
Constraints:
Allowed Values: cy-GB, da-DK, de-DE, en-AU, en-GB, en-GB-WLS,
en-IN, en-US, es-ES, es-US, fr-CA, fr-FR, is-IS, it-IT, ja-JP, hi-IN,
ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU, sv-SE, tr-TR
Engine engine
java.lang.String engine
Specifies the engine (standard or neural) for
Amazon Polly to use when processing input text for speech synthesis. For
information on Amazon Polly voices and which voices are available in
standard-only, NTTS-only, and both standard and NTTS formats, see Available
Voices.
NTTS-only voices
When using NTTS-only voices such as Kevin (en-US), this parameter is
required and must be set to neural. If the engine is not
specified, or is set to standard, this will result in an
error.
Type: String
Valid Values: standard | neural
Required: Yes
Standard voices
For standard voices, this is not required; the engine parameter defaults
to standard. If the engine is not specified, or is set to
standard and an NTTS-only voice is selected, this will
result in an error.
Constraints:
Allowed Values: standard, neural
java.lang.String languageCode
Optional language code for the Synthesize Speech request. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is specified, Amazon
Polly uses the default language of the bilingual voice. The default
language for any voice is the one returned by the DescribeVoices operation for the LanguageCode
parameter. For example, if no language code is specified, Aditi will use
Indian English rather than Hindi.
Constraints:
Allowed Values: arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT
java.util.List<E> lexiconNames
List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice. For information about storing lexicons, see PutLexicon.
java.lang.String outputFormat
The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.
When pcm is used, the content returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.
Constraints:
Allowed Values: json, mp3, ogg_vorbis, pcm
java.lang.String sampleRate
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
java.util.List<E> speechMarkTypes
The type of speech marks returned for the input text.
java.lang.String text
Input text to synthesize. If you specify ssml as the
TextType, follow the SSML format for the input text.
java.lang.String textType
Specifies whether the input text is plain text or SSML. The default value is plain text. For more information, see Using SSML.
Constraints:
Allowed Values: ssml, text
java.lang.String voiceId
Voice ID to use for the synthesis. You can get a list of available voice IDs by calling the DescribeVoices operation.
Constraints:
Allowed Values: Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla,
Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa,
Filiz, Gabrielle, Geraint, Giorgio, Gwyneth, Hans, Ines, Ivy, Jacek, Jan,
Joanna, Joey, Justin, Karl, Kendra, Kevin, Kimberly, Lea, Liv, Lotte,
Lucia, Lupe, Mads, Maja, Marlene, Mathieu, Matthew, Maxim, Mia, Miguel,
Mizuki, Naja, Nicole, Olivia, Penelope, Raveena, Ricardo, Ruben, Russell,
Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu, Aria,
Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro, Kajal
java.io.InputStream audioStream
Stream containing the synthesized speech.
java.lang.String contentType
Specifies the type audio stream. This should reflect the
OutputFormat parameter in your request.
If you request mp3 as the OutputFormat, the
ContentType returned is audio/mpeg.
If you request ogg_vorbis as the OutputFormat,
the ContentType returned is audio/ogg.
If you request pcm as the OutputFormat, the
ContentType returned is audio/pcm in a signed 16-bit, 1
channel (mono), little-endian format.
If you request json as the OutputFormat, the
ContentType returned is application/x-json-stream.
java.lang.Integer requestCharacters
Number of characters synthesized.
java.lang.String gender
Gender of the voice.
Constraints:
Allowed Values: Female, Male
java.lang.String id
Amazon Polly assigned voice ID. This is the ID that you specify when
calling the SynthesizeSpeech operation.
Constraints:
Allowed Values: Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla,
Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa,
Filiz, Gabrielle, Geraint, Giorgio, Gwyneth, Hans, Ines, Ivy, Jacek, Jan,
Joanna, Joey, Justin, Karl, Kendra, Kevin, Kimberly, Lea, Liv, Lotte,
Lucia, Lupe, Mads, Maja, Marlene, Mathieu, Matthew, Maxim, Mia, Miguel,
Mizuki, Naja, Nicole, Olivia, Penelope, Raveena, Ricardo, Ruben, Russell,
Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu, Aria,
Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro, Kajal
java.lang.String languageCode
Language code of the voice.
Constraints:
Allowed Values: arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT
java.lang.String languageName
Human readable name of the language in English.
java.lang.String name
Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.
java.util.List<E> additionalLanguageCodes
Additional codes for languages available for the specified voice in addition to its default language.
For example, the default language for Aditi is Indian English (en-IN)
because it was first used for that language. Since Aditi is bilingual and
fluent in both Indian English and Hindi, this parameter would show the
code hi-IN.
java.util.List<E> supportedEngines
Specifies which engines (standard or neural)
that are supported by a given voice.