Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

polly Update models to latest #2938

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public class StartSpeechSynthesisTaskRequest extends AmazonWebServiceRequest imp
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*/
private String voiceId;

Expand Down Expand Up @@ -1270,7 +1270,7 @@ public StartSpeechSynthesisTaskRequest withTextType(TextType textType) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @return <p>
* Voice ID to use for the synthesis.
Expand All @@ -1294,7 +1294,7 @@ public String getVoiceId() {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param voiceId <p>
* Voice ID to use for the synthesis.
Expand All @@ -1321,7 +1321,7 @@ public void setVoiceId(String voiceId) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param voiceId <p>
* Voice ID to use for the synthesis.
Expand All @@ -1348,7 +1348,7 @@ public StartSpeechSynthesisTaskRequest withVoiceId(String voiceId) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param voiceId <p>
* Voice ID to use for the synthesis.
Expand All @@ -1375,7 +1375,7 @@ public void setVoiceId(VoiceId voiceId) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param voiceId <p>
* Voice ID to use for the synthesis.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public class SynthesisTask implements Serializable {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*/
private String voiceId;

Expand Down Expand Up @@ -1223,7 +1223,7 @@ public SynthesisTask withTextType(TextType textType) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @return <p>
* Voice ID to use for the synthesis.
Expand All @@ -1247,7 +1247,7 @@ public String getVoiceId() {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param voiceId <p>
* Voice ID to use for the synthesis.
Expand All @@ -1274,7 +1274,7 @@ public void setVoiceId(String voiceId) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param voiceId <p>
* Voice ID to use for the synthesis.
Expand All @@ -1301,7 +1301,7 @@ public SynthesisTask withVoiceId(String voiceId) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param voiceId <p>
* Voice ID to use for the synthesis.
Expand All @@ -1328,7 +1328,7 @@ public void setVoiceId(VoiceId voiceId) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param voiceId <p>
* Voice ID to use for the synthesis.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public class SynthesizeSpeechRequest extends AmazonWebServiceRequest implements
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*/
private String voiceId;

Expand Down Expand Up @@ -1494,7 +1494,7 @@ public SynthesizeSpeechRequest withTextType(TextType textType) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @return <p>
* Voice ID to use for the synthesis. You can get a list of
Expand Down Expand Up @@ -1524,7 +1524,7 @@ public String getVoiceId() {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param voiceId <p>
* Voice ID to use for the synthesis. You can get a list of
Expand Down Expand Up @@ -1557,7 +1557,7 @@ public void setVoiceId(String voiceId) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param voiceId <p>
* Voice ID to use for the synthesis. You can get a list of
Expand Down Expand Up @@ -1590,7 +1590,7 @@ public SynthesizeSpeechRequest withVoiceId(String voiceId) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param voiceId <p>
* Voice ID to use for the synthesis. You can get a list of
Expand Down Expand Up @@ -1623,7 +1623,7 @@ public void setVoiceId(VoiceId voiceId) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param voiceId <p>
* Voice ID to use for the synthesis. You can get a list of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class Voice implements Serializable {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*/
private String id;

Expand Down Expand Up @@ -212,7 +212,7 @@ public Voice withGender(Gender gender) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @return <p>
* Amazon Polly assigned voice ID. This is the ID that you specify
Expand All @@ -238,7 +238,7 @@ public String getId() {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param id <p>
* Amazon Polly assigned voice ID. This is the ID that you
Expand Down Expand Up @@ -268,7 +268,7 @@ public void setId(String id) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param id <p>
* Amazon Polly assigned voice ID. This is the ID that you
Expand Down Expand Up @@ -298,7 +298,7 @@ public Voice withId(String id) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param id <p>
* Amazon Polly assigned voice ID. This is the ID that you
Expand Down Expand Up @@ -328,7 +328,7 @@ public void setId(VoiceId id) {
* 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
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro
*
* @param id <p>
* Amazon Polly assigned voice ID. This is the ID that you
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ public enum VoiceId {
Aria("Aria"),
Ayanda("Ayanda"),
Arlet("Arlet"),
Hannah("Hannah");
Hannah("Hannah"),
Arthur("Arthur"),
Daniel("Daniel"),
Liam("Liam"),
Pedro("Pedro");

private String value;

Expand Down Expand Up @@ -172,6 +176,10 @@ public String toString() {
enumMap.put("Ayanda", Ayanda);
enumMap.put("Arlet", Arlet);
enumMap.put("Hannah", Hannah);
enumMap.put("Arthur", Arthur);
enumMap.put("Daniel", Daniel);
enumMap.put("Liam", Liam);
enumMap.put("Pedro", Pedro);
}

/**
Expand Down