aws-sdk-polly 1.76.0 → 1.78.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5af9fb1b91037b1556a3da95e78b5ff3a311e702b7159732b6e3f920ee6f4564
4
- data.tar.gz: 5649b455c22d4036ad0c72ce9f0d7a4ee2b855d3a23a180634c422bd66dc27d4
3
+ metadata.gz: 04414f6fc5eec776d0940088544960164ef40564fa4fe1c83073684a33a0b79c
4
+ data.tar.gz: '0991e0d3aeba7a07ad3a1445d09958c2ad333a9bfa060921b734248f8ab35f33'
5
5
  SHA512:
6
- metadata.gz: 9b066d8706d164c18552b3e43dd18ef4a4415d643af678e8de42188af5d6ffbf979d12cddca4bd5cf31d2d65a3a1d403ab4ede28ba6e3a24a465cce9bec58cc3
7
- data.tar.gz: ae6c5909f88f27314bee296b24854b296286c8121cd5e3cf255f1e067e7976c5e9986c35f01016b01592a786eee20af2772928653b64c5f7209350663ff7caf6
6
+ metadata.gz: 4ee7521245b7f1c9835107208074ec1327ca937155269556eba39e00ca7ad45d64dd8c5fa9dc8d92352acd954464be3ebba64d44237dec80d4516a857c8f4bb3
7
+ data.tar.gz: 15fcb0b34081df119440973298a12b4c76bc438297565a29267d687eb220fe09265ed5321ecd8e1e8c7b57e201917bb9478b81186918a590c36ec30d9774cf71
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.78.0 (2023-11-16)
5
+ ------------------
6
+
7
+ * Feature - Add new engine - long-form - dedicated for longer content, such as news articles, training materials, or marketing videos.
8
+
9
+ 1.77.0 (2023-11-06)
10
+ ------------------
11
+
12
+ * Feature - Amazon Polly adds new US English voices - Danielle and Gregory. Danielle and Gregory are available as Neural voices only.
13
+
4
14
  1.76.0 (2023-09-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.76.0
1
+ 1.78.0
@@ -455,8 +455,8 @@ module Aws::Polly
455
455
  # `polly:DescribeVoices` action.
456
456
  #
457
457
  # @option params [String] :engine
458
- # Specifies the engine (`standard` or `neural`) used by Amazon Polly
459
- # when processing input text for speech synthesis.
458
+ # Specifies the engine (`standard`, `neural` or `long-form`) used by
459
+ # Amazon Polly when processing input text for speech synthesis.
460
460
  #
461
461
  # @option params [String] :language_code
462
462
  # The language identification tag (ISO 639 code for the language
@@ -521,7 +521,7 @@ module Aws::Polly
521
521
  # @example Request syntax with placeholder values
522
522
  #
523
523
  # resp = client.describe_voices({
524
- # engine: "standard", # accepts standard, neural
524
+ # engine: "standard", # accepts standard, neural, long-form
525
525
  # language_code: "arb", # accepts 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, nl-BE, fr-BE
526
526
  # include_additional_language_codes: false,
527
527
  # next_token: "NextToken",
@@ -531,14 +531,14 @@ module Aws::Polly
531
531
  #
532
532
  # resp.voices #=> Array
533
533
  # resp.voices[0].gender #=> String, one of "Female", "Male"
534
- # resp.voices[0].id #=> String, one of "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", "Hiujin", "Laura", "Elin", "Ida", "Suvi", "Ola", "Hala", "Andres", "Sergio", "Remi", "Adriano", "Thiago", "Ruth", "Stephen", "Kazuha", "Tomoko", "Niamh", "Sofie", "Lisa", "Isabelle", "Zayd"
534
+ # resp.voices[0].id #=> String, one of "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", "Hiujin", "Laura", "Elin", "Ida", "Suvi", "Ola", "Hala", "Andres", "Sergio", "Remi", "Adriano", "Thiago", "Ruth", "Stephen", "Kazuha", "Tomoko", "Niamh", "Sofie", "Lisa", "Isabelle", "Zayd", "Danielle", "Gregory"
535
535
  # resp.voices[0].language_code #=> String, one of "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", "nl-BE", "fr-BE"
536
536
  # resp.voices[0].language_name #=> String
537
537
  # resp.voices[0].name #=> String
538
538
  # resp.voices[0].additional_language_codes #=> Array
539
539
  # resp.voices[0].additional_language_codes[0] #=> String, one of "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", "nl-BE", "fr-BE"
540
540
  # resp.voices[0].supported_engines #=> Array
541
- # resp.voices[0].supported_engines[0] #=> String, one of "standard", "neural"
541
+ # resp.voices[0].supported_engines[0] #=> String, one of "standard", "neural", "long-form"
542
542
  # resp.next_token #=> String
543
543
  #
544
544
  # @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/DescribeVoices AWS API Documentation
@@ -637,7 +637,7 @@ module Aws::Polly
637
637
  #
638
638
  # @example Response structure
639
639
  #
640
- # resp.synthesis_task.engine #=> String, one of "standard", "neural"
640
+ # resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form"
641
641
  # resp.synthesis_task.task_id #=> String
642
642
  # resp.synthesis_task.task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
643
643
  # resp.synthesis_task.task_status_reason #=> String
@@ -652,7 +652,7 @@ module Aws::Polly
652
652
  # resp.synthesis_task.speech_mark_types #=> Array
653
653
  # resp.synthesis_task.speech_mark_types[0] #=> String, one of "sentence", "ssml", "viseme", "word"
654
654
  # resp.synthesis_task.text_type #=> String, one of "ssml", "text"
655
- # resp.synthesis_task.voice_id #=> String, one of "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", "Hiujin", "Laura", "Elin", "Ida", "Suvi", "Ola", "Hala", "Andres", "Sergio", "Remi", "Adriano", "Thiago", "Ruth", "Stephen", "Kazuha", "Tomoko", "Niamh", "Sofie", "Lisa", "Isabelle", "Zayd"
655
+ # resp.synthesis_task.voice_id #=> String, one of "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", "Hiujin", "Laura", "Elin", "Ida", "Suvi", "Ola", "Hala", "Andres", "Sergio", "Remi", "Adriano", "Thiago", "Ruth", "Stephen", "Kazuha", "Tomoko", "Niamh", "Sofie", "Lisa", "Isabelle", "Zayd", "Danielle", "Gregory"
656
656
  # resp.synthesis_task.language_code #=> String, one of "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", "nl-BE", "fr-BE"
657
657
  #
658
658
  # @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/GetSpeechSynthesisTask AWS API Documentation
@@ -766,7 +766,7 @@ module Aws::Polly
766
766
  #
767
767
  # resp.next_token #=> String
768
768
  # resp.synthesis_tasks #=> Array
769
- # resp.synthesis_tasks[0].engine #=> String, one of "standard", "neural"
769
+ # resp.synthesis_tasks[0].engine #=> String, one of "standard", "neural", "long-form"
770
770
  # resp.synthesis_tasks[0].task_id #=> String
771
771
  # resp.synthesis_tasks[0].task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
772
772
  # resp.synthesis_tasks[0].task_status_reason #=> String
@@ -781,7 +781,7 @@ module Aws::Polly
781
781
  # resp.synthesis_tasks[0].speech_mark_types #=> Array
782
782
  # resp.synthesis_tasks[0].speech_mark_types[0] #=> String, one of "sentence", "ssml", "viseme", "word"
783
783
  # resp.synthesis_tasks[0].text_type #=> String, one of "ssml", "text"
784
- # resp.synthesis_tasks[0].voice_id #=> String, one of "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", "Hiujin", "Laura", "Elin", "Ida", "Suvi", "Ola", "Hala", "Andres", "Sergio", "Remi", "Adriano", "Thiago", "Ruth", "Stephen", "Kazuha", "Tomoko", "Niamh", "Sofie", "Lisa", "Isabelle", "Zayd"
784
+ # resp.synthesis_tasks[0].voice_id #=> String, one of "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", "Hiujin", "Laura", "Elin", "Ida", "Suvi", "Ola", "Hala", "Andres", "Sergio", "Remi", "Adriano", "Thiago", "Ruth", "Stephen", "Kazuha", "Tomoko", "Niamh", "Sofie", "Lisa", "Isabelle", "Zayd", "Danielle", "Gregory"
785
785
  # resp.synthesis_tasks[0].language_code #=> String, one of "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", "nl-BE", "fr-BE"
786
786
  #
787
787
  # @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/ListSpeechSynthesisTasks AWS API Documentation
@@ -857,9 +857,10 @@ module Aws::Polly
857
857
  # task.
858
858
  #
859
859
  # @option params [String] :engine
860
- # Specifies the engine (`standard` or `neural`) for Amazon Polly to use
861
- # when processing input text for speech synthesis. Using a voice that is
862
- # not supported for the engine selected will result in an error.
860
+ # Specifies the engine (`standard`, `neural` or `long-form`) for Amazon
861
+ # Polly to use when processing input text for speech synthesis. Using a
862
+ # voice that is not supported for the engine selected will result in an
863
+ # error.
863
864
  #
864
865
  # @option params [String] :language_code
865
866
  # Optional language code for the Speech Synthesis request. This is only
@@ -898,7 +899,8 @@ module Aws::Polly
898
899
  #
899
900
  # The valid values for mp3 and ogg\_vorbis are "8000", "16000",
900
901
  # "22050", and "24000". The default value for standard voices is
901
- # "22050". The default value for neural voices is "24000".
902
+ # "22050". The default value for neural voices is "24000". The
903
+ # default value for long-form voices is "24000".
902
904
  #
903
905
  # Valid values for pcm are "8000" and "16000" The default value is
904
906
  # "16000".
@@ -928,7 +930,7 @@ module Aws::Polly
928
930
  # @example Request syntax with placeholder values
929
931
  #
930
932
  # resp = client.start_speech_synthesis_task({
931
- # engine: "standard", # accepts standard, neural
933
+ # engine: "standard", # accepts standard, neural, long-form
932
934
  # language_code: "arb", # accepts 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, nl-BE, fr-BE
933
935
  # lexicon_names: ["LexiconName"],
934
936
  # output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
@@ -939,12 +941,12 @@ module Aws::Polly
939
941
  # speech_mark_types: ["sentence"], # accepts sentence, ssml, viseme, word
940
942
  # text: "Text", # required
941
943
  # text_type: "ssml", # accepts ssml, text
942
- # voice_id: "Aditi", # required, accepts 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, Hiujin, Laura, Elin, Ida, Suvi, Ola, Hala, Andres, Sergio, Remi, Adriano, Thiago, Ruth, Stephen, Kazuha, Tomoko, Niamh, Sofie, Lisa, Isabelle, Zayd
944
+ # voice_id: "Aditi", # required, accepts 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, Hiujin, Laura, Elin, Ida, Suvi, Ola, Hala, Andres, Sergio, Remi, Adriano, Thiago, Ruth, Stephen, Kazuha, Tomoko, Niamh, Sofie, Lisa, Isabelle, Zayd, Danielle, Gregory
943
945
  # })
944
946
  #
945
947
  # @example Response structure
946
948
  #
947
- # resp.synthesis_task.engine #=> String, one of "standard", "neural"
949
+ # resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form"
948
950
  # resp.synthesis_task.task_id #=> String
949
951
  # resp.synthesis_task.task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
950
952
  # resp.synthesis_task.task_status_reason #=> String
@@ -959,7 +961,7 @@ module Aws::Polly
959
961
  # resp.synthesis_task.speech_mark_types #=> Array
960
962
  # resp.synthesis_task.speech_mark_types[0] #=> String, one of "sentence", "ssml", "viseme", "word"
961
963
  # resp.synthesis_task.text_type #=> String, one of "ssml", "text"
962
- # resp.synthesis_task.voice_id #=> String, one of "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", "Hiujin", "Laura", "Elin", "Ida", "Suvi", "Ola", "Hala", "Andres", "Sergio", "Remi", "Adriano", "Thiago", "Ruth", "Stephen", "Kazuha", "Tomoko", "Niamh", "Sofie", "Lisa", "Isabelle", "Zayd"
964
+ # resp.synthesis_task.voice_id #=> String, one of "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", "Hiujin", "Laura", "Elin", "Ida", "Suvi", "Ola", "Hala", "Andres", "Sergio", "Remi", "Adriano", "Thiago", "Ruth", "Stephen", "Kazuha", "Tomoko", "Niamh", "Sofie", "Lisa", "Isabelle", "Zayd", "Danielle", "Gregory"
963
965
  # resp.synthesis_task.language_code #=> String, one of "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", "nl-BE", "fr-BE"
964
966
  #
965
967
  # @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/StartSpeechSynthesisTask AWS API Documentation
@@ -982,11 +984,10 @@ module Aws::Polly
982
984
  # [1]: https://docs.aws.amazon.com/polly/latest/dg/how-text-to-speech-works.html
983
985
  #
984
986
  # @option params [String] :engine
985
- # Specifies the engine (`standard` or `neural`) for Amazon Polly to use
986
- # when processing input text for speech synthesis. For information on
987
- # Amazon Polly voices and which voices are available in standard-only,
988
- # NTTS-only, and both standard and NTTS formats, see [Available
989
- # Voices][1].
987
+ # Specifies the engine (`standard`, `neural` or `long-form`) for Amazon
988
+ # Polly to use when processing input text for speech synthesis. For
989
+ # information on Amazon Polly voices and which voices are available for
990
+ # each engine, see [Available Voices][1].
990
991
  #
991
992
  # **NTTS-only voices**
992
993
  #
@@ -994,9 +995,16 @@ module Aws::Polly
994
995
  # required and must be set to `neural`. If the engine is not specified,
995
996
  # or is set to `standard`, this will result in an error.
996
997
  #
998
+ # **long-form-only voices**
999
+ #
1000
+ # When using long-form-only voices such as Danielle (en-US), this
1001
+ # parameter is required and must be set to `long-form`. If the engine is
1002
+ # not specified, or is set to `standard` or `neural`, this will result
1003
+ # in an error.
1004
+ #
997
1005
  # Type: String
998
1006
  #
999
- # Valid Values: `standard` \| `neural`
1007
+ # Valid Values: `standard` \| `neural` \| `long-form`
1000
1008
  #
1001
1009
  # Required: Yes
1002
1010
  #
@@ -1050,7 +1058,8 @@ module Aws::Polly
1050
1058
  #
1051
1059
  # The valid values for mp3 and ogg\_vorbis are "8000", "16000",
1052
1060
  # "22050", and "24000". The default value for standard voices is
1053
- # "22050". The default value for neural voices is "24000".
1061
+ # "22050". The default value for neural voices is "24000". The
1062
+ # default value for long-form voices is "24000".
1054
1063
  #
1055
1064
  # Valid values for pcm are "8000" and "16000" The default value is
1056
1065
  # "16000".
@@ -1110,7 +1119,7 @@ module Aws::Polly
1110
1119
  # @example Request syntax with placeholder values
1111
1120
  #
1112
1121
  # resp = client.synthesize_speech({
1113
- # engine: "standard", # accepts standard, neural
1122
+ # engine: "standard", # accepts standard, neural, long-form
1114
1123
  # language_code: "arb", # accepts 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, nl-BE, fr-BE
1115
1124
  # lexicon_names: ["LexiconName"],
1116
1125
  # output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
@@ -1118,7 +1127,7 @@ module Aws::Polly
1118
1127
  # speech_mark_types: ["sentence"], # accepts sentence, ssml, viseme, word
1119
1128
  # text: "Text", # required
1120
1129
  # text_type: "ssml", # accepts ssml, text
1121
- # voice_id: "Aditi", # required, accepts 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, Hiujin, Laura, Elin, Ida, Suvi, Ola, Hala, Andres, Sergio, Remi, Adriano, Thiago, Ruth, Stephen, Kazuha, Tomoko, Niamh, Sofie, Lisa, Isabelle, Zayd
1130
+ # voice_id: "Aditi", # required, accepts 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, Hiujin, Laura, Elin, Ida, Suvi, Ola, Hala, Andres, Sergio, Remi, Adriano, Thiago, Ruth, Stephen, Kazuha, Tomoko, Niamh, Sofie, Lisa, Isabelle, Zayd, Danielle, Gregory
1122
1131
  # })
1123
1132
  #
1124
1133
  # @example Response structure
@@ -1149,7 +1158,7 @@ module Aws::Polly
1149
1158
  params: params,
1150
1159
  config: config)
