aws-sdk-polly 1.83.0 → 1.84.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-polly/client.rb +28 -41
- 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: 473f819f595770ae4023b41ceaca37e65fc5a7f632da3534e3d0b0bec1570284
|
4
|
+
data.tar.gz: a5b8133baf3cdaf1d1e07d08ca3a5903d3b865fa08abcfb00285b22328c269b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b615b55b0e02065307b114e1067ccd6e25cd093a53e1a614e2597e938d7b3a321f52e6411cff206bcdd3ccbc1b7c1fa97cadebc581d9c5aa6fd6423aabd9caf
|
7
|
+
data.tar.gz: 6f3aab9ddb384b1afdfd902fdf20ef3a351bec2d981f14820581fe381d5dbdc6f1b8257af32349bf9ef5997e55553e040a719f150b6ec164dd8ef2c7dbc15a5b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.84.0
|
data/lib/aws-sdk-polly/client.rb
CHANGED
@@ -479,8 +479,9 @@ module Aws::Polly
|
|
479
479
|
# `polly:DescribeVoices` action.
|
480
480
|
#
|
481
481
|
# @option params [String] :engine
|
482
|
-
# Specifies the engine (`standard`, `neural
|
483
|
-
# Amazon Polly when processing input text for
|
482
|
+
# Specifies the engine (`standard`, `neural`, `long-form` or
|
483
|
+
# `generative`) used by Amazon Polly when processing input text for
|
484
|
+
# speech synthesis.
|
484
485
|
#
|
485
486
|
# @option params [String] :language_code
|
486
487
|
# The language identification tag (ISO 639 code for the language
|
@@ -545,7 +546,7 @@ module Aws::Polly
|
|
545
546
|
# @example Request syntax with placeholder values
|
546
547
|
#
|
547
548
|
# resp = client.describe_voices({
|
548
|
-
# engine: "standard", # accepts standard, neural, long-form
|
549
|
+
# engine: "standard", # accepts standard, neural, long-form, generative
|
549
550
|
# 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
551
|
# include_additional_language_codes: false,
|
551
552
|
# next_token: "NextToken",
|
@@ -562,7 +563,7 @@ module Aws::Polly
|
|
562
563
|
# resp.voices[0].additional_language_codes #=> Array
|
563
564
|
# 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
565
|
# resp.voices[0].supported_engines #=> Array
|
565
|
-
# resp.voices[0].supported_engines[0] #=> String, one of "standard", "neural", "long-form"
|
566
|
+
# resp.voices[0].supported_engines[0] #=> String, one of "standard", "neural", "long-form", "generative"
|
566
567
|
# resp.next_token #=> String
|
567
568
|
#
|
568
569
|
# @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/DescribeVoices AWS API Documentation
|
@@ -661,7 +662,7 @@ module Aws::Polly
|
|
661
662
|
#
|
662
663
|
# @example Response structure
|
663
664
|
#
|
664
|
-
# resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form"
|
665
|
+
# resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form", "generative"
|
665
666
|
# resp.synthesis_task.task_id #=> String
|
666
667
|
# resp.synthesis_task.task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
|
667
668
|
# resp.synthesis_task.task_status_reason #=> String
|
@@ -790,7 +791,7 @@ module Aws::Polly
|
|
790
791
|
#
|
791
792
|
# resp.next_token #=> String
|
792
793
|
# resp.synthesis_tasks #=> Array
|
793
|
-
# resp.synthesis_tasks[0].engine #=> String, one of "standard", "neural", "long-form"
|
794
|
+
# resp.synthesis_tasks[0].engine #=> String, one of "standard", "neural", "long-form", "generative"
|
794
795
|
# resp.synthesis_tasks[0].task_id #=> String
|
795
796
|
# resp.synthesis_tasks[0].task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
|
796
797
|
# resp.synthesis_tasks[0].task_status_reason #=> String
|
@@ -881,10 +882,10 @@ module Aws::Polly
|
|
881
882
|
# task.
|
882
883
|
#
|
883
884
|
# @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.
|
885
|
+
# Specifies the engine (`standard`, `neural`, `long-form` or
|
886
|
+
# `generative`) for Amazon Polly to use when processing input text for
|
887
|
+
# speech synthesis. Using a voice that is not supported for the engine
|
888
|
+
# selected will result in an error.
|
888
889
|
#
|
889
890
|
# @option params [String] :language_code
|
890
891
|
# Optional language code for the Speech Synthesis request. This is only
|
@@ -924,7 +925,8 @@ module Aws::Polly
|
|
924
925
|
# The valid values for mp3 and ogg\_vorbis are "8000", "16000",
|
925
926
|
# "22050", and "24000". The default value for standard voices is
|
926
927
|
# "22050". The default value for neural voices is "24000". The
|
927
|
-
# default value for long-form voices is "24000".
|
928
|
+
# default value for long-form voices is "24000". The default value for
|
929
|
+
# generative voices is "24000".
|
928
930
|
#
|
929
931
|
# Valid values for pcm are "8000" and "16000" The default value is
|
930
932
|
# "16000".
|
@@ -954,7 +956,7 @@ module Aws::Polly
|
|
954
956
|
# @example Request syntax with placeholder values
|
955
957
|
#
|
956
958
|
# resp = client.start_speech_synthesis_task({
|
957
|
-
# engine: "standard", # accepts standard, neural, long-form
|
959
|
+
# engine: "standard", # accepts standard, neural, long-form, generative
|
958
960
|
# 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
961
|
# lexicon_names: ["LexiconName"],
|
960
962
|
# output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
|
@@ -970,7 +972,7 @@ module Aws::Polly
|
|
970
972
|
#
|
971
973
|
# @example Response structure
|
972
974
|
#
|
973
|
-
# resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form"
|
975
|
+
# resp.synthesis_task.engine #=> String, one of "standard", "neural", "long-form", "generative"
|
974
976
|
# resp.synthesis_task.task_id #=> String
|
975
977
|
# resp.synthesis_task.task_status #=> String, one of "scheduled", "inProgress", "completed", "failed"
|
976
978
|
# resp.synthesis_task.task_status_reason #=> String
|
@@ -1008,37 +1010,21 @@ module Aws::Polly
|
|
1008
1010
|
# [1]: https://docs.aws.amazon.com/polly/latest/dg/how-text-to-speech-works.html
|
1009
1011
|
#
|
1010
1012
|
# @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.
|
1013
|
+
# Specifies the engine (`standard`, `neural`, `long-form`, or
|
1014
|
+
# `generative`) for Amazon Polly to use when processing input text for
|
1015
|
+
# speech synthesis. Provide an engine that is supported by the voice you
|
1016
|
+
# select. If you don't provide an engine, the standard engine is
|
1017
|
+
# selected by default. If a chosen voice isn't supported by the
|
1018
|
+
# standard engine, this will result in an error. For information on
|
1019
|
+
# Amazon Polly voices and which voices are available for each engine,
|
1020
|
+
# see [Available Voices][1].
|
1028
1021
|
#
|
1029
1022
|
# Type: String
|
1030
1023
|
#
|
1031
|
-
# Valid Values: `standard` \| `neural` \| `long-form`
|
1024
|
+
# Valid Values: `standard` \| `neural` \| `long-form` \| `generative`
|
1032
1025
|
#
|
1033
1026
|
# Required: Yes
|
1034
1027
|
#
|
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
1028
|
#
|
1043
1029
|
#
|
1044
1030
|
# [1]: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html
|
@@ -1083,7 +1069,8 @@ module Aws::Polly
|
|
1083
1069
|
# The valid values for mp3 and ogg\_vorbis are "8000", "16000",
|
1084
1070
|
# "22050", and "24000". The default value for standard voices is
|
1085
1071
|
# "22050". The default value for neural voices is "24000". The
|
1086
|
-
# default value for long-form voices is "24000".
|
1072
|
+
# default value for long-form voices is "24000". The default value for
|
1073
|
+
# generative voices is "24000".
|
1087
1074
|
#
|
1088
1075
|
# Valid values for pcm are "8000" and "16000" The default value is
|
1089
1076
|
# "16000".
|
@@ -1143,7 +1130,7 @@ module Aws::Polly
|
|
1143
1130
|
# @example Request syntax with placeholder values
|
1144
1131
|
#
|
1145
1132
|
# resp = client.synthesize_speech({
|
1146
|
-
# engine: "standard", # accepts standard, neural, long-form
|
1133
|
+
# engine: "standard", # accepts standard, neural, long-form, generative
|
1147
1134
|
# 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
1135
|
# lexicon_names: ["LexiconName"],
|
1149
1136
|
# output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
|
@@ -1182,7 +1169,7 @@ module Aws::Polly
|
|
1182
1169
|
params: params,
|
1183
1170
|
config: config)
|
1184
1171
|
context[:gem_name] = 'aws-sdk-polly'
|
1185
|
-
context[:gem_version] = '1.
|
1172
|
+
context[:gem_version] = '1.84.0'
|
1186
1173
|
Seahorse::Client::Request.new(handlers, context)
|
1187
1174
|
end
|
1188
1175
|
|
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.84.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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|