aws-sdk-polly 1.32.0 → 1.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-polly.rb +3 -2
- data/lib/aws-sdk-polly/client.rb +23 -8
- data/lib/aws-sdk-polly/customizations.rb +2 -0
- data/lib/aws-sdk-polly/presigner.rb +2 -0
- data/lib/aws-sdk-polly/types.rb +42 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79de2d85dffed24b585ccbfa10284a4c7220516f447dddbf3c90d1080386b17e
|
4
|
+
data.tar.gz: 7b118fa53127e55b8625724885e69dd8c51fdcb5a008dcf2f3af10f9abe014e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95c9635ee1f94b958339b2738f9dc85dce87bb07f51adca10ba8afbaf65d1dae46825dc2a71a2048935087a52ac5ce7e28971d7a7ab084287e8e0c63980fae49
|
7
|
+
data.tar.gz: b87ce0083cf83ba4f5b43c812cf880cc93b20762a34e72cb67b814bde18d7e80be6a5e84da60ba4a885085e71be261bc9771aca4e22887e5edab4239a02941e4
|
data/lib/aws-sdk-polly.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-polly/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::Polly
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.37.0'
|
51
52
|
|
52
53
|
end
|
data/lib/aws-sdk-polly/client.rb
CHANGED
@@ -85,13 +85,28 @@ module Aws::Polly
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::Polly
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -1045,7 +1060,7 @@ module Aws::Polly
|
|
1045
1060
|
params: params,
|
1046
1061
|
config: config)
|
1047
1062
|
context[:gem_name] = 'aws-sdk-polly'
|
1048
|
-
context[:gem_version] = '1.
|
1063
|
+
context[:gem_version] = '1.37.0'
|
1049
1064
|
Seahorse::Client::Request.new(handlers, context)
|
1050
1065
|
end
|
1051
1066
|
|
data/lib/aws-sdk-polly/types.rb
CHANGED
@@ -26,6 +26,7 @@ module Aws::Polly
|
|
26
26
|
#
|
27
27
|
class DeleteLexiconInput < Struct.new(
|
28
28
|
:name)
|
29
|
+
SENSITIVE = [:name]
|
29
30
|
include Aws::Structure
|
30
31
|
end
|
31
32
|
|
@@ -77,6 +78,7 @@ module Aws::Polly
|
|
77
78
|
:language_code,
|
78
79
|
:include_additional_language_codes,
|
79
80
|
:next_token)
|
81
|
+
SENSITIVE = []
|
80
82
|
include Aws::Structure
|
81
83
|
end
|
82
84
|
|
@@ -95,6 +97,7 @@ module Aws::Polly
|
|
95
97
|
class DescribeVoicesOutput < Struct.new(
|
96
98
|
:voices,
|
97
99
|
:next_token)
|
100
|
+
SENSITIVE = []
|
98
101
|
include Aws::Structure
|
99
102
|
end
|
100
103
|
|
@@ -109,6 +112,7 @@ module Aws::Polly
|
|
109
112
|
#
|
110
113
|
class EngineNotSupportedException < Struct.new(
|
111
114
|
:message)
|
115
|
+
SENSITIVE = []
|
112
116
|
include Aws::Structure
|
113
117
|
end
|
114
118
|
|
@@ -127,6 +131,7 @@ module Aws::Polly
|
|
127
131
|
#
|
128
132
|
class GetLexiconInput < Struct.new(
|
129
133
|
:name)
|
134
|
+
SENSITIVE = [:name]
|
130
135
|
include Aws::Structure
|
131
136
|
end
|
132
137
|
|
@@ -146,6 +151,7 @@ module Aws::Polly
|
|
146
151
|
class GetLexiconOutput < Struct.new(
|
147
152
|
:lexicon,
|
148
153
|
:lexicon_attributes)
|
154
|
+
SENSITIVE = []
|
149
155
|
include Aws::Structure
|
150
156
|
end
|
151
157
|
|
@@ -164,6 +170,7 @@ module Aws::Polly
|
|
164
170
|
#
|
165
171
|
class GetSpeechSynthesisTaskInput < Struct.new(
|
166
172
|
:task_id)
|
173
|
+
SENSITIVE = []
|
167
174
|
include Aws::Structure
|
168
175
|
end
|
169
176
|
|
@@ -177,6 +184,7 @@ module Aws::Polly
|
|
177
184
|
#
|
178
185
|
class GetSpeechSynthesisTaskOutput < Struct.new(
|
179
186
|
:synthesis_task)
|
187
|
+
SENSITIVE = []
|
180
188
|
include Aws::Structure
|
181
189
|
end
|
182
190
|
|
@@ -190,6 +198,7 @@ module Aws::Polly
|
|
190
198
|
#
|
191
199
|
class InvalidLexiconException < Struct.new(
|
192
200
|
:message)
|
201
|
+
SENSITIVE = []
|
193
202
|
include Aws::Structure
|
194
203
|
end
|
195
204
|
|
@@ -203,6 +212,7 @@ module Aws::Polly
|
|
203
212
|
#
|
204
213
|
class InvalidNextTokenException < Struct.new(
|
205
214
|
:message)
|
215
|
+
SENSITIVE = []
|
206
216
|
include Aws::Structure
|
207
217
|
end
|
208
218
|
|
@@ -216,6 +226,7 @@ module Aws::Polly
|
|
216
226
|
#
|
217
227
|
class InvalidS3BucketException < Struct.new(
|
218
228
|
:message)
|
229
|
+
SENSITIVE = []
|
219
230
|
include Aws::Structure
|
220
231
|
end
|
221
232
|
|
@@ -229,6 +240,7 @@ module Aws::Polly
|
|
229
240
|
#
|
230
241
|
class InvalidS3KeyException < Struct.new(
|
231
242
|
:message)
|
243
|
+
SENSITIVE = []
|
232
244
|
include Aws::Structure
|
233
245
|
end
|
234
246
|
|
@@ -241,6 +253,7 @@ module Aws::Polly
|
|
241
253
|
#
|
242
254
|
class InvalidSampleRateException < Struct.new(
|
243
255
|
:message)
|
256
|
+
SENSITIVE = []
|
244
257
|
include Aws::Structure
|
245
258
|
end
|
246
259
|
|
@@ -254,6 +267,7 @@ module Aws::Polly
|
|
254
267
|
#
|
255
268
|
class InvalidSnsTopicArnException < Struct.new(
|
256
269
|
:message)
|
270
|
+
SENSITIVE = []
|
257
271
|
include Aws::Structure
|
258
272
|
end
|
259
273
|
|
@@ -267,6 +281,7 @@ module Aws::Polly
|
|
267
281
|
#
|
268
282
|
class InvalidSsmlException < Struct.new(
|
269
283
|
:message)
|
284
|
+
SENSITIVE = []
|
270
285
|
include Aws::Structure
|
271
286
|
end
|
272
287
|
|
@@ -280,6 +295,7 @@ module Aws::Polly
|
|
280
295
|
#
|
281
296
|
class InvalidTaskIdException < Struct.new(
|
282
297
|
:message)
|
298
|
+
SENSITIVE = []
|
283
299
|
include Aws::Structure
|
284
300
|
end
|
285
301
|
|
@@ -293,6 +309,7 @@ module Aws::Polly
|
|
293
309
|
#
|
294
310
|
class LanguageNotSupportedException < Struct.new(
|
295
311
|
:message)
|
312
|
+
SENSITIVE = []
|
296
313
|
include Aws::Structure
|
297
314
|
end
|
298
315
|
|
@@ -318,6 +335,7 @@ module Aws::Polly
|
|
318
335
|
class Lexicon < Struct.new(
|
319
336
|
:content,
|
320
337
|
:name)
|
338
|
+
SENSITIVE = [:name]
|
321
339
|
include Aws::Structure
|
322
340
|
end
|
323
341
|
|
@@ -365,6 +383,7 @@ module Aws::Polly
|
|
365
383
|
:lexicon_arn,
|
366
384
|
:lexemes_count,
|
367
385
|
:size)
|
386
|
+
SENSITIVE = []
|
368
387
|
include Aws::Structure
|
369
388
|
end
|
370
389
|
|
@@ -383,6 +402,7 @@ module Aws::Polly
|
|
383
402
|
class LexiconDescription < Struct.new(
|
384
403
|
:name,
|
385
404
|
:attributes)
|
405
|
+
SENSITIVE = [:name]
|
386
406
|
include Aws::Structure
|
387
407
|
end
|
388
408
|
|
@@ -400,6 +420,7 @@ module Aws::Polly
|
|
400
420
|
#
|
401
421
|
class LexiconNotFoundException < Struct.new(
|
402
422
|
:message)
|
423
|
+
SENSITIVE = []
|
403
424
|
include Aws::Structure
|
404
425
|
end
|
405
426
|
|
@@ -413,6 +434,7 @@ module Aws::Polly
|
|
413
434
|
#
|
414
435
|
class LexiconSizeExceededException < Struct.new(
|
415
436
|
:message)
|
437
|
+
SENSITIVE = []
|
416
438
|
include Aws::Structure
|
417
439
|
end
|
418
440
|
|
@@ -433,6 +455,7 @@ module Aws::Polly
|
|
433
455
|
#
|
434
456
|
class ListLexiconsInput < Struct.new(
|
435
457
|
:next_token)
|
458
|
+
SENSITIVE = []
|
436
459
|
include Aws::Structure
|
437
460
|
end
|
438
461
|
|
@@ -451,6 +474,7 @@ module Aws::Polly
|
|
451
474
|
class ListLexiconsOutput < Struct.new(
|
452
475
|
:lexicons,
|
453
476
|
:next_token)
|
477
|
+
SENSITIVE = []
|
454
478
|
include Aws::Structure
|
455
479
|
end
|
456
480
|
|
@@ -483,6 +507,7 @@ module Aws::Polly
|
|
483
507
|
:max_results,
|
484
508
|
:next_token,
|
485
509
|
:status)
|
510
|
+
SENSITIVE = []
|
486
511
|
include Aws::Structure
|
487
512
|
end
|
488
513
|
|
@@ -503,6 +528,7 @@ module Aws::Polly
|
|
503
528
|
class ListSpeechSynthesisTasksOutput < Struct.new(
|
504
529
|
:next_token,
|
505
530
|
:synthesis_tasks)
|
531
|
+
SENSITIVE = []
|
506
532
|
include Aws::Structure
|
507
533
|
end
|
508
534
|
|
@@ -516,6 +542,7 @@ module Aws::Polly
|
|
516
542
|
#
|
517
543
|
class MarksNotSupportedForFormatException < Struct.new(
|
518
544
|
:message)
|
545
|
+
SENSITIVE = []
|
519
546
|
include Aws::Structure
|
520
547
|
end
|
521
548
|
|
@@ -528,6 +555,7 @@ module Aws::Polly
|
|
528
555
|
#
|
529
556
|
class MaxLexemeLengthExceededException < Struct.new(
|
530
557
|
:message)
|
558
|
+
SENSITIVE = []
|
531
559
|
include Aws::Structure
|
532
560
|
end
|
533
561
|
|
@@ -540,6 +568,7 @@ module Aws::Polly
|
|
540
568
|
#
|
541
569
|
class MaxLexiconsNumberExceededException < Struct.new(
|
542
570
|
:message)
|
571
|
+
SENSITIVE = []
|
543
572
|
include Aws::Structure
|
544
573
|
end
|
545
574
|
|
@@ -566,6 +595,7 @@ module Aws::Polly
|
|
566
595
|
class PutLexiconInput < Struct.new(
|
567
596
|
:name,
|
568
597
|
:content)
|
598
|
+
SENSITIVE = [:name]
|
569
599
|
include Aws::Structure
|
570
600
|
end
|
571
601
|
|
@@ -582,6 +612,7 @@ module Aws::Polly
|
|
582
612
|
#
|
583
613
|
class ServiceFailureException < Struct.new(
|
584
614
|
:message)
|
615
|
+
SENSITIVE = []
|
585
616
|
include Aws::Structure
|
586
617
|
end
|
587
618
|
|
@@ -594,6 +625,7 @@ module Aws::Polly
|
|
594
625
|
#
|
595
626
|
class SsmlMarksNotSupportedForTextTypeException < Struct.new(
|
596
627
|
:message)
|
628
|
+
SENSITIVE = []
|
597
629
|
include Aws::Structure
|
598
630
|
end
|
599
631
|
|
@@ -708,6 +740,7 @@ module Aws::Polly
|
|
708
740
|
:text,
|
709
741
|
:text_type,
|
710
742
|
:voice_id)
|
743
|
+
SENSITIVE = []
|
711
744
|
include Aws::Structure
|
712
745
|
end
|
713
746
|
|
@@ -720,6 +753,7 @@ module Aws::Polly
|
|
720
753
|
#
|
721
754
|
class StartSpeechSynthesisTaskOutput < Struct.new(
|
722
755
|
:synthesis_task)
|
756
|
+
SENSITIVE = []
|
723
757
|
include Aws::Structure
|
724
758
|
end
|
725
759
|
|
@@ -834,6 +868,7 @@ module Aws::Polly
|
|
834
868
|
:text_type,
|
835
869
|
:voice_id,
|
836
870
|
:language_code)
|
871
|
+
SENSITIVE = []
|
837
872
|
include Aws::Structure
|
838
873
|
end
|
839
874
|
|
@@ -846,6 +881,7 @@ module Aws::Polly
|
|
846
881
|
#
|
847
882
|
class SynthesisTaskNotFoundException < Struct.new(
|
848
883
|
:message)
|
884
|
+
SENSITIVE = []
|
849
885
|
include Aws::Structure
|
850
886
|
end
|
851
887
|
|
@@ -958,6 +994,7 @@ module Aws::Polly
|
|
958
994
|
:text,
|
959
995
|
:text_type,
|
960
996
|
:voice_id)
|
997
|
+
SENSITIVE = []
|
961
998
|
include Aws::Structure
|
962
999
|
end
|
963
1000
|
|
@@ -993,6 +1030,7 @@ module Aws::Polly
|
|
993
1030
|
:audio_stream,
|
994
1031
|
:content_type,
|
995
1032
|
:request_characters)
|
1033
|
+
SENSITIVE = []
|
996
1034
|
include Aws::Structure
|
997
1035
|
end
|
998
1036
|
|
@@ -1010,6 +1048,7 @@ module Aws::Polly
|
|
1010
1048
|
#
|
1011
1049
|
class TextLengthExceededException < Struct.new(
|
1012
1050
|
:message)
|
1051
|
+
SENSITIVE = []
|
1013
1052
|
include Aws::Structure
|
1014
1053
|
end
|
1015
1054
|
|
@@ -1023,6 +1062,7 @@ module Aws::Polly
|
|
1023
1062
|
#
|
1024
1063
|
class UnsupportedPlsAlphabetException < Struct.new(
|
1025
1064
|
:message)
|
1065
|
+
SENSITIVE = []
|
1026
1066
|
include Aws::Structure
|
1027
1067
|
end
|
1028
1068
|
|
@@ -1040,6 +1080,7 @@ module Aws::Polly
|
|
1040
1080
|
#
|
1041
1081
|
class UnsupportedPlsLanguageException < Struct.new(
|
1042
1082
|
:message)
|
1083
|
+
SENSITIVE = []
|
1043
1084
|
include Aws::Structure
|
1044
1085
|
end
|
1045
1086
|
|
@@ -1093,6 +1134,7 @@ module Aws::Polly
|
|
1093
1134
|
:name,
|
1094
1135
|
:additional_language_codes,
|
1095
1136
|
:supported_engines)
|
1137
|
+
SENSITIVE = []
|
1096
1138
|
include Aws::Structure
|
1097
1139
|
end
|
1098
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.37.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-09-30 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.109.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.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|