@aws-sdk/client-polly 3.50.0 → 3.53.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/PollyServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +275 -1
  5. package/dist-cjs/protocols/Aws_restJson1.js +219 -490
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/PollyServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +254 -1
  9. package/dist-es/protocols/Aws_restJson1.js +291 -548
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/PollyServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +149 -85
  13. package/dist-types/ts3.4/Polly.d.ts +50 -0
  14. package/dist-types/ts3.4/PollyClient.d.ts +82 -0
  15. package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  25. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  26. package/dist-types/ts3.4/index.d.ts +6 -0
  27. package/dist-types/ts3.4/models/PollyServiceException.d.ts +6 -0
  28. package/dist-types/ts3.4/models/index.d.ts +1 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +481 -0
  30. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  31. package/dist-types/ts3.4/pagination/ListSpeechSynthesisTasksPaginator.d.ts +4 -0
  32. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  33. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +29 -0
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  38. package/package.json +33 -33
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { StartSpeechSynthesisTaskInput, StartSpeechSynthesisTaskOutput } from "../models/models_0";
4
+ import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
+ export interface StartSpeechSynthesisTaskCommandInput extends StartSpeechSynthesisTaskInput {
6
+ }
7
+ export interface StartSpeechSynthesisTaskCommandOutput extends StartSpeechSynthesisTaskOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class StartSpeechSynthesisTaskCommand extends $Command<StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput, PollyClientResolvedConfig> {
11
+ readonly input: StartSpeechSynthesisTaskCommandInput;
12
+ constructor(input: StartSpeechSynthesisTaskCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { SynthesizeSpeechInput, SynthesizeSpeechOutput } from "../models/models_0";
4
+ import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
+ export interface SynthesizeSpeechCommandInput extends SynthesizeSpeechInput {
6
+ }
7
+ export interface SynthesizeSpeechCommandOutput extends SynthesizeSpeechOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class SynthesizeSpeechCommand extends $Command<SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput, PollyClientResolvedConfig> {
11
+ readonly input: SynthesizeSpeechCommandInput;
12
+ constructor(input: SynthesizeSpeechCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,9 @@
1
+ export * from "./DeleteLexiconCommand";
2
+ export * from "./DescribeVoicesCommand";
3
+ export * from "./GetLexiconCommand";
4
+ export * from "./GetSpeechSynthesisTaskCommand";
5
+ export * from "./ListLexiconsCommand";
6
+ export * from "./ListSpeechSynthesisTasksCommand";
7
+ export * from "./PutLexiconCommand";
8
+ export * from "./StartSpeechSynthesisTaskCommand";
9
+ export * from "./SynthesizeSpeechCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,6 @@
1
+ export * from "./Polly";
2
+ export * from "./PollyClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { PollyServiceException } from "./models/PollyServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class PollyServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,481 @@
1
+
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
3
+ import { Readable } from "stream";
4
+ import { PollyServiceException as __BaseException } from "./PollyServiceException";
5
+ export interface DeleteLexiconInput {
6
+
7
+ Name: string | undefined;
8
+ }
9
+ export declare namespace DeleteLexiconInput {
10
+
11
+ const filterSensitiveLog: (obj: DeleteLexiconInput) => any;
12
+ }
13
+ export interface DeleteLexiconOutput {
14
+ }
15
+ export declare namespace DeleteLexiconOutput {
16
+
17
+ const filterSensitiveLog: (obj: DeleteLexiconOutput) => any;
18
+ }
19
+
20
+ export declare class LexiconNotFoundException extends __BaseException {
21
+ readonly name: "LexiconNotFoundException";
22
+ readonly $fault: "client";
23
+
24
+ constructor(opts: __ExceptionOptionType<LexiconNotFoundException, __BaseException>);
25
+ }
26
+
27
+ export declare class ServiceFailureException extends __BaseException {
28
+ readonly name: "ServiceFailureException";
29
+ readonly $fault: "server";
30
+
31
+ constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
32
+ }
33
+ export declare enum Engine {
34
+ NEURAL = "neural",
35
+ STANDARD = "standard"
36
+ }
37
+ export declare type LanguageCode = "arb" | "cmn-CN" | "cy-GB" | "da-DK" | "de-DE" | "en-AU" | "en-GB" | "en-GB-WLS" | "en-IN" | "en-NZ" | "en-US" | "en-ZA" | "es-ES" | "es-MX" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "is-IS" | "it-IT" | "ja-JP" | "ko-KR" | "nb-NO" | "nl-NL" | "pl-PL" | "pt-BR" | "pt-PT" | "ro-RO" | "ru-RU" | "sv-SE" | "tr-TR";
38
+ export interface DescribeVoicesInput {
39
+
40
+ Engine?: Engine | string;
41
+
42
+ LanguageCode?: LanguageCode | string;
43
+
44
+ IncludeAdditionalLanguageCodes?: boolean;
45
+
46
+ NextToken?: string;
47
+ }
48
+ export declare namespace DescribeVoicesInput {
49
+
50
+ const filterSensitiveLog: (obj: DescribeVoicesInput) => any;
51
+ }
52
+ export declare type Gender = "Female" | "Male";
53
+ export declare type VoiceId = "Aditi" | "Amy" | "Aria" | "Astrid" | "Ayanda" | "Bianca" | "Brian" | "Camila" | "Carla" | "Carmen" | "Celine" | "Chantal" | "Conchita" | "Cristiano" | "Dora" | "Emma" | "Enrique" | "Ewa" | "Filiz" | "Gabrielle" | "Geraint" | "Giorgio" | "Gwyneth" | "Hans" | "Ines" | "Ivy" | "Jacek" | "Jan" | "Joanna" | "Joey" | "Justin" | "Karl" | "Kendra" | "Kevin" | "Kimberly" | "Lea" | "Liv" | "Lotte" | "Lucia" | "Lupe" | "Mads" | "Maja" | "Marlene" | "Mathieu" | "Matthew" | "Maxim" | "Mia" | "Miguel" | "Mizuki" | "Naja" | "Nicole" | "Olivia" | "Penelope" | "Raveena" | "Ricardo" | "Ruben" | "Russell" | "Salli" | "Seoyeon" | "Takumi" | "Tatyana" | "Vicki" | "Vitoria" | "Zeina" | "Zhiyu";
54
+
55
+ export interface Voice {
56
+
57
+ Gender?: Gender | string;
58
+
59
+ Id?: VoiceId | string;
60
+
61
+ LanguageCode?: LanguageCode | string;
62
+
63
+ LanguageName?: string;
64
+
65
+ Name?: string;
66
+
67
+ AdditionalLanguageCodes?: (LanguageCode | string)[];
68
+
69
+ SupportedEngines?: (Engine | string)[];
70
+ }
71
+ export declare namespace Voice {
72
+
73
+ const filterSensitiveLog: (obj: Voice) => any;
74
+ }
75
+ export interface DescribeVoicesOutput {
76
+
77
+ Voices?: Voice[];
78
+
79
+ NextToken?: string;
80
+ }
81
+ export declare namespace DescribeVoicesOutput {
82
+
83
+ const filterSensitiveLog: (obj: DescribeVoicesOutput) => any;
84
+ }
85
+
86
+ export declare class InvalidNextTokenException extends __BaseException {
87
+ readonly name: "InvalidNextTokenException";
88
+ readonly $fault: "client";
89
+
90
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
91
+ }
92
+
93
+ export declare class EngineNotSupportedException extends __BaseException {
94
+ readonly name: "EngineNotSupportedException";
95
+ readonly $fault: "client";
96
+
97
+ constructor(opts: __ExceptionOptionType<EngineNotSupportedException, __BaseException>);
98
+ }
99
+ export interface GetLexiconInput {
100
+
101
+ Name: string | undefined;
102
+ }
103
+ export declare namespace GetLexiconInput {
104
+
105
+ const filterSensitiveLog: (obj: GetLexiconInput) => any;
106
+ }
107
+
108
+ export interface Lexicon {
109
+
110
+ Content?: string;
111
+
112
+ Name?: string;
113
+ }
114
+ export declare namespace Lexicon {
115
+
116
+ const filterSensitiveLog: (obj: Lexicon) => any;
117
+ }
118
+
119
+ export interface LexiconAttributes {
120
+
121
+ Alphabet?: string;
122
+
123
+ LanguageCode?: LanguageCode | string;
124
+
125
+ LastModified?: Date;
126
+
127
+ LexiconArn?: string;
128
+
129
+ LexemesCount?: number;
130
+
131
+ Size?: number;
132
+ }
133
+ export declare namespace LexiconAttributes {
134
+
135
+ const filterSensitiveLog: (obj: LexiconAttributes) => any;
136
+ }
137
+ export interface GetLexiconOutput {
138
+
139
+ Lexicon?: Lexicon;
140
+
141
+ LexiconAttributes?: LexiconAttributes;
142
+ }
143
+ export declare namespace GetLexiconOutput {
144
+
145
+ const filterSensitiveLog: (obj: GetLexiconOutput) => any;
146
+ }
147
+ export interface GetSpeechSynthesisTaskInput {
148
+
149
+ TaskId: string | undefined;
150
+ }
151
+ export declare namespace GetSpeechSynthesisTaskInput {
152
+
153
+ const filterSensitiveLog: (obj: GetSpeechSynthesisTaskInput) => any;
154
+ }
155
+ export declare enum OutputFormat {
156
+ JSON = "json",
157
+ MP3 = "mp3",
158
+ OGG_VORBIS = "ogg_vorbis",
159
+ PCM = "pcm"
160
+ }
161
+ export declare enum SpeechMarkType {
162
+ SENTENCE = "sentence",
163
+ SSML = "ssml",
164
+ VISEME = "viseme",
165
+ WORD = "word"
166
+ }
167
+ export declare enum TaskStatus {
168
+ COMPLETED = "completed",
169
+ FAILED = "failed",
170
+ IN_PROGRESS = "inProgress",
171
+ SCHEDULED = "scheduled"
172
+ }
173
+ export declare enum TextType {
174
+ SSML = "ssml",
175
+ TEXT = "text"
176
+ }
177
+
178
+ export interface SynthesisTask {
179
+
180
+ Engine?: Engine | string;
181
+
182
+ TaskId?: string;
183
+
184
+ TaskStatus?: TaskStatus | string;
185
+
186
+ TaskStatusReason?: string;
187
+
188
+ OutputUri?: string;
189
+
190
+ CreationTime?: Date;
191
+
192
+ RequestCharacters?: number;
193
+
194
+ SnsTopicArn?: string;
195
+
196
+ LexiconNames?: string[];
197
+
198
+ OutputFormat?: OutputFormat | string;
199
+
200
+ SampleRate?: string;
201
+
202
+ SpeechMarkTypes?: (SpeechMarkType | string)[];
203
+
204
+ TextType?: TextType | string;
205
+
206
+ VoiceId?: VoiceId | string;
207
+
208
+ LanguageCode?: LanguageCode | string;
209
+ }
210
+ export declare namespace SynthesisTask {
211
+
212
+ const filterSensitiveLog: (obj: SynthesisTask) => any;
213
+ }
214
+ export interface GetSpeechSynthesisTaskOutput {
215
+
216
+ SynthesisTask?: SynthesisTask;
217
+ }
218
+ export declare namespace GetSpeechSynthesisTaskOutput {
219
+
220
+ const filterSensitiveLog: (obj: GetSpeechSynthesisTaskOutput) => any;
221
+ }
222
+
223
+ export declare class InvalidTaskIdException extends __BaseException {
224
+ readonly name: "InvalidTaskIdException";
225
+ readonly $fault: "client";
226
+
227
+ constructor(opts: __ExceptionOptionType<InvalidTaskIdException, __BaseException>);
228
+ }
229
+
230
+ export declare class SynthesisTaskNotFoundException extends __BaseException {
231
+ readonly name: "SynthesisTaskNotFoundException";
232
+ readonly $fault: "client";
233
+
234
+ constructor(opts: __ExceptionOptionType<SynthesisTaskNotFoundException, __BaseException>);
235
+ }
236
+
237
+ export declare class InvalidLexiconException extends __BaseException {
238
+ readonly name: "InvalidLexiconException";
239
+ readonly $fault: "client";
240
+
241
+ constructor(opts: __ExceptionOptionType<InvalidLexiconException, __BaseException>);
242
+ }
243
+
244
+ export declare class InvalidS3BucketException extends __BaseException {
245
+ readonly name: "InvalidS3BucketException";
246
+ readonly $fault: "client";
247
+
248
+ constructor(opts: __ExceptionOptionType<InvalidS3BucketException, __BaseException>);
249
+ }
250
+
251
+ export declare class InvalidS3KeyException extends __BaseException {
252
+ readonly name: "InvalidS3KeyException";
253
+ readonly $fault: "client";
254
+
255
+ constructor(opts: __ExceptionOptionType<InvalidS3KeyException, __BaseException>);
256
+ }
257
+
258
+ export declare class InvalidSampleRateException extends __BaseException {
259
+ readonly name: "InvalidSampleRateException";
260
+ readonly $fault: "client";
261
+
262
+ constructor(opts: __ExceptionOptionType<InvalidSampleRateException, __BaseException>);
263
+ }
264
+
265
+ export declare class InvalidSnsTopicArnException extends __BaseException {
266
+ readonly name: "InvalidSnsTopicArnException";
267
+ readonly $fault: "client";
268
+
269
+ constructor(opts: __ExceptionOptionType<InvalidSnsTopicArnException, __BaseException>);
270
+ }
271
+
272
+ export declare class InvalidSsmlException extends __BaseException {
273
+ readonly name: "InvalidSsmlException";
274
+ readonly $fault: "client";
275
+
276
+ constructor(opts: __ExceptionOptionType<InvalidSsmlException, __BaseException>);
277
+ }
278
+
279
+ export declare class LanguageNotSupportedException extends __BaseException {
280
+ readonly name: "LanguageNotSupportedException";
281
+ readonly $fault: "client";
282
+
283
+ constructor(opts: __ExceptionOptionType<LanguageNotSupportedException, __BaseException>);
284
+ }
285
+
286
+ export interface LexiconDescription {
287
+
288
+ Name?: string;
289
+
290
+ Attributes?: LexiconAttributes;
291
+ }
292
+ export declare namespace LexiconDescription {
293
+
294
+ const filterSensitiveLog: (obj: LexiconDescription) => any;
295
+ }
296
+
297
+ export declare class LexiconSizeExceededException extends __BaseException {
298
+ readonly name: "LexiconSizeExceededException";
299
+ readonly $fault: "client";
300
+
301
+ constructor(opts: __ExceptionOptionType<LexiconSizeExceededException, __BaseException>);
302
+ }
303
+ export interface ListLexiconsInput {
304
+
305
+ NextToken?: string;
306
+ }
307
+ export declare namespace ListLexiconsInput {
308
+
309
+ const filterSensitiveLog: (obj: ListLexiconsInput) => any;
310
+ }
311
+ export interface ListLexiconsOutput {
312
+
313
+ Lexicons?: LexiconDescription[];
314
+
315
+ NextToken?: string;
316
+ }
317
+ export declare namespace ListLexiconsOutput {
318
+
319
+ const filterSensitiveLog: (obj: ListLexiconsOutput) => any;
320
+ }
321
+ export interface ListSpeechSynthesisTasksInput {
322
+
323
+ MaxResults?: number;
324
+
325
+ NextToken?: string;
326
+
327
+ Status?: TaskStatus | string;
328
+ }
329
+ export declare namespace ListSpeechSynthesisTasksInput {
330
+
331
+ const filterSensitiveLog: (obj: ListSpeechSynthesisTasksInput) => any;
332
+ }
333
+ export interface ListSpeechSynthesisTasksOutput {
334
+
335
+ NextToken?: string;
336
+
337
+ SynthesisTasks?: SynthesisTask[];
338
+ }
339
+ export declare namespace ListSpeechSynthesisTasksOutput {
340
+
341
+ const filterSensitiveLog: (obj: ListSpeechSynthesisTasksOutput) => any;
342
+ }
343
+
344
+ export declare class MarksNotSupportedForFormatException extends __BaseException {
345
+ readonly name: "MarksNotSupportedForFormatException";
346
+ readonly $fault: "client";
347
+
348
+ constructor(opts: __ExceptionOptionType<MarksNotSupportedForFormatException, __BaseException>);
349
+ }
350
+
351
+ export declare class MaxLexemeLengthExceededException extends __BaseException {
352
+ readonly name: "MaxLexemeLengthExceededException";
353
+ readonly $fault: "client";
354
+
355
+ constructor(opts: __ExceptionOptionType<MaxLexemeLengthExceededException, __BaseException>);
356
+ }
357
+
358
+ export declare class MaxLexiconsNumberExceededException extends __BaseException {
359
+ readonly name: "MaxLexiconsNumberExceededException";
360
+ readonly $fault: "client";
361
+
362
+ constructor(opts: __ExceptionOptionType<MaxLexiconsNumberExceededException, __BaseException>);
363
+ }
364
+ export interface PutLexiconInput {
365
+
366
+ Name: string | undefined;
367
+
368
+ Content: string | undefined;
369
+ }
370
+ export declare namespace PutLexiconInput {
371
+
372
+ const filterSensitiveLog: (obj: PutLexiconInput) => any;
373
+ }
374
+ export interface PutLexiconOutput {
375
+ }
376
+ export declare namespace PutLexiconOutput {
377
+
378
+ const filterSensitiveLog: (obj: PutLexiconOutput) => any;
379
+ }
380
+
381
+ export declare class UnsupportedPlsAlphabetException extends __BaseException {
382
+ readonly name: "UnsupportedPlsAlphabetException";
383
+ readonly $fault: "client";
384
+
385
+ constructor(opts: __ExceptionOptionType<UnsupportedPlsAlphabetException, __BaseException>);
386
+ }
387
+
388
+ export declare class UnsupportedPlsLanguageException extends __BaseException {
389
+ readonly name: "UnsupportedPlsLanguageException";
390
+ readonly $fault: "client";
391
+
392
+ constructor(opts: __ExceptionOptionType<UnsupportedPlsLanguageException, __BaseException>);
393
+ }
394
+
395
+ export declare class SsmlMarksNotSupportedForTextTypeException extends __BaseException {
396
+ readonly name: "SsmlMarksNotSupportedForTextTypeException";
397
+ readonly $fault: "client";
398
+
399
+ constructor(opts: __ExceptionOptionType<SsmlMarksNotSupportedForTextTypeException, __BaseException>);
400
+ }
401
+ export interface StartSpeechSynthesisTaskInput {
402
+
403
+ Engine?: Engine | string;
404
+
405
+ LanguageCode?: LanguageCode | string;
406
+
407
+ LexiconNames?: string[];
408
+
409
+ OutputFormat: OutputFormat | string | undefined;
410
+
411
+ OutputS3BucketName: string | undefined;
412
+
413
+ OutputS3KeyPrefix?: string;
414
+
415
+ SampleRate?: string;
416
+
417
+ SnsTopicArn?: string;
418
+
419
+ SpeechMarkTypes?: (SpeechMarkType | string)[];
420
+
421
+ Text: string | undefined;
422
+
423
+ TextType?: TextType | string;
424
+
425
+ VoiceId: VoiceId | string | undefined;
426
+ }
427
+ export declare namespace StartSpeechSynthesisTaskInput {
428
+
429
+ const filterSensitiveLog: (obj: StartSpeechSynthesisTaskInput) => any;
430
+ }
431
+ export interface StartSpeechSynthesisTaskOutput {
432
+
433
+ SynthesisTask?: SynthesisTask;
434
+ }
435
+ export declare namespace StartSpeechSynthesisTaskOutput {
436
+
437
+ const filterSensitiveLog: (obj: StartSpeechSynthesisTaskOutput) => any;
438
+ }
439
+
440
+ export declare class TextLengthExceededException extends __BaseException {
441
+ readonly name: "TextLengthExceededException";
442
+ readonly $fault: "client";
443
+
444
+ constructor(opts: __ExceptionOptionType<TextLengthExceededException, __BaseException>);
445
+ }
446
+ export interface SynthesizeSpeechInput {
447
+
448
+ Engine?: Engine | string;
449
+
450
+ LanguageCode?: LanguageCode | string;
451
+
452
+ LexiconNames?: string[];
453
+
454
+ OutputFormat: OutputFormat | string | undefined;
455
+
456
+ SampleRate?: string;
457
+
458
+ SpeechMarkTypes?: (SpeechMarkType | string)[];
459
+
460
+ Text: string | undefined;
461
+
462
+ TextType?: TextType | string;
463
+
464
+ VoiceId: VoiceId | string | undefined;
465
+ }
466
+ export declare namespace SynthesizeSpeechInput {
467
+
468
+ const filterSensitiveLog: (obj: SynthesizeSpeechInput) => any;
469
+ }
470
+ export interface SynthesizeSpeechOutput {
471
+
472
+ AudioStream?: Readable | ReadableStream | Blob;
473
+
474
+ ContentType?: string;
475
+
476
+ RequestCharacters?: number;
477
+ }
478
+ export declare namespace SynthesizeSpeechOutput {
479
+
480
+ const filterSensitiveLog: (obj: SynthesizeSpeechOutput) => any;
481
+ }
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { Polly } from "../Polly";
3
+ import { PollyClient } from "../PollyClient";
4
+ export interface PollyPaginationConfiguration extends PaginationConfiguration {
5
+ client: Polly | PollyClient;
6
+ }
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput } from "../commands/ListSpeechSynthesisTasksCommand";
3
+ import { PollyPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListSpeechSynthesisTasks(config: PollyPaginationConfiguration, input: ListSpeechSynthesisTasksCommandInput, ...additionalArguments: any): Paginator<ListSpeechSynthesisTasksCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListSpeechSynthesisTasksPaginator";
@@ -0,0 +1,29 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { DeleteLexiconCommandInput, DeleteLexiconCommandOutput } from "../commands/DeleteLexiconCommand";
4
+ import { DescribeVoicesCommandInput, DescribeVoicesCommandOutput } from "../commands/DescribeVoicesCommand";
5
+ import { GetLexiconCommandInput, GetLexiconCommandOutput } from "../commands/GetLexiconCommand";
6
+ import { GetSpeechSynthesisTaskCommandInput, GetSpeechSynthesisTaskCommandOutput } from "../commands/GetSpeechSynthesisTaskCommand";
7
+ import { ListLexiconsCommandInput, ListLexiconsCommandOutput } from "../commands/ListLexiconsCommand";
8
+ import { ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput } from "../commands/ListSpeechSynthesisTasksCommand";
9
+ import { PutLexiconCommandInput, PutLexiconCommandOutput } from "../commands/PutLexiconCommand";
10
+ import { StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput } from "../commands/StartSpeechSynthesisTaskCommand";
11
+ import { SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput } from "../commands/SynthesizeSpeechCommand";
12
+ export declare const serializeAws_restJson1DeleteLexiconCommand: (input: DeleteLexiconCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
13
+ export declare const serializeAws_restJson1DescribeVoicesCommand: (input: DescribeVoicesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
14
+ export declare const serializeAws_restJson1GetLexiconCommand: (input: GetLexiconCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
15
+ export declare const serializeAws_restJson1GetSpeechSynthesisTaskCommand: (input: GetSpeechSynthesisTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
16
+ export declare const serializeAws_restJson1ListLexiconsCommand: (input: ListLexiconsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
+ export declare const serializeAws_restJson1ListSpeechSynthesisTasksCommand: (input: ListSpeechSynthesisTasksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
+ export declare const serializeAws_restJson1PutLexiconCommand: (input: PutLexiconCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
+ export declare const serializeAws_restJson1StartSpeechSynthesisTaskCommand: (input: StartSpeechSynthesisTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
+ export declare const serializeAws_restJson1SynthesizeSpeechCommand: (input: SynthesizeSpeechCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
+ export declare const deserializeAws_restJson1DeleteLexiconCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteLexiconCommandOutput>;
22
+ export declare const deserializeAws_restJson1DescribeVoicesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeVoicesCommandOutput>;
23
+ export declare const deserializeAws_restJson1GetLexiconCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLexiconCommandOutput>;
24
+ export declare const deserializeAws_restJson1GetSpeechSynthesisTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSpeechSynthesisTaskCommandOutput>;
25
+ export declare const deserializeAws_restJson1ListLexiconsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLexiconsCommandOutput>;
26
+ export declare const deserializeAws_restJson1ListSpeechSynthesisTasksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSpeechSynthesisTasksCommandOutput>;
27
+ export declare const deserializeAws_restJson1PutLexiconCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutLexiconCommandOutput>;
28
+ export declare const deserializeAws_restJson1StartSpeechSynthesisTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartSpeechSynthesisTaskCommandOutput>;
29
+ export declare const deserializeAws_restJson1SynthesizeSpeechCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SynthesizeSpeechCommandOutput>;
@@ -0,0 +1,38 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { PollyClientConfig } from "./PollyClient";
3
+
4
+ export declare const getRuntimeConfig: (config: PollyClientConfig) => {
5
+ runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<any>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@aws-sdk/types").Logger;
26
+ serviceId: string;
27
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ tls?: boolean | undefined;
30
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signingEscapePath?: boolean | undefined;
34
+ systemClockOffset?: number | undefined;
35
+ signingRegion?: string | undefined;
36
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
+ };