1151
1160
  context[:gem_name] = 'aws-sdk-polly'
1152
- context[:gem_version] = '1.76.0'
1161
+ context[:gem_version] = '1.78.0'
1153
1162
  Seahorse::Client::Request.new(handlers, context)
1154
1163
  end
1155
1164
 
@@ -32,7 +32,7 @@ module Aws::Polly
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://polly-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -28,8 +28,8 @@ module Aws::Polly
28
28
  class DeleteLexiconOutput < Aws::EmptyStructure; end
29
29
 
30
30
  # @!attribute [rw] engine
31
- # Specifies the engine (`standard` or `neural`) used by Amazon Polly
32
- # when processing input text for speech synthesis.
31
+ # Specifies the engine (`standard`, `neural` or `long-form`) used by
32
+ # Amazon Polly when processing input text for speech synthesis.
33
33
  # @return [String]
34
34
  #
35
35
  # @!attribute [rw] language_code
@@ -575,10 +575,10 @@ module Aws::Polly
575
575
  end
576
576
 
577
577
  # @!attribute [rw] engine
578
- # Specifies the engine (`standard` or `neural`) for Amazon Polly to
579
- # use when processing input text for speech synthesis. Using a voice
580
- # that is not supported for the engine selected will result in an
581
- # error.
578
+ # Specifies the engine (`standard`, `neural` or `long-form`) for
579
+ # Amazon Polly to use when processing input text for speech synthesis.
580
+ # Using a voice that is not supported for the engine selected will
581
+ # result in an error.
582
582
  # @return [String]
