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