Skip to content

Commit

Permalink
feat(aws-android-sdk-polly): update models to latest (#3374)
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Roach <tjroach@amazon.com>
  • Loading branch information
awsmobilesdk and tylerjroach authored Aug 11, 2023
1 parent 835fe08 commit 96c384c
Show file tree
Hide file tree
Showing 8 changed files with 106 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public class DescribeVoicesRequest extends AmazonWebServiceRequest implements Se
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*/
private String languageCode;

Expand Down Expand Up @@ -220,7 +221,8 @@ public DescribeVoicesRequest withEngine(Engine engine) {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @return <p>
* The language identification tag (ISO 639 code for the language
Expand All @@ -245,7 +247,8 @@ public String getLanguageCode() {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @param languageCode <p>
* The language identification tag (ISO 639 code for the language
Expand Down Expand Up @@ -273,7 +276,8 @@ public void setLanguageCode(String languageCode) {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @param languageCode <p>
* The language identification tag (ISO 639 code for the language
Expand Down Expand Up @@ -301,7 +305,8 @@ public DescribeVoicesRequest withLanguageCode(String languageCode) {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @param languageCode <p>
* The language identification tag (ISO 639 code for the language
Expand Down Expand Up @@ -329,7 +334,8 @@ public void setLanguageCode(LanguageCode languageCode) {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @param languageCode <p>
* The language identification tag (ISO 639 code for the language
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ public enum LanguageCode {
YueCN("yue-CN"),
ArAE("ar-AE"),
FiFI("fi-FI"),
EnIE("en-IE");
EnIE("en-IE"),
NlBE("nl-BE"),
FrBE("fr-BE");

private String value;

Expand Down Expand Up @@ -112,6 +114,8 @@ public String toString() {
enumMap.put("ar-AE", ArAE);
enumMap.put("fi-FI", FiFI);
enumMap.put("en-IE", EnIE);
enumMap.put("nl-BE", NlBE);
enumMap.put("fr-BE", FrBE);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public class LexiconAttributes implements Serializable {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*/
private String languageCode;

Expand Down Expand Up @@ -139,7 +140,8 @@ public LexiconAttributes withAlphabet(String alphabet) {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @return <p>
* Language code that the lexicon applies to. A lexicon with a
Expand All @@ -163,7 +165,8 @@ public String getLanguageCode() {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @param languageCode <p>
* Language code that the lexicon applies to. A lexicon with a
Expand All @@ -190,7 +193,8 @@ public void setLanguageCode(String languageCode) {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @param languageCode <p>
* Language code that the lexicon applies to. A lexicon with a
Expand All @@ -217,7 +221,8 @@ public LexiconAttributes withLanguageCode(String languageCode) {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @param languageCode <p>
* Language code that the lexicon applies to. A lexicon with a
Expand All @@ -244,7 +249,8 @@ public void setLanguageCode(LanguageCode languageCode) {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @param languageCode <p>
* Language code that the lexicon applies to. A lexicon with a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ public class StartSpeechSynthesisTaskRequest extends AmazonWebServiceRequest imp
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*/
private String languageCode;

Expand Down Expand Up @@ -181,7 +182,7 @@ public class StartSpeechSynthesisTaskRequest extends AmazonWebServiceRequest imp
* Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu, Aria,
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro, Kajal, Hiujin, Laura,
* Elin, Ida, Suvi, Ola, Hala, Andres, Sergio, Remi, Adriano, Thiago, Ruth,
* Stephen, Kazuha, Tomoko, Niamh, Sofie
* Stephen, Kazuha, Tomoko, Niamh, Sofie, Lisa, Isabelle
*/
private String voiceId;

Expand Down Expand Up @@ -332,7 +333,8 @@ public StartSpeechSynthesisTaskRequest withEngine(Engine engine) {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @return <p>
* Optional language code for the Speech Synthesis request. This is
Expand Down Expand Up @@ -375,7 +377,8 @@ public String getLanguageCode() {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @param languageCode <p>
* Optional language code for the Speech Synthesis request. This
Expand Down Expand Up @@ -423,7 +426,8 @@ public void setLanguageCode(String languageCode) {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @param languageCode <p>
* Optional language code for the Speech Synthesis request. This
Expand Down Expand Up @@ -471,7 +475,8 @@ public StartSpeechSynthesisTaskRequest withLanguageCode(String languageCode) {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @param languageCode <p>
* Optional language code for the Speech Synthesis request. This
Expand Down Expand Up @@ -519,7 +524,8 @@ public void setLanguageCode(LanguageCode languageCode) {
* <b>Allowed Values: </b>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, yue-CN, ar-AE, fi-FI, en-IE
* sv-SE, tr-TR, en-NZ, en-ZA, ca-ES, de-AT, yue-CN, ar-AE, fi-FI, en-IE,
* nl-BE, fr-BE
*
* @param languageCode <p>
* Optional language code for the Speech Synthesis request. This
Expand Down Expand Up @@ -1274,7 +1280,7 @@ public StartSpeechSynthesisTaskRequest withTextType(TextType textType) {
* Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu, Aria,
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro, Kajal, Hiujin, Laura,
* Elin, Ida, Suvi, Ola, Hala, Andres, Sergio, Remi, Adriano, Thiago, Ruth,
* Stephen, Kazuha, Tomoko, Niamh, Sofie
* Stephen, Kazuha, Tomoko, Niamh, Sofie, Lisa, Isabelle
*
* @return <p>
* Voice ID to use for the synthesis.
Expand All @@ -1300,7 +1306,7 @@ public String getVoiceId() {
* Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu, Aria,
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro, Kajal, Hiujin, Laura,
* Elin, Ida, Suvi, Ola, Hala, Andres, Sergio, Remi, Adriano, Thiago, Ruth,
* Stephen, Kazuha, Tomoko, Niamh, Sofie
* Stephen, Kazuha, Tomoko, Niamh, Sofie, Lisa, Isabelle
*
* @param voiceId <p>
* Voice ID to use for the synthesis.
Expand Down Expand Up @@ -1329,7 +1335,7 @@ public void setVoiceId(String voiceId) {
* Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu, Aria,
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro, Kajal, Hiujin, Laura,
* Elin, Ida, Suvi, Ola, Hala, Andres, Sergio, Remi, Adriano, Thiago, Ruth,
* Stephen, Kazuha, Tomoko, Niamh, Sofie
* Stephen, Kazuha, Tomoko, Niamh, Sofie, Lisa, Isabelle
*
* @param voiceId <p>
* Voice ID to use for the synthesis.
Expand Down Expand Up @@ -1358,7 +1364,7 @@ public StartSpeechSynthesisTaskRequest withVoiceId(String voiceId) {
* Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu, Aria,
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro, Kajal, Hiujin, Laura,
* Elin, Ida, Suvi, Ola, Hala, Andres, Sergio, Remi, Adriano, Thiago, Ruth,
* Stephen, Kazuha, Tomoko, Niamh, Sofie
* Stephen, Kazuha, Tomoko, Niamh, Sofie, Lisa, Isabelle
*
* @param voiceId <p>
* Voice ID to use for the synthesis.
Expand Down Expand Up @@ -1387,7 +1393,7 @@ public void setVoiceId(VoiceId voiceId) {
* Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu, Aria,
* Ayanda, Arlet, Hannah, Arthur, Daniel, Liam, Pedro, Kajal, Hiujin, Laura,
* Elin, Ida, Suvi, Ola, Hala, Andres, Sergio, Remi, Adriano, Thiago, Ruth,
* Stephen, Kazuha, Tomoko, Niamh, Sofie
* Stephen, Kazuha, Tomoko, Niamh, Sofie, Lisa, Isabelle
*
* @param voiceId <p>
* Voice ID to use for the synthesis.
Expand Down
Loading

0 comments on commit 96c384c

Please sign in to comment.