583
583
  #
584
584
  # @!attribute [rw] language_code
@@ -623,7 +623,8 @@ module Aws::Polly
623
623
  #
624
624
  # The valid values for mp3 and ogg\_vorbis are "8000", "16000",
625
625
  # "22050", and "24000". The default value for standard voices is
626
- # "22050". The default value for neural voices is "24000".
626
+ # "22050". The default value for neural voices is "24000". The
627
+ # default value for long-form voices is "24000".
627
628
  #
628
629
  # Valid values for pcm are "8000" and "16000" The default value is
629
630
  # "16000".
@@ -688,10 +689,10 @@ module Aws::Polly
688
689
  # synthesis task.
689
690
  #
690
691
  # @!attribute [rw] engine
691
- # Specifies the engine (`standard` or `neural`) for Amazon Polly to
692
- # use when processing input text for speech synthesis. Using a voice
693
- # that is not supported for the engine selected will result in an
694
- # error.
692
+ # Specifies the engine (`standard`, `neural` or `long-form`) for
693
+ # Amazon Polly to use when processing input text for speech synthesis.
694
+ # Using a voice that is not supported for the engine selected will
695
+ # result in an error.
695
696
  # @return [String]
696
697
  #
697
698
  # @!attribute [rw] task_id
@@ -741,7 +742,8 @@ module Aws::Polly
741
742
  #
