@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
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import { PollyServiceException as __BaseException } from "./PollyServiceException";
|
|
2
|
+
export class LexiconNotFoundException extends __BaseException {
|
|
3
|
+
name = "LexiconNotFoundException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "LexiconNotFoundException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, LexiconNotFoundException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ServiceFailureException extends __BaseException {
|
|
15
|
+
name = "ServiceFailureException";
|
|
16
|
+
$fault = "server";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ServiceFailureException",
|
|
20
|
+
$fault: "server",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ServiceFailureException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class InvalidNextTokenException extends __BaseException {
|
|
27
|
+
name = "InvalidNextTokenException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "InvalidNextTokenException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class EngineNotSupportedException extends __BaseException {
|
|
39
|
+
name = "EngineNotSupportedException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "EngineNotSupportedException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, EngineNotSupportedException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class InvalidTaskIdException extends __BaseException {
|
|
51
|
+
name = "InvalidTaskIdException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "InvalidTaskIdException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, InvalidTaskIdException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class SynthesisTaskNotFoundException extends __BaseException {
|
|
63
|
+
name = "SynthesisTaskNotFoundException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "SynthesisTaskNotFoundException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, SynthesisTaskNotFoundException.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class InvalidLexiconException extends __BaseException {
|
|
75
|
+
name = "InvalidLexiconException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "InvalidLexiconException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, InvalidLexiconException.prototype);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class InvalidS3BucketException extends __BaseException {
|
|
87
|
+
name = "InvalidS3BucketException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "InvalidS3BucketException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, InvalidS3BucketException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class InvalidS3KeyException extends __BaseException {
|
|
99
|
+
name = "InvalidS3KeyException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "InvalidS3KeyException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, InvalidS3KeyException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export class InvalidSampleRateException extends __BaseException {
|
|
111
|
+
name = "InvalidSampleRateException";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "InvalidSampleRateException",
|
|
116
|
+
$fault: "client",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
Object.setPrototypeOf(this, InvalidSampleRateException.prototype);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
export class InvalidSnsTopicArnException extends __BaseException {
|
|
123
|
+
name = "InvalidSnsTopicArnException";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "InvalidSnsTopicArnException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, InvalidSnsTopicArnException.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
export class InvalidSsmlException extends __BaseException {
|
|
135
|
+
name = "InvalidSsmlException";
|
|
136
|
+
$fault = "client";
|
|
137
|
+
constructor(opts) {
|
|
138
|
+
super({
|
|
139
|
+
name: "InvalidSsmlException",
|
|
140
|
+
$fault: "client",
|
|
141
|
+
...opts,
|
|
142
|
+
});
|
|
143
|
+
Object.setPrototypeOf(this, InvalidSsmlException.prototype);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export class LanguageNotSupportedException extends __BaseException {
|
|
147
|
+
name = "LanguageNotSupportedException";
|
|
148
|
+
$fault = "client";
|
|
149
|
+
constructor(opts) {
|
|
150
|
+
super({
|
|
151
|
+
name: "LanguageNotSupportedException",
|
|
152
|
+
$fault: "client",
|
|
153
|
+
...opts,
|
|
154
|
+
});
|
|
155
|
+
Object.setPrototypeOf(this, LanguageNotSupportedException.prototype);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
export class LexiconSizeExceededException extends __BaseException {
|
|
159
|
+
name = "LexiconSizeExceededException";
|
|
160
|
+
$fault = "client";
|
|
161
|
+
constructor(opts) {
|
|
162
|
+
super({
|
|
163
|
+
name: "LexiconSizeExceededException",
|
|
164
|
+
$fault: "client",
|
|
165
|
+
...opts,
|
|
166
|
+
});
|
|
167
|
+
Object.setPrototypeOf(this, LexiconSizeExceededException.prototype);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
export class MarksNotSupportedForFormatException extends __BaseException {
|
|
171
|
+
name = "MarksNotSupportedForFormatException";
|
|
172
|
+
$fault = "client";
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "MarksNotSupportedForFormatException",
|
|
176
|
+
$fault: "client",
|
|
177
|
+
...opts,
|
|
178
|
+
});
|
|
179
|
+
Object.setPrototypeOf(this, MarksNotSupportedForFormatException.prototype);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
export class MaxLexemeLengthExceededException extends __BaseException {
|
|
183
|
+
name = "MaxLexemeLengthExceededException";
|
|
184
|
+
$fault = "client";
|
|
185
|
+
constructor(opts) {
|
|
186
|
+
super({
|
|
187
|
+
name: "MaxLexemeLengthExceededException",
|
|
188
|
+
$fault: "client",
|
|
189
|
+
...opts,
|
|
190
|
+
});
|
|
191
|
+
Object.setPrototypeOf(this, MaxLexemeLengthExceededException.prototype);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
export class MaxLexiconsNumberExceededException extends __BaseException {
|
|
195
|
+
name = "MaxLexiconsNumberExceededException";
|
|
196
|
+
$fault = "client";
|
|
197
|
+
constructor(opts) {
|
|
198
|
+
super({
|
|
199
|
+
name: "MaxLexiconsNumberExceededException",
|
|
200
|
+
$fault: "client",
|
|
201
|
+
...opts,
|
|
202
|
+
});
|
|
203
|
+
Object.setPrototypeOf(this, MaxLexiconsNumberExceededException.prototype);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
export class UnsupportedPlsAlphabetException extends __BaseException {
|
|
207
|
+
name = "UnsupportedPlsAlphabetException";
|
|
208
|
+
$fault = "client";
|
|
209
|
+
constructor(opts) {
|
|
210
|
+
super({
|
|
211
|
+
name: "UnsupportedPlsAlphabetException",
|
|
212
|
+
$fault: "client",
|
|
213
|
+
...opts,
|
|
214
|
+
});
|
|
215
|
+
Object.setPrototypeOf(this, UnsupportedPlsAlphabetException.prototype);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
export class UnsupportedPlsLanguageException extends __BaseException {
|
|
219
|
+
name = "UnsupportedPlsLanguageException";
|
|
220
|
+
$fault = "client";
|
|
221
|
+
constructor(opts) {
|
|
222
|
+
super({
|
|
223
|
+
name: "UnsupportedPlsLanguageException",
|
|
224
|
+
$fault: "client",
|
|
225
|
+
...opts,
|
|
226
|
+
});
|
|
227
|
+
Object.setPrototypeOf(this, UnsupportedPlsLanguageException.prototype);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
export class SsmlMarksNotSupportedForTextTypeException extends __BaseException {
|
|
231
|
+
name = "SsmlMarksNotSupportedForTextTypeException";
|
|
232
|
+
$fault = "client";
|
|
233
|
+
constructor(opts) {
|
|
234
|
+
super({
|
|
235
|
+
name: "SsmlMarksNotSupportedForTextTypeException",
|
|
236
|
+
$fault: "client",
|
|
237
|
+
...opts,
|
|
238
|
+
});
|
|
239
|
+
Object.setPrototypeOf(this, SsmlMarksNotSupportedForTextTypeException.prototype);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
export class TextLengthExceededException extends __BaseException {
|
|
243
|
+
name = "TextLengthExceededException";
|
|
244
|
+
$fault = "client";
|
|
245
|
+
constructor(opts) {
|
|
246
|
+
super({
|
|
247
|
+
name: "TextLengthExceededException",
|
|
248
|
+
$fault: "client",
|
|
249
|
+
...opts,
|
|
250
|
+
});
|
|
251
|
+
Object.setPrototypeOf(this, TextLengthExceededException.prototype);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
@@ -1,432 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class LexiconNotFoundException extends __BaseException {
|
|
3
|
-
name = "LexiconNotFoundException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "LexiconNotFoundException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, LexiconNotFoundException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class ServiceFailureException extends __BaseException {
|
|
15
|
-
name = "ServiceFailureException";
|
|
16
|
-
$fault = "server";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "ServiceFailureException",
|
|
20
|
-
$fault: "server",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, ServiceFailureException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export const Engine = {
|
|
27
|
-
GENERATIVE: "generative",
|
|
28
|
-
LONG_FORM: "long-form",
|
|
29
|
-
NEURAL: "neural",
|
|
30
|
-
STANDARD: "standard",
|
|
31
|
-
};
|
|
32
|
-
export const LanguageCode = {
|
|
33
|
-
ar_AE: "ar-AE",
|
|
34
|
-
arb: "arb",
|
|
35
|
-
ca_ES: "ca-ES",
|
|
36
|
-
cmn_CN: "cmn-CN",
|
|
37
|
-
cs_CZ: "cs-CZ",
|
|
38
|
-
cy_GB: "cy-GB",
|
|
39
|
-
da_DK: "da-DK",
|
|
40
|
-
de_AT: "de-AT",
|
|
41
|
-
de_CH: "de-CH",
|
|
42
|
-
de_DE: "de-DE",
|
|
43
|
-
en_AU: "en-AU",
|
|
44
|
-
en_GB: "en-GB",
|
|
45
|
-
en_GB_WLS: "en-GB-WLS",
|
|
46
|
-
en_IE: "en-IE",
|
|
47
|
-
en_IN: "en-IN",
|
|
48
|
-
en_NZ: "en-NZ",
|
|
49
|
-
en_SG: "en-SG",
|
|
50
|
-
en_US: "en-US",
|
|
51
|
-
en_ZA: "en-ZA",
|
|
52
|
-
es_ES: "es-ES",
|
|
53
|
-
es_MX: "es-MX",
|
|
54
|
-
es_US: "es-US",
|
|
55
|
-
fi_FI: "fi-FI",
|
|
56
|
-
fr_BE: "fr-BE",
|
|
57
|
-
fr_CA: "fr-CA",
|
|
58
|
-
fr_FR: "fr-FR",
|
|
59
|
-
hi_IN: "hi-IN",
|
|
60
|
-
is_IS: "is-IS",
|
|
61
|
-
it_IT: "it-IT",
|
|
62
|
-
ja_JP: "ja-JP",
|
|
63
|
-
ko_KR: "ko-KR",
|
|
64
|
-
nb_NO: "nb-NO",
|
|
65
|
-
nl_BE: "nl-BE",
|
|
66
|
-
nl_NL: "nl-NL",
|
|
67
|
-
pl_PL: "pl-PL",
|
|
68
|
-
pt_BR: "pt-BR",
|
|
69
|
-
pt_PT: "pt-PT",
|
|
70
|
-
ro_RO: "ro-RO",
|
|
71
|
-
ru_RU: "ru-RU",
|
|
72
|
-
sv_SE: "sv-SE",
|
|
73
|
-
tr_TR: "tr-TR",
|
|
74
|
-
yue_CN: "yue-CN",
|
|
75
|
-
};
|
|
76
|
-
export const Gender = {
|
|
77
|
-
Female: "Female",
|
|
78
|
-
Male: "Male",
|
|
79
|
-
};
|
|
80
|
-
export const VoiceId = {
|
|
81
|
-
Aditi: "Aditi",
|
|
82
|
-
Adriano: "Adriano",
|
|
83
|
-
Amy: "Amy",
|
|
84
|
-
Andres: "Andres",
|
|
85
|
-
Aria: "Aria",
|
|
86
|
-
Arlet: "Arlet",
|
|
87
|
-
Arthur: "Arthur",
|
|
88
|
-
Astrid: "Astrid",
|
|
89
|
-
Ayanda: "Ayanda",
|
|
90
|
-
Bianca: "Bianca",
|
|
91
|
-
Brian: "Brian",
|
|
92
|
-
Burcu: "Burcu",
|
|
93
|
-
Camila: "Camila",
|
|
94
|
-
Carla: "Carla",
|
|
95
|
-
Carmen: "Carmen",
|
|
96
|
-
Celine: "Celine",
|
|
97
|
-
Chantal: "Chantal",
|
|
98
|
-
Conchita: "Conchita",
|
|
99
|
-
Cristiano: "Cristiano",
|
|
100
|
-
Daniel: "Daniel",
|
|
101
|
-
Danielle: "Danielle",
|
|
102
|
-
Dora: "Dora",
|
|
103
|
-
Elin: "Elin",
|
|
104
|
-
Emma: "Emma",
|
|
105
|
-
Enrique: "Enrique",
|
|
106
|
-
Ewa: "Ewa",
|
|
107
|
-
Filiz: "Filiz",
|
|
108
|
-
Gabrielle: "Gabrielle",
|
|
109
|
-
Geraint: "Geraint",
|
|
110
|
-
Giorgio: "Giorgio",
|
|
111
|
-
Gregory: "Gregory",
|
|
112
|
-
Gwyneth: "Gwyneth",
|
|
113
|
-
Hala: "Hala",
|
|
114
|
-
Hannah: "Hannah",
|
|
115
|
-
Hans: "Hans",
|
|
116
|
-
Hiujin: "Hiujin",
|
|
117
|
-
Ida: "Ida",
|
|
118
|
-
Ines: "Ines",
|
|
119
|
-
Isabelle: "Isabelle",
|
|
120
|
-
Ivy: "Ivy",
|
|
121
|
-
Jacek: "Jacek",
|
|
122
|
-
Jan: "Jan",
|
|
123
|
-
Jasmine: "Jasmine",
|
|
124
|
-
Jihye: "Jihye",
|
|
125
|
-
Jitka: "Jitka",
|
|
126
|
-
Joanna: "Joanna",
|
|
127
|
-
Joey: "Joey",
|
|
128
|
-
Justin: "Justin",
|
|
129
|
-
Kajal: "Kajal",
|
|
130
|
-
Karl: "Karl",
|
|
131
|
-
Kazuha: "Kazuha",
|
|
132
|
-
Kendra: "Kendra",
|
|
133
|
-
Kevin: "Kevin",
|
|
134
|
-
Kimberly: "Kimberly",
|
|
135
|
-
Laura: "Laura",
|
|
136
|
-
Lea: "Lea",
|
|
137
|
-
Liam: "Liam",
|
|
138
|
-
Lisa: "Lisa",
|
|
139
|
-
Liv: "Liv",
|
|
140
|
-
Lotte: "Lotte",
|
|
141
|
-
Lucia: "Lucia",
|
|
142
|
-
Lupe: "Lupe",
|
|
143
|
-
Mads: "Mads",
|
|
144
|
-
Maja: "Maja",
|
|
145
|
-
Marlene: "Marlene",
|
|
146
|
-
Mathieu: "Mathieu",
|
|
147
|
-
Matthew: "Matthew",
|
|
148
|
-
Maxim: "Maxim",
|
|
149
|
-
Mia: "Mia",
|
|
150
|
-
Miguel: "Miguel",
|
|
151
|
-
Mizuki: "Mizuki",
|
|
152
|
-
Naja: "Naja",
|
|
153
|
-
Niamh: "Niamh",
|
|
154
|
-
Nicole: "Nicole",
|
|
155
|
-
Ola: "Ola",
|
|
156
|
-
Olivia: "Olivia",
|
|
157
|
-
Pedro: "Pedro",
|
|
158
|
-
Penelope: "Penelope",
|
|
159
|
-
Raveena: "Raveena",
|
|
160
|
-
Remi: "Remi",
|
|
161
|
-
Ricardo: "Ricardo",
|
|
162
|
-
Ruben: "Ruben",
|
|
163
|
-
Russell: "Russell",
|
|
164
|
-
Ruth: "Ruth",
|
|
165
|
-
Sabrina: "Sabrina",
|
|
166
|
-
Salli: "Salli",
|
|
167
|
-
Seoyeon: "Seoyeon",
|
|
168
|
-
Sergio: "Sergio",
|
|
169
|
-
Sofie: "Sofie",
|
|
170
|
-
Stephen: "Stephen",
|
|
171
|
-
Suvi: "Suvi",
|
|
172
|
-
Takumi: "Takumi",
|
|
173
|
-
Tatyana: "Tatyana",
|
|
174
|
-
Thiago: "Thiago",
|
|
175
|
-
Tomoko: "Tomoko",
|
|
176
|
-
Vicki: "Vicki",
|
|
177
|
-
Vitoria: "Vitoria",
|
|
178
|
-
Zayd: "Zayd",
|
|
179
|
-
Zeina: "Zeina",
|
|
180
|
-
Zhiyu: "Zhiyu",
|
|
181
|
-
};
|
|
182
|
-
export class InvalidNextTokenException extends __BaseException {
|
|
183
|
-
name = "InvalidNextTokenException";
|
|
184
|
-
$fault = "client";
|
|
185
|
-
constructor(opts) {
|
|
186
|
-
super({
|
|
187
|
-
name: "InvalidNextTokenException",
|
|
188
|
-
$fault: "client",
|
|
189
|
-
...opts,
|
|
190
|
-
});
|
|
191
|
-
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
export class EngineNotSupportedException extends __BaseException {
|
|
195
|
-
name = "EngineNotSupportedException";
|
|
196
|
-
$fault = "client";
|
|
197
|
-
constructor(opts) {
|
|
198
|
-
super({
|
|
199
|
-
name: "EngineNotSupportedException",
|
|
200
|
-
$fault: "client",
|
|
201
|
-
...opts,
|
|
202
|
-
});
|
|
203
|
-
Object.setPrototypeOf(this, EngineNotSupportedException.prototype);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
export const OutputFormat = {
|
|
207
|
-
JSON: "json",
|
|
208
|
-
MP3: "mp3",
|
|
209
|
-
OGG_OPUS: "ogg_opus",
|
|
210
|
-
OGG_VORBIS: "ogg_vorbis",
|
|
211
|
-
PCM: "pcm",
|
|
212
|
-
};
|
|
213
|
-
export const SpeechMarkType = {
|
|
214
|
-
SENTENCE: "sentence",
|
|
215
|
-
SSML: "ssml",
|
|
216
|
-
VISEME: "viseme",
|
|
217
|
-
WORD: "word",
|
|
218
|
-
};
|
|
219
|
-
export const TaskStatus = {
|
|
220
|
-
COMPLETED: "completed",
|
|
221
|
-
FAILED: "failed",
|
|
222
|
-
IN_PROGRESS: "inProgress",
|
|
223
|
-
SCHEDULED: "scheduled",
|
|
224
|
-
};
|
|
225
|
-
export const TextType = {
|
|
226
|
-
SSML: "ssml",
|
|
227
|
-
TEXT: "text",
|
|
228
|
-
};
|
|
229
|
-
export class InvalidTaskIdException extends __BaseException {
|
|
230
|
-
name = "InvalidTaskIdException";
|
|
231
|
-
$fault = "client";
|
|
232
|
-
constructor(opts) {
|
|
233
|
-
super({
|
|
234
|
-
name: "InvalidTaskIdException",
|
|
235
|
-
$fault: "client",
|
|
236
|
-
...opts,
|
|
237
|
-
});
|
|
238
|
-
Object.setPrototypeOf(this, InvalidTaskIdException.prototype);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
export class SynthesisTaskNotFoundException extends __BaseException {
|
|
242
|
-
name = "SynthesisTaskNotFoundException";
|
|
243
|
-
$fault = "client";
|
|
244
|
-
constructor(opts) {
|
|
245
|
-
super({
|
|
246
|
-
name: "SynthesisTaskNotFoundException",
|
|
247
|
-
$fault: "client",
|
|
248
|
-
...opts,
|
|
249
|
-
});
|
|
250
|
-
Object.setPrototypeOf(this, SynthesisTaskNotFoundException.prototype);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
export class InvalidLexiconException extends __BaseException {
|
|
254
|
-
name = "InvalidLexiconException";
|
|
255
|
-
$fault = "client";
|
|
256
|
-
constructor(opts) {
|
|
257
|
-
super({
|
|
258
|
-
name: "InvalidLexiconException",
|
|
259
|
-
$fault: "client",
|
|
260
|
-
...opts,
|
|
261
|
-
});
|
|
262
|
-
Object.setPrototypeOf(this, InvalidLexiconException.prototype);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
export class InvalidS3BucketException extends __BaseException {
|
|
266
|
-
name = "InvalidS3BucketException";
|
|
267
|
-
$fault = "client";
|
|
268
|
-
constructor(opts) {
|
|
269
|
-
super({
|
|
270
|
-
name: "InvalidS3BucketException",
|
|
271
|
-
$fault: "client",
|
|
272
|
-
...opts,
|
|
273
|
-
});
|
|
274
|
-
Object.setPrototypeOf(this, InvalidS3BucketException.prototype);
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
export class InvalidS3KeyException extends __BaseException {
|
|
278
|
-
name = "InvalidS3KeyException";
|
|
279
|
-
$fault = "client";
|
|
280
|
-
constructor(opts) {
|
|
281
|
-
super({
|
|
282
|
-
name: "InvalidS3KeyException",
|
|
283
|
-
$fault: "client",
|
|
284
|
-
...opts,
|
|
285
|
-
});
|
|
286
|
-
Object.setPrototypeOf(this, InvalidS3KeyException.prototype);
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
export class InvalidSampleRateException extends __BaseException {
|
|
290
|
-
name = "InvalidSampleRateException";
|
|
291
|
-
$fault = "client";
|
|
292
|
-
constructor(opts) {
|
|
293
|
-
super({
|
|
294
|
-
name: "InvalidSampleRateException",
|
|
295
|
-
$fault: "client",
|
|
296
|
-
...opts,
|
|
297
|
-
});
|
|
298
|
-
Object.setPrototypeOf(this, InvalidSampleRateException.prototype);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
export class InvalidSnsTopicArnException extends __BaseException {
|
|
302
|
-
name = "InvalidSnsTopicArnException";
|
|
303
|
-
$fault = "client";
|
|
304
|
-
constructor(opts) {
|
|
305
|
-
super({
|
|
306
|
-
name: "InvalidSnsTopicArnException",
|
|
307
|
-
$fault: "client",
|
|
308
|
-
...opts,
|
|
309
|
-
});
|
|
310
|
-
Object.setPrototypeOf(this, InvalidSnsTopicArnException.prototype);
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
export class InvalidSsmlException extends __BaseException {
|
|
314
|
-
name = "InvalidSsmlException";
|
|
315
|
-
$fault = "client";
|
|
316
|
-
constructor(opts) {
|
|
317
|
-
super({
|
|
318
|
-
name: "InvalidSsmlException",
|
|
319
|
-
$fault: "client",
|
|
320
|
-
...opts,
|
|
321
|
-
});
|
|
322
|
-
Object.setPrototypeOf(this, InvalidSsmlException.prototype);
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
export class LanguageNotSupportedException extends __BaseException {
|
|
326
|
-
name = "LanguageNotSupportedException";
|
|
327
|
-
$fault = "client";
|
|
328
|
-
constructor(opts) {
|
|
329
|
-
super({
|
|
330
|
-
name: "LanguageNotSupportedException",
|
|
331
|
-
$fault: "client",
|
|
332
|
-
...opts,
|
|
333
|
-
});
|
|
334
|
-
Object.setPrototypeOf(this, LanguageNotSupportedException.prototype);
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
export class LexiconSizeExceededException extends __BaseException {
|
|
338
|
-
name = "LexiconSizeExceededException";
|
|
339
|
-
$fault = "client";
|
|
340
|
-
constructor(opts) {
|
|
341
|
-
super({
|
|
342
|
-
name: "LexiconSizeExceededException",
|
|
343
|
-
$fault: "client",
|
|
344
|
-
...opts,
|
|
345
|
-
});
|
|
346
|
-
Object.setPrototypeOf(this, LexiconSizeExceededException.prototype);
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
export class MarksNotSupportedForFormatException extends __BaseException {
|
|
350
|
-
name = "MarksNotSupportedForFormatException";
|
|
351
|
-
$fault = "client";
|
|
352
|
-
constructor(opts) {
|
|
353
|
-
super({
|
|
354
|
-
name: "MarksNotSupportedForFormatException",
|
|
355
|
-
$fault: "client",
|
|
356
|
-
...opts,
|
|
357
|
-
});
|
|
358
|
-
Object.setPrototypeOf(this, MarksNotSupportedForFormatException.prototype);
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
export class MaxLexemeLengthExceededException extends __BaseException {
|
|
362
|
-
name = "MaxLexemeLengthExceededException";
|
|
363
|
-
$fault = "client";
|
|
364
|
-
constructor(opts) {
|
|
365
|
-
super({
|
|
366
|
-
name: "MaxLexemeLengthExceededException",
|
|
367
|
-
$fault: "client",
|
|
368
|
-
...opts,
|
|
369
|
-
});
|
|
370
|
-
Object.setPrototypeOf(this, MaxLexemeLengthExceededException.prototype);
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
export class MaxLexiconsNumberExceededException extends __BaseException {
|
|
374
|
-
name = "MaxLexiconsNumberExceededException";
|
|
375
|
-
$fault = "client";
|
|
376
|
-
constructor(opts) {
|
|
377
|
-
super({
|
|
378
|
-
name: "MaxLexiconsNumberExceededException",
|
|
379
|
-
$fault: "client",
|
|
380
|
-
...opts,
|
|
381
|
-
});
|
|
382
|
-
Object.setPrototypeOf(this, MaxLexiconsNumberExceededException.prototype);
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
export class UnsupportedPlsAlphabetException extends __BaseException {
|
|
386
|
-
name = "UnsupportedPlsAlphabetException";
|
|
387
|
-
$fault = "client";
|
|
388
|
-
constructor(opts) {
|
|
389
|
-
super({
|
|
390
|
-
name: "UnsupportedPlsAlphabetException",
|
|
391
|
-
$fault: "client",
|
|
392
|
-
...opts,
|
|
393
|
-
});
|
|
394
|
-
Object.setPrototypeOf(this, UnsupportedPlsAlphabetException.prototype);
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
export class UnsupportedPlsLanguageException extends __BaseException {
|
|
398
|
-
name = "UnsupportedPlsLanguageException";
|
|
399
|
-
$fault = "client";
|
|
400
|
-
constructor(opts) {
|
|
401
|
-
super({
|
|
402
|
-
name: "UnsupportedPlsLanguageException",
|
|
403
|
-
$fault: "client",
|
|
404
|
-
...opts,
|
|
405
|
-
});
|
|
406
|
-
Object.setPrototypeOf(this, UnsupportedPlsLanguageException.prototype);
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
export class SsmlMarksNotSupportedForTextTypeException extends __BaseException {
|
|
410
|
-
name = "SsmlMarksNotSupportedForTextTypeException";
|
|
411
|
-
$fault = "client";
|
|
412
|
-
constructor(opts) {
|
|
413
|
-
super({
|
|
414
|
-
name: "SsmlMarksNotSupportedForTextTypeException",
|
|
415
|
-
$fault: "client",
|
|
416
|
-
...opts,
|
|
417
|
-
});
|
|
418
|
-
Object.setPrototypeOf(this, SsmlMarksNotSupportedForTextTypeException.prototype);
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
export class TextLengthExceededException extends __BaseException {
|
|
422
|
-
name = "TextLengthExceededException";
|
|
423
|
-
$fault = "client";
|
|
424
|
-
constructor(opts) {
|
|
425
|
-
super({
|
|
426
|
-
name: "TextLengthExceededException",
|
|
427
|
-
$fault: "client",
|
|
428
|
-
...opts,
|
|
429
|
-
});
|
|
430
|
-
Object.setPrototypeOf(this, TextLengthExceededException.prototype);
|
|
431
|
-
}
|
|
432
|
-
}
|
|
1
|
+
export {};
|
|
@@ -108,7 +108,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.polly";
|
|
|
108
108
|
const _xaR = "x-amzn-RequestCharacters";
|
|
109
109
|
const n0 = "com.amazonaws.polly";
|
|
110
110
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
111
|
-
import { EngineNotSupportedException as __EngineNotSupportedException, InvalidLexiconException as __InvalidLexiconException, InvalidNextTokenException as __InvalidNextTokenException, InvalidS3BucketException as __InvalidS3BucketException, InvalidS3KeyException as __InvalidS3KeyException, InvalidSampleRateException as __InvalidSampleRateException, InvalidSnsTopicArnException as __InvalidSnsTopicArnException, InvalidSsmlException as __InvalidSsmlException, InvalidTaskIdException as __InvalidTaskIdException, LanguageNotSupportedException as __LanguageNotSupportedException, LexiconNotFoundException as __LexiconNotFoundException, LexiconSizeExceededException as __LexiconSizeExceededException, MarksNotSupportedForFormatException as __MarksNotSupportedForFormatException, MaxLexemeLengthExceededException as __MaxLexemeLengthExceededException, MaxLexiconsNumberExceededException as __MaxLexiconsNumberExceededException, ServiceFailureException as __ServiceFailureException, SsmlMarksNotSupportedForTextTypeException as __SsmlMarksNotSupportedForTextTypeException, SynthesisTaskNotFoundException as __SynthesisTaskNotFoundException, TextLengthExceededException as __TextLengthExceededException, UnsupportedPlsAlphabetException as __UnsupportedPlsAlphabetException, UnsupportedPlsLanguageException as __UnsupportedPlsLanguageException, } from "../models/
|
|
111
|
+
import { EngineNotSupportedException as __EngineNotSupportedException, InvalidLexiconException as __InvalidLexiconException, InvalidNextTokenException as __InvalidNextTokenException, InvalidS3BucketException as __InvalidS3BucketException, InvalidS3KeyException as __InvalidS3KeyException, InvalidSampleRateException as __InvalidSampleRateException, InvalidSnsTopicArnException as __InvalidSnsTopicArnException, InvalidSsmlException as __InvalidSsmlException, InvalidTaskIdException as __InvalidTaskIdException, LanguageNotSupportedException as __LanguageNotSupportedException, LexiconNotFoundException as __LexiconNotFoundException, LexiconSizeExceededException as __LexiconSizeExceededException, MarksNotSupportedForFormatException as __MarksNotSupportedForFormatException, MaxLexemeLengthExceededException as __MaxLexemeLengthExceededException, MaxLexiconsNumberExceededException as __MaxLexiconsNumberExceededException, ServiceFailureException as __ServiceFailureException, SsmlMarksNotSupportedForTextTypeException as __SsmlMarksNotSupportedForTextTypeException, SynthesisTaskNotFoundException as __SynthesisTaskNotFoundException, TextLengthExceededException as __TextLengthExceededException, UnsupportedPlsAlphabetException as __UnsupportedPlsAlphabetException, UnsupportedPlsLanguageException as __UnsupportedPlsLanguageException, } from "../models/errors";
|
|
112
112
|
import { PollyServiceException as __PollyServiceException } from "../models/PollyServiceException";
|
|
113
113
|
export var AudioStream = [
|
|
114
114
|
0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -15,5 +15,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
15
15
|
export type { PollyExtensionConfiguration } from "./extensionConfiguration";
|
|
16
16
|
export * from "./commands";
|
|
17
17
|
export * from "./pagination";
|
|
18
|
-
export * from "./models";
|
|
18
|
+
export * from "./models/enums";
|
|
19
|
+
export * from "./models/errors";
|
|
20
|
+
export type * from "./models/models_0";
|
|
19
21
|
export { PollyServiceException } from "./models/PollyServiceException";
|