1 | {
|
2 | "version": "2.0",
|
3 | "metadata": {
|
4 | "apiVersion": "2016-06-10",
|
5 | "endpointPrefix": "polly",
|
6 | "protocol": "rest-json",
|
7 | "serviceFullName": "Amazon Polly",
|
8 | "serviceId": "Polly",
|
9 | "signatureVersion": "v4",
|
10 | "uid": "polly-2016-06-10"
|
11 | },
|
12 | "operations": {
|
13 | "DeleteLexicon": {
|
14 | "http": {
|
15 | "method": "DELETE",
|
16 | "requestUri": "/v1/lexicons/{LexiconName}",
|
17 | "responseCode": 200
|
18 | },
|
19 | "input": {
|
20 | "type": "structure",
|
21 | "required": [
|
22 | "Name"
|
23 | ],
|
24 | "members": {
|
25 | "Name": {
|
26 | "shape": "S2",
|
27 | "location": "uri",
|
28 | "locationName": "LexiconName"
|
29 | }
|
30 | }
|
31 | },
|
32 | "output": {
|
33 | "type": "structure",
|
34 | "members": {}
|
35 | }
|
36 | },
|
37 | "DescribeVoices": {
|
38 | "http": {
|
39 | "method": "GET",
|
40 | "requestUri": "/v1/voices",
|
41 | "responseCode": 200
|
42 | },
|
43 | "input": {
|
44 | "type": "structure",
|
45 | "members": {
|
46 | "Engine": {
|
47 | "location": "querystring",
|
48 | "locationName": "Engine"
|
49 | },
|
50 | "LanguageCode": {
|
51 | "location": "querystring",
|
52 | "locationName": "LanguageCode"
|
53 | },
|
54 | "IncludeAdditionalLanguageCodes": {
|
55 | "location": "querystring",
|
56 | "locationName": "IncludeAdditionalLanguageCodes",
|
57 | "type": "boolean"
|
58 | },
|
59 | "NextToken": {
|
60 | "location": "querystring",
|
61 | "locationName": "NextToken"
|
62 | }
|
63 | }
|
64 | },
|
65 | "output": {
|
66 | "type": "structure",
|
67 | "members": {
|
68 | "Voices": {
|
69 | "type": "list",
|
70 | "member": {
|
71 | "type": "structure",
|
72 | "members": {
|
73 | "Gender": {},
|
74 | "Id": {},
|
75 | "LanguageCode": {},
|
76 | "LanguageName": {},
|
77 | "Name": {},
|
78 | "AdditionalLanguageCodes": {
|
79 | "type": "list",
|
80 | "member": {}
|
81 | },
|
82 | "SupportedEngines": {
|
83 | "type": "list",
|
84 | "member": {}
|
85 | }
|
86 | }
|
87 | }
|
88 | },
|
89 | "NextToken": {}
|
90 | }
|
91 | }
|
92 | },
|
93 | "GetLexicon": {
|
94 | "http": {
|
95 | "method": "GET",
|
96 | "requestUri": "/v1/lexicons/{LexiconName}",
|
97 | "responseCode": 200
|
98 | },
|
99 | "input": {
|
100 | "type": "structure",
|
101 | "required": [
|
102 | "Name"
|
103 | ],
|
104 | "members": {
|
105 | "Name": {
|
106 | "shape": "S2",
|
107 | "location": "uri",
|
108 | "locationName": "LexiconName"
|
109 | }
|
110 | }
|
111 | },
|
112 | "output": {
|
113 | "type": "structure",
|
114 | "members": {
|
115 | "Lexicon": {
|
116 | "type": "structure",
|
117 | "members": {
|
118 | "Content": {},
|
119 | "Name": {
|
120 | "shape": "S2"
|
121 | }
|
122 | }
|
123 | },
|
124 | "LexiconAttributes": {
|
125 | "shape": "Sm"
|
126 | }
|
127 | }
|
128 | }
|
129 | },
|
130 | "GetSpeechSynthesisTask": {
|
131 | "http": {
|
132 | "method": "GET",
|
133 | "requestUri": "/v1/synthesisTasks/{TaskId}",
|
134 | "responseCode": 200
|
135 | },
|
136 | "input": {
|
137 | "type": "structure",
|
138 | "required": [
|
139 | "TaskId"
|
140 | ],
|
141 | "members": {
|
142 | "TaskId": {
|
143 | "location": "uri",
|
144 | "locationName": "TaskId"
|
145 | }
|
146 | }
|
147 | },
|
148 | "output": {
|
149 | "type": "structure",
|
150 | "members": {
|
151 | "SynthesisTask": {
|
152 | "shape": "Sv"
|
153 | }
|
154 | }
|
155 | }
|
156 | },
|
157 | "ListLexicons": {
|
158 | "http": {
|
159 | "method": "GET",
|
160 | "requestUri": "/v1/lexicons",
|
161 | "responseCode": 200
|
162 | },
|
163 | "input": {
|
164 | "type": "structure",
|
165 | "members": {
|
166 | "NextToken": {
|
167 | "location": "querystring",
|
168 | "locationName": "NextToken"
|
169 | }
|
170 | }
|
171 | },
|
172 | "output": {
|
173 | "type": "structure",
|
174 | "members": {
|
175 | "Lexicons": {
|
176 | "type": "list",
|
177 | "member": {
|
178 | "type": "structure",
|
179 | "members": {
|
180 | "Name": {
|
181 | "shape": "S2"
|
182 | },
|
183 | "Attributes": {
|
184 | "shape": "Sm"
|
185 | }
|
186 | }
|
187 | }
|
188 | },
|
189 | "NextToken": {}
|
190 | }
|
191 | }
|
192 | },
|
193 | "ListSpeechSynthesisTasks": {
|
194 | "http": {
|
195 | "method": "GET",
|
196 | "requestUri": "/v1/synthesisTasks",
|
197 | "responseCode": 200
|
198 | },
|
199 | "input": {
|
200 | "type": "structure",
|
201 | "members": {
|
202 | "MaxResults": {
|
203 | "location": "querystring",
|
204 | "locationName": "MaxResults",
|
205 | "type": "integer"
|
206 | },
|
207 | "NextToken": {
|
208 | "location": "querystring",
|
209 | "locationName": "NextToken"
|
210 | },
|
211 | "Status": {
|
212 | "location": "querystring",
|
213 | "locationName": "Status"
|
214 | }
|
215 | }
|
216 | },
|
217 | "output": {
|
218 | "type": "structure",
|
219 | "members": {
|
220 | "NextToken": {},
|
221 | "SynthesisTasks": {
|
222 | "type": "list",
|
223 | "member": {
|
224 | "shape": "Sv"
|
225 | }
|
226 | }
|
227 | }
|
228 | }
|
229 | },
|
230 | "PutLexicon": {
|
231 | "http": {
|
232 | "method": "PUT",
|
233 | "requestUri": "/v1/lexicons/{LexiconName}",
|
234 | "responseCode": 200
|
235 | },
|
236 | "input": {
|
237 | "type": "structure",
|
238 | "required": [
|
239 | "Name",
|
240 | "Content"
|
241 | ],
|
242 | "members": {
|
243 | "Name": {
|
244 | "shape": "S2",
|
245 | "location": "uri",
|
246 | "locationName": "LexiconName"
|
247 | },
|
248 | "Content": {}
|
249 | }
|
250 | },
|
251 | "output": {
|
252 | "type": "structure",
|
253 | "members": {}
|
254 | }
|
255 | },
|
256 | "StartSpeechSynthesisTask": {
|
257 | "http": {
|
258 | "requestUri": "/v1/synthesisTasks",
|
259 | "responseCode": 200
|
260 | },
|
261 | "input": {
|
262 | "type": "structure",
|
263 | "required": [
|
264 | "OutputFormat",
|
265 | "OutputS3BucketName",
|
266 | "Text",
|
267 | "VoiceId"
|
268 | ],
|
269 | "members": {
|
270 | "Engine": {},
|
271 | "LanguageCode": {},
|
272 | "LexiconNames": {
|
273 | "shape": "S12"
|
274 | },
|
275 | "OutputFormat": {},
|
276 | "OutputS3BucketName": {},
|
277 | "OutputS3KeyPrefix": {},
|
278 | "SampleRate": {},
|
279 | "SnsTopicArn": {},
|
280 | "SpeechMarkTypes": {
|
281 | "shape": "S15"
|
282 | },
|
283 | "Text": {},
|
284 | "TextType": {},
|
285 | "VoiceId": {}
|
286 | }
|
287 | },
|
288 | "output": {
|
289 | "type": "structure",
|
290 | "members": {
|
291 | "SynthesisTask": {
|
292 | "shape": "Sv"
|
293 | }
|
294 | }
|
295 | }
|
296 | },
|
297 | "SynthesizeSpeech": {
|
298 | "http": {
|
299 | "requestUri": "/v1/speech",
|
300 | "responseCode": 200
|
301 | },
|
302 | "input": {
|
303 | "type": "structure",
|
304 | "required": [
|
305 | "OutputFormat",
|
306 | "Text",
|
307 | "VoiceId"
|
308 | ],
|
309 | "members": {
|
310 | "Engine": {},
|
311 | "LanguageCode": {},
|
312 | "LexiconNames": {
|
313 | "shape": "S12"
|
314 | },
|
315 | "OutputFormat": {},
|
316 | "SampleRate": {},
|
317 | "SpeechMarkTypes": {
|
318 | "shape": "S15"
|
319 | },
|
320 | "Text": {},
|
321 | "TextType": {},
|
322 | "VoiceId": {}
|
323 | }
|
324 | },
|
325 | "output": {
|
326 | "type": "structure",
|
327 | "members": {
|
328 | "AudioStream": {
|
329 | "type": "blob",
|
330 | "streaming": true
|
331 | },
|
332 | "ContentType": {
|
333 | "location": "header",
|
334 | "locationName": "Content-Type"
|
335 | },
|
336 | "RequestCharacters": {
|
337 | "location": "header",
|
338 | "locationName": "x-amzn-RequestCharacters",
|
339 | "type": "integer"
|
340 | }
|
341 | },
|
342 | "payload": "AudioStream"
|
343 | }
|
344 | }
|
345 | },
|
346 | "shapes": {
|
347 | "S2": {
|
348 | "type": "string",
|
349 | "sensitive": true
|
350 | },
|
351 | "Sm": {
|
352 | "type": "structure",
|
353 | "members": {
|
354 | "Alphabet": {},
|
355 | "LanguageCode": {},
|
356 | "LastModified": {
|
357 | "type": "timestamp"
|
358 | },
|
359 | "LexiconArn": {},
|
360 | "LexemesCount": {
|
361 | "type": "integer"
|
362 | },
|
363 | "Size": {
|
364 | "type": "integer"
|
365 | }
|
366 | }
|
367 | },
|
368 | "Sv": {
|
369 | "type": "structure",
|
370 | "members": {
|
371 | "Engine": {},
|
372 | "TaskId": {},
|
373 | "TaskStatus": {},
|
374 | "TaskStatusReason": {},
|
375 | "OutputUri": {},
|
376 | "CreationTime": {
|
377 | "type": "timestamp"
|
378 | },
|
379 | "RequestCharacters": {
|
380 | "type": "integer"
|
381 | },
|
382 | "SnsTopicArn": {},
|
383 | "LexiconNames": {
|
384 | "shape": "S12"
|
385 | },
|
386 | "OutputFormat": {},
|
387 | "SampleRate": {},
|
388 | "SpeechMarkTypes": {
|
389 | "shape": "S15"
|
390 | },
|
391 | "TextType": {},
|
392 | "VoiceId": {},
|
393 | "LanguageCode": {}
|
394 | }
|
395 | },
|
396 | "S12": {
|
397 | "type": "list",
|
398 | "member": {
|
399 | "shape": "S2"
|
400 | }
|
401 | },
|
402 | "S15": {
|
403 | "type": "list",
|
404 | "member": {}
|
405 | }
|
406 | }
|
407 | } |
\ | No newline at end of file |