742
743
  # The valid values for mp3 and ogg\_vorbis are "8000", "16000",
743
744
  # "22050", and "24000". The default value for standard voices is
744
- # "22050". The default value for neural voices is "24000".
745
+ # "22050". The default value for neural voices is "24000". The
746
+ # default value for long-form voices is "24000".
745
747
  #
746
748
  # Valid values for pcm are "8000" and "16000" The default value is
747
749
  # "16000".
@@ -813,11 +815,10 @@ module Aws::Polly
813
815
  end
814
816
 
815
817
  # @!attribute [rw] engine
816
- # Specifies the engine (`standard` or `neural`) for Amazon Polly to
817
- # use when processing input text for speech synthesis. For information
818
- # on Amazon Polly voices and which voices are available in
819
- # standard-only, NTTS-only, and both standard and NTTS formats, see
820
- # [Available Voices][1].
818
+ # Specifies the engine (`standard`, `neural` or `long-form`) for
819
+ # Amazon Polly to use when processing input text for speech synthesis.
820
+ # For information on Amazon Polly voices and which voices are
821
+ # available for each engine, see [Available Voices][1].
821
822
  #
822
823
  # **NTTS-only voices**
823
824
  #
@@ -825,9 +826,16 @@ module Aws::Polly
825
826
  # required and must be set to `neural`. If the engine is not
