@aws-sdk/client-polly 3.180.0 → 3.183.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.
@@ -1,59 +1,176 @@
1
- import { __assign, __extends } from "tslib";
2
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
2
  import { PollyServiceException as __BaseException } from "./PollyServiceException";
4
- var LexiconNotFoundException = (function (_super) {
5
- __extends(LexiconNotFoundException, _super);
6
- function LexiconNotFoundException(opts) {
7
- var _this = _super.call(this, __assign({ name: "LexiconNotFoundException", $fault: "client" }, opts)) || this;
8
- _this.name = "LexiconNotFoundException";
9
- _this.$fault = "client";
10
- Object.setPrototypeOf(_this, LexiconNotFoundException.prototype);
11
- return _this;
3
+ export class LexiconNotFoundException extends __BaseException {
4
+ constructor(opts) {
5
+ super({
6
+ name: "LexiconNotFoundException",
7
+ $fault: "client",
8
+ ...opts,
9
+ });
10
+ this.name = "LexiconNotFoundException";
11
+ this.$fault = "client";
12
+ Object.setPrototypeOf(this, LexiconNotFoundException.prototype);
12
13
  }
13
- return LexiconNotFoundException;
14
- }(__BaseException));
15
- export { LexiconNotFoundException };
16
- var ServiceFailureException = (function (_super) {
17
- __extends(ServiceFailureException, _super);
18
- function ServiceFailureException(opts) {
19
- var _this = _super.call(this, __assign({ name: "ServiceFailureException", $fault: "server" }, opts)) || this;
20
- _this.name = "ServiceFailureException";
21
- _this.$fault = "server";
22
- Object.setPrototypeOf(_this, ServiceFailureException.prototype);
23
- return _this;
14
+ }
15
+ export class ServiceFailureException extends __BaseException {
16
+ constructor(opts) {
17
+ super({
18
+ name: "ServiceFailureException",
19
+ $fault: "server",
20
+ ...opts,
21
+ });
22
+ this.name = "ServiceFailureException";
23
+ this.$fault = "server";
24
+ Object.setPrototypeOf(this, ServiceFailureException.prototype);
24
25
  }
25
- return ServiceFailureException;
26
- }(__BaseException));
27
- export { ServiceFailureException };
26
+ }
28
27
  export var Engine;
29
28
  (function (Engine) {
30
29
  Engine["NEURAL"] = "neural";
31
30
  Engine["STANDARD"] = "standard";
32
31
  })(Engine || (Engine = {}));
33
- var InvalidNextTokenException = (function (_super) {
34
- __extends(InvalidNextTokenException, _super);
35
- function InvalidNextTokenException(opts) {
36
- var _this = _super.call(this, __assign({ name: "InvalidNextTokenException", $fault: "client" }, opts)) || this;
37
- _this.name = "InvalidNextTokenException";
38
- _this.$fault = "client";
39
- Object.setPrototypeOf(_this, InvalidNextTokenException.prototype);
40
- return _this;
32
+ export var LanguageCode;
33
+ (function (LanguageCode) {
34
+ LanguageCode["arb"] = "arb";
35
+ LanguageCode["ca_ES"] = "ca-ES";
36
+ LanguageCode["cmn_CN"] = "cmn-CN";
37
+ LanguageCode["cy_GB"] = "cy-GB";
38
+ LanguageCode["da_DK"] = "da-DK";
39
+ LanguageCode["de_AT"] = "de-AT";
40
+ LanguageCode["de_DE"] = "de-DE";
41
+ LanguageCode["en_AU"] = "en-AU";
42
+ LanguageCode["en_GB"] = "en-GB";
43
+ LanguageCode["en_GB_WLS"] = "en-GB-WLS";
44
+ LanguageCode["en_IN"] = "en-IN";
45
+ LanguageCode["en_NZ"] = "en-NZ";
46
+ LanguageCode["en_US"] = "en-US";
47
+ LanguageCode["en_ZA"] = "en-ZA";
48
+ LanguageCode["es_ES"] = "es-ES";
49
+ LanguageCode["es_MX"] = "es-MX";
50
+ LanguageCode["es_US"] = "es-US";
51
+ LanguageCode["fr_CA"] = "fr-CA";
52
+ LanguageCode["fr_FR"] = "fr-FR";
53
+ LanguageCode["hi_IN"] = "hi-IN";
54
+ LanguageCode["is_IS"] = "is-IS";
55
+ LanguageCode["it_IT"] = "it-IT";
56
+ LanguageCode["ja_JP"] = "ja-JP";
57
+ LanguageCode["ko_KR"] = "ko-KR";
58
+ LanguageCode["nb_NO"] = "nb-NO";
59
+ LanguageCode["nl_NL"] = "nl-NL";
60
+ LanguageCode["pl_PL"] = "pl-PL";
61
+ LanguageCode["pt_BR"] = "pt-BR";
62
+ LanguageCode["pt_PT"] = "pt-PT";
63
+ LanguageCode["ro_RO"] = "ro-RO";
64
+ LanguageCode["ru_RU"] = "ru-RU";
65
+ LanguageCode["sv_SE"] = "sv-SE";
66
+ LanguageCode["tr_TR"] = "tr-TR";
67
+ LanguageCode["yue_CN"] = "yue-CN";
68
+ })(LanguageCode || (LanguageCode = {}));
69
+ export var Gender;
70
+ (function (Gender) {
71
+ Gender["Female"] = "Female";
72
+ Gender["Male"] = "Male";
73
+ })(Gender || (Gender = {}));
74
+ export var VoiceId;
75
+ (function (VoiceId) {
76
+ VoiceId["Aditi"] = "Aditi";
77
+ VoiceId["Amy"] = "Amy";
78
+ VoiceId["Aria"] = "Aria";
79
+ VoiceId["Arlet"] = "Arlet";
80
+ VoiceId["Arthur"] = "Arthur";
81
+ VoiceId["Astrid"] = "Astrid";
82
+ VoiceId["Ayanda"] = "Ayanda";
83
+ VoiceId["Bianca"] = "Bianca";
84
+ VoiceId["Brian"] = "Brian";
85
+ VoiceId["Camila"] = "Camila";
86
+ VoiceId["Carla"] = "Carla";
87
+ VoiceId["Carmen"] = "Carmen";
88
+ VoiceId["Celine"] = "Celine";
89
+ VoiceId["Chantal"] = "Chantal";
90
+ VoiceId["Conchita"] = "Conchita";
91
+ VoiceId["Cristiano"] = "Cristiano";
92
+ VoiceId["Daniel"] = "Daniel";
93
+ VoiceId["Dora"] = "Dora";
94
+ VoiceId["Emma"] = "Emma";
95
+ VoiceId["Enrique"] = "Enrique";
96
+ VoiceId["Ewa"] = "Ewa";
97
+ VoiceId["Filiz"] = "Filiz";
98
+ VoiceId["Gabrielle"] = "Gabrielle";
99
+ VoiceId["Geraint"] = "Geraint";
100
+ VoiceId["Giorgio"] = "Giorgio";
101
+ VoiceId["Gwyneth"] = "Gwyneth";
102
+ VoiceId["Hannah"] = "Hannah";
103
+ VoiceId["Hans"] = "Hans";
104
+ VoiceId["Hiujin"] = "Hiujin";
105
+ VoiceId["Ines"] = "Ines";
106
+ VoiceId["Ivy"] = "Ivy";
107
+ VoiceId["Jacek"] = "Jacek";
108
+ VoiceId["Jan"] = "Jan";
109
+ VoiceId["Joanna"] = "Joanna";
110
+ VoiceId["Joey"] = "Joey";
111
+ VoiceId["Justin"] = "Justin";
112
+ VoiceId["Kajal"] = "Kajal";
113
+ VoiceId["Karl"] = "Karl";
114
+ VoiceId["Kendra"] = "Kendra";
115
+ VoiceId["Kevin"] = "Kevin";
116
+ VoiceId["Kimberly"] = "Kimberly";
117
+ VoiceId["Lea"] = "Lea";
118
+ VoiceId["Liam"] = "Liam";
119
+ VoiceId["Liv"] = "Liv";
120
+ VoiceId["Lotte"] = "Lotte";
121
+ VoiceId["Lucia"] = "Lucia";
122
+ VoiceId["Lupe"] = "Lupe";
123
+ VoiceId["Mads"] = "Mads";
124
+ VoiceId["Maja"] = "Maja";
125
+ VoiceId["Marlene"] = "Marlene";
126
+ VoiceId["Mathieu"] = "Mathieu";
127
+ VoiceId["Matthew"] = "Matthew";
128
+ VoiceId["Maxim"] = "Maxim";
129
+ VoiceId["Mia"] = "Mia";
130
+ VoiceId["Miguel"] = "Miguel";
131
+ VoiceId["Mizuki"] = "Mizuki";
132
+ VoiceId["Naja"] = "Naja";
133
+ VoiceId["Nicole"] = "Nicole";
134
+ VoiceId["Olivia"] = "Olivia";
135
+ VoiceId["Pedro"] = "Pedro";
136
+ VoiceId["Penelope"] = "Penelope";
137
+ VoiceId["Raveena"] = "Raveena";
138
+ VoiceId["Ricardo"] = "Ricardo";
139
+ VoiceId["Ruben"] = "Ruben";
140
+ VoiceId["Russell"] = "Russell";
141
+ VoiceId["Salli"] = "Salli";
142
+ VoiceId["Seoyeon"] = "Seoyeon";
143
+ VoiceId["Takumi"] = "Takumi";
144
+ VoiceId["Tatyana"] = "Tatyana";
145
+ VoiceId["Vicki"] = "Vicki";
146
+ VoiceId["Vitoria"] = "Vitoria";
147
+ VoiceId["Zeina"] = "Zeina";
148
+ VoiceId["Zhiyu"] = "Zhiyu";
149
+ })(VoiceId || (VoiceId = {}));
150
+ export class InvalidNextTokenException extends __BaseException {
151
+ constructor(opts) {
152
+ super({
153
+ name: "InvalidNextTokenException",
154
+ $fault: "client",
155
+ ...opts,
156
+ });
157
+ this.name = "InvalidNextTokenException";
158
+ this.$fault = "client";
159
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
41
160
  }
42
- return InvalidNextTokenException;
43
- }(__BaseException));
44
- export { InvalidNextTokenException };
45
- var EngineNotSupportedException = (function (_super) {
46
- __extends(EngineNotSupportedException, _super);
47
- function EngineNotSupportedException(opts) {
48
- var _this = _super.call(this, __assign({ name: "EngineNotSupportedException", $fault: "client" }, opts)) || this;
49
- _this.name = "EngineNotSupportedException";
50
- _this.$fault = "client";
51
- Object.setPrototypeOf(_this, EngineNotSupportedException.prototype);
52
- return _this;
161
+ }
162
+ export class EngineNotSupportedException extends __BaseException {
163
+ constructor(opts) {
164
+ super({
165
+ name: "EngineNotSupportedException",
166
+ $fault: "client",
167
+ ...opts,
168
+ });
169
+ this.name = "EngineNotSupportedException";
170
+ this.$fault = "client";
171
+ Object.setPrototypeOf(this, EngineNotSupportedException.prototype);
53
172
  }
54
- return EngineNotSupportedException;
55
- }(__BaseException));
56
- export { EngineNotSupportedException };
173
+ }
57
174
  export var OutputFormat;
58
175
  (function (OutputFormat) {
59
176
  OutputFormat["JSON"] = "json";
@@ -80,230 +197,279 @@ export var TextType;
80
197
  TextType["SSML"] = "ssml";
81
198
  TextType["TEXT"] = "text";
82
199
  })(TextType || (TextType = {}));
83
- var InvalidTaskIdException = (function (_super) {
84
- __extends(InvalidTaskIdException, _super);
85
- function InvalidTaskIdException(opts) {
86
- var _this = _super.call(this, __assign({ name: "InvalidTaskIdException", $fault: "client" }, opts)) || this;
87
- _this.name = "InvalidTaskIdException";
88
- _this.$fault = "client";
89
- Object.setPrototypeOf(_this, InvalidTaskIdException.prototype);
90
- return _this;
200
+ export class InvalidTaskIdException extends __BaseException {
201
+ constructor(opts) {
202
+ super({
203
+ name: "InvalidTaskIdException",
204
+ $fault: "client",
205
+ ...opts,
206
+ });
207
+ this.name = "InvalidTaskIdException";
208
+ this.$fault = "client";
209
+ Object.setPrototypeOf(this, InvalidTaskIdException.prototype);
91
210
  }
92
- return InvalidTaskIdException;
93
- }(__BaseException));
94
- export { InvalidTaskIdException };
95
- var SynthesisTaskNotFoundException = (function (_super) {
96
- __extends(SynthesisTaskNotFoundException, _super);
97
- function SynthesisTaskNotFoundException(opts) {
98
- var _this = _super.call(this, __assign({ name: "SynthesisTaskNotFoundException", $fault: "client" }, opts)) || this;
99
- _this.name = "SynthesisTaskNotFoundException";
100
- _this.$fault = "client";
101
- Object.setPrototypeOf(_this, SynthesisTaskNotFoundException.prototype);
102
- return _this;
211
+ }
212
+ export class SynthesisTaskNotFoundException extends __BaseException {
213
+ constructor(opts) {
214
+ super({
215
+ name: "SynthesisTaskNotFoundException",
216
+ $fault: "client",
217
+ ...opts,
218
+ });
219
+ this.name = "SynthesisTaskNotFoundException";
220
+ this.$fault = "client";
221
+ Object.setPrototypeOf(this, SynthesisTaskNotFoundException.prototype);
103
222
  }
104
- return SynthesisTaskNotFoundException;
105
- }(__BaseException));
106
- export { SynthesisTaskNotFoundException };
107
- var InvalidLexiconException = (function (_super) {
108
- __extends(InvalidLexiconException, _super);
109
- function InvalidLexiconException(opts) {
110
- var _this = _super.call(this, __assign({ name: "InvalidLexiconException", $fault: "client" }, opts)) || this;
111
- _this.name = "InvalidLexiconException";
112
- _this.$fault = "client";
113
- Object.setPrototypeOf(_this, InvalidLexiconException.prototype);
114
- return _this;
223
+ }
224
+ export class InvalidLexiconException extends __BaseException {
225
+ constructor(opts) {
226
+ super({
227
+ name: "InvalidLexiconException",
228
+ $fault: "client",
229
+ ...opts,
230
+ });
231
+ this.name = "InvalidLexiconException";
232
+ this.$fault = "client";
233
+ Object.setPrototypeOf(this, InvalidLexiconException.prototype);
115
234
  }
116
- return InvalidLexiconException;
117
- }(__BaseException));
118
- export { InvalidLexiconException };
119
- var InvalidS3BucketException = (function (_super) {
120
- __extends(InvalidS3BucketException, _super);
121
- function InvalidS3BucketException(opts) {
122
- var _this = _super.call(this, __assign({ name: "InvalidS3BucketException", $fault: "client" }, opts)) || this;
123
- _this.name = "InvalidS3BucketException";
124
- _this.$fault = "client";
125
- Object.setPrototypeOf(_this, InvalidS3BucketException.prototype);
126
- return _this;
235
+ }
236
+ export class InvalidS3BucketException extends __BaseException {
237
+ constructor(opts) {
238
+ super({
239
+ name: "InvalidS3BucketException",
240
+ $fault: "client",
241
+ ...opts,
242
+ });
243
+ this.name = "InvalidS3BucketException";
244
+ this.$fault = "client";
245
+ Object.setPrototypeOf(this, InvalidS3BucketException.prototype);
127
246
  }
128
- return InvalidS3BucketException;
129
- }(__BaseException));
130
- export { InvalidS3BucketException };
131
- var InvalidS3KeyException = (function (_super) {
132
- __extends(InvalidS3KeyException, _super);
133
- function InvalidS3KeyException(opts) {
134
- var _this = _super.call(this, __assign({ name: "InvalidS3KeyException", $fault: "client" }, opts)) || this;
135
- _this.name = "InvalidS3KeyException";
136
- _this.$fault = "client";
137
- Object.setPrototypeOf(_this, InvalidS3KeyException.prototype);
138
- return _this;
247
+ }
248
+ export class InvalidS3KeyException extends __BaseException {
249
+ constructor(opts) {
250
+ super({
251
+ name: "InvalidS3KeyException",
252
+ $fault: "client",
253
+ ...opts,
254
+ });
255
+ this.name = "InvalidS3KeyException";
256
+ this.$fault = "client";
257
+ Object.setPrototypeOf(this, InvalidS3KeyException.prototype);
139
258
  }
140
- return InvalidS3KeyException;
141
- }(__BaseException));
142
- export { InvalidS3KeyException };
143
- var InvalidSampleRateException = (function (_super) {
144
- __extends(InvalidSampleRateException, _super);
145
- function InvalidSampleRateException(opts) {
146
- var _this = _super.call(this, __assign({ name: "InvalidSampleRateException", $fault: "client" }, opts)) || this;
147
- _this.name = "InvalidSampleRateException";
148
- _this.$fault = "client";
149
- Object.setPrototypeOf(_this, InvalidSampleRateException.prototype);
150
- return _this;
259
+ }
260
+ export class InvalidSampleRateException extends __BaseException {
261
+ constructor(opts) {
262
+ super({
263
+ name: "InvalidSampleRateException",
264
+ $fault: "client",
265
+ ...opts,
266
+ });
267
+ this.name = "InvalidSampleRateException";
268
+ this.$fault = "client";
269
+ Object.setPrototypeOf(this, InvalidSampleRateException.prototype);
151
270
  }
152
- return InvalidSampleRateException;
153
- }(__BaseException));
154
- export { InvalidSampleRateException };
155
- var InvalidSnsTopicArnException = (function (_super) {
156
- __extends(InvalidSnsTopicArnException, _super);
157
- function InvalidSnsTopicArnException(opts) {
158
- var _this = _super.call(this, __assign({ name: "InvalidSnsTopicArnException", $fault: "client" }, opts)) || this;
159
- _this.name = "InvalidSnsTopicArnException";
160
- _this.$fault = "client";
161
- Object.setPrototypeOf(_this, InvalidSnsTopicArnException.prototype);
162
- return _this;
271
+ }
272
+ export class InvalidSnsTopicArnException extends __BaseException {
273
+ constructor(opts) {
274
+ super({
275
+ name: "InvalidSnsTopicArnException",
276
+ $fault: "client",
277
+ ...opts,
278
+ });
279
+ this.name = "InvalidSnsTopicArnException";
280
+ this.$fault = "client";
281
+ Object.setPrototypeOf(this, InvalidSnsTopicArnException.prototype);
163
282
  }
164
- return InvalidSnsTopicArnException;
165
- }(__BaseException));
166
- export { InvalidSnsTopicArnException };
167
- var InvalidSsmlException = (function (_super) {
168
- __extends(InvalidSsmlException, _super);
169
- function InvalidSsmlException(opts) {
170
- var _this = _super.call(this, __assign({ name: "InvalidSsmlException", $fault: "client" }, opts)) || this;
171
- _this.name = "InvalidSsmlException";
172
- _this.$fault = "client";
173
- Object.setPrototypeOf(_this, InvalidSsmlException.prototype);
174
- return _this;
283
+ }
284
+ export class InvalidSsmlException extends __BaseException {
285
+ constructor(opts) {
286
+ super({
287
+ name: "InvalidSsmlException",
288
+ $fault: "client",
289
+ ...opts,
290
+ });
291
+ this.name = "InvalidSsmlException";
292
+ this.$fault = "client";
293
+ Object.setPrototypeOf(this, InvalidSsmlException.prototype);
175
294
  }
176
- return InvalidSsmlException;
177
- }(__BaseException));
178
- export { InvalidSsmlException };
179
- var LanguageNotSupportedException = (function (_super) {
180
- __extends(LanguageNotSupportedException, _super);
181
- function LanguageNotSupportedException(opts) {
182
- var _this = _super.call(this, __assign({ name: "LanguageNotSupportedException", $fault: "client" }, opts)) || this;
183
- _this.name = "LanguageNotSupportedException";
184
- _this.$fault = "client";
185
- Object.setPrototypeOf(_this, LanguageNotSupportedException.prototype);
186
- return _this;
295
+ }
296
+ export class LanguageNotSupportedException extends __BaseException {
297
+ constructor(opts) {
298
+ super({
299
+ name: "LanguageNotSupportedException",
300
+ $fault: "client",
301
+ ...opts,
302
+ });
303
+ this.name = "LanguageNotSupportedException";
304
+ this.$fault = "client";
305
+ Object.setPrototypeOf(this, LanguageNotSupportedException.prototype);
187
306
  }
188
- return LanguageNotSupportedException;
189
- }(__BaseException));
190
- export { LanguageNotSupportedException };
191
- var LexiconSizeExceededException = (function (_super) {
192
- __extends(LexiconSizeExceededException, _super);
193
- function LexiconSizeExceededException(opts) {
194
- var _this = _super.call(this, __assign({ name: "LexiconSizeExceededException", $fault: "client" }, opts)) || this;
195
- _this.name = "LexiconSizeExceededException";
196
- _this.$fault = "client";
197
- Object.setPrototypeOf(_this, LexiconSizeExceededException.prototype);
198
- return _this;
307
+ }
308
+ export class LexiconSizeExceededException extends __BaseException {
309
+ constructor(opts) {
310
+ super({
311
+ name: "LexiconSizeExceededException",
312
+ $fault: "client",
313
+ ...opts,
314
+ });
315
+ this.name = "LexiconSizeExceededException";
316
+ this.$fault = "client";
317
+ Object.setPrototypeOf(this, LexiconSizeExceededException.prototype);
199
318
  }
200
- return LexiconSizeExceededException;
201
- }(__BaseException));
202
- export { LexiconSizeExceededException };
203
- var MarksNotSupportedForFormatException = (function (_super) {
204
- __extends(MarksNotSupportedForFormatException, _super);
205
- function MarksNotSupportedForFormatException(opts) {
206
- var _this = _super.call(this, __assign({ name: "MarksNotSupportedForFormatException", $fault: "client" }, opts)) || this;
207
- _this.name = "MarksNotSupportedForFormatException";
208
- _this.$fault = "client";
209
- Object.setPrototypeOf(_this, MarksNotSupportedForFormatException.prototype);
210
- return _this;
319
+ }
320
+ export class MarksNotSupportedForFormatException extends __BaseException {
321
+ constructor(opts) {
322
+ super({
323
+ name: "MarksNotSupportedForFormatException",
324
+ $fault: "client",
325
+ ...opts,
326
+ });
327
+ this.name = "MarksNotSupportedForFormatException";
328
+ this.$fault = "client";
329
+ Object.setPrototypeOf(this, MarksNotSupportedForFormatException.prototype);
211
330
  }
212
- return MarksNotSupportedForFormatException;
213
- }(__BaseException));
214
- export { MarksNotSupportedForFormatException };
215
- var MaxLexemeLengthExceededException = (function (_super) {
216
- __extends(MaxLexemeLengthExceededException, _super);
217
- function MaxLexemeLengthExceededException(opts) {
218
- var _this = _super.call(this, __assign({ name: "MaxLexemeLengthExceededException", $fault: "client" }, opts)) || this;
219
- _this.name = "MaxLexemeLengthExceededException";
220
- _this.$fault = "client";
221
- Object.setPrototypeOf(_this, MaxLexemeLengthExceededException.prototype);
222
- return _this;
331
+ }
332
+ export class MaxLexemeLengthExceededException extends __BaseException {
333
+ constructor(opts) {
334
+ super({
335
+ name: "MaxLexemeLengthExceededException",
336
+ $fault: "client",
337
+ ...opts,
338
+ });
339
+ this.name = "MaxLexemeLengthExceededException";
340
+ this.$fault = "client";
341
+ Object.setPrototypeOf(this, MaxLexemeLengthExceededException.prototype);
223
342
  }
224
- return MaxLexemeLengthExceededException;
225
- }(__BaseException));
226
- export { MaxLexemeLengthExceededException };
227
- var MaxLexiconsNumberExceededException = (function (_super) {
228
- __extends(MaxLexiconsNumberExceededException, _super);
229
- function MaxLexiconsNumberExceededException(opts) {
230
- var _this = _super.call(this, __assign({ name: "MaxLexiconsNumberExceededException", $fault: "client" }, opts)) || this;
231
- _this.name = "MaxLexiconsNumberExceededException";
232
- _this.$fault = "client";
233
- Object.setPrototypeOf(_this, MaxLexiconsNumberExceededException.prototype);
234
- return _this;
343
+ }
344
+ export class MaxLexiconsNumberExceededException extends __BaseException {
345
+ constructor(opts) {
346
+ super({
347
+ name: "MaxLexiconsNumberExceededException",
348
+ $fault: "client",
349
+ ...opts,
350
+ });
351
+ this.name = "MaxLexiconsNumberExceededException";
352
+ this.$fault = "client";
353
+ Object.setPrototypeOf(this, MaxLexiconsNumberExceededException.prototype);
235
354
  }
236
- return MaxLexiconsNumberExceededException;
237
- }(__BaseException));
238
- export { MaxLexiconsNumberExceededException };
239
- var UnsupportedPlsAlphabetException = (function (_super) {
240
- __extends(UnsupportedPlsAlphabetException, _super);
241
- function UnsupportedPlsAlphabetException(opts) {
242
- var _this = _super.call(this, __assign({ name: "UnsupportedPlsAlphabetException", $fault: "client" }, opts)) || this;
243
- _this.name = "UnsupportedPlsAlphabetException";
244
- _this.$fault = "client";
245
- Object.setPrototypeOf(_this, UnsupportedPlsAlphabetException.prototype);
246
- return _this;
355
+ }
356
+ export class UnsupportedPlsAlphabetException extends __BaseException {
357
+ constructor(opts) {
358
+ super({
359
+ name: "UnsupportedPlsAlphabetException",
360
+ $fault: "client",
361
+ ...opts,
362
+ });
363
+ this.name = "UnsupportedPlsAlphabetException";
364
+ this.$fault = "client";
365
+ Object.setPrototypeOf(this, UnsupportedPlsAlphabetException.prototype);
247
366
  }
248
- return UnsupportedPlsAlphabetException;
249
- }(__BaseException));
250
- export { UnsupportedPlsAlphabetException };
251
- var UnsupportedPlsLanguageException = (function (_super) {
252
- __extends(UnsupportedPlsLanguageException, _super);
253
- function UnsupportedPlsLanguageException(opts) {
254
- var _this = _super.call(this, __assign({ name: "UnsupportedPlsLanguageException", $fault: "client" }, opts)) || this;
255
- _this.name = "UnsupportedPlsLanguageException";
256
- _this.$fault = "client";
257
- Object.setPrototypeOf(_this, UnsupportedPlsLanguageException.prototype);
258
- return _this;
367
+ }
368
+ export class UnsupportedPlsLanguageException extends __BaseException {
369
+ constructor(opts) {
370
+ super({
371
+ name: "UnsupportedPlsLanguageException",
372
+ $fault: "client",
373
+ ...opts,
374
+ });
375
+ this.name = "UnsupportedPlsLanguageException";
376
+ this.$fault = "client";
377
+ Object.setPrototypeOf(this, UnsupportedPlsLanguageException.prototype);
259
378
  }
260
- return UnsupportedPlsLanguageException;
261
- }(__BaseException));
262
- export { UnsupportedPlsLanguageException };
263
- var SsmlMarksNotSupportedForTextTypeException = (function (_super) {
264
- __extends(SsmlMarksNotSupportedForTextTypeException, _super);
265
- function SsmlMarksNotSupportedForTextTypeException(opts) {
266
- var _this = _super.call(this, __assign({ name: "SsmlMarksNotSupportedForTextTypeException", $fault: "client" }, opts)) || this;
267
- _this.name = "SsmlMarksNotSupportedForTextTypeException";
268
- _this.$fault = "client";
269
- Object.setPrototypeOf(_this, SsmlMarksNotSupportedForTextTypeException.prototype);
270
- return _this;
379
+ }
380
+ export class SsmlMarksNotSupportedForTextTypeException extends __BaseException {
381
+ constructor(opts) {
382
+ super({
383
+ name: "SsmlMarksNotSupportedForTextTypeException",
384
+ $fault: "client",
385
+ ...opts,
386
+ });
387
+ this.name = "SsmlMarksNotSupportedForTextTypeException";
388
+ this.$fault = "client";
389
+ Object.setPrototypeOf(this, SsmlMarksNotSupportedForTextTypeException.prototype);
271
390
  }
272
- return SsmlMarksNotSupportedForTextTypeException;
273
- }(__BaseException));
274
- export { SsmlMarksNotSupportedForTextTypeException };
275
- var TextLengthExceededException = (function (_super) {
276
- __extends(TextLengthExceededException, _super);
277
- function TextLengthExceededException(opts) {
278
- var _this = _super.call(this, __assign({ name: "TextLengthExceededException", $fault: "client" }, opts)) || this;
279
- _this.name = "TextLengthExceededException";
280
- _this.$fault = "client";
281
- Object.setPrototypeOf(_this, TextLengthExceededException.prototype);
282
- return _this;
391
+ }
392
+ export class TextLengthExceededException extends __BaseException {
393
+ constructor(opts) {
394
+ super({
395
+ name: "TextLengthExceededException",
396
+ $fault: "client",
397
+ ...opts,
398
+ });
399
+ this.name = "TextLengthExceededException";
400
+ this.$fault = "client";
401
+ Object.setPrototypeOf(this, TextLengthExceededException.prototype);
283
402
  }
284
- return TextLengthExceededException;
285
- }(__BaseException));
286
- export { TextLengthExceededException };
287
- export var DeleteLexiconInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
288
- export var DeleteLexiconOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
289
- export var DescribeVoicesInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
290
- export var VoiceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
291
- export var DescribeVoicesOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
292
- export var GetLexiconInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
293
- export var LexiconFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Content && { Content: SENSITIVE_STRING }))); };
294
- export var LexiconAttributesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
295
- export var GetLexiconOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Lexicon && { Lexicon: LexiconFilterSensitiveLog(obj.Lexicon) }))); };
296
- export var GetSpeechSynthesisTaskInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
297
- export var SynthesisTaskFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
298
- export var GetSpeechSynthesisTaskOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
299
- export var LexiconDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
300
- export var ListLexiconsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
301
- export var ListLexiconsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
302
- export var ListSpeechSynthesisTasksInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
303
- export var ListSpeechSynthesisTasksOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
304
- export var PutLexiconInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Content && { Content: SENSITIVE_STRING }))); };
305
- export var PutLexiconOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
306
- export var StartSpeechSynthesisTaskInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
307
- export var StartSpeechSynthesisTaskOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
308
- export var SynthesizeSpeechInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
309
- export var SynthesizeSpeechOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
403
+ }
404
+ export const DeleteLexiconInputFilterSensitiveLog = (obj) => ({
405
+ ...obj,
406
+ });
407
+ export const DeleteLexiconOutputFilterSensitiveLog = (obj) => ({
408
+ ...obj,
409
+ });
410
+ export const DescribeVoicesInputFilterSensitiveLog = (obj) => ({
411
+ ...obj,
412
+ });
413
+ export const VoiceFilterSensitiveLog = (obj) => ({
414
+ ...obj,
415
+ });
416
+ export const DescribeVoicesOutputFilterSensitiveLog = (obj) => ({
417
+ ...obj,
418
+ });
419
+ export const GetLexiconInputFilterSensitiveLog = (obj) => ({
420
+ ...obj,
421
+ });
422
+ export const LexiconFilterSensitiveLog = (obj) => ({
423
+ ...obj,
424
+ ...(obj.Content && { Content: SENSITIVE_STRING }),
425
+ });
426
+ export const LexiconAttributesFilterSensitiveLog = (obj) => ({
427
+ ...obj,
428
+ });
429
+ export const GetLexiconOutputFilterSensitiveLog = (obj) => ({
430
+ ...obj,
431
+ ...(obj.Lexicon && { Lexicon: LexiconFilterSensitiveLog(obj.Lexicon) }),
432
+ });
433
+ export const GetSpeechSynthesisTaskInputFilterSensitiveLog = (obj) => ({
434
+ ...obj,
435
+ });
436
+ export const SynthesisTaskFilterSensitiveLog = (obj) => ({
437
+ ...obj,
438
+ });
439
+ export const GetSpeechSynthesisTaskOutputFilterSensitiveLog = (obj) => ({
440
+ ...obj,
441
+ });
442
+ export const LexiconDescriptionFilterSensitiveLog = (obj) => ({
443
+ ...obj,
444
+ });
445
+ export const ListLexiconsInputFilterSensitiveLog = (obj) => ({
446
+ ...obj,
447
+ });
448
+ export const ListLexiconsOutputFilterSensitiveLog = (obj) => ({
449
+ ...obj,
450
+ });
451
+ export const ListSpeechSynthesisTasksInputFilterSensitiveLog = (obj) => ({
452
+ ...obj,
453
+ });
454
+ export const ListSpeechSynthesisTasksOutputFilterSensitiveLog = (obj) => ({
455
+ ...obj,
456
+ });
457
+ export const PutLexiconInputFilterSensitiveLog = (obj) => ({
458
+ ...obj,
459
+ ...(obj.Content && { Content: SENSITIVE_STRING }),
460
+ });
461
+ export const PutLexiconOutputFilterSensitiveLog = (obj) => ({
462
+ ...obj,
463
+ });
464
+ export const StartSpeechSynthesisTaskInputFilterSensitiveLog = (obj) => ({
465
+ ...obj,
466
+ });
467
+ export const StartSpeechSynthesisTaskOutputFilterSensitiveLog = (obj) => ({
468
+ ...obj,
469
+ });
470
+ export const SynthesizeSpeechInputFilterSensitiveLog = (obj) => ({
471
+ ...obj,
472
+ });
473
+ export const SynthesizeSpeechOutputFilterSensitiveLog = (obj) => ({
474
+ ...obj,
475
+ });