@aws-sdk/client-polly 3.52.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.
@@ -3,3 +3,4 @@ export * from "./PollyClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { PollyServiceException } from "./models/PollyServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Polly service.
4
+ */
5
+ export declare class PollyServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,6 +1,7 @@
1
1
  /// <reference types="node" />
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
3
3
  import { Readable } from "stream";
4
+ import { PollyServiceException as __BaseException } from "./PollyServiceException";
4
5
  export interface DeleteLexiconInput {
5
6
  /**
6
7
  * <p>The name of the lexicon to delete. Must be an existing lexicon in
@@ -29,18 +30,24 @@ export declare namespace DeleteLexiconOutput {
29
30
  * <p>Verify that the lexicon exists, is in the region (see <a>ListLexicons</a>) and that you spelled its name is spelled
30
31
  * correctly. Then try again.</p>
31
32
  */
32
- export interface LexiconNotFoundException extends __SmithyException, $MetadataBearer {
33
- name: "LexiconNotFoundException";
34
- $fault: "client";
35
- message?: string;
33
+ export declare class LexiconNotFoundException extends __BaseException {
34
+ readonly name: "LexiconNotFoundException";
35
+ readonly $fault: "client";
36
+ /**
37
+ * @internal
38
+ */
39
+ constructor(opts: __ExceptionOptionType<LexiconNotFoundException, __BaseException>);
36
40
  }
37
41
  /**
38
42
  * <p>An unknown condition has caused a service failure.</p>
39
43
  */
40
- export interface ServiceFailureException extends __SmithyException, $MetadataBearer {
41
- name: "ServiceFailureException";
42
- $fault: "server";
43
- message?: string;
44
+ export declare class ServiceFailureException extends __BaseException {
45
+ readonly name: "ServiceFailureException";
46
+ readonly $fault: "server";
47
+ /**
48
+ * @internal
49
+ */
50
+ constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
44
51
  }
45
52
  export declare enum Engine {
46
53
  NEURAL = "neural",
@@ -154,20 +161,26 @@ export declare namespace DescribeVoicesOutput {
154
161
  * <p>The NextToken is invalid. Verify that it's spelled correctly, and
155
162
  * then try again.</p>
156
163
  */
157
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
158
- name: "InvalidNextTokenException";
159
- $fault: "client";
160
- message?: string;
164
+ export declare class InvalidNextTokenException extends __BaseException {
165
+ readonly name: "InvalidNextTokenException";
166
+ readonly $fault: "client";
167
+ /**
168
+ * @internal
169
+ */
170
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
161
171
  }
162
172
  /**
163
173
  * <p>This engine is not compatible with the voice that you have designated.
164
174
  * Choose a new voice that is compatible with the engine or change the engine
165
175
  * and restart the operation.</p>
166
176
  */
167
- export interface EngineNotSupportedException extends __SmithyException, $MetadataBearer {
168
- name: "EngineNotSupportedException";
169
- $fault: "client";
170
- message?: string;
177
+ export declare class EngineNotSupportedException extends __BaseException {
178
+ readonly name: "EngineNotSupportedException";
179
+ readonly $fault: "client";
180
+ /**
181
+ * @internal
182
+ */
183
+ constructor(opts: __ExceptionOptionType<EngineNotSupportedException, __BaseException>);
171
184
  }
172
185
  export interface GetLexiconInput {
173
186
  /**
@@ -407,81 +420,108 @@ export declare namespace GetSpeechSynthesisTaskOutput {
407
420
  * <p>The provided Task ID is not valid. Please provide a valid Task ID and
408
421
  * try again.</p>
409
422
  */
410
- export interface InvalidTaskIdException extends __SmithyException, $MetadataBearer {
411
- name: "InvalidTaskIdException";
412
- $fault: "client";
413
- message?: string;
423
+ export declare class InvalidTaskIdException extends __BaseException {
424
+ readonly name: "InvalidTaskIdException";
425
+ readonly $fault: "client";
426
+ /**
427
+ * @internal
428
+ */
429
+ constructor(opts: __ExceptionOptionType<InvalidTaskIdException, __BaseException>);
414
430
  }
415
431
  /**
416
432
  * <p>The Speech Synthesis task with requested Task ID cannot be
417
433
  * found.</p>
418
434
  */
419
- export interface SynthesisTaskNotFoundException extends __SmithyException, $MetadataBearer {
420
- name: "SynthesisTaskNotFoundException";
421
- $fault: "client";
422
- message?: string;
435
+ export declare class SynthesisTaskNotFoundException extends __BaseException {
436
+ readonly name: "SynthesisTaskNotFoundException";
437
+ readonly $fault: "client";
438
+ /**
439
+ * @internal
440
+ */
441
+ constructor(opts: __ExceptionOptionType<SynthesisTaskNotFoundException, __BaseException>);
423
442
  }
424
443
  /**
425
444
  * <p>Amazon Polly can't find the specified lexicon. Verify that the lexicon's
426
445
  * name is spelled correctly, and then try again.</p>
427
446
  */
428
- export interface InvalidLexiconException extends __SmithyException, $MetadataBearer {
429
- name: "InvalidLexiconException";
430
- $fault: "client";
431
- message?: string;
447
+ export declare class InvalidLexiconException extends __BaseException {
448
+ readonly name: "InvalidLexiconException";
449
+ readonly $fault: "client";
450
+ /**
451
+ * @internal
452
+ */
453
+ constructor(opts: __ExceptionOptionType<InvalidLexiconException, __BaseException>);
432
454
  }
433
455
  /**
434
456
  * <p>The provided Amazon S3 bucket name is invalid. Please check your input
435
457
  * with S3 bucket naming requirements and try again.</p>
436
458
  */
437
- export interface InvalidS3BucketException extends __SmithyException, $MetadataBearer {
438
- name: "InvalidS3BucketException";
439
- $fault: "client";
440
- message?: string;
459
+ export declare class InvalidS3BucketException extends __BaseException {
460
+ readonly name: "InvalidS3BucketException";
461
+ readonly $fault: "client";
462
+ /**
463
+ * @internal
464
+ */
465
+ constructor(opts: __ExceptionOptionType<InvalidS3BucketException, __BaseException>);
441
466
  }
442
467
  /**
443
468
  * <p>The provided Amazon S3 key prefix is invalid. Please provide a valid
444
469
  * S3 object key name.</p>
445
470
  */
446
- export interface InvalidS3KeyException extends __SmithyException, $MetadataBearer {
447
- name: "InvalidS3KeyException";
448
- $fault: "client";
449
- message?: string;
471
+ export declare class InvalidS3KeyException extends __BaseException {
472
+ readonly name: "InvalidS3KeyException";
473
+ readonly $fault: "client";
474
+ /**
475
+ * @internal
476
+ */
477
+ constructor(opts: __ExceptionOptionType<InvalidS3KeyException, __BaseException>);
450
478
  }
451
479
  /**
452
480
  * <p>The specified sample rate is not valid.</p>
453
481
  */
454
- export interface InvalidSampleRateException extends __SmithyException, $MetadataBearer {
455
- name: "InvalidSampleRateException";
456
- $fault: "client";
457
- message?: string;
482
+ export declare class InvalidSampleRateException extends __BaseException {
483
+ readonly name: "InvalidSampleRateException";
484
+ readonly $fault: "client";
485
+ /**
486
+ * @internal
487
+ */
488
+ constructor(opts: __ExceptionOptionType<InvalidSampleRateException, __BaseException>);
458
489
  }
459
490
  /**
460
491
  * <p>The provided SNS topic ARN is invalid. Please provide a valid SNS
461
492
  * topic ARN and try again.</p>
462
493
  */
463
- export interface InvalidSnsTopicArnException extends __SmithyException, $MetadataBearer {
464
- name: "InvalidSnsTopicArnException";
465
- $fault: "client";
466
- message?: string;
494
+ export declare class InvalidSnsTopicArnException extends __BaseException {
495
+ readonly name: "InvalidSnsTopicArnException";
496
+ readonly $fault: "client";
497
+ /**
498
+ * @internal
499
+ */
500
+ constructor(opts: __ExceptionOptionType<InvalidSnsTopicArnException, __BaseException>);
467
501
  }
468
502
  /**
469
503
  * <p>The SSML you provided is invalid. Verify the SSML syntax, spelling
470
504
  * of tags and values, and then try again.</p>
471
505
  */
472
- export interface InvalidSsmlException extends __SmithyException, $MetadataBearer {
473
- name: "InvalidSsmlException";
474
- $fault: "client";
475
- message?: string;
506
+ export declare class InvalidSsmlException extends __BaseException {
507
+ readonly name: "InvalidSsmlException";
508
+ readonly $fault: "client";
509
+ /**
510
+ * @internal
511
+ */
512
+ constructor(opts: __ExceptionOptionType<InvalidSsmlException, __BaseException>);
476
513
  }
477
514
  /**
478
515
  * <p>The language specified is not currently supported by Amazon Polly in this
479
516
  * capacity.</p>
480
517
  */
481
- export interface LanguageNotSupportedException extends __SmithyException, $MetadataBearer {
482
- name: "LanguageNotSupportedException";
483
- $fault: "client";
484
- message?: string;
518
+ export declare class LanguageNotSupportedException extends __BaseException {
519
+ readonly name: "LanguageNotSupportedException";
520
+ readonly $fault: "client";
521
+ /**
522
+ * @internal
523
+ */
524
+ constructor(opts: __ExceptionOptionType<LanguageNotSupportedException, __BaseException>);
485
525
  }
486
526
  /**
487
527
  * <p>Describes the content of the lexicon.</p>
@@ -506,10 +546,13 @@ export declare namespace LexiconDescription {
506
546
  * <p>The maximum size of the specified lexicon would be exceeded by this
507
547
  * operation.</p>
508
548
  */
509
- export interface LexiconSizeExceededException extends __SmithyException, $MetadataBearer {
510
- name: "LexiconSizeExceededException";
511
- $fault: "client";
512
- message?: string;
549
+ export declare class LexiconSizeExceededException extends __BaseException {
550
+ readonly name: "LexiconSizeExceededException";
551
+ readonly $fault: "client";
552
+ /**
553
+ * @internal
554
+ */
555
+ constructor(opts: __ExceptionOptionType<LexiconSizeExceededException, __BaseException>);
513
556
  }
514
557
  export interface ListLexiconsInput {
515
558
  /**
@@ -591,28 +634,37 @@ export declare namespace ListSpeechSynthesisTasksOutput {
591
634
  * selected. Speech marks are only available for content in <code>json</code>
592
635
  * format.</p>
593
636
  */
594
- export interface MarksNotSupportedForFormatException extends __SmithyException, $MetadataBearer {
595
- name: "MarksNotSupportedForFormatException";
596
- $fault: "client";
597
- message?: string;
637
+ export declare class MarksNotSupportedForFormatException extends __BaseException {
638
+ readonly name: "MarksNotSupportedForFormatException";
639
+ readonly $fault: "client";
640
+ /**
641
+ * @internal
642
+ */
643
+ constructor(opts: __ExceptionOptionType<MarksNotSupportedForFormatException, __BaseException>);
598
644
  }
599
645
  /**
600
646
  * <p>The maximum size of the lexeme would be exceeded by this
601
647
  * operation.</p>
602
648
  */
603
- export interface MaxLexemeLengthExceededException extends __SmithyException, $MetadataBearer {
604
- name: "MaxLexemeLengthExceededException";
605
- $fault: "client";
606
- message?: string;
649
+ export declare class MaxLexemeLengthExceededException extends __BaseException {
650
+ readonly name: "MaxLexemeLengthExceededException";
651
+ readonly $fault: "client";
652
+ /**
653
+ * @internal
654
+ */
655
+ constructor(opts: __ExceptionOptionType<MaxLexemeLengthExceededException, __BaseException>);
607
656
  }
608
657
  /**
609
658
  * <p>The maximum number of lexicons would be exceeded by this
610
659
  * operation.</p>
611
660
  */
612
- export interface MaxLexiconsNumberExceededException extends __SmithyException, $MetadataBearer {
613
- name: "MaxLexiconsNumberExceededException";
614
- $fault: "client";
615
- message?: string;
661
+ export declare class MaxLexiconsNumberExceededException extends __BaseException {
662
+ readonly name: "MaxLexiconsNumberExceededException";
663
+ readonly $fault: "client";
664
+ /**
665
+ * @internal
666
+ */
667
+ constructor(opts: __ExceptionOptionType<MaxLexiconsNumberExceededException, __BaseException>);
616
668
  }
617
669
  export interface PutLexiconInput {
618
670
  /**
@@ -644,28 +696,37 @@ export declare namespace PutLexiconOutput {
644
696
  * <p>The alphabet specified by the lexicon is not a supported alphabet.
645
697
  * Valid values are <code>x-sampa</code> and <code>ipa</code>.</p>
646
698
  */
647
- export interface UnsupportedPlsAlphabetException extends __SmithyException, $MetadataBearer {
648
- name: "UnsupportedPlsAlphabetException";
649
- $fault: "client";
650
- message?: string;
699
+ export declare class UnsupportedPlsAlphabetException extends __BaseException {
700
+ readonly name: "UnsupportedPlsAlphabetException";
701
+ readonly $fault: "client";
702
+ /**
703
+ * @internal
704
+ */
705
+ constructor(opts: __ExceptionOptionType<UnsupportedPlsAlphabetException, __BaseException>);
651
706
  }
652
707
  /**
653
708
  * <p>The language specified in the lexicon is unsupported. For a list of
654
709
  * supported languages, see <a href="https://docs.aws.amazon.com/polly/latest/dg/API_LexiconAttributes.html">Lexicon Attributes</a>.</p>
655
710
  */
656
- export interface UnsupportedPlsLanguageException extends __SmithyException, $MetadataBearer {
657
- name: "UnsupportedPlsLanguageException";
658
- $fault: "client";
659
- message?: string;
711
+ export declare class UnsupportedPlsLanguageException extends __BaseException {
712
+ readonly name: "UnsupportedPlsLanguageException";
713
+ readonly $fault: "client";
714
+ /**
715
+ * @internal
716
+ */
717
+ constructor(opts: __ExceptionOptionType<UnsupportedPlsLanguageException, __BaseException>);
660
718
  }
661
719
  /**
662
720
  * <p>SSML speech marks are not supported for plain text-type
663
721
  * input.</p>
664
722
  */
665
- export interface SsmlMarksNotSupportedForTextTypeException extends __SmithyException, $MetadataBearer {
666
- name: "SsmlMarksNotSupportedForTextTypeException";
667
- $fault: "client";
668
- message?: string;
723
+ export declare class SsmlMarksNotSupportedForTextTypeException extends __BaseException {
724
+ readonly name: "SsmlMarksNotSupportedForTextTypeException";
725
+ readonly $fault: "client";
726
+ /**
727
+ * @internal
728
+ */
729
+ constructor(opts: __ExceptionOptionType<SsmlMarksNotSupportedForTextTypeException, __BaseException>);
669
730
  }
670
731
  export interface StartSpeechSynthesisTaskInput {
671
732
  /**
@@ -767,10 +828,13 @@ export declare namespace StartSpeechSynthesisTaskOutput {
767
828
  * billed characters. SSML tags are not counted as billed
768
829
  * characters.</p>
769
830
  */
770
- export interface TextLengthExceededException extends __SmithyException, $MetadataBearer {
771
- name: "TextLengthExceededException";
772
- $fault: "client";
773
- message?: string;
831
+ export declare class TextLengthExceededException extends __BaseException {
832
+ readonly name: "TextLengthExceededException";
833
+ readonly $fault: "client";
834
+ /**
835
+ * @internal
836
+ */
837
+ constructor(opts: __ExceptionOptionType<TextLengthExceededException, __BaseException>);
774
838
  }
775
839
  export interface SynthesizeSpeechInput {
776
840
  /**
@@ -3,3 +3,4 @@ export * from "./PollyClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
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
+ }
@@ -1,6 +1,7 @@
1
1
 
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
3
3
  import { Readable } from "stream";
4
+ import { PollyServiceException as __BaseException } from "./PollyServiceException";
4
5
  export interface DeleteLexiconInput {
5
6
 
6
7
  Name: string | undefined;
@@ -16,16 +17,18 @@ export declare namespace DeleteLexiconOutput {
16
17
  const filterSensitiveLog: (obj: DeleteLexiconOutput) => any;
17
18
  }
18
19
 
19
- export interface LexiconNotFoundException extends __SmithyException, $MetadataBearer {
20
- name: "LexiconNotFoundException";
21
- $fault: "client";
22
- message?: string;
20
+ export declare class LexiconNotFoundException extends __BaseException {
21
+ readonly name: "LexiconNotFoundException";
22
+ readonly $fault: "client";
23
+
24
+ constructor(opts: __ExceptionOptionType<LexiconNotFoundException, __BaseException>);
23
25
  }
24
26
 
25
- export interface ServiceFailureException extends __SmithyException, $MetadataBearer {
26
- name: "ServiceFailureException";
27
- $fault: "server";
28
- message?: string;
27
+ export declare class ServiceFailureException extends __BaseException {
28
+ readonly name: "ServiceFailureException";
29
+ readonly $fault: "server";
30
+
31
+ constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
29
32
  }
30
33
  export declare enum Engine {
31
34
  NEURAL = "neural",
@@ -80,16 +83,18 @@ export declare namespace DescribeVoicesOutput {
80
83
  const filterSensitiveLog: (obj: DescribeVoicesOutput) => any;
81
84
  }
82
85
 
83
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
84
- name: "InvalidNextTokenException";
85
- $fault: "client";
86
- message?: string;
86
+ export declare class InvalidNextTokenException extends __BaseException {
87
+ readonly name: "InvalidNextTokenException";
88
+ readonly $fault: "client";
89
+
90
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
87
91
  }
88
92
 
89
- export interface EngineNotSupportedException extends __SmithyException, $MetadataBearer {
90
- name: "EngineNotSupportedException";
91
- $fault: "client";
92
- message?: string;
93
+ export declare class EngineNotSupportedException extends __BaseException {
94
+ readonly name: "EngineNotSupportedException";
95
+ readonly $fault: "client";
96
+
97
+ constructor(opts: __ExceptionOptionType<EngineNotSupportedException, __BaseException>);
93
98
  }
94
99
  export interface GetLexiconInput {
95
100
 
@@ -215,58 +220,67 @@ export declare namespace GetSpeechSynthesisTaskOutput {
215
220
  const filterSensitiveLog: (obj: GetSpeechSynthesisTaskOutput) => any;
216
221
  }
217
222
 
218
- export interface InvalidTaskIdException extends __SmithyException, $MetadataBearer {
219
- name: "InvalidTaskIdException";
220
- $fault: "client";
221
- message?: string;
223
+ export declare class InvalidTaskIdException extends __BaseException {
224
+ readonly name: "InvalidTaskIdException";
225
+ readonly $fault: "client";
226
+
227
+ constructor(opts: __ExceptionOptionType<InvalidTaskIdException, __BaseException>);
222
228
  }
223
229
 
224
- export interface SynthesisTaskNotFoundException extends __SmithyException, $MetadataBearer {
225
- name: "SynthesisTaskNotFoundException";
226
- $fault: "client";
227
- message?: string;
230
+ export declare class SynthesisTaskNotFoundException extends __BaseException {
231
+ readonly name: "SynthesisTaskNotFoundException";
232
+ readonly $fault: "client";
233
+
234
+ constructor(opts: __ExceptionOptionType<SynthesisTaskNotFoundException, __BaseException>);
228
235
  }
229
236
 
230
- export interface InvalidLexiconException extends __SmithyException, $MetadataBearer {
231
- name: "InvalidLexiconException";
232
- $fault: "client";
233
- message?: string;
237
+ export declare class InvalidLexiconException extends __BaseException {
238
+ readonly name: "InvalidLexiconException";
239
+ readonly $fault: "client";
240
+
241
+ constructor(opts: __ExceptionOptionType<InvalidLexiconException, __BaseException>);
234
242
  }
235
243
 
236
- export interface InvalidS3BucketException extends __SmithyException, $MetadataBearer {
237
- name: "InvalidS3BucketException";
238
- $fault: "client";
239
- message?: string;
244
+ export declare class InvalidS3BucketException extends __BaseException {
245
+ readonly name: "InvalidS3BucketException";
246
+ readonly $fault: "client";
247
+
248
+ constructor(opts: __ExceptionOptionType<InvalidS3BucketException, __BaseException>);
240
249
  }
241
250
 
242
- export interface InvalidS3KeyException extends __SmithyException, $MetadataBearer {
243
- name: "InvalidS3KeyException";
244
- $fault: "client";
245
- message?: string;
251
+ export declare class InvalidS3KeyException extends __BaseException {
252
+ readonly name: "InvalidS3KeyException";
253
+ readonly $fault: "client";
254
+
255
+ constructor(opts: __ExceptionOptionType<InvalidS3KeyException, __BaseException>);
246
256
  }
247
257
 
248
- export interface InvalidSampleRateException extends __SmithyException, $MetadataBearer {
249
- name: "InvalidSampleRateException";
250
- $fault: "client";
251
- message?: string;
258
+ export declare class InvalidSampleRateException extends __BaseException {
259
+ readonly name: "InvalidSampleRateException";
260
+ readonly $fault: "client";
261
+
262
+ constructor(opts: __ExceptionOptionType<InvalidSampleRateException, __BaseException>);
252
263
  }
253
264
 
254
- export interface InvalidSnsTopicArnException extends __SmithyException, $MetadataBearer {
255
- name: "InvalidSnsTopicArnException";
256
- $fault: "client";
257
- message?: string;
265
+ export declare class InvalidSnsTopicArnException extends __BaseException {
266
+ readonly name: "InvalidSnsTopicArnException";
267
+ readonly $fault: "client";
268
+
269
+ constructor(opts: __ExceptionOptionType<InvalidSnsTopicArnException, __BaseException>);
258
270
  }
259
271
 
260
- export interface InvalidSsmlException extends __SmithyException, $MetadataBearer {
261
- name: "InvalidSsmlException";
262
- $fault: "client";
263
- message?: string;
272
+ export declare class InvalidSsmlException extends __BaseException {
273
+ readonly name: "InvalidSsmlException";
274
+ readonly $fault: "client";
275
+
276
+ constructor(opts: __ExceptionOptionType<InvalidSsmlException, __BaseException>);
264
277
  }
265
278
 
266
- export interface LanguageNotSupportedException extends __SmithyException, $MetadataBearer {
267
- name: "LanguageNotSupportedException";
268
- $fault: "client";
269
- message?: string;
279
+ export declare class LanguageNotSupportedException extends __BaseException {
280
+ readonly name: "LanguageNotSupportedException";
281
+ readonly $fault: "client";
282
+
283
+ constructor(opts: __ExceptionOptionType<LanguageNotSupportedException, __BaseException>);
270
284
  }
271
285
 
272
286
  export interface LexiconDescription {
@@ -280,10 +294,11 @@ export declare namespace LexiconDescription {
280
294
  const filterSensitiveLog: (obj: LexiconDescription) => any;
281
295
  }
282
296
 
283
- export interface LexiconSizeExceededException extends __SmithyException, $MetadataBearer {
284
- name: "LexiconSizeExceededException";
285
- $fault: "client";
286
- message?: string;
297
+ export declare class LexiconSizeExceededException extends __BaseException {
298
+ readonly name: "LexiconSizeExceededException";
299
+ readonly $fault: "client";
300
+
301
+ constructor(opts: __ExceptionOptionType<LexiconSizeExceededException, __BaseException>);
287
302
  }
288
303
  export interface ListLexiconsInput {
289
304
 
@@ -326,22 +341,25 @@ export declare namespace ListSpeechSynthesisTasksOutput {
326
341
  const filterSensitiveLog: (obj: ListSpeechSynthesisTasksOutput) => any;
327
342
  }
328
343
 
329
- export interface MarksNotSupportedForFormatException extends __SmithyException, $MetadataBearer {
330
- name: "MarksNotSupportedForFormatException";
331
- $fault: "client";
332
- message?: string;
344
+ export declare class MarksNotSupportedForFormatException extends __BaseException {
345
+ readonly name: "MarksNotSupportedForFormatException";
346
+ readonly $fault: "client";
347
+
348
+ constructor(opts: __ExceptionOptionType<MarksNotSupportedForFormatException, __BaseException>);
333
349
  }
334
350
 
335
- export interface MaxLexemeLengthExceededException extends __SmithyException, $MetadataBearer {
336
- name: "MaxLexemeLengthExceededException";
337
- $fault: "client";
338
- message?: string;
351
+ export declare class MaxLexemeLengthExceededException extends __BaseException {
352
+ readonly name: "MaxLexemeLengthExceededException";
353
+ readonly $fault: "client";
354
+
355
+ constructor(opts: __ExceptionOptionType<MaxLexemeLengthExceededException, __BaseException>);
339
356
  }
340
357
 
341
- export interface MaxLexiconsNumberExceededException extends __SmithyException, $MetadataBearer {
342
- name: "MaxLexiconsNumberExceededException";
343
- $fault: "client";
344
- message?: string;
358
+ export declare class MaxLexiconsNumberExceededException extends __BaseException {
359
+ readonly name: "MaxLexiconsNumberExceededException";
360
+ readonly $fault: "client";
361
+
362
+ constructor(opts: __ExceptionOptionType<MaxLexiconsNumberExceededException, __BaseException>);
345
363
  }
346
364
  export interface PutLexiconInput {
347
365
 
@@ -360,22 +378,25 @@ export declare namespace PutLexiconOutput {
360
378
  const filterSensitiveLog: (obj: PutLexiconOutput) => any;
361
379
  }
362
380
 
363
- export interface UnsupportedPlsAlphabetException extends __SmithyException, $MetadataBearer {
364
- name: "UnsupportedPlsAlphabetException";
365
- $fault: "client";
366
- message?: string;
381
+ export declare class UnsupportedPlsAlphabetException extends __BaseException {
382
+ readonly name: "UnsupportedPlsAlphabetException";
383
+ readonly $fault: "client";
384
+
385
+ constructor(opts: __ExceptionOptionType<UnsupportedPlsAlphabetException, __BaseException>);
367
386
  }
368
387
 
369
- export interface UnsupportedPlsLanguageException extends __SmithyException, $MetadataBearer {
370
- name: "UnsupportedPlsLanguageException";
371
- $fault: "client";
372
- message?: string;
388
+ export declare class UnsupportedPlsLanguageException extends __BaseException {
389
+ readonly name: "UnsupportedPlsLanguageException";
390
+ readonly $fault: "client";
391
+
392
+ constructor(opts: __ExceptionOptionType<UnsupportedPlsLanguageException, __BaseException>);
373
393
  }
374
394
 
375
- export interface SsmlMarksNotSupportedForTextTypeException extends __SmithyException, $MetadataBearer {
376
- name: "SsmlMarksNotSupportedForTextTypeException";
377
- $fault: "client";
378
- message?: string;
395
+ export declare class SsmlMarksNotSupportedForTextTypeException extends __BaseException {
396
+ readonly name: "SsmlMarksNotSupportedForTextTypeException";
397
+ readonly $fault: "client";
398
+
399
+ constructor(opts: __ExceptionOptionType<SsmlMarksNotSupportedForTextTypeException, __BaseException>);
379
400
  }
380
401
  export interface StartSpeechSynthesisTaskInput {
381
402
 
@@ -416,10 +437,11 @@ export declare namespace StartSpeechSynthesisTaskOutput {
416
437
  const filterSensitiveLog: (obj: StartSpeechSynthesisTaskOutput) => any;
417
438
  }
418
439
 
419
- export interface TextLengthExceededException extends __SmithyException, $MetadataBearer {
420
- name: "TextLengthExceededException";
421
- $fault: "client";
422
- message?: string;
440
+ export declare class TextLengthExceededException extends __BaseException {
441
+ readonly name: "TextLengthExceededException";
442
+ readonly $fault: "client";
443
+
444
+ constructor(opts: __ExceptionOptionType<TextLengthExceededException, __BaseException>);
423
445
  }
424
446
  export interface SynthesizeSpeechInput {
425
447