aws-sdk-polly 1.83.0 → 1.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-polly/client.rb +31 -43
- data/lib/aws-sdk-polly/types.rb +28 -40
- data/lib/aws-sdk-polly.rb +1 -1
- data/sig/client.rbs +3 -3
- data/sig/types.rbs +5 -5
- 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: 03a47437b68689dd397c05322dea1ce5cd95fe4700342313f96515980bebdf80
|
4
|
+
data.tar.gz: b307ad094238361de8e7c6e758c1b1e97c29f012ac8e9014fb06ff5531f19048
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5dfb4269c1898ae86d0b4281c6a809aab3090f4767dca1c042f28db0689485f907cdfe0e0b4c2c25a70493347f2606184123a97a8627e32518bfd12b6d3211b
|
7
|
+
data.tar.gz: 6fcb51adc5105a29e2fc1a0a8ad99ce890adaffc6bee23e44b7132b6fb1785e58dc1871e050a832d2b9a15771c075d8233d7bbf223c22b0d9492f9a2bb5d8213
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.85.0 (2024-05-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.84.0 (2024-05-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add new engine - generative - that builds the most expressive conversational voices.
|
13
|
+
|
4
14
|
1.83.0 (2024-04-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.85.0
|
data/lib/aws-sdk-polly/client.rb
CHANGED
@@ -301,8 +301,9 @@ module Aws::Polly
|
|
301
301
|
#
|
302
302
|
# @option options [String] :sdk_ua_app_id
|
303
303
|
# A unique and opaque application ID that is appended to the
|
304
|
-
# User-Agent header as app
|
305
|
-
# maximum length of 50.
|
304
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
305
|
+
# maximum length of 50. This variable is sourced from environment
|
306
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
306
307
|
#
|
307
308
|
# @option options [String] :secret_access_key
|
308
309
|
#
|
@@ -479,8 +480,9 @@ module Aws::Polly
|
|
479
480
|
# `polly:DescribeVoices` action.
|
480
481
|
#
|
481
482
|
# @option params [String] :engine
|
482
|
-
# Specifies the engine (`standard`, `neural
|
483
|
-
# Amazon Polly when processing input text for
|
483
|
+
# Specifies the engine (`standard`, `neural`, `long-form` or
|
484
|
+
# `generative`) used by Amazon Polly when processing input text for
|
485
|
+
# speech synthesis.
|
484
486
|
#
|
485
487
|
# @option params [String] :language_code
|
486
488
|
# The language identification tag (ISO 639 code for the language
|
@@ -545,7 +547,7 @@ module Aws::Polly
|
|
545
547
|
# @example Request syntax with placeholder values
|
546
548
|
#
|
547
549
|
# resp = client.describe_voices({
|
548
|
-
# engine: "standard", # accepts standard, neural, long-form
|
550
|
+
# engine: "standard", # accepts standard, neural, long-form, generative
|
549
551
|
# 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
|
550
552
|
# include_additional_language_codes: false,
|
551
553
|
# next_token: "NextToken",
|
@@ -562,7 +564,7 @@ module Aws::Polly
|
|
562
564
|
# resp.voices[0].additional_language_codes #=> Array
|
563
565
|
# 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"
|
564
566
|
# resp.voices[0].supported_engines #=> Array
|
565
|
-
# resp.voices[0].supported_engines[0] #=> String, one of "standard", "neural", "long-form"
|
567
|
+
# resp.voices[0].supported_engines[0] #=> String, one of "standard", "neural", "long-form", "generative"
|
566
568
|
# resp.next_token #=> String
|
567
569
|
#
|
568
570
|
# @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/DescribeVoices AWS API Documentation
|
@@ -661,7 +663,7 @@ module Aws::Polly
|
|
661
663
|
#
|
662
664
|
# @example Response structure
|
663
665
|
#
|
664
|
-
# resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form"
|
666
|
+
# resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form", "generative"
|
665
667
|
# resp.synthesis_task.task_id #=> String
|
666
668
|
# resp.synthesis_task.task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
|
667
669
|
# resp.synthesis_task.task_status_reason #=> String
|
@@ -790,7 +792,7 @@ module Aws::Polly
|
|
790
792
|
#
|
791
793
|
# resp.next_token #=> String
|
792
794
|
# resp.synthesis_tasks #=> Array
|
793
|
-
# resp.synthesis_tasks[0].engine #=> String, one of "standard", "neural", "long-form"
|
795
|
+
# resp.synthesis_tasks[0].engine #=> String, one of "standard", "neural", "long-form", "generative"
|
794
796
|
# resp.synthesis_tasks[0].task_id #=> String
|
795
797
|
# resp.synthesis_tasks[0].task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
|
796
798
|
# resp.synthesis_tasks[0].task_status_reason #=> String
|
@@ -881,10 +883,10 @@ module Aws::Polly
|
|
881
883
|
# task.
|
882
884
|
#
|
883
885
|
# @option params [String] :engine
|
884
|
-
# Specifies the engine (`standard`, `neural
|
885
|
-
# Polly to use when processing input text for
|
886
|
-
# voice that is not supported for the engine
|
887
|
-
# error.
|
886
|
+
# Specifies the engine (`standard`, `neural`, `long-form` or
|
887
|
+
# `generative`) for Amazon Polly to use when processing input text for
|
888
|
+
# speech synthesis. Using a voice that is not supported for the engine
|
889
|
+
# selected will result in an error.
|
888
890
|
#
|
889
891
|
# @option params [String] :language_code
|
890
892
|
# Optional language code for the Speech Synthesis request. This is only
|
@@ -924,7 +926,8 @@ module Aws::Polly
|
|
924
926
|
# The valid values for mp3 and ogg\_vorbis are "8000", "16000",
|
925
927
|
# "22050", and "24000". The default value for standard voices is
|
926
928
|
# "22050". The default value for neural voices is "24000". The
|
927
|
-
# default value for long-form voices is "24000".
|
929
|
+
# default value for long-form voices is "24000". The default value for
|
930
|
+
# generative voices is "24000".
|
928
931
|
#
|
929
932
|
# Valid values for pcm are "8000" and "16000" The default value is
|
930
933
|
# "16000".
|
@@ -954,7 +957,7 @@ module Aws::Polly
|
|
954
957
|
# @example Request syntax with placeholder values
|
955
958
|
#
|
956
959
|
# resp = client.start_speech_synthesis_task({
|
957
|
-
# engine: "standard", # accepts standard, neural, long-form
|
960
|
+
# engine: "standard", # accepts standard, neural, long-form, generative
|
958
961
|
# 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
|
959
962
|
# lexicon_names: ["LexiconName"],
|
960
963
|
# output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
|
@@ -970,7 +973,7 @@ module Aws::Polly
|
|
970
973
|
#
|
971
974
|
# @example Response structure
|
972
975
|
#
|
973
|
-
# resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form"
|
976
|
+
# resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form", "generative"
|
974
977
|
# resp.synthesis_task.task_id #=> String
|
975
978
|
# resp.synthesis_task.task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
|
976
979
|
# resp.synthesis_task.task_status_reason #=> String
|
@@ -1008,37 +1011,21 @@ module Aws::Polly
|
|
1008
1011
|
# [1]: https://docs.aws.amazon.com/polly/latest/dg/how-text-to-speech-works.html
|
1009
1012
|
#
|
1010
1013
|
# @option params [String] :engine
|
1011
|
-
# Specifies the engine (`standard`, `neural
|
1012
|
-
# Polly to use when processing input text for
|
1013
|
-
#
|
1014
|
-
#
|
1015
|
-
#
|
1016
|
-
#
|
1017
|
-
#
|
1018
|
-
#
|
1019
|
-
# required and must be set to `neural`. If the engine is not specified,
|
1020
|
-
# or is set to `standard`, this will result in an error.
|
1021
|
-
#
|
1022
|
-
# **long-form-only voices**
|
1023
|
-
#
|
1024
|
-
# When using long-form-only voices such as Danielle (en-US), this
|
1025
|
-
# parameter is required and must be set to `long-form`. If the engine is
|
1026
|
-
# not specified, or is set to `standard` or `neural`, this will result
|
1027
|
-
# in an error.
|
1014
|
+
# Specifies the engine (`standard`, `neural`, `long-form`, or
|
1015
|
+
# `generative`) for Amazon Polly to use when processing input text for
|
1016
|
+
# speech synthesis. Provide an engine that is supported by the voice you
|
1017
|
+
# select. If you don't provide an engine, the standard engine is
|
1018
|
+
# selected by default. If a chosen voice isn't supported by the
|
1019
|
+
# standard engine, this will result in an error. For information on
|
1020
|
+
# Amazon Polly voices and which voices are available for each engine,
|
1021
|
+
# see [Available Voices][1].
|
1028
1022
|
#
|
1029
1023
|
# Type: String
|
1030
1024
|
#
|
1031
|
-
# Valid Values: `standard` \| `neural` \| `long-form`
|
1025
|
+
# Valid Values: `standard` \| `neural` \| `long-form` \| `generative`
|
1032
1026
|
#
|
1033
1027
|
# Required: Yes
|
1034
1028
|
#
|
1035
|
-
# **Standard voices**
|
1036
|
-
#
|
1037
|
-
# For standard voices, this is not required; the engine parameter
|
1038
|
-
# defaults to `standard`. If the engine is not specified, or is set to
|
1039
|
-
# `standard` and an NTTS-only voice is selected, this will result in an
|
1040
|
-
# error.
|
1041
|
-
#
|
1042
1029
|
#
|
1043
1030
|
#
|
1044
1031
|
# [1]: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html
|
@@ -1083,7 +1070,8 @@ module Aws::Polly
|
|
1083
1070
|
# The valid values for mp3 and ogg\_vorbis are "8000", "16000",
|
1084
1071
|
# "22050", and "24000". The default value for standard voices is
|
1085
1072
|
# "22050". The default value for neural voices is "24000". The
|
1086
|
-
# default value for long-form voices is "24000".
|
1073
|
+
# default value for long-form voices is "24000". The default value for
|
1074
|
+
# generative voices is "24000".
|
1087
1075
|
#
|
1088
1076
|
# Valid values for pcm are "8000" and "16000" The default value is
|
1089
1077
|
# "16000".
|
@@ -1143,7 +1131,7 @@ module Aws::Polly
|
|
1143
1131
|
# @example Request syntax with placeholder values
|
1144
1132
|
#
|
1145
1133
|
# resp = client.synthesize_speech({
|
1146
|
-
# engine: "standard", # accepts standard, neural, long-form
|
1134
|
+
# engine: "standard", # accepts standard, neural, long-form, generative
|
1147
1135
|
# 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
|
1148
1136
|
# lexicon_names: ["LexiconName"],
|
1149
1137
|
# output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
|
@@ -1182,7 +1170,7 @@ module Aws::Polly
|
|
1182
1170
|
params: params,
|
1183
1171
|
config: config)
|
1184
1172
|
context[:gem_name] = 'aws-sdk-polly'
|
1185
|
-
context[:gem_version] = '1.
|
1173
|
+
context[:gem_version] = '1.85.0'
|
1186
1174
|
Seahorse::Client::Request.new(handlers, context)
|
1187
1175
|
end
|
1188
1176
|
|
data/lib/aws-sdk-polly/types.rb
CHANGED
@@ -28,8 +28,9 @@ module Aws::Polly
|
|
28
28
|
class DeleteLexiconOutput < Aws::EmptyStructure; end
|
29
29
|
|
30
30
|
# @!attribute [rw] engine
|
31
|
-
# Specifies the engine (`standard`, `neural
|
32
|
-
# Amazon Polly when processing input text for
|
31
|
+
# Specifies the engine (`standard`, `neural`, `long-form` or
|
32
|
+
# `generative`) used by Amazon Polly when processing input text for
|
33
|
+
# speech synthesis.
|
33
34
|
# @return [String]
|
34
35
|
#
|
35
36
|
# @!attribute [rw] language_code
|
@@ -575,10 +576,10 @@ module Aws::Polly
|
|
575
576
|
end
|
576
577
|
|
577
578
|
# @!attribute [rw] engine
|
578
|
-
# Specifies the engine (`standard`, `neural
|
579
|
-
# Amazon Polly to use when processing input text for
|
580
|
-
# Using a voice that is not supported for the engine
|
581
|
-
# result in an error.
|
579
|
+
# Specifies the engine (`standard`, `neural`, `long-form` or
|
580
|
+
# `generative`) for Amazon Polly to use when processing input text for
|
581
|
+
# speech synthesis. Using a voice that is not supported for the engine
|
582
|
+
# selected will result in an error.
|
582
583
|
# @return [String]
|
583
584
|
#
|
584
585
|
# @!attribute [rw] language_code
|
@@ -624,7 +625,8 @@ module Aws::Polly
|
|
624
625
|
# The valid values for mp3 and ogg\_vorbis are "8000", "16000",
|
625
626
|
# "22050", and "24000". The default value for standard voices is
|
626
627
|
# "22050". The default value for neural voices is "24000". The
|
627
|
-
# default value for long-form voices is "24000".
|
628
|
+
# default value for long-form voices is "24000". The default value
|
629
|
+
# for generative voices is "24000".
|
628
630
|
#
|
629
631
|
# Valid values for pcm are "8000" and "16000" The default value is
|
630
632
|
# "16000".
|
@@ -689,10 +691,10 @@ module Aws::Polly
|
|
689
691
|
# synthesis task.
|
690
692
|
#
|
691
693
|
# @!attribute [rw] engine
|
692
|
-
# Specifies the engine (`standard`, `neural
|
693
|
-
# Amazon Polly to use when processing input text for
|
694
|
-
# Using a voice that is not supported for the engine
|
695
|
-
# result in an error.
|
694
|
+
# Specifies the engine (`standard`, `neural`, `long-form` or
|
695
|
+
# `generative`) for Amazon Polly to use when processing input text for
|
696
|
+
# speech synthesis. Using a voice that is not supported for the engine
|
697
|
+
# selected will result in an error.
|
696
698
|
# @return [String]
|
697
699
|
#
|
698
700
|
# @!attribute [rw] task_id
|
@@ -743,7 +745,8 @@ module Aws::Polly
|
|
743
745
|
# The valid values for mp3 and ogg\_vorbis are "8000", "16000",
|
744
746
|
# "22050", and "24000". The default value for standard voices is
|
745
747
|
# "22050". The default value for neural voices is "24000". The
|
746
|
-
# default value for long-form voices is "24000".
|
748
|
+
# default value for long-form voices is "24000". The default value
|
749
|
+
# for generative voices is "24000".
|
747
750
|
#
|
748
751
|
# Valid values for pcm are "8000" and "16000" The default value is
|
749
752
|
# "16000".
|
@@ -815,37 +818,21 @@ module Aws::Polly
|
|
815
818
|
end
|
816
819
|
|
817
820
|
# @!attribute [rw] engine
|
818
|
-
# Specifies the engine (`standard`, `neural
|
819
|
-
# Amazon Polly to use when processing input text for
|
820
|
-
#
|
821
|
-
#
|
822
|
-
#
|
823
|
-
#
|
824
|
-
#
|
825
|
-
#
|
826
|
-
# required and must be set to `neural`. If the engine is not
|
827
|
-
# specified, or is set to `standard`, this will result in an error.
|
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.
|
821
|
+
# Specifies the engine (`standard`, `neural`, `long-form`, or
|
822
|
+
# `generative`) for Amazon Polly to use when processing input text for
|
823
|
+
# speech synthesis. Provide an engine that is supported by the voice
|
824
|
+
# you select. If you don't provide an engine, the standard engine is
|
825
|
+
# selected by default. If a chosen voice isn't supported by the
|
826
|
+
# standard engine, this will result in an error. For information on
|
827
|
+
# Amazon Polly voices and which voices are available for each engine,
|
828
|
+
# see [Available Voices][1].
|
835
829
|
#
|
836
830
|
# Type: String
|
837
831
|
#
|
838
|
-
# Valid Values: `standard` \| `neural` \| `long-form`
|
832
|
+
# Valid Values: `standard` \| `neural` \| `long-form` \| `generative`
|
839
833
|
#
|
840
834
|
# Required: Yes
|
841
835
|
#
|
842
|
-
# **Standard voices**
|
843
|
-
#
|
844
|
-
# For standard voices, this is not required; the engine parameter
|
845
|
-
# defaults to `standard`. If the engine is not specified, or is set to
|
846
|
-
# `standard` and an NTTS-only voice is selected, this will result in
|
847
|
-
# an error.
|
848
|
-
#
|
849
836
|
#
|
850
837
|
#
|
851
838
|
# [1]: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html
|
@@ -894,7 +881,8 @@ module Aws::Polly
|
|
894
881
|
# The valid values for mp3 and ogg\_vorbis are "8000", "16000",
|
895
882
|
# "22050", and "24000". The default value for standard voices is
|
896
883
|
# "22050". The default value for neural voices is "24000". The
|
897
|
-
# default value for long-form voices is "24000".
|
884
|
+
# default value for long-form voices is "24000". The default value
|
885
|
+
# for generative voices is "24000".
|
898
886
|
#
|
899
887
|
# Valid values for pcm are "8000" and "16000" The default value is
|
900
888
|
# "16000".
|
@@ -1065,8 +1053,8 @@ module Aws::Polly
|
|
1065
1053
|
# @return [Array<String>]
|
1066
1054
|
#
|
1067
1055
|
# @!attribute [rw] supported_engines
|
1068
|
-
# Specifies which engines (`standard`, `neural
|
1069
|
-
# supported by a given voice.
|
1056
|
+
# Specifies which engines (`standard`, `neural`, `long-form` or
|
1057
|
+
# `generative`) are supported by a given voice.
|
1070
1058
|
# @return [Array<String>]
|
1071
1059
|
#
|
1072
1060
|
# @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/Voice AWS API Documentation
|
data/lib/aws-sdk-polly.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -88,7 +88,7 @@ module Aws
|
|
88
88
|
end
|
89
89
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Polly/Client.html#describe_voices-instance_method
|
90
90
|
def describe_voices: (
|
91
|
-
?engine: ("standard" | "neural" | "long-form"),
|
91
|
+
?engine: ("standard" | "neural" | "long-form" | "generative"),
|
92
92
|
?language_code: ("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"),
|
93
93
|
?include_additional_language_codes: bool,
|
94
94
|
?next_token: ::String
|
@@ -156,7 +156,7 @@ module Aws
|
|
156
156
|
end
|
157
157
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Polly/Client.html#start_speech_synthesis_task-instance_method
|
158
158
|
def start_speech_synthesis_task: (
|
159
|
-
?engine: ("standard" | "neural" | "long-form"),
|
159
|
+
?engine: ("standard" | "neural" | "long-form" | "generative"),
|
160
160
|
?language_code: ("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"),
|
161
161
|
?lexicon_names: Array[::String],
|
162
162
|
output_format: ("json" | "mp3" | "ogg_vorbis" | "pcm"),
|
@@ -179,7 +179,7 @@ module Aws
|
|
179
179
|
end
|
180
180
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Polly/Client.html#synthesize_speech-instance_method
|
181
181
|
def synthesize_speech: (
|
182
|
-
?engine: ("standard" | "neural" | "long-form"),
|
182
|
+
?engine: ("standard" | "neural" | "long-form" | "generative"),
|
183
183
|
?language_code: ("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"),
|
184
184
|
?lexicon_names: Array[::String],
|
185
185
|
output_format: ("json" | "mp3" | "ogg_vorbis" | "pcm"),
|
data/sig/types.rbs
CHANGED
@@ -17,7 +17,7 @@ module Aws::Polly
|
|
17
17
|
end
|
18
18
|
|
19
19
|
class DescribeVoicesInput
|
20
|
-
attr_accessor engine: ("standard" | "neural" | "long-form")
|
20
|
+
attr_accessor engine: ("standard" | "neural" | "long-form" | "generative")
|
21
21
|
attr_accessor language_code: ("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")
|
22
22
|
attr_accessor include_additional_language_codes: bool
|
23
23
|
attr_accessor next_token: ::String
|
@@ -192,7 +192,7 @@ module Aws::Polly
|
|
192
192
|
end
|
193
193
|
|
194
194
|
class StartSpeechSynthesisTaskInput
|
195
|
-
attr_accessor engine: ("standard" | "neural" | "long-form")
|
195
|
+
attr_accessor engine: ("standard" | "neural" | "long-form" | "generative")
|
196
196
|
attr_accessor language_code: ("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")
|
197
197
|
attr_accessor lexicon_names: ::Array[::String]
|
198
198
|
attr_accessor output_format: ("json" | "mp3" | "ogg_vorbis" | "pcm")
|
@@ -213,7 +213,7 @@ module Aws::Polly
|
|
213
213
|
end
|
214
214
|
|
215
215
|
class SynthesisTask
|
216
|
-
attr_accessor engine: ("standard" | "neural" | "long-form")
|
216
|
+
attr_accessor engine: ("standard" | "neural" | "long-form" | "generative")
|
217
217
|
attr_accessor task_id: ::String
|
218
218
|
attr_accessor task_status: ("scheduled" | "inProgress" | "completed" | "failed")
|
219
219
|
attr_accessor task_status_reason: ::String
|
@@ -237,7 +237,7 @@ module Aws::Polly
|
|
237
237
|
end
|
238
238
|
|
239
239
|
class SynthesizeSpeechInput
|
240
|
-
attr_accessor engine: ("standard" | "neural" | "long-form")
|
240
|
+
attr_accessor engine: ("standard" | "neural" | "long-form" | "generative")
|
241
241
|
attr_accessor language_code: ("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")
|
242
242
|
attr_accessor lexicon_names: ::Array[::String]
|
243
243
|
attr_accessor output_format: ("json" | "mp3" | "ogg_vorbis" | "pcm")
|
@@ -278,7 +278,7 @@ module Aws::Polly
|
|
278
278
|
attr_accessor language_name: ::String
|
279
279
|
attr_accessor name: ::String
|
280
280
|
attr_accessor additional_language_codes: ::Array[("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")]
|
281
|
-
attr_accessor supported_engines: ::Array[("standard" | "neural" | "long-form")]
|
281
|
+
attr_accessor supported_engines: ::Array[("standard" | "neural" | "long-form" | "generative")]
|
282
282
|
SENSITIVE: []
|
283
283
|
end
|
284
284
|
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.
|
4
|
+
version: 1.85.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: 2024-
|
11
|
+
date: 2024-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|