aws-sdk-polly 1.43.0 → 1.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-polly/client.rb +46 -43
- data/lib/aws-sdk-polly/types.rb +11 -11
- data/lib/aws-sdk-polly.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12b9a9907db4e085da5d30d6d2219dd5caae98a6573f5afec328ed764c60edb1
|
4
|
+
data.tar.gz: 5c39f01b4fd2ca3c6c3bf2943cea38d81af85769412358db28c13f21329d4b36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1177f4cacd7926b48d7bd62ad33b3537074d346dac23a70ef6c7d88a16c48bde1be567cffd0547de55c39149cc169ac1f575d4d23d7f822608c1bb73b3ec896c
|
7
|
+
data.tar.gz: 87b6a3715de8b4145f760b33e6e9c15ab8d81b26e1f371d1df4e9a3f84c7b40de9a95a74290e2057cccb56c3ef1b6aeb87fa88c60508336ef436ef83ed4b610a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
data/lib/aws-sdk-polly/client.rb
CHANGED
@@ -327,10 +327,10 @@ module Aws::Polly
|
|
327
327
|
|
328
328
|
# @!group API Operations
|
329
329
|
|
330
|
-
# Deletes the specified pronunciation lexicon stored in an
|
331
|
-
# lexicon which has been deleted is not available for
|
332
|
-
# nor is it possible to retrieve it using either the
|
333
|
-
# `ListLexicon` APIs.
|
330
|
+
# Deletes the specified pronunciation lexicon stored in an Amazon Web
|
331
|
+
# Services Region. A lexicon which has been deleted is not available for
|
332
|
+
# speech synthesis, nor is it possible to retrieve it using either the
|
333
|
+
# `GetLexicon` or `ListLexicon` APIs.
|
334
334
|
#
|
335
335
|
# For more information, see [Managing Lexicons][1].
|
336
336
|
#
|
@@ -461,7 +461,7 @@ module Aws::Polly
|
|
461
461
|
#
|
462
462
|
# resp = client.describe_voices({
|
463
463
|
# engine: "standard", # accepts standard, neural
|
464
|
-
# 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
|
464
|
+
# 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
|
465
465
|
# include_additional_language_codes: false,
|
466
466
|
# next_token: "NextToken",
|
467
467
|
# })
|
@@ -470,12 +470,12 @@ module Aws::Polly
|
|
470
470
|
#
|
471
471
|
# resp.voices #=> Array
|
472
472
|
# resp.voices[0].gender #=> String, one of "Female", "Male"
|
473
|
-
# 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"
|
474
|
-
# 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"
|
473
|
+
# 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"
|
474
|
+
# 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"
|
475
475
|
# resp.voices[0].language_name #=> String
|
476
476
|
# resp.voices[0].name #=> String
|
477
477
|
# resp.voices[0].additional_language_codes #=> Array
|
478
|
-
# 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"
|
478
|
+
# 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"
|
479
479
|
# resp.voices[0].supported_engines #=> Array
|
480
480
|
# resp.voices[0].supported_engines[0] #=> String, one of "standard", "neural"
|
481
481
|
# resp.next_token #=> String
|
@@ -490,7 +490,8 @@ module Aws::Polly
|
|
490
490
|
end
|
491
491
|
|
492
492
|
# Returns the content of the specified pronunciation lexicon stored in
|
493
|
-
# an
|
493
|
+
# an Amazon Web Services Region. For more information, see [Managing
|
494
|
+
# Lexicons][1].
|
494
495
|
#
|
495
496
|
#
|
496
497
|
#
|
@@ -540,7 +541,7 @@ module Aws::Polly
|
|
540
541
|
# resp.lexicon.content #=> String
|
541
542
|
# resp.lexicon.name #=> String
|
542
543
|
# resp.lexicon_attributes.alphabet #=> String
|
543
|
-
# resp.lexicon_attributes.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"
|
544
|
+
# resp.lexicon_attributes.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"
|
544
545
|
# resp.lexicon_attributes.last_modified #=> Time
|
545
546
|
# resp.lexicon_attributes.lexicon_arn #=> String
|
546
547
|
# resp.lexicon_attributes.lexemes_count #=> Integer
|
@@ -590,8 +591,8 @@ module Aws::Polly
|
|
590
591
|
# resp.synthesis_task.speech_mark_types #=> Array
|
591
592
|
# resp.synthesis_task.speech_mark_types[0] #=> String, one of "sentence", "ssml", "viseme", "word"
|
592
593
|
# resp.synthesis_task.text_type #=> String, one of "ssml", "text"
|
593
|
-
# 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"
|
594
|
-
# 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"
|
594
|
+
# 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"
|
595
|
+
# 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"
|
595
596
|
#
|
596
597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/GetSpeechSynthesisTask AWS API Documentation
|
597
598
|
#
|
@@ -602,8 +603,8 @@ module Aws::Polly
|
|
602
603
|
req.send_request(options)
|
603
604
|
end
|
604
605
|
|
605
|
-
# Returns a list of pronunciation lexicons stored in an
|
606
|
-
# more information, see [Managing Lexicons][1].
|
606
|
+
# Returns a list of pronunciation lexicons stored in an Amazon Web
|
607
|
+
# Services Region. For more information, see [Managing Lexicons][1].
|
607
608
|
#
|
608
609
|
#
|
609
610
|
#
|
@@ -655,7 +656,7 @@ module Aws::Polly
|
|
655
656
|
# resp.lexicons #=> Array
|
656
657
|
# resp.lexicons[0].name #=> String
|
657
658
|
# resp.lexicons[0].attributes.alphabet #=> String
|
658
|
-
# resp.lexicons[0].attributes.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"
|
659
|
+
# resp.lexicons[0].attributes.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"
|
659
660
|
# resp.lexicons[0].attributes.last_modified #=> Time
|
660
661
|
# resp.lexicons[0].attributes.lexicon_arn #=> String
|
661
662
|
# resp.lexicons[0].attributes.lexemes_count #=> Integer
|
@@ -719,8 +720,8 @@ module Aws::Polly
|
|
719
720
|
# resp.synthesis_tasks[0].speech_mark_types #=> Array
|
720
721
|
# resp.synthesis_tasks[0].speech_mark_types[0] #=> String, one of "sentence", "ssml", "viseme", "word"
|
721
722
|
# resp.synthesis_tasks[0].text_type #=> String, one of "ssml", "text"
|
722
|
-
# 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"
|
723
|
-
# 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"
|
723
|
+
# 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"
|
724
|
+
# 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"
|
724
725
|
#
|
725
726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/ListSpeechSynthesisTasks AWS API Documentation
|
726
727
|
#
|
@@ -731,11 +732,11 @@ module Aws::Polly
|
|
731
732
|
req.send_request(options)
|
732
733
|
end
|
733
734
|
|
734
|
-
# Stores a pronunciation lexicon in an
|
735
|
-
# same name already exists in the region, it is
|
736
|
-
# lexicon. Lexicon operations have eventual
|
737
|
-
# might take some time before the lexicon is
|
738
|
-
# SynthesizeSpeech operation.
|
735
|
+
# Stores a pronunciation lexicon in an Amazon Web Services Region. If a
|
736
|
+
# lexicon with the same name already exists in the region, it is
|
737
|
+
# overwritten by the new lexicon. Lexicon operations have eventual
|
738
|
+
# consistency, therefore, it might take some time before the lexicon is
|
739
|
+
# available to the SynthesizeSpeech operation.
|
739
740
|
#
|
740
741
|
# For more information, see [Managing Lexicons][1].
|
741
742
|
#
|
@@ -787,10 +788,12 @@ module Aws::Polly
|
|
787
788
|
# new `SpeechSynthesisTask`. This operation requires all the standard
|
788
789
|
# information needed for speech synthesis, plus the name of an Amazon S3
|
789
790
|
# bucket for the service to store the output of the synthesis task and
|
790
|
-
# two optional parameters (OutputS3KeyPrefix and SnsTopicArn). Once
|
791
|
-
# synthesis task is created, this operation will return a
|
792
|
-
# SpeechSynthesisTask object, which will include an identifier of this
|
793
|
-
# task as well as the current status.
|
791
|
+
# two optional parameters (`OutputS3KeyPrefix` and `SnsTopicArn`). Once
|
792
|
+
# the synthesis task is created, this operation will return a
|
793
|
+
# `SpeechSynthesisTask` object, which will include an identifier of this
|
794
|
+
# task as well as the current status. The `SpeechSynthesisTask` object
|
795
|
+
# is available for 72 hours after starting the asynchronous synthesis
|
796
|
+
# task.
|
794
797
|
#
|
795
798
|
# @option params [String] :engine
|
796
799
|
# Specifies the engine (`standard` or `neural`) for Amazon Polly to use
|
@@ -803,11 +806,11 @@ module Aws::Polly
|
|
803
806
|
# for either Indian English (en-IN) or Hindi (hi-IN).
|
804
807
|
#
|
805
808
|
# If a bilingual voice is used and no language code is specified, Amazon
|
806
|
-
# Polly
|
807
|
-
#
|
808
|
-
#
|
809
|
-
#
|
810
|
-
#
|
809
|
+
# Polly uses the default language of the bilingual voice. The default
|
810
|
+
# language for any voice is the one returned by the [DescribeVoices][1]
|
811
|
+
# operation for the `LanguageCode` parameter. For example, if no
|
812
|
+
# language code is specified, Aditi will use Indian English rather than
|
813
|
+
# Hindi.
|
811
814
|
#
|
812
815
|
#
|
813
816
|
#
|
@@ -865,7 +868,7 @@ module Aws::Polly
|
|
865
868
|
#
|
866
869
|
# resp = client.start_speech_synthesis_task({
|
867
870
|
# engine: "standard", # accepts standard, neural
|
868
|
-
# 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
|
871
|
+
# 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
|
869
872
|
# lexicon_names: ["LexiconName"],
|
870
873
|
# output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
|
871
874
|
# output_s3_bucket_name: "OutputS3BucketName", # required
|
@@ -875,7 +878,7 @@ module Aws::Polly
|
|
875
878
|
# speech_mark_types: ["sentence"], # accepts sentence, ssml, viseme, word
|
876
879
|
# text: "Text", # required
|
877
880
|
# text_type: "ssml", # accepts ssml, text
|
878
|
-
# 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
|
881
|
+
# 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
|
879
882
|
# })
|
880
883
|
#
|
881
884
|
# @example Response structure
|
@@ -895,8 +898,8 @@ module Aws::Polly
|
|
895
898
|
# resp.synthesis_task.speech_mark_types #=> Array
|
896
899
|
# resp.synthesis_task.speech_mark_types[0] #=> String, one of "sentence", "ssml", "viseme", "word"
|
897
900
|
# resp.synthesis_task.text_type #=> String, one of "ssml", "text"
|
898
|
-
# 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"
|
899
|
-
# 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"
|
901
|
+
# 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"
|
902
|
+
# 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"
|
900
903
|
#
|
901
904
|
# @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/StartSpeechSynthesisTask AWS API Documentation
|
902
905
|
#
|
@@ -953,11 +956,11 @@ module Aws::Polly
|
|
953
956
|
# for either Indian English (en-IN) or Hindi (hi-IN).
|
954
957
|
#
|
955
958
|
# If a bilingual voice is used and no language code is specified, Amazon
|
956
|
-
# Polly
|
957
|
-
#
|
958
|
-
#
|
959
|
-
#
|
960
|
-
#
|
959
|
+
# Polly uses the default language of the bilingual voice. The default
|
960
|
+
# language for any voice is the one returned by the [DescribeVoices][1]
|
961
|
+
# operation for the `LanguageCode` parameter. For example, if no
|
962
|
+
# language code is specified, Aditi will use Indian English rather than
|
963
|
+
# Hindi.
|
961
964
|
#
|
962
965
|
#
|
963
966
|
#
|
@@ -1047,14 +1050,14 @@ module Aws::Polly
|
|
1047
1050
|
#
|
1048
1051
|
# resp = client.synthesize_speech({
|
1049
1052
|
# engine: "standard", # accepts standard, neural
|
1050
|
-
# 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
|
1053
|
+
# 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
|
1051
1054
|
# lexicon_names: ["LexiconName"],
|
1052
1055
|
# output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
|
1053
1056
|
# sample_rate: "SampleRate",
|
1054
1057
|
# speech_mark_types: ["sentence"], # accepts sentence, ssml, viseme, word
|
1055
1058
|
# text: "Text", # required
|
1056
1059
|
# text_type: "ssml", # accepts ssml, text
|
1057
|
-
# 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
|
1060
|
+
# 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
|
1058
1061
|
# })
|
1059
1062
|
#
|
1060
1063
|
# @example Response structure
|
@@ -1085,7 +1088,7 @@ module Aws::Polly
|
|
1085
1088
|
params: params,
|
1086
1089
|
config: config)
|
1087
1090
|
context[:gem_name] = 'aws-sdk-polly'
|
1088
|
-
context[:gem_version] = '1.
|
1091
|
+
context[:gem_version] = '1.44.0'
|
1089
1092
|
Seahorse::Client::Request.new(handlers, context)
|
1090
1093
|
end
|
1091
1094
|
|
data/lib/aws-sdk-polly/types.rb
CHANGED
@@ -39,7 +39,7 @@ module Aws::Polly
|
|
39
39
|
#
|
40
40
|
# {
|
41
41
|
# engine: "standard", # accepts standard, neural
|
42
|
-
# 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
|
42
|
+
# 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
|
43
43
|
# include_additional_language_codes: false,
|
44
44
|
# next_token: "NextToken",
|
45
45
|
# }
|
@@ -634,7 +634,7 @@ module Aws::Polly
|
|
634
634
|
#
|
635
635
|
# {
|
636
636
|
# engine: "standard", # accepts standard, neural
|
637
|
-
# 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
|
637
|
+
# 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
|
638
638
|
# lexicon_names: ["LexiconName"],
|
639
639
|
# output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
|
640
640
|
# output_s3_bucket_name: "OutputS3BucketName", # required
|
@@ -644,7 +644,7 @@ module Aws::Polly
|
|
644
644
|
# speech_mark_types: ["sentence"], # accepts sentence, ssml, viseme, word
|
645
645
|
# text: "Text", # required
|
646
646
|
# text_type: "ssml", # accepts ssml, text
|
647
|
-
# 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
|
647
|
+
# 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
|
648
648
|
# }
|
649
649
|
#
|
650
650
|
# @!attribute [rw] engine
|
@@ -660,8 +660,8 @@ module Aws::Polly
|
|
660
660
|
# be used for either Indian English (en-IN) or Hindi (hi-IN).
|
661
661
|
#
|
662
662
|
# If a bilingual voice is used and no language code is specified,
|
663
|
-
# Amazon Polly
|
664
|
-
#
|
663
|
+
# Amazon Polly uses the default language of the bilingual voice. The
|
664
|
+
# default language for any voice is the one returned by the
|
665
665
|
# [DescribeVoices][1] operation for the `LanguageCode` parameter. For
|
666
666
|
# example, if no language code is specified, Aditi will use Indian
|
667
667
|
# English rather than Hindi.
|
@@ -839,8 +839,8 @@ module Aws::Polly
|
|
839
839
|
# either Indian English (en-IN) or Hindi (hi-IN).
|
840
840
|
#
|
841
841
|
# If a bilingual voice is used and no language code is specified,
|
842
|
-
# Amazon Polly
|
843
|
-
#
|
842
|
+
# Amazon Polly uses the default language of the bilingual voice. The
|
843
|
+
# default language for any voice is the one returned by the
|
844
844
|
# [DescribeVoices][1] operation for the `LanguageCode` parameter. For
|
845
845
|
# example, if no language code is specified, Aditi will use Indian
|
846
846
|
# English rather than Hindi.
|
@@ -890,14 +890,14 @@ module Aws::Polly
|
|
890
890
|
#
|
891
891
|
# {
|
892
892
|
# engine: "standard", # accepts standard, neural
|
893
|
-
# 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
|
893
|
+
# 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
|
894
894
|
# lexicon_names: ["LexiconName"],
|
895
895
|
# output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
|
896
896
|
# sample_rate: "SampleRate",
|
897
897
|
# speech_mark_types: ["sentence"], # accepts sentence, ssml, viseme, word
|
898
898
|
# text: "Text", # required
|
899
899
|
# text_type: "ssml", # accepts ssml, text
|
900
|
-
# 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
|
900
|
+
# 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
|
901
901
|
# }
|
902
902
|
#
|
903
903
|
# @!attribute [rw] engine
|
@@ -937,8 +937,8 @@ module Aws::Polly
|
|
937
937
|
# be used for either Indian English (en-IN) or Hindi (hi-IN).
|
938
938
|
#
|
939
939
|
# If a bilingual voice is used and no language code is specified,
|
940
|
-
# Amazon Polly
|
941
|
-
#
|
940
|
+
# Amazon Polly uses the default language of the bilingual voice. The
|
941
|
+
# default language for any voice is the one returned by the
|
942
942
|
# [DescribeVoices][1] operation for the `LanguageCode` parameter. For
|
943
943
|
# example, if no language code is specified, Aditi will use Indian
|
944
944
|
# English rather than Hindi.
|
data/lib/aws-sdk-polly.rb
CHANGED
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.
|
4
|
+
version: 1.44.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: 2021-
|
11
|
+
date: 2021-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|