aws-sdk-polly 1.28.0 → 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-polly.rb +3 -1
- data/lib/aws-sdk-polly/client.rb +36 -27
- data/lib/aws-sdk-polly/client_api.rb +2 -0
- data/lib/aws-sdk-polly/customizations.rb +2 -0
- data/lib/aws-sdk-polly/errors.rb +2 -0
- data/lib/aws-sdk-polly/presigner.rb +2 -0
- data/lib/aws-sdk-polly/resource.rb +3 -7
- data/lib/aws-sdk-polly/types.rb +46 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 83d6079c9ce99c402773ce786b4cae12d5aaed5b85af8984f3e3ed6fe4f7c7cb
|
4
|
+
data.tar.gz: e133b3b1f18a3780d518096a25331b9ff644a39b1872204a65064d9c6ceac820
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f8e5385dbca4a44fa6f6d4204b6bb675fd51ec40fae752243bd09234bdf59404c2b49f032b558a8b77220bdfe34b72718a9361faf17aa887e70eeef0af8ef54
|
7
|
+
data.tar.gz: 7df110a63bca9fdf0058d9bd76a45c39f7b8aae95f45d4c77b36f3fe10b5fada8ac516d4af1931933670670e8f4a02328b87a42fce342dab45f775b0d8c2c41a
|
data/lib/aws-sdk-polly.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-polly/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::Polly
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.33.0'
|
49
51
|
|
50
52
|
end
|
data/lib/aws-sdk-polly/client.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:polly)
|
|
32
35
|
module Aws::Polly
|
33
36
|
# An API client for Polly. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
37
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
38
|
+
# client = Aws::Polly::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
40
43
|
#
|
41
44
|
# For details on configuring region and credentials see
|
42
45
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -69,6 +72,7 @@ module Aws::Polly
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -105,7 +109,7 @@ module Aws::Polly
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::Polly
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::Polly
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -229,15 +233,19 @@ module Aws::Polly
|
|
229
233
|
#
|
230
234
|
# @option options [String] :retry_mode ("legacy")
|
231
235
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
241
249
|
#
|
242
250
|
# @option options [String] :secret_access_key
|
243
251
|
#
|
@@ -265,8 +273,7 @@ module Aws::Polly
|
|
265
273
|
#
|
266
274
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
275
|
# number of seconds to wait for response data. This value can
|
268
|
-
# safely be set
|
269
|
-
# per-request on the session yielded by {#session_for}.
|
276
|
+
# safely be set per-request on the session.
|
270
277
|
#
|
271
278
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
279
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +285,7 @@ module Aws::Polly
|
|
278
285
|
# request body. This option has no effect unless the request has
|
279
286
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
287
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
288
|
+
# request on the session.
|
282
289
|
#
|
283
290
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
291
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -448,7 +455,7 @@ module Aws::Polly
|
|
448
455
|
#
|
449
456
|
# resp.voices #=> Array
|
450
457
|
# resp.voices[0].gender #=> String, one of "Female", "Male"
|
451
|
-
# resp.voices[0].id #=> String, one of "Aditi", "Amy", "Astrid", "Bianca", "Brian", "Camila", "Carla", "Carmen", "Celine", "Chantal", "Conchita", "Cristiano", "Dora", "Emma", "Enrique", "Ewa", "Filiz", "Geraint", "Giorgio", "Gwyneth", "Hans", "Ines", "Ivy", "Jacek", "Jan", "Joanna", "Joey", "Justin", "Karl", "Kendra", "Kimberly", "Lea", "Liv", "Lotte", "Lucia", "Lupe", "Mads", "Maja", "Marlene", "Mathieu", "Matthew", "Maxim", "Mia", "Miguel", "Mizuki", "Naja", "Nicole", "Penelope", "Raveena", "Ricardo", "Ruben", "Russell", "Salli", "Seoyeon", "Takumi", "Tatyana", "Vicki", "Vitoria", "Zeina", "Zhiyu"
|
458
|
+
# resp.voices[0].id #=> String, one of "Aditi", "Amy", "Astrid", "Bianca", "Brian", "Camila", "Carla", "Carmen", "Celine", "Chantal", "Conchita", "Cristiano", "Dora", "Emma", "Enrique", "Ewa", "Filiz", "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", "Penelope", "Raveena", "Ricardo", "Ruben", "Russell", "Salli", "Seoyeon", "Takumi", "Tatyana", "Vicki", "Vitoria", "Zeina", "Zhiyu"
|
452
459
|
# 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"
|
453
460
|
# resp.voices[0].language_name #=> String
|
454
461
|
# resp.voices[0].name #=> String
|
@@ -568,7 +575,7 @@ module Aws::Polly
|
|
568
575
|
# resp.synthesis_task.speech_mark_types #=> Array
|
569
576
|
# resp.synthesis_task.speech_mark_types[0] #=> String, one of "sentence", "ssml", "viseme", "word"
|
570
577
|
# resp.synthesis_task.text_type #=> String, one of "ssml", "text"
|
571
|
-
# 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", "Geraint", "Giorgio", "Gwyneth", "Hans", "Ines", "Ivy", "Jacek", "Jan", "Joanna", "Joey", "Justin", "Karl", "Kendra", "Kimberly", "Lea", "Liv", "Lotte", "Lucia", "Lupe", "Mads", "Maja", "Marlene", "Mathieu", "Matthew", "Maxim", "Mia", "Miguel", "Mizuki", "Naja", "Nicole", "Penelope", "Raveena", "Ricardo", "Ruben", "Russell", "Salli", "Seoyeon", "Takumi", "Tatyana", "Vicki", "Vitoria", "Zeina", "Zhiyu"
|
578
|
+
# 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", "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", "Penelope", "Raveena", "Ricardo", "Ruben", "Russell", "Salli", "Seoyeon", "Takumi", "Tatyana", "Vicki", "Vitoria", "Zeina", "Zhiyu"
|
572
579
|
# 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"
|
573
580
|
#
|
574
581
|
# @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/GetSpeechSynthesisTask AWS API Documentation
|
@@ -668,6 +675,8 @@ module Aws::Polly
|
|
668
675
|
# * {Types::ListSpeechSynthesisTasksOutput#next_token #next_token} => String
|
669
676
|
# * {Types::ListSpeechSynthesisTasksOutput#synthesis_tasks #synthesis_tasks} => Array<Types::SynthesisTask>
|
670
677
|
#
|
678
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
679
|
+
#
|
671
680
|
# @example Request syntax with placeholder values
|
672
681
|
#
|
673
682
|
# resp = client.list_speech_synthesis_tasks({
|
@@ -695,7 +704,7 @@ module Aws::Polly
|
|
695
704
|
# resp.synthesis_tasks[0].speech_mark_types #=> Array
|
696
705
|
# resp.synthesis_tasks[0].speech_mark_types[0] #=> String, one of "sentence", "ssml", "viseme", "word"
|
697
706
|
# resp.synthesis_tasks[0].text_type #=> String, one of "ssml", "text"
|
698
|
-
# 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", "Geraint", "Giorgio", "Gwyneth", "Hans", "Ines", "Ivy", "Jacek", "Jan", "Joanna", "Joey", "Justin", "Karl", "Kendra", "Kimberly", "Lea", "Liv", "Lotte", "Lucia", "Lupe", "Mads", "Maja", "Marlene", "Mathieu", "Matthew", "Maxim", "Mia", "Miguel", "Mizuki", "Naja", "Nicole", "Penelope", "Raveena", "Ricardo", "Ruben", "Russell", "Salli", "Seoyeon", "Takumi", "Tatyana", "Vicki", "Vitoria", "Zeina", "Zhiyu"
|
707
|
+
# 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", "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", "Penelope", "Raveena", "Ricardo", "Ruben", "Russell", "Salli", "Seoyeon", "Takumi", "Tatyana", "Vicki", "Vitoria", "Zeina", "Zhiyu"
|
699
708
|
# 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"
|
700
709
|
#
|
701
710
|
# @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/ListSpeechSynthesisTasks AWS API Documentation
|
@@ -851,7 +860,7 @@ module Aws::Polly
|
|
851
860
|
# speech_mark_types: ["sentence"], # accepts sentence, ssml, viseme, word
|
852
861
|
# text: "Text", # required
|
853
862
|
# text_type: "ssml", # accepts ssml, text
|
854
|
-
# voice_id: "Aditi", # required, accepts Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla, Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa, Filiz, Geraint, Giorgio, Gwyneth, Hans, Ines, Ivy, Jacek, Jan, Joanna, Joey, Justin, Karl, Kendra, Kimberly, Lea, Liv, Lotte, Lucia, Lupe, Mads, Maja, Marlene, Mathieu, Matthew, Maxim, Mia, Miguel, Mizuki, Naja, Nicole, Penelope, Raveena, Ricardo, Ruben, Russell, Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu
|
863
|
+
# voice_id: "Aditi", # required, accepts Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla, Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa, Filiz, 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, Penelope, Raveena, Ricardo, Ruben, Russell, Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu
|
855
864
|
# })
|
856
865
|
#
|
857
866
|
# @example Response structure
|
@@ -871,7 +880,7 @@ module Aws::Polly
|
|
871
880
|
# resp.synthesis_task.speech_mark_types #=> Array
|
872
881
|
# resp.synthesis_task.speech_mark_types[0] #=> String, one of "sentence", "ssml", "viseme", "word"
|
873
882
|
# resp.synthesis_task.text_type #=> String, one of "ssml", "text"
|
874
|
-
# 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", "Geraint", "Giorgio", "Gwyneth", "Hans", "Ines", "Ivy", "Jacek", "Jan", "Joanna", "Joey", "Justin", "Karl", "Kendra", "Kimberly", "Lea", "Liv", "Lotte", "Lucia", "Lupe", "Mads", "Maja", "Marlene", "Mathieu", "Matthew", "Maxim", "Mia", "Miguel", "Mizuki", "Naja", "Nicole", "Penelope", "Raveena", "Ricardo", "Ruben", "Russell", "Salli", "Seoyeon", "Takumi", "Tatyana", "Vicki", "Vitoria", "Zeina", "Zhiyu"
|
883
|
+
# 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", "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", "Penelope", "Raveena", "Ricardo", "Ruben", "Russell", "Salli", "Seoyeon", "Takumi", "Tatyana", "Vicki", "Vitoria", "Zeina", "Zhiyu"
|
875
884
|
# 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"
|
876
885
|
#
|
877
886
|
# @see http://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/StartSpeechSynthesisTask AWS API Documentation
|
@@ -1005,7 +1014,7 @@ module Aws::Polly
|
|
1005
1014
|
# speech_mark_types: ["sentence"], # accepts sentence, ssml, viseme, word
|
1006
1015
|
# text: "Text", # required
|
1007
1016
|
# text_type: "ssml", # accepts ssml, text
|
1008
|
-
# voice_id: "Aditi", # required, accepts Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla, Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa, Filiz, Geraint, Giorgio, Gwyneth, Hans, Ines, Ivy, Jacek, Jan, Joanna, Joey, Justin, Karl, Kendra, Kimberly, Lea, Liv, Lotte, Lucia, Lupe, Mads, Maja, Marlene, Mathieu, Matthew, Maxim, Mia, Miguel, Mizuki, Naja, Nicole, Penelope, Raveena, Ricardo, Ruben, Russell, Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu
|
1017
|
+
# voice_id: "Aditi", # required, accepts Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla, Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa, Filiz, 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, Penelope, Raveena, Ricardo, Ruben, Russell, Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu
|
1009
1018
|
# })
|
1010
1019
|
#
|
1011
1020
|
# @example Response structure
|
@@ -1036,7 +1045,7 @@ module Aws::Polly
|
|
1036
1045
|
params: params,
|
1037
1046
|
config: config)
|
1038
1047
|
context[:gem_name] = 'aws-sdk-polly'
|
1039
|
-
context[:gem_version] = '1.
|
1048
|
+
context[:gem_version] = '1.33.0'
|
1040
1049
|
Seahorse::Client::Request.new(handlers, context)
|
1041
1050
|
end
|
1042
1051
|
|
data/lib/aws-sdk-polly/errors.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::Polly
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::Polly::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::Polly::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::Polly::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
data/lib/aws-sdk-polly/types.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ module Aws::Polly
|
|
24
26
|
#
|
25
27
|
class DeleteLexiconInput < Struct.new(
|
26
28
|
:name)
|
29
|
+
SENSITIVE = [:name]
|
27
30
|
include Aws::Structure
|
28
31
|
end
|
29
32
|
|
@@ -75,6 +78,7 @@ module Aws::Polly
|
|
75
78
|
:language_code,
|
76
79
|
:include_additional_language_codes,
|
77
80
|
:next_token)
|
81
|
+
SENSITIVE = []
|
78
82
|
include Aws::Structure
|
79
83
|
end
|
80
84
|
|
@@ -93,6 +97,7 @@ module Aws::Polly
|
|
93
97
|
class DescribeVoicesOutput < Struct.new(
|
94
98
|
:voices,
|
95
99
|
:next_token)
|
100
|
+
SENSITIVE = []
|
96
101
|
include Aws::Structure
|
97
102
|
end
|
98
103
|
|
@@ -107,6 +112,7 @@ module Aws::Polly
|
|
107
112
|
#
|
108
113
|
class EngineNotSupportedException < Struct.new(
|
109
114
|
:message)
|
115
|
+
SENSITIVE = []
|
110
116
|
include Aws::Structure
|
111
117
|
end
|
112
118
|
|
@@ -125,6 +131,7 @@ module Aws::Polly
|
|
125
131
|
#
|
126
132
|
class GetLexiconInput < Struct.new(
|
127
133
|
:name)
|
134
|
+
SENSITIVE = [:name]
|
128
135
|
include Aws::Structure
|
129
136
|
end
|
130
137
|
|
@@ -144,6 +151,7 @@ module Aws::Polly
|
|
144
151
|
class GetLexiconOutput < Struct.new(
|
145
152
|
:lexicon,
|
146
153
|
:lexicon_attributes)
|
154
|
+
SENSITIVE = []
|
147
155
|
include Aws::Structure
|
148
156
|
end
|
149
157
|
|
@@ -162,6 +170,7 @@ module Aws::Polly
|
|
162
170
|
#
|
163
171
|
class GetSpeechSynthesisTaskInput < Struct.new(
|
164
172
|
:task_id)
|
173
|
+
SENSITIVE = []
|
165
174
|
include Aws::Structure
|
166
175
|
end
|
167
176
|
|
@@ -175,6 +184,7 @@ module Aws::Polly
|
|
175
184
|
#
|
176
185
|
class GetSpeechSynthesisTaskOutput < Struct.new(
|
177
186
|
:synthesis_task)
|
187
|
+
SENSITIVE = []
|
178
188
|
include Aws::Structure
|
179
189
|
end
|
180
190
|
|
@@ -188,6 +198,7 @@ module Aws::Polly
|
|
188
198
|
#
|
189
199
|
class InvalidLexiconException < Struct.new(
|
190
200
|
:message)
|
201
|
+
SENSITIVE = []
|
191
202
|
include Aws::Structure
|
192
203
|
end
|
193
204
|
|
@@ -201,6 +212,7 @@ module Aws::Polly
|
|
201
212
|
#
|
202
213
|
class InvalidNextTokenException < Struct.new(
|
203
214
|
:message)
|
215
|
+
SENSITIVE = []
|
204
216
|
include Aws::Structure
|
205
217
|
end
|
206
218
|
|
@@ -214,6 +226,7 @@ module Aws::Polly
|
|
214
226
|
#
|
215
227
|
class InvalidS3BucketException < Struct.new(
|
216
228
|
:message)
|
229
|
+
SENSITIVE = []
|
217
230
|
include Aws::Structure
|
218
231
|
end
|
219
232
|
|
@@ -227,6 +240,7 @@ module Aws::Polly
|
|
227
240
|
#
|
228
241
|
class InvalidS3KeyException < Struct.new(
|
229
242
|
:message)
|
243
|
+
SENSITIVE = []
|
230
244
|
include Aws::Structure
|
231
245
|
end
|
232
246
|
|
@@ -239,6 +253,7 @@ module Aws::Polly
|
|
239
253
|
#
|
240
254
|
class InvalidSampleRateException < Struct.new(
|
241
255
|
:message)
|
256
|
+
SENSITIVE = []
|
242
257
|
include Aws::Structure
|
243
258
|
end
|
244
259
|
|
@@ -252,6 +267,7 @@ module Aws::Polly
|
|
252
267
|
#
|
253
268
|
class InvalidSnsTopicArnException < Struct.new(
|
254
269
|
:message)
|
270
|
+
SENSITIVE = []
|
255
271
|
include Aws::Structure
|
256
272
|
end
|
257
273
|
|
@@ -265,6 +281,7 @@ module Aws::Polly
|
|
265
281
|
#
|
266
282
|
class InvalidSsmlException < Struct.new(
|
267
283
|
:message)
|
284
|
+
SENSITIVE = []
|
268
285
|
include Aws::Structure
|
269
286
|
end
|
270
287
|
|
@@ -278,6 +295,7 @@ module Aws::Polly
|
|
278
295
|
#
|
279
296
|
class InvalidTaskIdException < Struct.new(
|
280
297
|
:message)
|
298
|
+
SENSITIVE = []
|
281
299
|
include Aws::Structure
|
282
300
|
end
|
283
301
|
|
@@ -291,6 +309,7 @@ module Aws::Polly
|
|
291
309
|
#
|
292
310
|
class LanguageNotSupportedException < Struct.new(
|
293
311
|
:message)
|
312
|
+
SENSITIVE = []
|
294
313
|
include Aws::Structure
|
295
314
|
end
|
296
315
|
|
@@ -316,6 +335,7 @@ module Aws::Polly
|
|
316
335
|
class Lexicon < Struct.new(
|
317
336
|
:content,
|
318
337
|
:name)
|
338
|
+
SENSITIVE = [:name]
|
319
339
|
include Aws::Structure
|
320
340
|
end
|
321
341
|
|
@@ -363,6 +383,7 @@ module Aws::Polly
|
|
363
383
|
:lexicon_arn,
|
364
384
|
:lexemes_count,
|
365
385
|
:size)
|
386
|
+
SENSITIVE = []
|
366
387
|
include Aws::Structure
|
367
388
|
end
|
368
389
|
|
@@ -381,6 +402,7 @@ module Aws::Polly
|
|
381
402
|
class LexiconDescription < Struct.new(
|
382
403
|
:name,
|
383
404
|
:attributes)
|
405
|
+
SENSITIVE = [:name]
|
384
406
|
include Aws::Structure
|
385
407
|
end
|
386
408
|
|
@@ -398,6 +420,7 @@ module Aws::Polly
|
|
398
420
|
#
|
399
421
|
class LexiconNotFoundException < Struct.new(
|
400
422
|
:message)
|
423
|
+
SENSITIVE = []
|
401
424
|
include Aws::Structure
|
402
425
|
end
|
403
426
|
|
@@ -411,6 +434,7 @@ module Aws::Polly
|
|
411
434
|
#
|
412
435
|
class LexiconSizeExceededException < Struct.new(
|
413
436
|
:message)
|
437
|
+
SENSITIVE = []
|
414
438
|
include Aws::Structure
|
415
439
|
end
|
416
440
|
|
@@ -431,6 +455,7 @@ module Aws::Polly
|
|
431
455
|
#
|
432
456
|
class ListLexiconsInput < Struct.new(
|
433
457
|
:next_token)
|
458
|
+
SENSITIVE = []
|
434
459
|
include Aws::Structure
|
435
460
|
end
|
436
461
|
|
@@ -449,6 +474,7 @@ module Aws::Polly
|
|
449
474
|
class ListLexiconsOutput < Struct.new(
|
450
475
|
:lexicons,
|
451
476
|
:next_token)
|
477
|
+
SENSITIVE = []
|
452
478
|
include Aws::Structure
|
453
479
|
end
|
454
480
|
|
@@ -481,6 +507,7 @@ module Aws::Polly
|
|
481
507
|
:max_results,
|
482
508
|
:next_token,
|
483
509
|
:status)
|
510
|
+
SENSITIVE = []
|
484
511
|
include Aws::Structure
|
485
512
|
end
|
486
513
|
|
@@ -501,6 +528,7 @@ module Aws::Polly
|
|
501
528
|
class ListSpeechSynthesisTasksOutput < Struct.new(
|
502
529
|
:next_token,
|
503
530
|
:synthesis_tasks)
|
531
|
+
SENSITIVE = []
|
504
532
|
include Aws::Structure
|
505
533
|
end
|
506
534
|
|
@@ -514,6 +542,7 @@ module Aws::Polly
|
|
514
542
|
#
|
515
543
|
class MarksNotSupportedForFormatException < Struct.new(
|
516
544
|
:message)
|
545
|
+
SENSITIVE = []
|
517
546
|
include Aws::Structure
|
518
547
|
end
|
519
548
|
|
@@ -526,6 +555,7 @@ module Aws::Polly
|
|
526
555
|
#
|
527
556
|
class MaxLexemeLengthExceededException < Struct.new(
|
528
557
|
:message)
|
558
|
+
SENSITIVE = []
|
529
559
|
include Aws::Structure
|
530
560
|
end
|
531
561
|
|
@@ -538,6 +568,7 @@ module Aws::Polly
|
|
538
568
|
#
|
539
569
|
class MaxLexiconsNumberExceededException < Struct.new(
|
540
570
|
:message)
|
571
|
+
SENSITIVE = []
|
541
572
|
include Aws::Structure
|
542
573
|
end
|
543
574
|
|
@@ -564,6 +595,7 @@ module Aws::Polly
|
|
564
595
|
class PutLexiconInput < Struct.new(
|
565
596
|
:name,
|
566
597
|
:content)
|
598
|
+
SENSITIVE = [:name]
|
567
599
|
include Aws::Structure
|
568
600
|
end
|
569
601
|
|
@@ -580,6 +612,7 @@ module Aws::Polly
|
|
580
612
|
#
|
581
613
|
class ServiceFailureException < Struct.new(
|
582
614
|
:message)
|
615
|
+
SENSITIVE = []
|
583
616
|
include Aws::Structure
|
584
617
|
end
|
585
618
|
|
@@ -592,6 +625,7 @@ module Aws::Polly
|
|
592
625
|
#
|
593
626
|
class SsmlMarksNotSupportedForTextTypeException < Struct.new(
|
594
627
|
:message)
|
628
|
+
SENSITIVE = []
|
595
629
|
include Aws::Structure
|
596
630
|
end
|
597
631
|
|
@@ -610,7 +644,7 @@ module Aws::Polly
|
|
610
644
|
# speech_mark_types: ["sentence"], # accepts sentence, ssml, viseme, word
|
611
645
|
# text: "Text", # required
|
612
646
|
# text_type: "ssml", # accepts ssml, text
|
613
|
-
# voice_id: "Aditi", # required, accepts Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla, Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa, Filiz, Geraint, Giorgio, Gwyneth, Hans, Ines, Ivy, Jacek, Jan, Joanna, Joey, Justin, Karl, Kendra, Kimberly, Lea, Liv, Lotte, Lucia, Lupe, Mads, Maja, Marlene, Mathieu, Matthew, Maxim, Mia, Miguel, Mizuki, Naja, Nicole, 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, 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, Penelope, Raveena, Ricardo, Ruben, Russell, Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu
|
614
648
|
# }
|
615
649
|
#
|
616
650
|
# @!attribute [rw] engine
|
@@ -706,6 +740,7 @@ module Aws::Polly
|
|
706
740
|
:text,
|
707
741
|
:text_type,
|
708
742
|
:voice_id)
|
743
|
+
SENSITIVE = []
|
709
744
|
include Aws::Structure
|
710
745
|
end
|
711
746
|
|
@@ -718,6 +753,7 @@ module Aws::Polly
|
|
718
753
|
#
|
719
754
|
class StartSpeechSynthesisTaskOutput < Struct.new(
|
720
755
|
:synthesis_task)
|
756
|
+
SENSITIVE = []
|
721
757
|
include Aws::Structure
|
722
758
|
end
|
723
759
|
|
@@ -832,6 +868,7 @@ module Aws::Polly
|
|
832
868
|
:text_type,
|
833
869
|
:voice_id,
|
834
870
|
:language_code)
|
871
|
+
SENSITIVE = []
|
835
872
|
include Aws::Structure
|
836
873
|
end
|
837
874
|
|
@@ -844,6 +881,7 @@ module Aws::Polly
|
|
844
881
|
#
|
845
882
|
class SynthesisTaskNotFoundException < Struct.new(
|
846
883
|
:message)
|
884
|
+
SENSITIVE = []
|
847
885
|
include Aws::Structure
|
848
886
|
end
|
849
887
|
|
@@ -859,7 +897,7 @@ module Aws::Polly
|
|
859
897
|
# speech_mark_types: ["sentence"], # accepts sentence, ssml, viseme, word
|
860
898
|
# text: "Text", # required
|
861
899
|
# text_type: "ssml", # accepts ssml, text
|
862
|
-
# voice_id: "Aditi", # required, accepts Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla, Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa, Filiz, Geraint, Giorgio, Gwyneth, Hans, Ines, Ivy, Jacek, Jan, Joanna, Joey, Justin, Karl, Kendra, Kimberly, Lea, Liv, Lotte, Lucia, Lupe, Mads, Maja, Marlene, Mathieu, Matthew, Maxim, Mia, Miguel, Mizuki, Naja, Nicole, 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, 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, Penelope, Raveena, Ricardo, Ruben, Russell, Salli, Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu
|
863
901
|
# }
|
864
902
|
#
|
865
903
|
# @!attribute [rw] engine
|
@@ -956,6 +994,7 @@ module Aws::Polly
|
|
956
994
|
:text,
|
957
995
|
:text_type,
|
958
996
|
:voice_id)
|
997
|
+
SENSITIVE = []
|
959
998
|
include Aws::Structure
|
960
999
|
end
|
961
1000
|
|
@@ -991,6 +1030,7 @@ module Aws::Polly
|
|
991
1030
|
:audio_stream,
|
992
1031
|
:content_type,
|
993
1032
|
:request_characters)
|
1033
|
+
SENSITIVE = []
|
994
1034
|
include Aws::Structure
|
995
1035
|
end
|
996
1036
|
|
@@ -1008,6 +1048,7 @@ module Aws::Polly
|
|
1008
1048
|
#
|
1009
1049
|
class TextLengthExceededException < Struct.new(
|
1010
1050
|
:message)
|
1051
|
+
SENSITIVE = []
|
1011
1052
|
include Aws::Structure
|
1012
1053
|
end
|
1013
1054
|
|
@@ -1021,6 +1062,7 @@ module Aws::Polly
|
|
1021
1062
|
#
|
1022
1063
|
class UnsupportedPlsAlphabetException < Struct.new(
|
1023
1064
|
:message)
|
1065
|
+
SENSITIVE = []
|
1024
1066
|
include Aws::Structure
|
1025
1067
|
end
|
1026
1068
|
|
@@ -1038,6 +1080,7 @@ module Aws::Polly
|
|
1038
1080
|
#
|
1039
1081
|
class UnsupportedPlsLanguageException < Struct.new(
|
1040
1082
|
:message)
|
1083
|
+
SENSITIVE = []
|
1041
1084
|
include Aws::Structure
|
1042
1085
|
end
|
1043
1086
|
|
@@ -1091,6 +1134,7 @@ module Aws::Polly
|
|
1091
1134
|
:name,
|
1092
1135
|
:additional_language_codes,
|
1093
1136
|
:supported_engines)
|
1137
|
+
SENSITIVE = []
|
1094
1138
|
include Aws::Structure
|
1095
1139
|
end
|
1096
1140
|
|
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.33.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: 2020-
|
11
|
+
date: 2020-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.7.6.2
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: AWS SDK for Ruby - Amazon Polly
|