aws-sdk-polly 1.110.0 → 1.112.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 +19 -28
- data/lib/aws-sdk-polly/types.rb +4 -10
- data/lib/aws-sdk-polly.rb +1 -1
- data/sig/client.rbs +2 -2
- data/sig/types.rbs +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e6d28efb2bbca0a7eefdd5bacc48ec1eac754130c2a5930e6f1cfe4364a65da
|
4
|
+
data.tar.gz: 23e58f5b4d8f22c6e9201cdf61fe54eb8f54b850877329d9a186de27d5a913ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42a3d86e6e2b2398a35aa5b2ebdf2104b2b936e9903fec0be166093407bfd841800686367ae17dcfbbb4bed522a3502d0a74a80d5242f715fa104bca7755187f
|
7
|
+
data.tar.gz: 7da9212f431268a737f0f2871635e18ab12eb8bbf2f8dc67792cb21b48a2daf85785ede6c454b40eb6cc020d8b04d62b25308dbccd86b84f8aa7ec1d81564b3d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.112.0 (2025-08-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added support for new output format - Opus.
|
8
|
+
|
9
|
+
1.111.0 (2025-08-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.110.0 (2025-07-31)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.112.0
|
data/lib/aws-sdk-polly/client.rb
CHANGED
@@ -95,8 +95,8 @@ module Aws::Polly
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials used for authentication. This can be
|
99
|
-
# following classes:
|
98
|
+
# Your AWS credentials used for authentication. This can be any class that includes and implements
|
99
|
+
# `Aws::CredentialProvider`, or instance of any one of the following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
102
102
|
# credentials.
|
@@ -124,8 +124,7 @@ module Aws::Polly
|
|
124
124
|
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
125
125
|
# from the Cognito Identity service.
|
126
126
|
#
|
127
|
-
# When `:credentials` are not configured directly, the following
|
128
|
-
# locations will be searched for credentials:
|
127
|
+
# When `:credentials` are not configured directly, the following locations will be searched for credentials:
|
129
128
|
#
|
130
129
|
# * `Aws.config[:credentials]`
|
131
130
|
#
|
@@ -139,12 +138,10 @@ module Aws::Polly
|
|
139
138
|
#
|
140
139
|
# * `~/.aws/config`
|
141
140
|
#
|
142
|
-
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
143
|
-
#
|
144
|
-
#
|
145
|
-
#
|
146
|
-
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
-
# to `true`.
|
141
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
|
142
|
+
# Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
143
|
+
# enable retries and extended timeouts. Instance profile credential fetching can be disabled by
|
144
|
+
# setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
|
148
145
|
#
|
149
146
|
# @option options [required, String] :region
|
150
147
|
# The AWS region to connect to. The configured `:region` is
|
@@ -377,8 +374,8 @@ module Aws::Polly
|
|
377
374
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
378
375
|
#
|
379
376
|
# @option options [Aws::TokenProvider] :token_provider
|
380
|
-
# Your Bearer token used for authentication. This can be
|
381
|
-
# following classes:
|
377
|
+
# Your Bearer token used for authentication. This can be any class that includes and implements
|
378
|
+
# `Aws::TokenProvider`, or instance of any one of the following classes:
|
382
379
|
#
|
383
380
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
384
381
|
# tokens.
|
@@ -739,7 +736,7 @@ module Aws::Polly
|
|
739
736
|
# resp.synthesis_task.sns_topic_arn #=> String
|
740
737
|
# resp.synthesis_task.lexicon_names #=> Array
|
741
738
|
# resp.synthesis_task.lexicon_names[0] #=> String
|
742
|
-
# resp.synthesis_task.output_format #=> String, one of "json", "mp3", "ogg_vorbis", "pcm"
|
739
|
+
# resp.synthesis_task.output_format #=> String, one of "json", "mp3", "ogg_opus", "ogg_vorbis", "pcm"
|
743
740
|
# resp.synthesis_task.sample_rate #=> String
|
744
741
|
# resp.synthesis_task.speech_mark_types #=> Array
|
745
742
|
# resp.synthesis_task.speech_mark_types[0] #=> String, one of "sentence", "ssml", "viseme", "word"
|
@@ -868,7 +865,7 @@ module Aws::Polly
|
|
868
865
|
# resp.synthesis_tasks[0].sns_topic_arn #=> String
|
869
866
|
# resp.synthesis_tasks[0].lexicon_names #=> Array
|
870
867
|
# resp.synthesis_tasks[0].lexicon_names[0] #=> String
|
871
|
-
# resp.synthesis_tasks[0].output_format #=> String, one of "json", "mp3", "ogg_vorbis", "pcm"
|
868
|
+
# resp.synthesis_tasks[0].output_format #=> String, one of "json", "mp3", "ogg_opus", "ogg_vorbis", "pcm"
|
872
869
|
# resp.synthesis_tasks[0].sample_rate #=> String
|
873
870
|
# resp.synthesis_tasks[0].speech_mark_types #=> Array
|
874
871
|
# resp.synthesis_tasks[0].speech_mark_types[0] #=> String, one of "sentence", "ssml", "viseme", "word"
|
@@ -1026,7 +1023,7 @@ module Aws::Polly
|
|
1026
1023
|
# engine: "standard", # accepts standard, neural, long-form, generative
|
1027
1024
|
# 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, cs-CZ, de-CH, en-SG
|
1028
1025
|
# lexicon_names: ["LexiconName"],
|
1029
|
-
# output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
|
1026
|
+
# output_format: "json", # required, accepts json, mp3, ogg_opus, ogg_vorbis, pcm
|
1030
1027
|
# output_s3_bucket_name: "OutputS3BucketName", # required
|
1031
1028
|
# output_s3_key_prefix: "OutputS3KeyPrefix",
|
1032
1029
|
# sample_rate: "SampleRate",
|
@@ -1049,7 +1046,7 @@ module Aws::Polly
|
|
1049
1046
|
# resp.synthesis_task.sns_topic_arn #=> String
|
1050
1047
|
# resp.synthesis_task.lexicon_names #=> Array
|
1051
1048
|
# resp.synthesis_task.lexicon_names[0] #=> String
|
1052
|
-
# resp.synthesis_task.output_format #=> String, one of "json", "mp3", "ogg_vorbis", "pcm"
|
1049
|
+
# resp.synthesis_task.output_format #=> String, one of "json", "mp3", "ogg_opus", "ogg_vorbis", "pcm"
|
1053
1050
|
# resp.synthesis_task.sample_rate #=> String
|
1054
1051
|
# resp.synthesis_task.speech_mark_types #=> Array
|
1055
1052
|
# resp.synthesis_task.speech_mark_types[0] #=> String, one of "sentence", "ssml", "viseme", "word"
|
@@ -1086,12 +1083,6 @@ module Aws::Polly
|
|
1086
1083
|
# Amazon Polly voices and which voices are available for each engine,
|
1087
1084
|
# see [Available Voices][1].
|
1088
1085
|
#
|
1089
|
-
# Type: String
|
1090
|
-
#
|
1091
|
-
# Valid Values: `standard` \| `neural` \| `long-form` \| `generative`
|
1092
|
-
#
|
1093
|
-
# Required: Yes
|
1094
|
-
#
|
1095
1086
|
#
|
1096
1087
|
#
|
1097
1088
|
# [1]: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html
|
@@ -1134,10 +1125,10 @@ module Aws::Polly
|
|
1134
1125
|
# The audio frequency specified in Hz.
|
1135
1126
|
#
|
1136
1127
|
# The valid values for mp3 and ogg\_vorbis are "8000", "16000",
|
1137
|
-
# "22050", and "
|
1138
|
-
# "22050". The default value for neural voices is
|
1139
|
-
# default value for long-form voices is "24000". The
|
1140
|
-
# generative voices is "24000".
|
1128
|
+
# "22050", "24000", "44100" and "48000". The default value for
|
1129
|
+
# standard voices is "22050". The default value for neural voices is
|
1130
|
+
# "24000". The default value for long-form voices is "24000". The
|
1131
|
+
# default value for generative voices is "24000".
|
1141
1132
|
#
|
1142
1133
|
# Valid values for pcm are "8000" and "16000" The default value is
|
1143
1134
|
# "16000".
|
@@ -1200,7 +1191,7 @@ module Aws::Polly
|
|
1200
1191
|
# engine: "standard", # accepts standard, neural, long-form, generative
|
1201
1192
|
# 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, cs-CZ, de-CH, en-SG
|
1202
1193
|
# lexicon_names: ["LexiconName"],
|
1203
|
-
# output_format: "json", # required, accepts json, mp3, ogg_vorbis, pcm
|
1194
|
+
# output_format: "json", # required, accepts json, mp3, ogg_opus, ogg_vorbis, pcm
|
1204
1195
|
# sample_rate: "SampleRate",
|
1205
1196
|
# speech_mark_types: ["sentence"], # accepts sentence, ssml, viseme, word
|
1206
1197
|
# text: "Text", # required
|
@@ -1241,7 +1232,7 @@ module Aws::Polly
|
|
1241
1232
|
tracer: tracer
|
1242
1233
|
)
|
1243
1234
|
context[:gem_name] = 'aws-sdk-polly'
|
1244
|
-
context[:gem_version] = '1.
|
1235
|
+
context[:gem_version] = '1.112.0'
|
1245
1236
|
Seahorse::Client::Request.new(handlers, context)
|
1246
1237
|
end
|
1247
1238
|
|
data/lib/aws-sdk-polly/types.rb
CHANGED
@@ -827,12 +827,6 @@ module Aws::Polly
|
|
827
827
|
# Amazon Polly voices and which voices are available for each engine,
|
828
828
|
# see [Available Voices][1].
|
829
829
|
#
|
830
|
-
# Type: String
|
831
|
-
#
|
832
|
-
# Valid Values: `standard` \| `neural` \| `long-form` \| `generative`
|
833
|
-
#
|
834
|
-
# Required: Yes
|
835
|
-
#
|
836
830
|
#
|
837
831
|
#
|
838
832
|
# [1]: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html
|
@@ -879,10 +873,10 @@ module Aws::Polly
|
|
879
873
|
# The audio frequency specified in Hz.
|
880
874
|
#
|
881
875
|
# The valid values for mp3 and ogg\_vorbis are "8000", "16000",
|
882
|
-
# "22050", and "
|
883
|
-
# "22050". The default value for neural voices is
|
884
|
-
# default value for long-form voices is "24000". The
|
885
|
-
# for generative voices is "24000".
|
876
|
+
# "22050", "24000", "44100" and "48000". The default value for
|
877
|
+
# standard voices is "22050". The default value for neural voices is
|
878
|
+
# "24000". The default value for long-form voices is "24000". The
|
879
|
+
# default value for generative voices is "24000".
|
886
880
|
#
|
887
881
|
# Valid values for pcm are "8000" and "16000" The default value is
|
888
882
|
# "16000".
|
data/lib/aws-sdk-polly.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -165,7 +165,7 @@ module Aws
|
|
165
165
|
?engine: ("standard" | "neural" | "long-form" | "generative"),
|
166
166
|
?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" | "cs-CZ" | "de-CH" | "en-SG"),
|
167
167
|
?lexicon_names: Array[::String],
|
168
|
-
output_format: ("json" | "mp3" | "ogg_vorbis" | "pcm"),
|
168
|
+
output_format: ("json" | "mp3" | "ogg_opus" | "ogg_vorbis" | "pcm"),
|
169
169
|
output_s3_bucket_name: ::String,
|
170
170
|
?output_s3_key_prefix: ::String,
|
171
171
|
?sample_rate: ::String,
|
@@ -188,7 +188,7 @@ module Aws
|
|
188
188
|
?engine: ("standard" | "neural" | "long-form" | "generative"),
|
189
189
|
?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" | "cs-CZ" | "de-CH" | "en-SG"),
|
190
190
|
?lexicon_names: Array[::String],
|
191
|
-
output_format: ("json" | "mp3" | "ogg_vorbis" | "pcm"),
|
191
|
+
output_format: ("json" | "mp3" | "ogg_opus" | "ogg_vorbis" | "pcm"),
|
192
192
|
?sample_rate: ::String,
|
193
193
|
?speech_mark_types: Array[("sentence" | "ssml" | "viseme" | "word")],
|
194
194
|
text: ::String,
|
data/sig/types.rbs
CHANGED
@@ -195,7 +195,7 @@ module Aws::Polly
|
|
195
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" | "cs-CZ" | "de-CH" | "en-SG")
|
197
197
|
attr_accessor lexicon_names: ::Array[::String]
|
198
|
-
attr_accessor output_format: ("json" | "mp3" | "ogg_vorbis" | "pcm")
|
198
|
+
attr_accessor output_format: ("json" | "mp3" | "ogg_opus" | "ogg_vorbis" | "pcm")
|
199
199
|
attr_accessor output_s3_bucket_name: ::String
|
200
200
|
attr_accessor output_s3_key_prefix: ::String
|
201
201
|
attr_accessor sample_rate: ::String
|
@@ -222,7 +222,7 @@ module Aws::Polly
|
|
222
222
|
attr_accessor request_characters: ::Integer
|
223
223
|
attr_accessor sns_topic_arn: ::String
|
224
224
|
attr_accessor lexicon_names: ::Array[::String]
|
225
|
-
attr_accessor output_format: ("json" | "mp3" | "ogg_vorbis" | "pcm")
|
225
|
+
attr_accessor output_format: ("json" | "mp3" | "ogg_opus" | "ogg_vorbis" | "pcm")
|
226
226
|
attr_accessor sample_rate: ::String
|
227
227
|
attr_accessor speech_mark_types: ::Array[("sentence" | "ssml" | "viseme" | "word")]
|
228
228
|
attr_accessor text_type: ("ssml" | "text")
|
@@ -240,7 +240,7 @@ module Aws::Polly
|
|
240
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" | "cs-CZ" | "de-CH" | "en-SG")
|
242
242
|
attr_accessor lexicon_names: ::Array[::String]
|
243
|
-
attr_accessor output_format: ("json" | "mp3" | "ogg_vorbis" | "pcm")
|
243
|
+
attr_accessor output_format: ("json" | "mp3" | "ogg_opus" | "ogg_vorbis" | "pcm")
|
244
244
|
attr_accessor sample_rate: ::String
|
245
245
|
attr_accessor speech_mark_types: ::Array[("sentence" | "ssml" | "viseme" | "word")]
|
246
246
|
attr_accessor text: ::String
|