@aws-sdk/client-polly 3.169.0 → 3.170.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-types/ts3.4/Polly.d.ts +166 -50
- package/dist-types/ts3.4/PollyClient.d.ts +183 -82
- package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/index.d.ts +9 -9
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +6 -6
- package/dist-types/ts3.4/models/PollyServiceException.d.ts +8 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +618 -435
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
- package/dist-types/ts3.4/pagination/ListSpeechSynthesisTasksPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/index.d.ts +2 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +113 -29
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
- package/package.json +34 -34
|
@@ -1,435 +1,618 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
export declare
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
export
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
export declare
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
export
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
export
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
export
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
export declare
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
export declare
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
export declare
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
export
|
|
432
|
-
|
|
433
|
-
export declare
|
|
434
|
-
|
|
435
|
-
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Readable } from "stream";
|
|
3
|
+
import { PollyServiceException as __BaseException } from "./PollyServiceException";
|
|
4
|
+
export interface DeleteLexiconInput {
|
|
5
|
+
Name: string | undefined;
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteLexiconOutput {}
|
|
8
|
+
|
|
9
|
+
export declare class LexiconNotFoundException extends __BaseException {
|
|
10
|
+
readonly name: "LexiconNotFoundException";
|
|
11
|
+
readonly $fault: "client";
|
|
12
|
+
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<LexiconNotFoundException, __BaseException>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export declare class ServiceFailureException extends __BaseException {
|
|
19
|
+
readonly name: "ServiceFailureException";
|
|
20
|
+
readonly $fault: "server";
|
|
21
|
+
|
|
22
|
+
constructor(
|
|
23
|
+
opts: __ExceptionOptionType<ServiceFailureException, __BaseException>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
export declare enum Engine {
|
|
27
|
+
NEURAL = "neural",
|
|
28
|
+
STANDARD = "standard",
|
|
29
|
+
}
|
|
30
|
+
export declare type LanguageCode =
|
|
31
|
+
| "arb"
|
|
32
|
+
| "ca-ES"
|
|
33
|
+
| "cmn-CN"
|
|
34
|
+
| "cy-GB"
|
|
35
|
+
| "da-DK"
|
|
36
|
+
| "de-AT"
|
|
37
|
+
| "de-DE"
|
|
38
|
+
| "en-AU"
|
|
39
|
+
| "en-GB"
|
|
40
|
+
| "en-GB-WLS"
|
|
41
|
+
| "en-IN"
|
|
42
|
+
| "en-NZ"
|
|
43
|
+
| "en-US"
|
|
44
|
+
| "en-ZA"
|
|
45
|
+
| "es-ES"
|
|
46
|
+
| "es-MX"
|
|
47
|
+
| "es-US"
|
|
48
|
+
| "fr-CA"
|
|
49
|
+
| "fr-FR"
|
|
50
|
+
| "hi-IN"
|
|
51
|
+
| "is-IS"
|
|
52
|
+
| "it-IT"
|
|
53
|
+
| "ja-JP"
|
|
54
|
+
| "ko-KR"
|
|
55
|
+
| "nb-NO"
|
|
56
|
+
| "nl-NL"
|
|
57
|
+
| "pl-PL"
|
|
58
|
+
| "pt-BR"
|
|
59
|
+
| "pt-PT"
|
|
60
|
+
| "ro-RO"
|
|
61
|
+
| "ru-RU"
|
|
62
|
+
| "sv-SE"
|
|
63
|
+
| "tr-TR";
|
|
64
|
+
export interface DescribeVoicesInput {
|
|
65
|
+
Engine?: Engine | string;
|
|
66
|
+
|
|
67
|
+
LanguageCode?: LanguageCode | string;
|
|
68
|
+
|
|
69
|
+
IncludeAdditionalLanguageCodes?: boolean;
|
|
70
|
+
|
|
71
|
+
NextToken?: string;
|
|
72
|
+
}
|
|
73
|
+
export declare type Gender = "Female" | "Male";
|
|
74
|
+
export declare type VoiceId =
|
|
75
|
+
| "Aditi"
|
|
76
|
+
| "Amy"
|
|
77
|
+
| "Aria"
|
|
78
|
+
| "Arlet"
|
|
79
|
+
| "Arthur"
|
|
80
|
+
| "Astrid"
|
|
81
|
+
| "Ayanda"
|
|
82
|
+
| "Bianca"
|
|
83
|
+
| "Brian"
|
|
84
|
+
| "Camila"
|
|
85
|
+
| "Carla"
|
|
86
|
+
| "Carmen"
|
|
87
|
+
| "Celine"
|
|
88
|
+
| "Chantal"
|
|
89
|
+
| "Conchita"
|
|
90
|
+
| "Cristiano"
|
|
91
|
+
| "Daniel"
|
|
92
|
+
| "Dora"
|
|
93
|
+
| "Emma"
|
|
94
|
+
| "Enrique"
|
|
95
|
+
| "Ewa"
|
|
96
|
+
| "Filiz"
|
|
97
|
+
| "Gabrielle"
|
|
98
|
+
| "Geraint"
|
|
99
|
+
| "Giorgio"
|
|
100
|
+
| "Gwyneth"
|
|
101
|
+
| "Hannah"
|
|
102
|
+
| "Hans"
|
|
103
|
+
| "Ines"
|
|
104
|
+
| "Ivy"
|
|
105
|
+
| "Jacek"
|
|
106
|
+
| "Jan"
|
|
107
|
+
| "Joanna"
|
|
108
|
+
| "Joey"
|
|
109
|
+
| "Justin"
|
|
110
|
+
| "Kajal"
|
|
111
|
+
| "Karl"
|
|
112
|
+
| "Kendra"
|
|
113
|
+
| "Kevin"
|
|
114
|
+
| "Kimberly"
|
|
115
|
+
| "Lea"
|
|
116
|
+
| "Liam"
|
|
117
|
+
| "Liv"
|
|
118
|
+
| "Lotte"
|
|
119
|
+
| "Lucia"
|
|
120
|
+
| "Lupe"
|
|
121
|
+
| "Mads"
|
|
122
|
+
| "Maja"
|
|
123
|
+
| "Marlene"
|
|
124
|
+
| "Mathieu"
|
|
125
|
+
| "Matthew"
|
|
126
|
+
| "Maxim"
|
|
127
|
+
| "Mia"
|
|
128
|
+
| "Miguel"
|
|
129
|
+
| "Mizuki"
|
|
130
|
+
| "Naja"
|
|
131
|
+
| "Nicole"
|
|
132
|
+
| "Olivia"
|
|
133
|
+
| "Pedro"
|
|
134
|
+
| "Penelope"
|
|
135
|
+
| "Raveena"
|
|
136
|
+
| "Ricardo"
|
|
137
|
+
| "Ruben"
|
|
138
|
+
| "Russell"
|
|
139
|
+
| "Salli"
|
|
140
|
+
| "Seoyeon"
|
|
141
|
+
| "Takumi"
|
|
142
|
+
| "Tatyana"
|
|
143
|
+
| "Vicki"
|
|
144
|
+
| "Vitoria"
|
|
145
|
+
| "Zeina"
|
|
146
|
+
| "Zhiyu";
|
|
147
|
+
|
|
148
|
+
export interface Voice {
|
|
149
|
+
Gender?: Gender | string;
|
|
150
|
+
|
|
151
|
+
Id?: VoiceId | string;
|
|
152
|
+
|
|
153
|
+
LanguageCode?: LanguageCode | string;
|
|
154
|
+
|
|
155
|
+
LanguageName?: string;
|
|
156
|
+
|
|
157
|
+
Name?: string;
|
|
158
|
+
|
|
159
|
+
AdditionalLanguageCodes?: (LanguageCode | string)[];
|
|
160
|
+
|
|
161
|
+
SupportedEngines?: (Engine | string)[];
|
|
162
|
+
}
|
|
163
|
+
export interface DescribeVoicesOutput {
|
|
164
|
+
Voices?: Voice[];
|
|
165
|
+
|
|
166
|
+
NextToken?: string;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
170
|
+
readonly name: "InvalidNextTokenException";
|
|
171
|
+
readonly $fault: "client";
|
|
172
|
+
|
|
173
|
+
constructor(
|
|
174
|
+
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export declare class EngineNotSupportedException extends __BaseException {
|
|
179
|
+
readonly name: "EngineNotSupportedException";
|
|
180
|
+
readonly $fault: "client";
|
|
181
|
+
|
|
182
|
+
constructor(
|
|
183
|
+
opts: __ExceptionOptionType<EngineNotSupportedException, __BaseException>
|
|
184
|
+
);
|
|
185
|
+
}
|
|
186
|
+
export interface GetLexiconInput {
|
|
187
|
+
Name: string | undefined;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export interface Lexicon {
|
|
191
|
+
Content?: string;
|
|
192
|
+
|
|
193
|
+
Name?: string;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export interface LexiconAttributes {
|
|
197
|
+
Alphabet?: string;
|
|
198
|
+
|
|
199
|
+
LanguageCode?: LanguageCode | string;
|
|
200
|
+
|
|
201
|
+
LastModified?: Date;
|
|
202
|
+
|
|
203
|
+
LexiconArn?: string;
|
|
204
|
+
|
|
205
|
+
LexemesCount?: number;
|
|
206
|
+
|
|
207
|
+
Size?: number;
|
|
208
|
+
}
|
|
209
|
+
export interface GetLexiconOutput {
|
|
210
|
+
Lexicon?: Lexicon;
|
|
211
|
+
|
|
212
|
+
LexiconAttributes?: LexiconAttributes;
|
|
213
|
+
}
|
|
214
|
+
export interface GetSpeechSynthesisTaskInput {
|
|
215
|
+
TaskId: string | undefined;
|
|
216
|
+
}
|
|
217
|
+
export declare enum OutputFormat {
|
|
218
|
+
JSON = "json",
|
|
219
|
+
MP3 = "mp3",
|
|
220
|
+
OGG_VORBIS = "ogg_vorbis",
|
|
221
|
+
PCM = "pcm",
|
|
222
|
+
}
|
|
223
|
+
export declare enum SpeechMarkType {
|
|
224
|
+
SENTENCE = "sentence",
|
|
225
|
+
SSML = "ssml",
|
|
226
|
+
VISEME = "viseme",
|
|
227
|
+
WORD = "word",
|
|
228
|
+
}
|
|
229
|
+
export declare enum TaskStatus {
|
|
230
|
+
COMPLETED = "completed",
|
|
231
|
+
FAILED = "failed",
|
|
232
|
+
IN_PROGRESS = "inProgress",
|
|
233
|
+
SCHEDULED = "scheduled",
|
|
234
|
+
}
|
|
235
|
+
export declare enum TextType {
|
|
236
|
+
SSML = "ssml",
|
|
237
|
+
TEXT = "text",
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export interface SynthesisTask {
|
|
241
|
+
Engine?: Engine | string;
|
|
242
|
+
|
|
243
|
+
TaskId?: string;
|
|
244
|
+
|
|
245
|
+
TaskStatus?: TaskStatus | string;
|
|
246
|
+
|
|
247
|
+
TaskStatusReason?: string;
|
|
248
|
+
|
|
249
|
+
OutputUri?: string;
|
|
250
|
+
|
|
251
|
+
CreationTime?: Date;
|
|
252
|
+
|
|
253
|
+
RequestCharacters?: number;
|
|
254
|
+
|
|
255
|
+
SnsTopicArn?: string;
|
|
256
|
+
|
|
257
|
+
LexiconNames?: string[];
|
|
258
|
+
|
|
259
|
+
OutputFormat?: OutputFormat | string;
|
|
260
|
+
|
|
261
|
+
SampleRate?: string;
|
|
262
|
+
|
|
263
|
+
SpeechMarkTypes?: (SpeechMarkType | string)[];
|
|
264
|
+
|
|
265
|
+
TextType?: TextType | string;
|
|
266
|
+
|
|
267
|
+
VoiceId?: VoiceId | string;
|
|
268
|
+
|
|
269
|
+
LanguageCode?: LanguageCode | string;
|
|
270
|
+
}
|
|
271
|
+
export interface GetSpeechSynthesisTaskOutput {
|
|
272
|
+
SynthesisTask?: SynthesisTask;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export declare class InvalidTaskIdException extends __BaseException {
|
|
276
|
+
readonly name: "InvalidTaskIdException";
|
|
277
|
+
readonly $fault: "client";
|
|
278
|
+
|
|
279
|
+
constructor(
|
|
280
|
+
opts: __ExceptionOptionType<InvalidTaskIdException, __BaseException>
|
|
281
|
+
);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export declare class SynthesisTaskNotFoundException extends __BaseException {
|
|
285
|
+
readonly name: "SynthesisTaskNotFoundException";
|
|
286
|
+
readonly $fault: "client";
|
|
287
|
+
|
|
288
|
+
constructor(
|
|
289
|
+
opts: __ExceptionOptionType<SynthesisTaskNotFoundException, __BaseException>
|
|
290
|
+
);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export declare class InvalidLexiconException extends __BaseException {
|
|
294
|
+
readonly name: "InvalidLexiconException";
|
|
295
|
+
readonly $fault: "client";
|
|
296
|
+
|
|
297
|
+
constructor(
|
|
298
|
+
opts: __ExceptionOptionType<InvalidLexiconException, __BaseException>
|
|
299
|
+
);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export declare class InvalidS3BucketException extends __BaseException {
|
|
303
|
+
readonly name: "InvalidS3BucketException";
|
|
304
|
+
readonly $fault: "client";
|
|
305
|
+
|
|
306
|
+
constructor(
|
|
307
|
+
opts: __ExceptionOptionType<InvalidS3BucketException, __BaseException>
|
|
308
|
+
);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export declare class InvalidS3KeyException extends __BaseException {
|
|
312
|
+
readonly name: "InvalidS3KeyException";
|
|
313
|
+
readonly $fault: "client";
|
|
314
|
+
|
|
315
|
+
constructor(
|
|
316
|
+
opts: __ExceptionOptionType<InvalidS3KeyException, __BaseException>
|
|
317
|
+
);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export declare class InvalidSampleRateException extends __BaseException {
|
|
321
|
+
readonly name: "InvalidSampleRateException";
|
|
322
|
+
readonly $fault: "client";
|
|
323
|
+
|
|
324
|
+
constructor(
|
|
325
|
+
opts: __ExceptionOptionType<InvalidSampleRateException, __BaseException>
|
|
326
|
+
);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export declare class InvalidSnsTopicArnException extends __BaseException {
|
|
330
|
+
readonly name: "InvalidSnsTopicArnException";
|
|
331
|
+
readonly $fault: "client";
|
|
332
|
+
|
|
333
|
+
constructor(
|
|
334
|
+
opts: __ExceptionOptionType<InvalidSnsTopicArnException, __BaseException>
|
|
335
|
+
);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export declare class InvalidSsmlException extends __BaseException {
|
|
339
|
+
readonly name: "InvalidSsmlException";
|
|
340
|
+
readonly $fault: "client";
|
|
341
|
+
|
|
342
|
+
constructor(
|
|
343
|
+
opts: __ExceptionOptionType<InvalidSsmlException, __BaseException>
|
|
344
|
+
);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export declare class LanguageNotSupportedException extends __BaseException {
|
|
348
|
+
readonly name: "LanguageNotSupportedException";
|
|
349
|
+
readonly $fault: "client";
|
|
350
|
+
|
|
351
|
+
constructor(
|
|
352
|
+
opts: __ExceptionOptionType<LanguageNotSupportedException, __BaseException>
|
|
353
|
+
);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export interface LexiconDescription {
|
|
357
|
+
Name?: string;
|
|
358
|
+
|
|
359
|
+
Attributes?: LexiconAttributes;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export declare class LexiconSizeExceededException extends __BaseException {
|
|
363
|
+
readonly name: "LexiconSizeExceededException";
|
|
364
|
+
readonly $fault: "client";
|
|
365
|
+
|
|
366
|
+
constructor(
|
|
367
|
+
opts: __ExceptionOptionType<LexiconSizeExceededException, __BaseException>
|
|
368
|
+
);
|
|
369
|
+
}
|
|
370
|
+
export interface ListLexiconsInput {
|
|
371
|
+
NextToken?: string;
|
|
372
|
+
}
|
|
373
|
+
export interface ListLexiconsOutput {
|
|
374
|
+
Lexicons?: LexiconDescription[];
|
|
375
|
+
|
|
376
|
+
NextToken?: string;
|
|
377
|
+
}
|
|
378
|
+
export interface ListSpeechSynthesisTasksInput {
|
|
379
|
+
MaxResults?: number;
|
|
380
|
+
|
|
381
|
+
NextToken?: string;
|
|
382
|
+
|
|
383
|
+
Status?: TaskStatus | string;
|
|
384
|
+
}
|
|
385
|
+
export interface ListSpeechSynthesisTasksOutput {
|
|
386
|
+
NextToken?: string;
|
|
387
|
+
|
|
388
|
+
SynthesisTasks?: SynthesisTask[];
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export declare class MarksNotSupportedForFormatException extends __BaseException {
|
|
392
|
+
readonly name: "MarksNotSupportedForFormatException";
|
|
393
|
+
readonly $fault: "client";
|
|
394
|
+
|
|
395
|
+
constructor(
|
|
396
|
+
opts: __ExceptionOptionType<
|
|
397
|
+
MarksNotSupportedForFormatException,
|
|
398
|
+
__BaseException
|
|
399
|
+
>
|
|
400
|
+
);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export declare class MaxLexemeLengthExceededException extends __BaseException {
|
|
404
|
+
readonly name: "MaxLexemeLengthExceededException";
|
|
405
|
+
readonly $fault: "client";
|
|
406
|
+
|
|
407
|
+
constructor(
|
|
408
|
+
opts: __ExceptionOptionType<
|
|
409
|
+
MaxLexemeLengthExceededException,
|
|
410
|
+
__BaseException
|
|
411
|
+
>
|
|
412
|
+
);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export declare class MaxLexiconsNumberExceededException extends __BaseException {
|
|
416
|
+
readonly name: "MaxLexiconsNumberExceededException";
|
|
417
|
+
readonly $fault: "client";
|
|
418
|
+
|
|
419
|
+
constructor(
|
|
420
|
+
opts: __ExceptionOptionType<
|
|
421
|
+
MaxLexiconsNumberExceededException,
|
|
422
|
+
__BaseException
|
|
423
|
+
>
|
|
424
|
+
);
|
|
425
|
+
}
|
|
426
|
+
export interface PutLexiconInput {
|
|
427
|
+
Name: string | undefined;
|
|
428
|
+
|
|
429
|
+
Content: string | undefined;
|
|
430
|
+
}
|
|
431
|
+
export interface PutLexiconOutput {}
|
|
432
|
+
|
|
433
|
+
export declare class UnsupportedPlsAlphabetException extends __BaseException {
|
|
434
|
+
readonly name: "UnsupportedPlsAlphabetException";
|
|
435
|
+
readonly $fault: "client";
|
|
436
|
+
|
|
437
|
+
constructor(
|
|
438
|
+
opts: __ExceptionOptionType<
|
|
439
|
+
UnsupportedPlsAlphabetException,
|
|
440
|
+
__BaseException
|
|
441
|
+
>
|
|
442
|
+
);
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export declare class UnsupportedPlsLanguageException extends __BaseException {
|
|
446
|
+
readonly name: "UnsupportedPlsLanguageException";
|
|
447
|
+
readonly $fault: "client";
|
|
448
|
+
|
|
449
|
+
constructor(
|
|
450
|
+
opts: __ExceptionOptionType<
|
|
451
|
+
UnsupportedPlsLanguageException,
|
|
452
|
+
__BaseException
|
|
453
|
+
>
|
|
454
|
+
);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export declare class SsmlMarksNotSupportedForTextTypeException extends __BaseException {
|
|
458
|
+
readonly name: "SsmlMarksNotSupportedForTextTypeException";
|
|
459
|
+
readonly $fault: "client";
|
|
460
|
+
|
|
461
|
+
constructor(
|
|
462
|
+
opts: __ExceptionOptionType<
|
|
463
|
+
SsmlMarksNotSupportedForTextTypeException,
|
|
464
|
+
__BaseException
|
|
465
|
+
>
|
|
466
|
+
);
|
|
467
|
+
}
|
|
468
|
+
export interface StartSpeechSynthesisTaskInput {
|
|
469
|
+
Engine?: Engine | string;
|
|
470
|
+
|
|
471
|
+
LanguageCode?: LanguageCode | string;
|
|
472
|
+
|
|
473
|
+
LexiconNames?: string[];
|
|
474
|
+
|
|
475
|
+
OutputFormat: OutputFormat | string | undefined;
|
|
476
|
+
|
|
477
|
+
OutputS3BucketName: string | undefined;
|
|
478
|
+
|
|
479
|
+
OutputS3KeyPrefix?: string;
|
|
480
|
+
|
|
481
|
+
SampleRate?: string;
|
|
482
|
+
|
|
483
|
+
SnsTopicArn?: string;
|
|
484
|
+
|
|
485
|
+
SpeechMarkTypes?: (SpeechMarkType | string)[];
|
|
486
|
+
|
|
487
|
+
Text: string | undefined;
|
|
488
|
+
|
|
489
|
+
TextType?: TextType | string;
|
|
490
|
+
|
|
491
|
+
VoiceId: VoiceId | string | undefined;
|
|
492
|
+
}
|
|
493
|
+
export interface StartSpeechSynthesisTaskOutput {
|
|
494
|
+
SynthesisTask?: SynthesisTask;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export declare class TextLengthExceededException extends __BaseException {
|
|
498
|
+
readonly name: "TextLengthExceededException";
|
|
499
|
+
readonly $fault: "client";
|
|
500
|
+
|
|
501
|
+
constructor(
|
|
502
|
+
opts: __ExceptionOptionType<TextLengthExceededException, __BaseException>
|
|
503
|
+
);
|
|
504
|
+
}
|
|
505
|
+
export interface SynthesizeSpeechInput {
|
|
506
|
+
Engine?: Engine | string;
|
|
507
|
+
|
|
508
|
+
LanguageCode?: LanguageCode | string;
|
|
509
|
+
|
|
510
|
+
LexiconNames?: string[];
|
|
511
|
+
|
|
512
|
+
OutputFormat: OutputFormat | string | undefined;
|
|
513
|
+
|
|
514
|
+
SampleRate?: string;
|
|
515
|
+
|
|
516
|
+
SpeechMarkTypes?: (SpeechMarkType | string)[];
|
|
517
|
+
|
|
518
|
+
Text: string | undefined;
|
|
519
|
+
|
|
520
|
+
TextType?: TextType | string;
|
|
521
|
+
|
|
522
|
+
VoiceId: VoiceId | string | undefined;
|
|
523
|
+
}
|
|
524
|
+
export interface SynthesizeSpeechOutput {
|
|
525
|
+
AudioStream?: Readable | ReadableStream | Blob;
|
|
526
|
+
|
|
527
|
+
ContentType?: string;
|
|
528
|
+
|
|
529
|
+
RequestCharacters?: number;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export declare const DeleteLexiconInputFilterSensitiveLog: (
|
|
533
|
+
obj: DeleteLexiconInput
|
|
534
|
+
) => any;
|
|
535
|
+
|
|
536
|
+
export declare const DeleteLexiconOutputFilterSensitiveLog: (
|
|
537
|
+
obj: DeleteLexiconOutput
|
|
538
|
+
) => any;
|
|
539
|
+
|
|
540
|
+
export declare const DescribeVoicesInputFilterSensitiveLog: (
|
|
541
|
+
obj: DescribeVoicesInput
|
|
542
|
+
) => any;
|
|
543
|
+
|
|
544
|
+
export declare const VoiceFilterSensitiveLog: (obj: Voice) => any;
|
|
545
|
+
|
|
546
|
+
export declare const DescribeVoicesOutputFilterSensitiveLog: (
|
|
547
|
+
obj: DescribeVoicesOutput
|
|
548
|
+
) => any;
|
|
549
|
+
|
|
550
|
+
export declare const GetLexiconInputFilterSensitiveLog: (
|
|
551
|
+
obj: GetLexiconInput
|
|
552
|
+
) => any;
|
|
553
|
+
|
|
554
|
+
export declare const LexiconFilterSensitiveLog: (obj: Lexicon) => any;
|
|
555
|
+
|
|
556
|
+
export declare const LexiconAttributesFilterSensitiveLog: (
|
|
557
|
+
obj: LexiconAttributes
|
|
558
|
+
) => any;
|
|
559
|
+
|
|
560
|
+
export declare const GetLexiconOutputFilterSensitiveLog: (
|
|
561
|
+
obj: GetLexiconOutput
|
|
562
|
+
) => any;
|
|
563
|
+
|
|
564
|
+
export declare const GetSpeechSynthesisTaskInputFilterSensitiveLog: (
|
|
565
|
+
obj: GetSpeechSynthesisTaskInput
|
|
566
|
+
) => any;
|
|
567
|
+
|
|
568
|
+
export declare const SynthesisTaskFilterSensitiveLog: (
|
|
569
|
+
obj: SynthesisTask
|
|
570
|
+
) => any;
|
|
571
|
+
|
|
572
|
+
export declare const GetSpeechSynthesisTaskOutputFilterSensitiveLog: (
|
|
573
|
+
obj: GetSpeechSynthesisTaskOutput
|
|
574
|
+
) => any;
|
|
575
|
+
|
|
576
|
+
export declare const LexiconDescriptionFilterSensitiveLog: (
|
|
577
|
+
obj: LexiconDescription
|
|
578
|
+
) => any;
|
|
579
|
+
|
|
580
|
+
export declare const ListLexiconsInputFilterSensitiveLog: (
|
|
581
|
+
obj: ListLexiconsInput
|
|
582
|
+
) => any;
|
|
583
|
+
|
|
584
|
+
export declare const ListLexiconsOutputFilterSensitiveLog: (
|
|
585
|
+
obj: ListLexiconsOutput
|
|
586
|
+
) => any;
|
|
587
|
+
|
|
588
|
+
export declare const ListSpeechSynthesisTasksInputFilterSensitiveLog: (
|
|
589
|
+
obj: ListSpeechSynthesisTasksInput
|
|
590
|
+
) => any;
|
|
591
|
+
|
|
592
|
+
export declare const ListSpeechSynthesisTasksOutputFilterSensitiveLog: (
|
|
593
|
+
obj: ListSpeechSynthesisTasksOutput
|
|
594
|
+
) => any;
|
|
595
|
+
|
|
596
|
+
export declare const PutLexiconInputFilterSensitiveLog: (
|
|
597
|
+
obj: PutLexiconInput
|
|
598
|
+
) => any;
|
|
599
|
+
|
|
600
|
+
export declare const PutLexiconOutputFilterSensitiveLog: (
|
|
601
|
+
obj: PutLexiconOutput
|
|
602
|
+
) => any;
|
|
603
|
+
|
|
604
|
+
export declare const StartSpeechSynthesisTaskInputFilterSensitiveLog: (
|
|
605
|
+
obj: StartSpeechSynthesisTaskInput
|
|
606
|
+
) => any;
|
|
607
|
+
|
|
608
|
+
export declare const StartSpeechSynthesisTaskOutputFilterSensitiveLog: (
|
|
609
|
+
obj: StartSpeechSynthesisTaskOutput
|
|
610
|
+
) => any;
|
|
611
|
+
|
|
612
|
+
export declare const SynthesizeSpeechInputFilterSensitiveLog: (
|
|
613
|
+
obj: SynthesizeSpeechInput
|
|
614
|
+
) => any;
|
|
615
|
+
|
|
616
|
+
export declare const SynthesizeSpeechOutputFilterSensitiveLog: (
|
|
617
|
+
obj: SynthesizeSpeechOutput
|
|
618
|
+
) => any;
|