826
827
  # specified, or is set to `standard`, this will result in an error.
827
828
  #
829
+ # **long-form-only voices**
830
+ #
831
+ # When using long-form-only voices such as Danielle (en-US), this
832
+ # parameter is required and must be set to `long-form`. If the engine
833
+ # is not specified, or is set to `standard` or `neural`, this will
834
+ # result in an error.
835
+ #
828
836
  # Type: String
829
837
  #
830
- # Valid Values: `standard` \| `neural`
838
+ # Valid Values: `standard` \| `neural` \| `long-form`
831
839
  #
832
840
  # Required: Yes
833
841
  #
@@ -885,7 +893,8 @@ module Aws::Polly
885
893
  #
886
894
  # The valid values for mp3 and ogg\_vorbis are "8000", "16000",
887
895
  # "22050", and "24000". The default value for standard voices is
888
- # "22050". The default value for neural voices is "24000".
896
+ # "22050". The default value for neural voices is "24000". The
897
+ # default value for long-form voices is "24000".
889
898
  #
890
899
  # Valid values for pcm are "8000" and "16000" The default value is
891
900
  # "16000".
@@ -1056,8 +1065,8 @@ module Aws::Polly
1056
1065
  # @return [Array<String>]
1057
1066
  #
1058
1067
  # @!attribute [rw] supported_engines
1059
- # Specifies which engines (`standard` or `neural`) that are supported
1060
- # by a given voice.
1068
+ # Specifies which engines (`standard`, `neural` or `long-form`) are
1069
+ # supported by a given voice.
1061
1070
  # @return [Array<String>]
1062
1071
  #
1063
1072
  # @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/Voice AWS API Documentation
data/lib/aws-sdk-polly.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-polly/customizations'
52
52
  # @!group service
53
53
  module Aws::Polly
54
54
 
55
- GEM_VERSION = '1.76.0'
55
+ GEM_VERSION = '1.78.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-polly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.76.0
4
+ version: 1.78.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core