@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.
Files changed (27) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/Polly.d.ts +166 -50
  3. package/dist-types/ts3.4/PollyClient.d.ts +183 -82
  4. package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +34 -17
  5. package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +34 -17
  6. package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +34 -17
  7. package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +41 -17
  8. package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +34 -17
  9. package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +41 -17
  10. package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +34 -17
  11. package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +41 -17
  12. package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +37 -17
  13. package/dist-types/ts3.4/commands/index.d.ts +9 -9
  14. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  15. package/dist-types/ts3.4/index.d.ts +6 -6
  16. package/dist-types/ts3.4/models/PollyServiceException.d.ts +8 -6
  17. package/dist-types/ts3.4/models/index.d.ts +1 -1
  18. package/dist-types/ts3.4/models/models_0.d.ts +618 -435
  19. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
  20. package/dist-types/ts3.4/pagination/ListSpeechSynthesisTasksPaginator.d.ts +11 -4
  21. package/dist-types/ts3.4/pagination/index.d.ts +2 -2
  22. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +113 -29
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  27. package/package.json +34 -34
@@ -1,435 +1,618 @@
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 interface DeleteLexiconOutput {
10
- }
11
-
12
- export declare class LexiconNotFoundException extends __BaseException {
13
- readonly name: "LexiconNotFoundException";
14
- readonly $fault: "client";
15
-
16
- constructor(opts: __ExceptionOptionType<LexiconNotFoundException, __BaseException>);
17
- }
18
-
19
- export declare class ServiceFailureException extends __BaseException {
20
- readonly name: "ServiceFailureException";
21
- readonly $fault: "server";
22
-
23
- constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
24
- }
25
- export declare enum Engine {
26
- NEURAL = "neural",
27
- STANDARD = "standard"
28
- }
29
- export declare type LanguageCode = "arb" | "ca-ES" | "cmn-CN" | "cy-GB" | "da-DK" | "de-AT" | "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";
30
- export interface DescribeVoicesInput {
31
-
32
- Engine?: Engine | string;
33
-
34
- LanguageCode?: LanguageCode | string;
35
-
36
- IncludeAdditionalLanguageCodes?: boolean;
37
-
38
- NextToken?: string;
39
- }
40
- export declare type Gender = "Female" | "Male";
41
- export declare type VoiceId = "Aditi" | "Amy" | "Aria" | "Arlet" | "Arthur" | "Astrid" | "Ayanda" | "Bianca" | "Brian" | "Camila" | "Carla" | "Carmen" | "Celine" | "Chantal" | "Conchita" | "Cristiano" | "Daniel" | "Dora" | "Emma" | "Enrique" | "Ewa" | "Filiz" | "Gabrielle" | "Geraint" | "Giorgio" | "Gwyneth" | "Hannah" | "Hans" | "Ines" | "Ivy" | "Jacek" | "Jan" | "Joanna" | "Joey" | "Justin" | "Kajal" | "Karl" | "Kendra" | "Kevin" | "Kimberly" | "Lea" | "Liam" | "Liv" | "Lotte" | "Lucia" | "Lupe" | "Mads" | "Maja" | "Marlene" | "Mathieu" | "Matthew" | "Maxim" | "Mia" | "Miguel" | "Mizuki" | "Naja" | "Nicole" | "Olivia" | "Pedro" | "Penelope" | "Raveena" | "Ricardo" | "Ruben" | "Russell" | "Salli" | "Seoyeon" | "Takumi" | "Tatyana" | "Vicki" | "Vitoria" | "Zeina" | "Zhiyu";
42
-
43
- export interface Voice {
44
-
45
- Gender?: Gender | string;
46
-
47
- Id?: VoiceId | string;
48
-
49
- LanguageCode?: LanguageCode | string;
50
-
51
- LanguageName?: string;
52
-
53
- Name?: string;
54
-
55
- AdditionalLanguageCodes?: (LanguageCode | string)[];
56
-
57
- SupportedEngines?: (Engine | string)[];
58
- }
59
- export interface DescribeVoicesOutput {
60
-
61
- Voices?: Voice[];
62
-
63
- NextToken?: string;
64
- }
65
-
66
- export declare class InvalidNextTokenException extends __BaseException {
67
- readonly name: "InvalidNextTokenException";
68
- readonly $fault: "client";
69
-
70
- constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
71
- }
72
-
73
- export declare class EngineNotSupportedException extends __BaseException {
74
- readonly name: "EngineNotSupportedException";
75
- readonly $fault: "client";
76
-
77
- constructor(opts: __ExceptionOptionType<EngineNotSupportedException, __BaseException>);
78
- }
79
- export interface GetLexiconInput {
80
-
81
- Name: string | undefined;
82
- }
83
-
84
- export interface Lexicon {
85
-
86
- Content?: string;
87
-
88
- Name?: string;
89
- }
90
-
91
- export interface LexiconAttributes {
92
-
93
- Alphabet?: string;
94
-
95
- LanguageCode?: LanguageCode | string;
96
-
97
- LastModified?: Date;
98
-
99
- LexiconArn?: string;
100
-
101
- LexemesCount?: number;
102
-
103
- Size?: number;
104
- }
105
- export interface GetLexiconOutput {
106
-
107
- Lexicon?: Lexicon;
108
-
109
- LexiconAttributes?: LexiconAttributes;
110
- }
111
- export interface GetSpeechSynthesisTaskInput {
112
-
113
- TaskId: string | undefined;
114
- }
115
- export declare enum OutputFormat {
116
- JSON = "json",
117
- MP3 = "mp3",
118
- OGG_VORBIS = "ogg_vorbis",
119
- PCM = "pcm"
120
- }
121
- export declare enum SpeechMarkType {
122
- SENTENCE = "sentence",
123
- SSML = "ssml",
124
- VISEME = "viseme",
125
- WORD = "word"
126
- }
127
- export declare enum TaskStatus {
128
- COMPLETED = "completed",
129
- FAILED = "failed",
130
- IN_PROGRESS = "inProgress",
131
- SCHEDULED = "scheduled"
132
- }
133
- export declare enum TextType {
134
- SSML = "ssml",
135
- TEXT = "text"
136
- }
137
-
138
- export interface SynthesisTask {
139
-
140
- Engine?: Engine | string;
141
-
142
- TaskId?: string;
143
-
144
- TaskStatus?: TaskStatus | string;
145
-
146
- TaskStatusReason?: string;
147
-
148
- OutputUri?: string;
149
-
150
- CreationTime?: Date;
151
-
152
- RequestCharacters?: number;
153
-
154
- SnsTopicArn?: string;
155
-
156
- LexiconNames?: string[];
157
-
158
- OutputFormat?: OutputFormat | string;
159
-
160
- SampleRate?: string;
161
-
162
- SpeechMarkTypes?: (SpeechMarkType | string)[];
163
-
164
- TextType?: TextType | string;
165
-
166
- VoiceId?: VoiceId | string;
167
-
168
- LanguageCode?: LanguageCode | string;
169
- }
170
- export interface GetSpeechSynthesisTaskOutput {
171
-
172
- SynthesisTask?: SynthesisTask;
173
- }
174
-
175
- export declare class InvalidTaskIdException extends __BaseException {
176
- readonly name: "InvalidTaskIdException";
177
- readonly $fault: "client";
178
-
179
- constructor(opts: __ExceptionOptionType<InvalidTaskIdException, __BaseException>);
180
- }
181
-
182
- export declare class SynthesisTaskNotFoundException extends __BaseException {
183
- readonly name: "SynthesisTaskNotFoundException";
184
- readonly $fault: "client";
185
-
186
- constructor(opts: __ExceptionOptionType<SynthesisTaskNotFoundException, __BaseException>);
187
- }
188
-
189
- export declare class InvalidLexiconException extends __BaseException {
190
- readonly name: "InvalidLexiconException";
191
- readonly $fault: "client";
192
-
193
- constructor(opts: __ExceptionOptionType<InvalidLexiconException, __BaseException>);
194
- }
195
-
196
- export declare class InvalidS3BucketException extends __BaseException {
197
- readonly name: "InvalidS3BucketException";
198
- readonly $fault: "client";
199
-
200
- constructor(opts: __ExceptionOptionType<InvalidS3BucketException, __BaseException>);
201
- }
202
-
203
- export declare class InvalidS3KeyException extends __BaseException {
204
- readonly name: "InvalidS3KeyException";
205
- readonly $fault: "client";
206
-
207
- constructor(opts: __ExceptionOptionType<InvalidS3KeyException, __BaseException>);
208
- }
209
-
210
- export declare class InvalidSampleRateException extends __BaseException {
211
- readonly name: "InvalidSampleRateException";
212
- readonly $fault: "client";
213
-
214
- constructor(opts: __ExceptionOptionType<InvalidSampleRateException, __BaseException>);
215
- }
216
-
217
- export declare class InvalidSnsTopicArnException extends __BaseException {
218
- readonly name: "InvalidSnsTopicArnException";
219
- readonly $fault: "client";
220
-
221
- constructor(opts: __ExceptionOptionType<InvalidSnsTopicArnException, __BaseException>);
222
- }
223
-
224
- export declare class InvalidSsmlException extends __BaseException {
225
- readonly name: "InvalidSsmlException";
226
- readonly $fault: "client";
227
-
228
- constructor(opts: __ExceptionOptionType<InvalidSsmlException, __BaseException>);
229
- }
230
-
231
- export declare class LanguageNotSupportedException extends __BaseException {
232
- readonly name: "LanguageNotSupportedException";
233
- readonly $fault: "client";
234
-
235
- constructor(opts: __ExceptionOptionType<LanguageNotSupportedException, __BaseException>);
236
- }
237
-
238
- export interface LexiconDescription {
239
-
240
- Name?: string;
241
-
242
- Attributes?: LexiconAttributes;
243
- }
244
-
245
- export declare class LexiconSizeExceededException extends __BaseException {
246
- readonly name: "LexiconSizeExceededException";
247
- readonly $fault: "client";
248
-
249
- constructor(opts: __ExceptionOptionType<LexiconSizeExceededException, __BaseException>);
250
- }
251
- export interface ListLexiconsInput {
252
-
253
- NextToken?: string;
254
- }
255
- export interface ListLexiconsOutput {
256
-
257
- Lexicons?: LexiconDescription[];
258
-
259
- NextToken?: string;
260
- }
261
- export interface ListSpeechSynthesisTasksInput {
262
-
263
- MaxResults?: number;
264
-
265
- NextToken?: string;
266
-
267
- Status?: TaskStatus | string;
268
- }
269
- export interface ListSpeechSynthesisTasksOutput {
270
-
271
- NextToken?: string;
272
-
273
- SynthesisTasks?: SynthesisTask[];
274
- }
275
-
276
- export declare class MarksNotSupportedForFormatException extends __BaseException {
277
- readonly name: "MarksNotSupportedForFormatException";
278
- readonly $fault: "client";
279
-
280
- constructor(opts: __ExceptionOptionType<MarksNotSupportedForFormatException, __BaseException>);
281
- }
282
-
283
- export declare class MaxLexemeLengthExceededException extends __BaseException {
284
- readonly name: "MaxLexemeLengthExceededException";
285
- readonly $fault: "client";
286
-
287
- constructor(opts: __ExceptionOptionType<MaxLexemeLengthExceededException, __BaseException>);
288
- }
289
-
290
- export declare class MaxLexiconsNumberExceededException extends __BaseException {
291
- readonly name: "MaxLexiconsNumberExceededException";
292
- readonly $fault: "client";
293
-
294
- constructor(opts: __ExceptionOptionType<MaxLexiconsNumberExceededException, __BaseException>);
295
- }
296
- export interface PutLexiconInput {
297
-
298
- Name: string | undefined;
299
-
300
- Content: string | undefined;
301
- }
302
- export interface PutLexiconOutput {
303
- }
304
-
305
- export declare class UnsupportedPlsAlphabetException extends __BaseException {
306
- readonly name: "UnsupportedPlsAlphabetException";
307
- readonly $fault: "client";
308
-
309
- constructor(opts: __ExceptionOptionType<UnsupportedPlsAlphabetException, __BaseException>);
310
- }
311
-
312
- export declare class UnsupportedPlsLanguageException extends __BaseException {
313
- readonly name: "UnsupportedPlsLanguageException";
314
- readonly $fault: "client";
315
-
316
- constructor(opts: __ExceptionOptionType<UnsupportedPlsLanguageException, __BaseException>);
317
- }
318
-
319
- export declare class SsmlMarksNotSupportedForTextTypeException extends __BaseException {
320
- readonly name: "SsmlMarksNotSupportedForTextTypeException";
321
- readonly $fault: "client";
322
-
323
- constructor(opts: __ExceptionOptionType<SsmlMarksNotSupportedForTextTypeException, __BaseException>);
324
- }
325
- export interface StartSpeechSynthesisTaskInput {
326
-
327
- Engine?: Engine | string;
328
-
329
- LanguageCode?: LanguageCode | string;
330
-
331
- LexiconNames?: string[];
332
-
333
- OutputFormat: OutputFormat | string | undefined;
334
-
335
- OutputS3BucketName: string | undefined;
336
-
337
- OutputS3KeyPrefix?: string;
338
-
339
- SampleRate?: string;
340
-
341
- SnsTopicArn?: string;
342
-
343
- SpeechMarkTypes?: (SpeechMarkType | string)[];
344
-
345
- Text: string | undefined;
346
-
347
- TextType?: TextType | string;
348
-
349
- VoiceId: VoiceId | string | undefined;
350
- }
351
- export interface StartSpeechSynthesisTaskOutput {
352
-
353
- SynthesisTask?: SynthesisTask;
354
- }
355
-
356
- export declare class TextLengthExceededException extends __BaseException {
357
- readonly name: "TextLengthExceededException";
358
- readonly $fault: "client";
359
-
360
- constructor(opts: __ExceptionOptionType<TextLengthExceededException, __BaseException>);
361
- }
362
- export interface SynthesizeSpeechInput {
363
-
364
- Engine?: Engine | string;
365
-
366
- LanguageCode?: LanguageCode | string;
367
-
368
- LexiconNames?: string[];
369
-
370
- OutputFormat: OutputFormat | string | undefined;
371
-
372
- SampleRate?: string;
373
-
374
- SpeechMarkTypes?: (SpeechMarkType | string)[];
375
-
376
- Text: string | undefined;
377
-
378
- TextType?: TextType | string;
379
-
380
- VoiceId: VoiceId | string | undefined;
381
- }
382
- export interface SynthesizeSpeechOutput {
383
-
384
- AudioStream?: Readable | ReadableStream | Blob;
385
-
386
- ContentType?: string;
387
-
388
- RequestCharacters?: number;
389
- }
390
-
391
- export declare const DeleteLexiconInputFilterSensitiveLog: (obj: DeleteLexiconInput) => any;
392
-
393
- export declare const DeleteLexiconOutputFilterSensitiveLog: (obj: DeleteLexiconOutput) => any;
394
-
395
- export declare const DescribeVoicesInputFilterSensitiveLog: (obj: DescribeVoicesInput) => any;
396
-
397
- export declare const VoiceFilterSensitiveLog: (obj: Voice) => any;
398
-
399
- export declare const DescribeVoicesOutputFilterSensitiveLog: (obj: DescribeVoicesOutput) => any;
400
-
401
- export declare const GetLexiconInputFilterSensitiveLog: (obj: GetLexiconInput) => any;
402
-
403
- export declare const LexiconFilterSensitiveLog: (obj: Lexicon) => any;
404
-
405
- export declare const LexiconAttributesFilterSensitiveLog: (obj: LexiconAttributes) => any;
406
-
407
- export declare const GetLexiconOutputFilterSensitiveLog: (obj: GetLexiconOutput) => any;
408
-
409
- export declare const GetSpeechSynthesisTaskInputFilterSensitiveLog: (obj: GetSpeechSynthesisTaskInput) => any;
410
-
411
- export declare const SynthesisTaskFilterSensitiveLog: (obj: SynthesisTask) => any;
412
-
413
- export declare const GetSpeechSynthesisTaskOutputFilterSensitiveLog: (obj: GetSpeechSynthesisTaskOutput) => any;
414
-
415
- export declare const LexiconDescriptionFilterSensitiveLog: (obj: LexiconDescription) => any;
416
-
417
- export declare const ListLexiconsInputFilterSensitiveLog: (obj: ListLexiconsInput) => any;
418
-
419
- export declare const ListLexiconsOutputFilterSensitiveLog: (obj: ListLexiconsOutput) => any;
420
-
421
- export declare const ListSpeechSynthesisTasksInputFilterSensitiveLog: (obj: ListSpeechSynthesisTasksInput) => any;
422
-
423
- export declare const ListSpeechSynthesisTasksOutputFilterSensitiveLog: (obj: ListSpeechSynthesisTasksOutput) => any;
424
-
425
- export declare const PutLexiconInputFilterSensitiveLog: (obj: PutLexiconInput) => any;
426
-
427
- export declare const PutLexiconOutputFilterSensitiveLog: (obj: PutLexiconOutput) => any;
428
-
429
- export declare const StartSpeechSynthesisTaskInputFilterSensitiveLog: (obj: StartSpeechSynthesisTaskInput) => any;
430
-
431
- export declare const StartSpeechSynthesisTaskOutputFilterSensitiveLog: (obj: StartSpeechSynthesisTaskOutput) => any;
432
-
433
- export declare const SynthesizeSpeechInputFilterSensitiveLog: (obj: SynthesizeSpeechInput) => any;
434
-
435
- export declare const SynthesizeSpeechOutputFilterSensitiveLog: (obj: SynthesizeSpeechOutput) => any;
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;