aws-sdk-core 2.6.29 → 2.6.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/lightsail/2016-11-28/api-2.json +2137 -0
- data/apis/lightsail/2016-11-28/examples-1.json +5 -0
- data/apis/polly/2016-06-10/api-2.json +504 -0
- data/apis/polly/2016-06-10/examples-1.json +5 -0
- data/apis/rekognition/2016-06-27/api-2.json +836 -0
- data/apis/rekognition/2016-06-27/examples-1.json +5 -0
- data/apis/rekognition/2016-06-27/paginators-1.json +16 -0
- data/apis/snowball/2016-06-30/api-2.json +283 -11
- data/endpoints.json +20 -0
- data/lib/aws-sdk-core.rb +3 -0
- data/lib/aws-sdk-core/lightsail.rb +5 -0
- data/lib/aws-sdk-core/polly.rb +13 -0
- data/lib/aws-sdk-core/polly/presigner.rb +70 -0
- data/lib/aws-sdk-core/rekognition.rb +6 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- data/service-models.json +12 -0
- metadata +13 -2
@@ -0,0 +1,504 @@
|
|
1
|
+
{
|
2
|
+
"version":"2.0",
|
3
|
+
"metadata":{
|
4
|
+
"apiVersion":"2016-06-10",
|
5
|
+
"endpointPrefix":"polly",
|
6
|
+
"protocol":"rest-json",
|
7
|
+
"serviceFullName":"Amazon Polly",
|
8
|
+
"signatureVersion":"v4",
|
9
|
+
"uid":"polly-2016-06-10"
|
10
|
+
},
|
11
|
+
"operations":{
|
12
|
+
"DeleteLexicon":{
|
13
|
+
"name":"DeleteLexicon",
|
14
|
+
"http":{
|
15
|
+
"method":"DELETE",
|
16
|
+
"requestUri":"/v1/lexicons/{LexiconName}",
|
17
|
+
"responseCode":200
|
18
|
+
},
|
19
|
+
"input":{"shape":"DeleteLexiconInput"},
|
20
|
+
"output":{"shape":"DeleteLexiconOutput"},
|
21
|
+
"errors":[
|
22
|
+
{"shape":"LexiconNotFoundException"},
|
23
|
+
{"shape":"ServiceFailureException"}
|
24
|
+
]
|
25
|
+
},
|
26
|
+
"DescribeVoices":{
|
27
|
+
"name":"DescribeVoices",
|
28
|
+
"http":{
|
29
|
+
"method":"GET",
|
30
|
+
"requestUri":"/v1/voices",
|
31
|
+
"responseCode":200
|
32
|
+
},
|
33
|
+
"input":{"shape":"DescribeVoicesInput"},
|
34
|
+
"output":{"shape":"DescribeVoicesOutput"},
|
35
|
+
"errors":[
|
36
|
+
{"shape":"InvalidNextTokenException"},
|
37
|
+
{"shape":"ServiceFailureException"}
|
38
|
+
]
|
39
|
+
},
|
40
|
+
"GetLexicon":{
|
41
|
+
"name":"GetLexicon",
|
42
|
+
"http":{
|
43
|
+
"method":"GET",
|
44
|
+
"requestUri":"/v1/lexicons/{LexiconName}",
|
45
|
+
"responseCode":200
|
46
|
+
},
|
47
|
+
"input":{"shape":"GetLexiconInput"},
|
48
|
+
"output":{"shape":"GetLexiconOutput"},
|
49
|
+
"errors":[
|
50
|
+
{"shape":"LexiconNotFoundException"},
|
51
|
+
{"shape":"ServiceFailureException"}
|
52
|
+
]
|
53
|
+
},
|
54
|
+
"ListLexicons":{
|
55
|
+
"name":"ListLexicons",
|
56
|
+
"http":{
|
57
|
+
"method":"GET",
|
58
|
+
"requestUri":"/v1/lexicons",
|
59
|
+
"responseCode":200
|
60
|
+
},
|
61
|
+
"input":{"shape":"ListLexiconsInput"},
|
62
|
+
"output":{"shape":"ListLexiconsOutput"},
|
63
|
+
"errors":[
|
64
|
+
{"shape":"InvalidNextTokenException"},
|
65
|
+
{"shape":"ServiceFailureException"}
|
66
|
+
]
|
67
|
+
},
|
68
|
+
"PutLexicon":{
|
69
|
+
"name":"PutLexicon",
|
70
|
+
"http":{
|
71
|
+
"method":"PUT",
|
72
|
+
"requestUri":"/v1/lexicons/{LexiconName}",
|
73
|
+
"responseCode":200
|
74
|
+
},
|
75
|
+
"input":{"shape":"PutLexiconInput"},
|
76
|
+
"output":{"shape":"PutLexiconOutput"},
|
77
|
+
"errors":[
|
78
|
+
{"shape":"InvalidLexiconException"},
|
79
|
+
{"shape":"UnsupportedPlsAlphabetException"},
|
80
|
+
{"shape":"UnsupportedPlsLanguageException"},
|
81
|
+
{"shape":"LexiconSizeExceededException"},
|
82
|
+
{"shape":"MaxLexemeLengthExceededException"},
|
83
|
+
{"shape":"MaxLexiconsNumberExceededException"},
|
84
|
+
{"shape":"ServiceFailureException"}
|
85
|
+
]
|
86
|
+
},
|
87
|
+
"SynthesizeSpeech":{
|
88
|
+
"name":"SynthesizeSpeech",
|
89
|
+
"http":{
|
90
|
+
"method":"POST",
|
91
|
+
"requestUri":"/v1/speech",
|
92
|
+
"responseCode":200
|
93
|
+
},
|
94
|
+
"input":{"shape":"SynthesizeSpeechInput"},
|
95
|
+
"output":{"shape":"SynthesizeSpeechOutput"},
|
96
|
+
"errors":[
|
97
|
+
{"shape":"TextLengthExceededException"},
|
98
|
+
{"shape":"InvalidSampleRateException"},
|
99
|
+
{"shape":"InvalidSsmlException"},
|
100
|
+
{"shape":"LexiconNotFoundException"},
|
101
|
+
{"shape":"ServiceFailureException"}
|
102
|
+
]
|
103
|
+
}
|
104
|
+
},
|
105
|
+
"shapes":{
|
106
|
+
"Alphabet":{"type":"string"},
|
107
|
+
"AudioStream":{
|
108
|
+
"type":"blob",
|
109
|
+
"streaming":true
|
110
|
+
},
|
111
|
+
"ContentType":{"type":"string"},
|
112
|
+
"DeleteLexiconInput":{
|
113
|
+
"type":"structure",
|
114
|
+
"required":["Name"],
|
115
|
+
"members":{
|
116
|
+
"Name":{
|
117
|
+
"shape":"LexiconName",
|
118
|
+
"location":"uri",
|
119
|
+
"locationName":"LexiconName"
|
120
|
+
}
|
121
|
+
}
|
122
|
+
},
|
123
|
+
"DeleteLexiconOutput":{
|
124
|
+
"type":"structure",
|
125
|
+
"members":{
|
126
|
+
}
|
127
|
+
},
|
128
|
+
"DescribeVoicesInput":{
|
129
|
+
"type":"structure",
|
130
|
+
"members":{
|
131
|
+
"LanguageCode":{
|
132
|
+
"shape":"LanguageCode",
|
133
|
+
"location":"querystring",
|
134
|
+
"locationName":"LanguageCode"
|
135
|
+
},
|
136
|
+
"NextToken":{
|
137
|
+
"shape":"NextToken",
|
138
|
+
"location":"querystring",
|
139
|
+
"locationName":"NextToken"
|
140
|
+
}
|
141
|
+
}
|
142
|
+
},
|
143
|
+
"DescribeVoicesOutput":{
|
144
|
+
"type":"structure",
|
145
|
+
"members":{
|
146
|
+
"Voices":{"shape":"VoiceList"},
|
147
|
+
"NextToken":{"shape":"NextToken"}
|
148
|
+
}
|
149
|
+
},
|
150
|
+
"ErrorMessage":{"type":"string"},
|
151
|
+
"Gender":{
|
152
|
+
"type":"string",
|
153
|
+
"enum":[
|
154
|
+
"Female",
|
155
|
+
"Male"
|
156
|
+
]
|
157
|
+
},
|
158
|
+
"GetLexiconInput":{
|
159
|
+
"type":"structure",
|
160
|
+
"required":["Name"],
|
161
|
+
"members":{
|
162
|
+
"Name":{
|
163
|
+
"shape":"LexiconName",
|
164
|
+
"location":"uri",
|
165
|
+
"locationName":"LexiconName"
|
166
|
+
}
|
167
|
+
}
|
168
|
+
},
|
169
|
+
"GetLexiconOutput":{
|
170
|
+
"type":"structure",
|
171
|
+
"members":{
|
172
|
+
"Lexicon":{"shape":"Lexicon"},
|
173
|
+
"LexiconAttributes":{"shape":"LexiconAttributes"}
|
174
|
+
}
|
175
|
+
},
|
176
|
+
"InvalidLexiconException":{
|
177
|
+
"type":"structure",
|
178
|
+
"members":{
|
179
|
+
"message":{"shape":"ErrorMessage"}
|
180
|
+
},
|
181
|
+
"error":{"httpStatusCode":400},
|
182
|
+
"exception":true
|
183
|
+
},
|
184
|
+
"InvalidNextTokenException":{
|
185
|
+
"type":"structure",
|
186
|
+
"members":{
|
187
|
+
"message":{"shape":"ErrorMessage"}
|
188
|
+
},
|
189
|
+
"error":{"httpStatusCode":400},
|
190
|
+
"exception":true
|
191
|
+
},
|
192
|
+
"InvalidSampleRateException":{
|
193
|
+
"type":"structure",
|
194
|
+
"members":{
|
195
|
+
"message":{"shape":"ErrorMessage"}
|
196
|
+
},
|
197
|
+
"error":{"httpStatusCode":400},
|
198
|
+
"exception":true
|
199
|
+
},
|
200
|
+
"InvalidSsmlException":{
|
201
|
+
"type":"structure",
|
202
|
+
"members":{
|
203
|
+
"message":{"shape":"ErrorMessage"}
|
204
|
+
},
|
205
|
+
"error":{"httpStatusCode":400},
|
206
|
+
"exception":true
|
207
|
+
},
|
208
|
+
"LanguageCode":{
|
209
|
+
"type":"string",
|
210
|
+
"enum":[
|
211
|
+
"cy-GB",
|
212
|
+
"da-DK",
|
213
|
+
"de-DE",
|
214
|
+
"en-AU",
|
215
|
+
"en-GB",
|
216
|
+
"en-GB-WLS",
|
217
|
+
"en-IN",
|
218
|
+
"en-US",
|
219
|
+
"es-ES",
|
220
|
+
"es-US",
|
221
|
+
"fr-CA",
|
222
|
+
"fr-FR",
|
223
|
+
"is-IS",
|
224
|
+
"it-IT",
|
225
|
+
"ja-JP",
|
226
|
+
"nb-NO",
|
227
|
+
"nl-NL",
|
228
|
+
"pl-PL",
|
229
|
+
"pt-BR",
|
230
|
+
"pt-PT",
|
231
|
+
"ro-RO",
|
232
|
+
"ru-RU",
|
233
|
+
"sv-SE",
|
234
|
+
"tr-TR"
|
235
|
+
]
|
236
|
+
},
|
237
|
+
"LanguageName":{"type":"string"},
|
238
|
+
"LastModified":{"type":"timestamp"},
|
239
|
+
"LexemesCount":{"type":"integer"},
|
240
|
+
"Lexicon":{
|
241
|
+
"type":"structure",
|
242
|
+
"members":{
|
243
|
+
"Content":{"shape":"LexiconContent"},
|
244
|
+
"Name":{"shape":"LexiconName"}
|
245
|
+
}
|
246
|
+
},
|
247
|
+
"LexiconArn":{"type":"string"},
|
248
|
+
"LexiconAttributes":{
|
249
|
+
"type":"structure",
|
250
|
+
"members":{
|
251
|
+
"Alphabet":{"shape":"Alphabet"},
|
252
|
+
"LanguageCode":{"shape":"LanguageCode"},
|
253
|
+
"LastModified":{"shape":"LastModified"},
|
254
|
+
"LexiconArn":{"shape":"LexiconArn"},
|
255
|
+
"LexemesCount":{"shape":"LexemesCount"},
|
256
|
+
"Size":{"shape":"Size"}
|
257
|
+
}
|
258
|
+
},
|
259
|
+
"LexiconContent":{"type":"string"},
|
260
|
+
"LexiconDescription":{
|
261
|
+
"type":"structure",
|
262
|
+
"members":{
|
263
|
+
"Name":{"shape":"LexiconName"},
|
264
|
+
"Attributes":{"shape":"LexiconAttributes"}
|
265
|
+
}
|
266
|
+
},
|
267
|
+
"LexiconDescriptionList":{
|
268
|
+
"type":"list",
|
269
|
+
"member":{"shape":"LexiconDescription"}
|
270
|
+
},
|
271
|
+
"LexiconName":{
|
272
|
+
"type":"string",
|
273
|
+
"pattern":"[0-9A-Za-z]{1,20}",
|
274
|
+
"sensitive":true
|
275
|
+
},
|
276
|
+
"LexiconNameList":{
|
277
|
+
"type":"list",
|
278
|
+
"member":{"shape":"LexiconName"},
|
279
|
+
"max":5
|
280
|
+
},
|
281
|
+
"LexiconNotFoundException":{
|
282
|
+
"type":"structure",
|
283
|
+
"members":{
|
284
|
+
"message":{"shape":"ErrorMessage"}
|
285
|
+
},
|
286
|
+
"error":{"httpStatusCode":404},
|
287
|
+
"exception":true
|
288
|
+
},
|
289
|
+
"LexiconSizeExceededException":{
|
290
|
+
"type":"structure",
|
291
|
+
"members":{
|
292
|
+
"message":{"shape":"ErrorMessage"}
|
293
|
+
},
|
294
|
+
"error":{"httpStatusCode":400},
|
295
|
+
"exception":true
|
296
|
+
},
|
297
|
+
"ListLexiconsInput":{
|
298
|
+
"type":"structure",
|
299
|
+
"members":{
|
300
|
+
"NextToken":{
|
301
|
+
"shape":"NextToken",
|
302
|
+
"location":"querystring",
|
303
|
+
"locationName":"NextToken"
|
304
|
+
}
|
305
|
+
}
|
306
|
+
},
|
307
|
+
"ListLexiconsOutput":{
|
308
|
+
"type":"structure",
|
309
|
+
"members":{
|
310
|
+
"Lexicons":{"shape":"LexiconDescriptionList"},
|
311
|
+
"NextToken":{"shape":"NextToken"}
|
312
|
+
}
|
313
|
+
},
|
314
|
+
"MaxLexemeLengthExceededException":{
|
315
|
+
"type":"structure",
|
316
|
+
"members":{
|
317
|
+
"message":{"shape":"ErrorMessage"}
|
318
|
+
},
|
319
|
+
"error":{"httpStatusCode":400},
|
320
|
+
"exception":true
|
321
|
+
},
|
322
|
+
"MaxLexiconsNumberExceededException":{
|
323
|
+
"type":"structure",
|
324
|
+
"members":{
|
325
|
+
"message":{"shape":"ErrorMessage"}
|
326
|
+
},
|
327
|
+
"error":{"httpStatusCode":400},
|
328
|
+
"exception":true
|
329
|
+
},
|
330
|
+
"NextToken":{"type":"string"},
|
331
|
+
"OutputFormat":{
|
332
|
+
"type":"string",
|
333
|
+
"enum":[
|
334
|
+
"mp3",
|
335
|
+
"ogg_vorbis",
|
336
|
+
"pcm"
|
337
|
+
]
|
338
|
+
},
|
339
|
+
"PutLexiconInput":{
|
340
|
+
"type":"structure",
|
341
|
+
"required":[
|
342
|
+
"Name",
|
343
|
+
"Content"
|
344
|
+
],
|
345
|
+
"members":{
|
346
|
+
"Name":{
|
347
|
+
"shape":"LexiconName",
|
348
|
+
"location":"uri",
|
349
|
+
"locationName":"LexiconName"
|
350
|
+
},
|
351
|
+
"Content":{"shape":"LexiconContent"}
|
352
|
+
}
|
353
|
+
},
|
354
|
+
"PutLexiconOutput":{
|
355
|
+
"type":"structure",
|
356
|
+
"members":{
|
357
|
+
}
|
358
|
+
},
|
359
|
+
"RequestCharacters":{"type":"integer"},
|
360
|
+
"SampleRate":{"type":"string"},
|
361
|
+
"ServiceFailureException":{
|
362
|
+
"type":"structure",
|
363
|
+
"members":{
|
364
|
+
"message":{"shape":"ErrorMessage"}
|
365
|
+
},
|
366
|
+
"error":{"httpStatusCode":500},
|
367
|
+
"exception":true,
|
368
|
+
"fault":true
|
369
|
+
},
|
370
|
+
"Size":{"type":"integer"},
|
371
|
+
"SynthesizeSpeechInput":{
|
372
|
+
"type":"structure",
|
373
|
+
"required":[
|
374
|
+
"OutputFormat",
|
375
|
+
"Text",
|
376
|
+
"VoiceId"
|
377
|
+
],
|
378
|
+
"members":{
|
379
|
+
"LexiconNames":{"shape":"LexiconNameList"},
|
380
|
+
"OutputFormat":{"shape":"OutputFormat"},
|
381
|
+
"SampleRate":{"shape":"SampleRate"},
|
382
|
+
"Text":{"shape":"Text"},
|
383
|
+
"TextType":{"shape":"TextType"},
|
384
|
+
"VoiceId":{"shape":"VoiceId"}
|
385
|
+
}
|
386
|
+
},
|
387
|
+
"SynthesizeSpeechOutput":{
|
388
|
+
"type":"structure",
|
389
|
+
"members":{
|
390
|
+
"AudioStream":{"shape":"AudioStream"},
|
391
|
+
"ContentType":{
|
392
|
+
"shape":"ContentType",
|
393
|
+
"location":"header",
|
394
|
+
"locationName":"Content-Type"
|
395
|
+
},
|
396
|
+
"RequestCharacters":{
|
397
|
+
"shape":"RequestCharacters",
|
398
|
+
"location":"header",
|
399
|
+
"locationName":"x-amzn-RequestCharacters"
|
400
|
+
}
|
401
|
+
},
|
402
|
+
"payload":"AudioStream"
|
403
|
+
},
|
404
|
+
"Text":{"type":"string"},
|
405
|
+
"TextLengthExceededException":{
|
406
|
+
"type":"structure",
|
407
|
+
"members":{
|
408
|
+
"message":{"shape":"ErrorMessage"}
|
409
|
+
},
|
410
|
+
"error":{"httpStatusCode":400},
|
411
|
+
"exception":true
|
412
|
+
},
|
413
|
+
"TextType":{
|
414
|
+
"type":"string",
|
415
|
+
"enum":[
|
416
|
+
"ssml",
|
417
|
+
"text"
|
418
|
+
]
|
419
|
+
},
|
420
|
+
"UnsupportedPlsAlphabetException":{
|
421
|
+
"type":"structure",
|
422
|
+
"members":{
|
423
|
+
"message":{"shape":"ErrorMessage"}
|
424
|
+
},
|
425
|
+
"error":{"httpStatusCode":400},
|
426
|
+
"exception":true
|
427
|
+
},
|
428
|
+
"UnsupportedPlsLanguageException":{
|
429
|
+
"type":"structure",
|
430
|
+
"members":{
|
431
|
+
"message":{"shape":"ErrorMessage"}
|
432
|
+
},
|
433
|
+
"error":{"httpStatusCode":400},
|
434
|
+
"exception":true
|
435
|
+
},
|
436
|
+
"Voice":{
|
437
|
+
"type":"structure",
|
438
|
+
"members":{
|
439
|
+
"Gender":{"shape":"Gender"},
|
440
|
+
"Id":{"shape":"VoiceId"},
|
441
|
+
"LanguageCode":{"shape":"LanguageCode"},
|
442
|
+
"LanguageName":{"shape":"LanguageName"},
|
443
|
+
"Name":{"shape":"VoiceName"}
|
444
|
+
}
|
445
|
+
},
|
446
|
+
"VoiceId":{
|
447
|
+
"type":"string",
|
448
|
+
"enum":[
|
449
|
+
"Geraint",
|
450
|
+
"Gwyneth",
|
451
|
+
"Mads",
|
452
|
+
"Naja",
|
453
|
+
"Hans",
|
454
|
+
"Marlene",
|
455
|
+
"Nicole",
|
456
|
+
"Russell",
|
457
|
+
"Amy",
|
458
|
+
"Brian",
|
459
|
+
"Emma",
|
460
|
+
"Raveena",
|
461
|
+
"Ivy",
|
462
|
+
"Joanna",
|
463
|
+
"Joey",
|
464
|
+
"Justin",
|
465
|
+
"Kendra",
|
466
|
+
"Kimberly",
|
467
|
+
"Salli",
|
468
|
+
"Conchita",
|
469
|
+
"Enrique",
|
470
|
+
"Miguel",
|
471
|
+
"Penelope",
|
472
|
+
"Chantal",
|
473
|
+
"Celine",
|
474
|
+
"Mathieu",
|
475
|
+
"Dora",
|
476
|
+
"Karl",
|
477
|
+
"Carla",
|
478
|
+
"Giorgio",
|
479
|
+
"Mizuki",
|
480
|
+
"Liv",
|
481
|
+
"Lotte",
|
482
|
+
"Ruben",
|
483
|
+
"Ewa",
|
484
|
+
"Jacek",
|
485
|
+
"Jan",
|
486
|
+
"Maja",
|
487
|
+
"Ricardo",
|
488
|
+
"Vitoria",
|
489
|
+
"Cristiano",
|
490
|
+
"Ines",
|
491
|
+
"Carmen",
|
492
|
+
"Maxim",
|
493
|
+
"Tatyana",
|
494
|
+
"Astrid",
|
495
|
+
"Filiz"
|
496
|
+
]
|
497
|
+
},
|
498
|
+
"VoiceList":{
|
499
|
+
"type":"list",
|
500
|
+
"member":{"shape":"Voice"}
|
501
|
+
},
|
502
|
+
"VoiceName":{"type":"string"}
|
503
|
+
}
|
504
|
+
}
|