@aws-sdk/client-polly 3.934.0 → 3.936.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/dist-cjs/index.js +180 -179
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +179 -0
- package/dist-es/models/errors.js +253 -0
- package/dist-es/models/models_0.js +1 -432
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +243 -0
- package/dist-types/models/errors.d.ts +283 -0
- package/dist-types/models/models_0.d.ts +1 -526
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +188 -0
- package/dist-types/ts3.4/models/errors.d.ts +167 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -355
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
|
-
import {
|
|
2
|
+
import { Engine, Gender, LanguageCode, OutputFormat, SpeechMarkType, TaskStatus, TextType, VoiceId } from "./enums";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -17,100 +16,6 @@ export interface DeleteLexiconInput {
|
|
|
17
16
|
*/
|
|
18
17
|
export interface DeleteLexiconOutput {
|
|
19
18
|
}
|
|
20
|
-
/**
|
|
21
|
-
* <p>Amazon Polly can't find the specified lexicon. This could be caused by a
|
|
22
|
-
* lexicon that is missing, its name is misspelled or specifying a lexicon
|
|
23
|
-
* that is in a different region.</p>
|
|
24
|
-
* <p>Verify that the lexicon exists, is in the region (see <a>ListLexicons</a>) and that you spelled its name is spelled
|
|
25
|
-
* correctly. Then try again.</p>
|
|
26
|
-
* @public
|
|
27
|
-
*/
|
|
28
|
-
export declare class LexiconNotFoundException extends __BaseException {
|
|
29
|
-
readonly name: "LexiconNotFoundException";
|
|
30
|
-
readonly $fault: "client";
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
34
|
-
constructor(opts: __ExceptionOptionType<LexiconNotFoundException, __BaseException>);
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* <p>An unknown condition has caused a service failure.</p>
|
|
38
|
-
* @public
|
|
39
|
-
*/
|
|
40
|
-
export declare class ServiceFailureException extends __BaseException {
|
|
41
|
-
readonly name: "ServiceFailureException";
|
|
42
|
-
readonly $fault: "server";
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
|
-
constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* @public
|
|
50
|
-
* @enum
|
|
51
|
-
*/
|
|
52
|
-
export declare const Engine: {
|
|
53
|
-
readonly GENERATIVE: "generative";
|
|
54
|
-
readonly LONG_FORM: "long-form";
|
|
55
|
-
readonly NEURAL: "neural";
|
|
56
|
-
readonly STANDARD: "standard";
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* @public
|
|
60
|
-
*/
|
|
61
|
-
export type Engine = (typeof Engine)[keyof typeof Engine];
|
|
62
|
-
/**
|
|
63
|
-
* @public
|
|
64
|
-
* @enum
|
|
65
|
-
*/
|
|
66
|
-
export declare const LanguageCode: {
|
|
67
|
-
readonly ar_AE: "ar-AE";
|
|
68
|
-
readonly arb: "arb";
|
|
69
|
-
readonly ca_ES: "ca-ES";
|
|
70
|
-
readonly cmn_CN: "cmn-CN";
|
|
71
|
-
readonly cs_CZ: "cs-CZ";
|
|
72
|
-
readonly cy_GB: "cy-GB";
|
|
73
|
-
readonly da_DK: "da-DK";
|
|
74
|
-
readonly de_AT: "de-AT";
|
|
75
|
-
readonly de_CH: "de-CH";
|
|
76
|
-
readonly de_DE: "de-DE";
|
|
77
|
-
readonly en_AU: "en-AU";
|
|
78
|
-
readonly en_GB: "en-GB";
|
|
79
|
-
readonly en_GB_WLS: "en-GB-WLS";
|
|
80
|
-
readonly en_IE: "en-IE";
|
|
81
|
-
readonly en_IN: "en-IN";
|
|
82
|
-
readonly en_NZ: "en-NZ";
|
|
83
|
-
readonly en_SG: "en-SG";
|
|
84
|
-
readonly en_US: "en-US";
|
|
85
|
-
readonly en_ZA: "en-ZA";
|
|
86
|
-
readonly es_ES: "es-ES";
|
|
87
|
-
readonly es_MX: "es-MX";
|
|
88
|
-
readonly es_US: "es-US";
|
|
89
|
-
readonly fi_FI: "fi-FI";
|
|
90
|
-
readonly fr_BE: "fr-BE";
|
|
91
|
-
readonly fr_CA: "fr-CA";
|
|
92
|
-
readonly fr_FR: "fr-FR";
|
|
93
|
-
readonly hi_IN: "hi-IN";
|
|
94
|
-
readonly is_IS: "is-IS";
|
|
95
|
-
readonly it_IT: "it-IT";
|
|
96
|
-
readonly ja_JP: "ja-JP";
|
|
97
|
-
readonly ko_KR: "ko-KR";
|
|
98
|
-
readonly nb_NO: "nb-NO";
|
|
99
|
-
readonly nl_BE: "nl-BE";
|
|
100
|
-
readonly nl_NL: "nl-NL";
|
|
101
|
-
readonly pl_PL: "pl-PL";
|
|
102
|
-
readonly pt_BR: "pt-BR";
|
|
103
|
-
readonly pt_PT: "pt-PT";
|
|
104
|
-
readonly ro_RO: "ro-RO";
|
|
105
|
-
readonly ru_RU: "ru-RU";
|
|
106
|
-
readonly sv_SE: "sv-SE";
|
|
107
|
-
readonly tr_TR: "tr-TR";
|
|
108
|
-
readonly yue_CN: "yue-CN";
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* @public
|
|
112
|
-
*/
|
|
113
|
-
export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
|
|
114
19
|
/**
|
|
115
20
|
* @public
|
|
116
21
|
*/
|
|
@@ -148,128 +53,6 @@ export interface DescribeVoicesInput {
|
|
|
148
53
|
*/
|
|
149
54
|
NextToken?: string | undefined;
|
|
150
55
|
}
|
|
151
|
-
/**
|
|
152
|
-
* @public
|
|
153
|
-
* @enum
|
|
154
|
-
*/
|
|
155
|
-
export declare const Gender: {
|
|
156
|
-
readonly Female: "Female";
|
|
157
|
-
readonly Male: "Male";
|
|
158
|
-
};
|
|
159
|
-
/**
|
|
160
|
-
* @public
|
|
161
|
-
*/
|
|
162
|
-
export type Gender = (typeof Gender)[keyof typeof Gender];
|
|
163
|
-
/**
|
|
164
|
-
* @public
|
|
165
|
-
* @enum
|
|
166
|
-
*/
|
|
167
|
-
export declare const VoiceId: {
|
|
168
|
-
readonly Aditi: "Aditi";
|
|
169
|
-
readonly Adriano: "Adriano";
|
|
170
|
-
readonly Amy: "Amy";
|
|
171
|
-
readonly Andres: "Andres";
|
|
172
|
-
readonly Aria: "Aria";
|
|
173
|
-
readonly Arlet: "Arlet";
|
|
174
|
-
readonly Arthur: "Arthur";
|
|
175
|
-
readonly Astrid: "Astrid";
|
|
176
|
-
readonly Ayanda: "Ayanda";
|
|
177
|
-
readonly Bianca: "Bianca";
|
|
178
|
-
readonly Brian: "Brian";
|
|
179
|
-
readonly Burcu: "Burcu";
|
|
180
|
-
readonly Camila: "Camila";
|
|
181
|
-
readonly Carla: "Carla";
|
|
182
|
-
readonly Carmen: "Carmen";
|
|
183
|
-
readonly Celine: "Celine";
|
|
184
|
-
readonly Chantal: "Chantal";
|
|
185
|
-
readonly Conchita: "Conchita";
|
|
186
|
-
readonly Cristiano: "Cristiano";
|
|
187
|
-
readonly Daniel: "Daniel";
|
|
188
|
-
readonly Danielle: "Danielle";
|
|
189
|
-
readonly Dora: "Dora";
|
|
190
|
-
readonly Elin: "Elin";
|
|
191
|
-
readonly Emma: "Emma";
|
|
192
|
-
readonly Enrique: "Enrique";
|
|
193
|
-
readonly Ewa: "Ewa";
|
|
194
|
-
readonly Filiz: "Filiz";
|
|
195
|
-
readonly Gabrielle: "Gabrielle";
|
|
196
|
-
readonly Geraint: "Geraint";
|
|
197
|
-
readonly Giorgio: "Giorgio";
|
|
198
|
-
readonly Gregory: "Gregory";
|
|
199
|
-
readonly Gwyneth: "Gwyneth";
|
|
200
|
-
readonly Hala: "Hala";
|
|
201
|
-
readonly Hannah: "Hannah";
|
|
202
|
-
readonly Hans: "Hans";
|
|
203
|
-
readonly Hiujin: "Hiujin";
|
|
204
|
-
readonly Ida: "Ida";
|
|
205
|
-
readonly Ines: "Ines";
|
|
206
|
-
readonly Isabelle: "Isabelle";
|
|
207
|
-
readonly Ivy: "Ivy";
|
|
208
|
-
readonly Jacek: "Jacek";
|
|
209
|
-
readonly Jan: "Jan";
|
|
210
|
-
readonly Jasmine: "Jasmine";
|
|
211
|
-
readonly Jihye: "Jihye";
|
|
212
|
-
readonly Jitka: "Jitka";
|
|
213
|
-
readonly Joanna: "Joanna";
|
|
214
|
-
readonly Joey: "Joey";
|
|
215
|
-
readonly Justin: "Justin";
|
|
216
|
-
readonly Kajal: "Kajal";
|
|
217
|
-
readonly Karl: "Karl";
|
|
218
|
-
readonly Kazuha: "Kazuha";
|
|
219
|
-
readonly Kendra: "Kendra";
|
|
220
|
-
readonly Kevin: "Kevin";
|
|
221
|
-
readonly Kimberly: "Kimberly";
|
|
222
|
-
readonly Laura: "Laura";
|
|
223
|
-
readonly Lea: "Lea";
|
|
224
|
-
readonly Liam: "Liam";
|
|
225
|
-
readonly Lisa: "Lisa";
|
|
226
|
-
readonly Liv: "Liv";
|
|
227
|
-
readonly Lotte: "Lotte";
|
|
228
|
-
readonly Lucia: "Lucia";
|
|
229
|
-
readonly Lupe: "Lupe";
|
|
230
|
-
readonly Mads: "Mads";
|
|
231
|
-
readonly Maja: "Maja";
|
|
232
|
-
readonly Marlene: "Marlene";
|
|
233
|
-
readonly Mathieu: "Mathieu";
|
|
234
|
-
readonly Matthew: "Matthew";
|
|
235
|
-
readonly Maxim: "Maxim";
|
|
236
|
-
readonly Mia: "Mia";
|
|
237
|
-
readonly Miguel: "Miguel";
|
|
238
|
-
readonly Mizuki: "Mizuki";
|
|
239
|
-
readonly Naja: "Naja";
|
|
240
|
-
readonly Niamh: "Niamh";
|
|
241
|
-
readonly Nicole: "Nicole";
|
|
242
|
-
readonly Ola: "Ola";
|
|
243
|
-
readonly Olivia: "Olivia";
|
|
244
|
-
readonly Pedro: "Pedro";
|
|
245
|
-
readonly Penelope: "Penelope";
|
|
246
|
-
readonly Raveena: "Raveena";
|
|
247
|
-
readonly Remi: "Remi";
|
|
248
|
-
readonly Ricardo: "Ricardo";
|
|
249
|
-
readonly Ruben: "Ruben";
|
|
250
|
-
readonly Russell: "Russell";
|
|
251
|
-
readonly Ruth: "Ruth";
|
|
252
|
-
readonly Sabrina: "Sabrina";
|
|
253
|
-
readonly Salli: "Salli";
|
|
254
|
-
readonly Seoyeon: "Seoyeon";
|
|
255
|
-
readonly Sergio: "Sergio";
|
|
256
|
-
readonly Sofie: "Sofie";
|
|
257
|
-
readonly Stephen: "Stephen";
|
|
258
|
-
readonly Suvi: "Suvi";
|
|
259
|
-
readonly Takumi: "Takumi";
|
|
260
|
-
readonly Tatyana: "Tatyana";
|
|
261
|
-
readonly Thiago: "Thiago";
|
|
262
|
-
readonly Tomoko: "Tomoko";
|
|
263
|
-
readonly Vicki: "Vicki";
|
|
264
|
-
readonly Vitoria: "Vitoria";
|
|
265
|
-
readonly Zayd: "Zayd";
|
|
266
|
-
readonly Zeina: "Zeina";
|
|
267
|
-
readonly Zhiyu: "Zhiyu";
|
|
268
|
-
};
|
|
269
|
-
/**
|
|
270
|
-
* @public
|
|
271
|
-
*/
|
|
272
|
-
export type VoiceId = (typeof VoiceId)[keyof typeof VoiceId];
|
|
273
56
|
/**
|
|
274
57
|
* <p>Description of the voice.</p>
|
|
275
58
|
* @public
|
|
@@ -337,33 +120,6 @@ export interface DescribeVoicesOutput {
|
|
|
337
120
|
*/
|
|
338
121
|
NextToken?: string | undefined;
|
|
339
122
|
}
|
|
340
|
-
/**
|
|
341
|
-
* <p>The NextToken is invalid. Verify that it's spelled correctly, and
|
|
342
|
-
* then try again.</p>
|
|
343
|
-
* @public
|
|
344
|
-
*/
|
|
345
|
-
export declare class InvalidNextTokenException extends __BaseException {
|
|
346
|
-
readonly name: "InvalidNextTokenException";
|
|
347
|
-
readonly $fault: "client";
|
|
348
|
-
/**
|
|
349
|
-
* @internal
|
|
350
|
-
*/
|
|
351
|
-
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
352
|
-
}
|
|
353
|
-
/**
|
|
354
|
-
* <p>This engine is not compatible with the voice that you have designated.
|
|
355
|
-
* Choose a new voice that is compatible with the engine or change the engine
|
|
356
|
-
* and restart the operation.</p>
|
|
357
|
-
* @public
|
|
358
|
-
*/
|
|
359
|
-
export declare class EngineNotSupportedException extends __BaseException {
|
|
360
|
-
readonly name: "EngineNotSupportedException";
|
|
361
|
-
readonly $fault: "client";
|
|
362
|
-
/**
|
|
363
|
-
* @internal
|
|
364
|
-
*/
|
|
365
|
-
constructor(opts: __ExceptionOptionType<EngineNotSupportedException, __BaseException>);
|
|
366
|
-
}
|
|
367
123
|
/**
|
|
368
124
|
* @public
|
|
369
125
|
*/
|
|
@@ -461,61 +217,6 @@ export interface GetSpeechSynthesisTaskInput {
|
|
|
461
217
|
*/
|
|
462
218
|
TaskId: string | undefined;
|
|
463
219
|
}
|
|
464
|
-
/**
|
|
465
|
-
* @public
|
|
466
|
-
* @enum
|
|
467
|
-
*/
|
|
468
|
-
export declare const OutputFormat: {
|
|
469
|
-
readonly JSON: "json";
|
|
470
|
-
readonly MP3: "mp3";
|
|
471
|
-
readonly OGG_OPUS: "ogg_opus";
|
|
472
|
-
readonly OGG_VORBIS: "ogg_vorbis";
|
|
473
|
-
readonly PCM: "pcm";
|
|
474
|
-
};
|
|
475
|
-
/**
|
|
476
|
-
* @public
|
|
477
|
-
*/
|
|
478
|
-
export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
|
|
479
|
-
/**
|
|
480
|
-
* @public
|
|
481
|
-
* @enum
|
|
482
|
-
*/
|
|
483
|
-
export declare const SpeechMarkType: {
|
|
484
|
-
readonly SENTENCE: "sentence";
|
|
485
|
-
readonly SSML: "ssml";
|
|
486
|
-
readonly VISEME: "viseme";
|
|
487
|
-
readonly WORD: "word";
|
|
488
|
-
};
|
|
489
|
-
/**
|
|
490
|
-
* @public
|
|
491
|
-
*/
|
|
492
|
-
export type SpeechMarkType = (typeof SpeechMarkType)[keyof typeof SpeechMarkType];
|
|
493
|
-
/**
|
|
494
|
-
* @public
|
|
495
|
-
* @enum
|
|
496
|
-
*/
|
|
497
|
-
export declare const TaskStatus: {
|
|
498
|
-
readonly COMPLETED: "completed";
|
|
499
|
-
readonly FAILED: "failed";
|
|
500
|
-
readonly IN_PROGRESS: "inProgress";
|
|
501
|
-
readonly SCHEDULED: "scheduled";
|
|
502
|
-
};
|
|
503
|
-
/**
|
|
504
|
-
* @public
|
|
505
|
-
*/
|
|
506
|
-
export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
|
|
507
|
-
/**
|
|
508
|
-
* @public
|
|
509
|
-
* @enum
|
|
510
|
-
*/
|
|
511
|
-
export declare const TextType: {
|
|
512
|
-
readonly SSML: "ssml";
|
|
513
|
-
readonly TEXT: "text";
|
|
514
|
-
};
|
|
515
|
-
/**
|
|
516
|
-
* @public
|
|
517
|
-
*/
|
|
518
|
-
export type TextType = (typeof TextType)[keyof typeof TextType];
|
|
519
220
|
/**
|
|
520
221
|
* <p>SynthesisTask object that provides information about a speech
|
|
521
222
|
* synthesis task.</p>
|
|
@@ -633,122 +334,6 @@ export interface GetSpeechSynthesisTaskOutput {
|
|
|
633
334
|
*/
|
|
634
335
|
SynthesisTask?: SynthesisTask | undefined;
|
|
635
336
|
}
|
|
636
|
-
/**
|
|
637
|
-
* <p>The provided Task ID is not valid. Please provide a valid Task ID and
|
|
638
|
-
* try again.</p>
|
|
639
|
-
* @public
|
|
640
|
-
*/
|
|
641
|
-
export declare class InvalidTaskIdException extends __BaseException {
|
|
642
|
-
readonly name: "InvalidTaskIdException";
|
|
643
|
-
readonly $fault: "client";
|
|
644
|
-
/**
|
|
645
|
-
* @internal
|
|
646
|
-
*/
|
|
647
|
-
constructor(opts: __ExceptionOptionType<InvalidTaskIdException, __BaseException>);
|
|
648
|
-
}
|
|
649
|
-
/**
|
|
650
|
-
* <p>The Speech Synthesis task with requested Task ID cannot be
|
|
651
|
-
* found.</p>
|
|
652
|
-
* @public
|
|
653
|
-
*/
|
|
654
|
-
export declare class SynthesisTaskNotFoundException extends __BaseException {
|
|
655
|
-
readonly name: "SynthesisTaskNotFoundException";
|
|
656
|
-
readonly $fault: "client";
|
|
657
|
-
/**
|
|
658
|
-
* @internal
|
|
659
|
-
*/
|
|
660
|
-
constructor(opts: __ExceptionOptionType<SynthesisTaskNotFoundException, __BaseException>);
|
|
661
|
-
}
|
|
662
|
-
/**
|
|
663
|
-
* <p>Amazon Polly can't find the specified lexicon. Verify that the lexicon's
|
|
664
|
-
* name is spelled correctly, and then try again.</p>
|
|
665
|
-
* @public
|
|
666
|
-
*/
|
|
667
|
-
export declare class InvalidLexiconException extends __BaseException {
|
|
668
|
-
readonly name: "InvalidLexiconException";
|
|
669
|
-
readonly $fault: "client";
|
|
670
|
-
/**
|
|
671
|
-
* @internal
|
|
672
|
-
*/
|
|
673
|
-
constructor(opts: __ExceptionOptionType<InvalidLexiconException, __BaseException>);
|
|
674
|
-
}
|
|
675
|
-
/**
|
|
676
|
-
* <p>The provided Amazon S3 bucket name is invalid. Please check your input
|
|
677
|
-
* with S3 bucket naming requirements and try again.</p>
|
|
678
|
-
* @public
|
|
679
|
-
*/
|
|
680
|
-
export declare class InvalidS3BucketException extends __BaseException {
|
|
681
|
-
readonly name: "InvalidS3BucketException";
|
|
682
|
-
readonly $fault: "client";
|
|
683
|
-
/**
|
|
684
|
-
* @internal
|
|
685
|
-
*/
|
|
686
|
-
constructor(opts: __ExceptionOptionType<InvalidS3BucketException, __BaseException>);
|
|
687
|
-
}
|
|
688
|
-
/**
|
|
689
|
-
* <p>The provided Amazon S3 key prefix is invalid. Please provide a valid
|
|
690
|
-
* S3 object key name.</p>
|
|
691
|
-
* @public
|
|
692
|
-
*/
|
|
693
|
-
export declare class InvalidS3KeyException extends __BaseException {
|
|
694
|
-
readonly name: "InvalidS3KeyException";
|
|
695
|
-
readonly $fault: "client";
|
|
696
|
-
/**
|
|
697
|
-
* @internal
|
|
698
|
-
*/
|
|
699
|
-
constructor(opts: __ExceptionOptionType<InvalidS3KeyException, __BaseException>);
|
|
700
|
-
}
|
|
701
|
-
/**
|
|
702
|
-
* <p>The specified sample rate is not valid.</p>
|
|
703
|
-
* @public
|
|
704
|
-
*/
|
|
705
|
-
export declare class InvalidSampleRateException extends __BaseException {
|
|
706
|
-
readonly name: "InvalidSampleRateException";
|
|
707
|
-
readonly $fault: "client";
|
|
708
|
-
/**
|
|
709
|
-
* @internal
|
|
710
|
-
*/
|
|
711
|
-
constructor(opts: __ExceptionOptionType<InvalidSampleRateException, __BaseException>);
|
|
712
|
-
}
|
|
713
|
-
/**
|
|
714
|
-
* <p>The provided SNS topic ARN is invalid. Please provide a valid SNS
|
|
715
|
-
* topic ARN and try again.</p>
|
|
716
|
-
* @public
|
|
717
|
-
*/
|
|
718
|
-
export declare class InvalidSnsTopicArnException extends __BaseException {
|
|
719
|
-
readonly name: "InvalidSnsTopicArnException";
|
|
720
|
-
readonly $fault: "client";
|
|
721
|
-
/**
|
|
722
|
-
* @internal
|
|
723
|
-
*/
|
|
724
|
-
constructor(opts: __ExceptionOptionType<InvalidSnsTopicArnException, __BaseException>);
|
|
725
|
-
}
|
|
726
|
-
/**
|
|
727
|
-
* <p>The SSML you provided is invalid. Verify the SSML syntax, spelling
|
|
728
|
-
* of tags and values, and then try again.</p>
|
|
729
|
-
* @public
|
|
730
|
-
*/
|
|
731
|
-
export declare class InvalidSsmlException extends __BaseException {
|
|
732
|
-
readonly name: "InvalidSsmlException";
|
|
733
|
-
readonly $fault: "client";
|
|
734
|
-
/**
|
|
735
|
-
* @internal
|
|
736
|
-
*/
|
|
737
|
-
constructor(opts: __ExceptionOptionType<InvalidSsmlException, __BaseException>);
|
|
738
|
-
}
|
|
739
|
-
/**
|
|
740
|
-
* <p>The language specified is not currently supported by Amazon Polly in this
|
|
741
|
-
* capacity.</p>
|
|
742
|
-
* @public
|
|
743
|
-
*/
|
|
744
|
-
export declare class LanguageNotSupportedException extends __BaseException {
|
|
745
|
-
readonly name: "LanguageNotSupportedException";
|
|
746
|
-
readonly $fault: "client";
|
|
747
|
-
/**
|
|
748
|
-
* @internal
|
|
749
|
-
*/
|
|
750
|
-
constructor(opts: __ExceptionOptionType<LanguageNotSupportedException, __BaseException>);
|
|
751
|
-
}
|
|
752
337
|
/**
|
|
753
338
|
* <p>Describes the content of the lexicon.</p>
|
|
754
339
|
* @public
|
|
@@ -765,19 +350,6 @@ export interface LexiconDescription {
|
|
|
765
350
|
*/
|
|
766
351
|
Attributes?: LexiconAttributes | undefined;
|
|
767
352
|
}
|
|
768
|
-
/**
|
|
769
|
-
* <p>The maximum size of the specified lexicon would be exceeded by this
|
|
770
|
-
* operation.</p>
|
|
771
|
-
* @public
|
|
772
|
-
*/
|
|
773
|
-
export declare class LexiconSizeExceededException extends __BaseException {
|
|
774
|
-
readonly name: "LexiconSizeExceededException";
|
|
775
|
-
readonly $fault: "client";
|
|
776
|
-
/**
|
|
777
|
-
* @internal
|
|
778
|
-
*/
|
|
779
|
-
constructor(opts: __ExceptionOptionType<LexiconSizeExceededException, __BaseException>);
|
|
780
|
-
}
|
|
781
353
|
/**
|
|
782
354
|
* @public
|
|
783
355
|
*/
|
|
@@ -849,46 +421,6 @@ export interface ListSpeechSynthesisTasksOutput {
|
|
|
849
421
|
*/
|
|
850
422
|
SynthesisTasks?: SynthesisTask[] | undefined;
|
|
851
423
|
}
|
|
852
|
-
/**
|
|
853
|
-
* <p>Speech marks are not supported for the <code>OutputFormat</code>
|
|
854
|
-
* selected. Speech marks are only available for content in <code>json</code>
|
|
855
|
-
* format.</p>
|
|
856
|
-
* @public
|
|
857
|
-
*/
|
|
858
|
-
export declare class MarksNotSupportedForFormatException extends __BaseException {
|
|
859
|
-
readonly name: "MarksNotSupportedForFormatException";
|
|
860
|
-
readonly $fault: "client";
|
|
861
|
-
/**
|
|
862
|
-
* @internal
|
|
863
|
-
*/
|
|
864
|
-
constructor(opts: __ExceptionOptionType<MarksNotSupportedForFormatException, __BaseException>);
|
|
865
|
-
}
|
|
866
|
-
/**
|
|
867
|
-
* <p>The maximum size of the lexeme would be exceeded by this
|
|
868
|
-
* operation.</p>
|
|
869
|
-
* @public
|
|
870
|
-
*/
|
|
871
|
-
export declare class MaxLexemeLengthExceededException extends __BaseException {
|
|
872
|
-
readonly name: "MaxLexemeLengthExceededException";
|
|
873
|
-
readonly $fault: "client";
|
|
874
|
-
/**
|
|
875
|
-
* @internal
|
|
876
|
-
*/
|
|
877
|
-
constructor(opts: __ExceptionOptionType<MaxLexemeLengthExceededException, __BaseException>);
|
|
878
|
-
}
|
|
879
|
-
/**
|
|
880
|
-
* <p>The maximum number of lexicons would be exceeded by this
|
|
881
|
-
* operation.</p>
|
|
882
|
-
* @public
|
|
883
|
-
*/
|
|
884
|
-
export declare class MaxLexiconsNumberExceededException extends __BaseException {
|
|
885
|
-
readonly name: "MaxLexiconsNumberExceededException";
|
|
886
|
-
readonly $fault: "client";
|
|
887
|
-
/**
|
|
888
|
-
* @internal
|
|
889
|
-
*/
|
|
890
|
-
constructor(opts: __ExceptionOptionType<MaxLexiconsNumberExceededException, __BaseException>);
|
|
891
|
-
}
|
|
892
424
|
/**
|
|
893
425
|
* @public
|
|
894
426
|
*/
|
|
@@ -911,45 +443,6 @@ export interface PutLexiconInput {
|
|
|
911
443
|
*/
|
|
912
444
|
export interface PutLexiconOutput {
|
|
913
445
|
}
|
|
914
|
-
/**
|
|
915
|
-
* <p>The alphabet specified by the lexicon is not a supported alphabet.
|
|
916
|
-
* Valid values are <code>x-sampa</code> and <code>ipa</code>.</p>
|
|
917
|
-
* @public
|
|
918
|
-
*/
|
|
919
|
-
export declare class UnsupportedPlsAlphabetException extends __BaseException {
|
|
920
|
-
readonly name: "UnsupportedPlsAlphabetException";
|
|
921
|
-
readonly $fault: "client";
|
|
922
|
-
/**
|
|
923
|
-
* @internal
|
|
924
|
-
*/
|
|
925
|
-
constructor(opts: __ExceptionOptionType<UnsupportedPlsAlphabetException, __BaseException>);
|
|
926
|
-
}
|
|
927
|
-
/**
|
|
928
|
-
* <p>The language specified in the lexicon is unsupported. For a list of
|
|
929
|
-
* supported languages, see <a href="https://docs.aws.amazon.com/polly/latest/dg/API_LexiconAttributes.html">Lexicon Attributes</a>.</p>
|
|
930
|
-
* @public
|
|
931
|
-
*/
|
|
932
|
-
export declare class UnsupportedPlsLanguageException extends __BaseException {
|
|
933
|
-
readonly name: "UnsupportedPlsLanguageException";
|
|
934
|
-
readonly $fault: "client";
|
|
935
|
-
/**
|
|
936
|
-
* @internal
|
|
937
|
-
*/
|
|
938
|
-
constructor(opts: __ExceptionOptionType<UnsupportedPlsLanguageException, __BaseException>);
|
|
939
|
-
}
|
|
940
|
-
/**
|
|
941
|
-
* <p>SSML speech marks are not supported for plain text-type
|
|
942
|
-
* input.</p>
|
|
943
|
-
* @public
|
|
944
|
-
*/
|
|
945
|
-
export declare class SsmlMarksNotSupportedForTextTypeException extends __BaseException {
|
|
946
|
-
readonly name: "SsmlMarksNotSupportedForTextTypeException";
|
|
947
|
-
readonly $fault: "client";
|
|
948
|
-
/**
|
|
949
|
-
* @internal
|
|
950
|
-
*/
|
|
951
|
-
constructor(opts: __ExceptionOptionType<SsmlMarksNotSupportedForTextTypeException, __BaseException>);
|
|
952
|
-
}
|
|
953
446
|
/**
|
|
954
447
|
* @public
|
|
955
448
|
*/
|
|
@@ -1049,24 +542,6 @@ export interface StartSpeechSynthesisTaskOutput {
|
|
|
1049
542
|
*/
|
|
1050
543
|
SynthesisTask?: SynthesisTask | undefined;
|
|
1051
544
|
}
|
|
1052
|
-
/**
|
|
1053
|
-
* <p>The value of the "Text" parameter is longer than the accepted
|
|
1054
|
-
* limits. For the <code>SynthesizeSpeech</code> API, the limit for input
|
|
1055
|
-
* text is a maximum of 6000 characters total, of which no more than 3000 can
|
|
1056
|
-
* be billed characters. For the <code>StartSpeechSynthesisTask</code> API,
|
|
1057
|
-
* the maximum is 200,000 characters, of which no more than 100,000 can be
|
|
1058
|
-
* billed characters. SSML tags are not counted as billed
|
|
1059
|
-
* characters.</p>
|
|
1060
|
-
* @public
|
|
1061
|
-
*/
|
|
1062
|
-
export declare class TextLengthExceededException extends __BaseException {
|
|
1063
|
-
readonly name: "TextLengthExceededException";
|
|
1064
|
-
readonly $fault: "client";
|
|
1065
|
-
/**
|
|
1066
|
-
* @internal
|
|
1067
|
-
*/
|
|
1068
|
-
constructor(opts: __ExceptionOptionType<TextLengthExceededException, __BaseException>);
|
|
1069
|
-
}
|
|
1070
545
|
/**
|
|
1071
546
|
* @public
|
|
1072
547
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { PollyExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { PollyServiceException } from "./models/PollyServiceException";
|