@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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/PollyServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +275 -1
- package/dist-cjs/protocols/Aws_restJson1.js +219 -490
- package/dist-es/index.js +1 -0
- package/dist-es/models/PollyServiceException.js +12 -0
- package/dist-es/models/models_0.js +254 -1
- package/dist-es/protocols/Aws_restJson1.js +291 -548
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/PollyServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +149 -85
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/PollyServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +107 -85
- package/package.json +25 -25
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-polly
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PollyServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./Polly"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./PollyClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var PollyServiceException_1 = require("./models/PollyServiceException");
|
|
11
|
+
Object.defineProperty(exports, "PollyServiceException", { enumerable: true, get: function () { return PollyServiceException_1.PollyServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PollyServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class PollyServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, PollyServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.PollyServiceException = PollyServiceException;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SynthesizeSpeechOutput = exports.SynthesizeSpeechInput = exports.StartSpeechSynthesisTaskOutput = exports.StartSpeechSynthesisTaskInput = exports.PutLexiconOutput = exports.PutLexiconInput = exports.ListSpeechSynthesisTasksOutput = exports.ListSpeechSynthesisTasksInput = exports.ListLexiconsOutput = exports.ListLexiconsInput = exports.LexiconDescription = exports.GetSpeechSynthesisTaskOutput = exports.SynthesisTask = exports.TextType = exports.TaskStatus = exports.SpeechMarkType = exports.OutputFormat = exports.GetSpeechSynthesisTaskInput = exports.GetLexiconOutput = exports.LexiconAttributes = exports.Lexicon = exports.GetLexiconInput = exports.DescribeVoicesOutput = exports.Voice = exports.DescribeVoicesInput = exports.Engine = exports.DeleteLexiconOutput = exports.DeleteLexiconInput = void 0;
|
|
3
|
+
exports.SynthesizeSpeechOutput = exports.SynthesizeSpeechInput = exports.TextLengthExceededException = exports.StartSpeechSynthesisTaskOutput = exports.StartSpeechSynthesisTaskInput = exports.SsmlMarksNotSupportedForTextTypeException = exports.UnsupportedPlsLanguageException = exports.UnsupportedPlsAlphabetException = exports.PutLexiconOutput = exports.PutLexiconInput = exports.MaxLexiconsNumberExceededException = exports.MaxLexemeLengthExceededException = exports.MarksNotSupportedForFormatException = exports.ListSpeechSynthesisTasksOutput = exports.ListSpeechSynthesisTasksInput = exports.ListLexiconsOutput = exports.ListLexiconsInput = exports.LexiconSizeExceededException = exports.LexiconDescription = exports.LanguageNotSupportedException = exports.InvalidSsmlException = exports.InvalidSnsTopicArnException = exports.InvalidSampleRateException = exports.InvalidS3KeyException = exports.InvalidS3BucketException = exports.InvalidLexiconException = exports.SynthesisTaskNotFoundException = exports.InvalidTaskIdException = exports.GetSpeechSynthesisTaskOutput = exports.SynthesisTask = exports.TextType = exports.TaskStatus = exports.SpeechMarkType = exports.OutputFormat = exports.GetSpeechSynthesisTaskInput = exports.GetLexiconOutput = exports.LexiconAttributes = exports.Lexicon = exports.GetLexiconInput = exports.EngineNotSupportedException = exports.InvalidNextTokenException = exports.DescribeVoicesOutput = exports.Voice = exports.DescribeVoicesInput = exports.Engine = exports.ServiceFailureException = exports.LexiconNotFoundException = exports.DeleteLexiconOutput = exports.DeleteLexiconInput = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
const PollyServiceException_1 = require("./PollyServiceException");
|
|
5
6
|
var DeleteLexiconInput;
|
|
6
7
|
(function (DeleteLexiconInput) {
|
|
7
8
|
DeleteLexiconInput.filterSensitiveLog = (obj) => ({
|
|
@@ -14,6 +15,32 @@ var DeleteLexiconOutput;
|
|
|
14
15
|
...obj,
|
|
15
16
|
});
|
|
16
17
|
})(DeleteLexiconOutput = exports.DeleteLexiconOutput || (exports.DeleteLexiconOutput = {}));
|
|
18
|
+
class LexiconNotFoundException extends PollyServiceException_1.PollyServiceException {
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "LexiconNotFoundException",
|
|
22
|
+
$fault: "client",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
this.name = "LexiconNotFoundException";
|
|
26
|
+
this.$fault = "client";
|
|
27
|
+
Object.setPrototypeOf(this, LexiconNotFoundException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.LexiconNotFoundException = LexiconNotFoundException;
|
|
31
|
+
class ServiceFailureException extends PollyServiceException_1.PollyServiceException {
|
|
32
|
+
constructor(opts) {
|
|
33
|
+
super({
|
|
34
|
+
name: "ServiceFailureException",
|
|
35
|
+
$fault: "server",
|
|
36
|
+
...opts,
|
|
37
|
+
});
|
|
38
|
+
this.name = "ServiceFailureException";
|
|
39
|
+
this.$fault = "server";
|
|
40
|
+
Object.setPrototypeOf(this, ServiceFailureException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.ServiceFailureException = ServiceFailureException;
|
|
17
44
|
var Engine;
|
|
18
45
|
(function (Engine) {
|
|
19
46
|
Engine["NEURAL"] = "neural";
|
|
@@ -37,6 +64,32 @@ var DescribeVoicesOutput;
|
|
|
37
64
|
...obj,
|
|
38
65
|
});
|
|
39
66
|
})(DescribeVoicesOutput = exports.DescribeVoicesOutput || (exports.DescribeVoicesOutput = {}));
|
|
67
|
+
class InvalidNextTokenException extends PollyServiceException_1.PollyServiceException {
|
|
68
|
+
constructor(opts) {
|
|
69
|
+
super({
|
|
70
|
+
name: "InvalidNextTokenException",
|
|
71
|
+
$fault: "client",
|
|
72
|
+
...opts,
|
|
73
|
+
});
|
|
74
|
+
this.name = "InvalidNextTokenException";
|
|
75
|
+
this.$fault = "client";
|
|
76
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
80
|
+
class EngineNotSupportedException extends PollyServiceException_1.PollyServiceException {
|
|
81
|
+
constructor(opts) {
|
|
82
|
+
super({
|
|
83
|
+
name: "EngineNotSupportedException",
|
|
84
|
+
$fault: "client",
|
|
85
|
+
...opts,
|
|
86
|
+
});
|
|
87
|
+
this.name = "EngineNotSupportedException";
|
|
88
|
+
this.$fault = "client";
|
|
89
|
+
Object.setPrototypeOf(this, EngineNotSupportedException.prototype);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.EngineNotSupportedException = EngineNotSupportedException;
|
|
40
93
|
var GetLexiconInput;
|
|
41
94
|
(function (GetLexiconInput) {
|
|
42
95
|
GetLexiconInput.filterSensitiveLog = (obj) => ({
|
|
@@ -107,12 +160,142 @@ var GetSpeechSynthesisTaskOutput;
|
|
|
107
160
|
...obj,
|
|
108
161
|
});
|
|
109
162
|
})(GetSpeechSynthesisTaskOutput = exports.GetSpeechSynthesisTaskOutput || (exports.GetSpeechSynthesisTaskOutput = {}));
|
|
163
|
+
class InvalidTaskIdException extends PollyServiceException_1.PollyServiceException {
|
|
164
|
+
constructor(opts) {
|
|
165
|
+
super({
|
|
166
|
+
name: "InvalidTaskIdException",
|
|
167
|
+
$fault: "client",
|
|
168
|
+
...opts,
|
|
169
|
+
});
|
|
170
|
+
this.name = "InvalidTaskIdException";
|
|
171
|
+
this.$fault = "client";
|
|
172
|
+
Object.setPrototypeOf(this, InvalidTaskIdException.prototype);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
exports.InvalidTaskIdException = InvalidTaskIdException;
|
|
176
|
+
class SynthesisTaskNotFoundException extends PollyServiceException_1.PollyServiceException {
|
|
177
|
+
constructor(opts) {
|
|
178
|
+
super({
|
|
179
|
+
name: "SynthesisTaskNotFoundException",
|
|
180
|
+
$fault: "client",
|
|
181
|
+
...opts,
|
|
182
|
+
});
|
|
183
|
+
this.name = "SynthesisTaskNotFoundException";
|
|
184
|
+
this.$fault = "client";
|
|
185
|
+
Object.setPrototypeOf(this, SynthesisTaskNotFoundException.prototype);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
exports.SynthesisTaskNotFoundException = SynthesisTaskNotFoundException;
|
|
189
|
+
class InvalidLexiconException extends PollyServiceException_1.PollyServiceException {
|
|
190
|
+
constructor(opts) {
|
|
191
|
+
super({
|
|
192
|
+
name: "InvalidLexiconException",
|
|
193
|
+
$fault: "client",
|
|
194
|
+
...opts,
|
|
195
|
+
});
|
|
196
|
+
this.name = "InvalidLexiconException";
|
|
197
|
+
this.$fault = "client";
|
|
198
|
+
Object.setPrototypeOf(this, InvalidLexiconException.prototype);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
exports.InvalidLexiconException = InvalidLexiconException;
|
|
202
|
+
class InvalidS3BucketException extends PollyServiceException_1.PollyServiceException {
|
|
203
|
+
constructor(opts) {
|
|
204
|
+
super({
|
|
205
|
+
name: "InvalidS3BucketException",
|
|
206
|
+
$fault: "client",
|
|
207
|
+
...opts,
|
|
208
|
+
});
|
|
209
|
+
this.name = "InvalidS3BucketException";
|
|
210
|
+
this.$fault = "client";
|
|
211
|
+
Object.setPrototypeOf(this, InvalidS3BucketException.prototype);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
exports.InvalidS3BucketException = InvalidS3BucketException;
|
|
215
|
+
class InvalidS3KeyException extends PollyServiceException_1.PollyServiceException {
|
|
216
|
+
constructor(opts) {
|
|
217
|
+
super({
|
|
218
|
+
name: "InvalidS3KeyException",
|
|
219
|
+
$fault: "client",
|
|
220
|
+
...opts,
|
|
221
|
+
});
|
|
222
|
+
this.name = "InvalidS3KeyException";
|
|
223
|
+
this.$fault = "client";
|
|
224
|
+
Object.setPrototypeOf(this, InvalidS3KeyException.prototype);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
exports.InvalidS3KeyException = InvalidS3KeyException;
|
|
228
|
+
class InvalidSampleRateException extends PollyServiceException_1.PollyServiceException {
|
|
229
|
+
constructor(opts) {
|
|
230
|
+
super({
|
|
231
|
+
name: "InvalidSampleRateException",
|
|
232
|
+
$fault: "client",
|
|
233
|
+
...opts,
|
|
234
|
+
});
|
|
235
|
+
this.name = "InvalidSampleRateException";
|
|
236
|
+
this.$fault = "client";
|
|
237
|
+
Object.setPrototypeOf(this, InvalidSampleRateException.prototype);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
exports.InvalidSampleRateException = InvalidSampleRateException;
|
|
241
|
+
class InvalidSnsTopicArnException extends PollyServiceException_1.PollyServiceException {
|
|
242
|
+
constructor(opts) {
|
|
243
|
+
super({
|
|
244
|
+
name: "InvalidSnsTopicArnException",
|
|
245
|
+
$fault: "client",
|
|
246
|
+
...opts,
|
|
247
|
+
});
|
|
248
|
+
this.name = "InvalidSnsTopicArnException";
|
|
249
|
+
this.$fault = "client";
|
|
250
|
+
Object.setPrototypeOf(this, InvalidSnsTopicArnException.prototype);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
exports.InvalidSnsTopicArnException = InvalidSnsTopicArnException;
|
|
254
|
+
class InvalidSsmlException extends PollyServiceException_1.PollyServiceException {
|
|
255
|
+
constructor(opts) {
|
|
256
|
+
super({
|
|
257
|
+
name: "InvalidSsmlException",
|
|
258
|
+
$fault: "client",
|
|
259
|
+
...opts,
|
|
260
|
+
});
|
|
261
|
+
this.name = "InvalidSsmlException";
|
|
262
|
+
this.$fault = "client";
|
|
263
|
+
Object.setPrototypeOf(this, InvalidSsmlException.prototype);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
exports.InvalidSsmlException = InvalidSsmlException;
|
|
267
|
+
class LanguageNotSupportedException extends PollyServiceException_1.PollyServiceException {
|
|
268
|
+
constructor(opts) {
|
|
269
|
+
super({
|
|
270
|
+
name: "LanguageNotSupportedException",
|
|
271
|
+
$fault: "client",
|
|
272
|
+
...opts,
|
|
273
|
+
});
|
|
274
|
+
this.name = "LanguageNotSupportedException";
|
|
275
|
+
this.$fault = "client";
|
|
276
|
+
Object.setPrototypeOf(this, LanguageNotSupportedException.prototype);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
exports.LanguageNotSupportedException = LanguageNotSupportedException;
|
|
110
280
|
var LexiconDescription;
|
|
111
281
|
(function (LexiconDescription) {
|
|
112
282
|
LexiconDescription.filterSensitiveLog = (obj) => ({
|
|
113
283
|
...obj,
|
|
114
284
|
});
|
|
115
285
|
})(LexiconDescription = exports.LexiconDescription || (exports.LexiconDescription = {}));
|
|
286
|
+
class LexiconSizeExceededException extends PollyServiceException_1.PollyServiceException {
|
|
287
|
+
constructor(opts) {
|
|
288
|
+
super({
|
|
289
|
+
name: "LexiconSizeExceededException",
|
|
290
|
+
$fault: "client",
|
|
291
|
+
...opts,
|
|
292
|
+
});
|
|
293
|
+
this.name = "LexiconSizeExceededException";
|
|
294
|
+
this.$fault = "client";
|
|
295
|
+
Object.setPrototypeOf(this, LexiconSizeExceededException.prototype);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
exports.LexiconSizeExceededException = LexiconSizeExceededException;
|
|
116
299
|
var ListLexiconsInput;
|
|
117
300
|
(function (ListLexiconsInput) {
|
|
118
301
|
ListLexiconsInput.filterSensitiveLog = (obj) => ({
|
|
@@ -137,6 +320,45 @@ var ListSpeechSynthesisTasksOutput;
|
|
|
137
320
|
...obj,
|
|
138
321
|
});
|
|
139
322
|
})(ListSpeechSynthesisTasksOutput = exports.ListSpeechSynthesisTasksOutput || (exports.ListSpeechSynthesisTasksOutput = {}));
|
|
323
|
+
class MarksNotSupportedForFormatException extends PollyServiceException_1.PollyServiceException {
|
|
324
|
+
constructor(opts) {
|
|
325
|
+
super({
|
|
326
|
+
name: "MarksNotSupportedForFormatException",
|
|
327
|
+
$fault: "client",
|
|
328
|
+
...opts,
|
|
329
|
+
});
|
|
330
|
+
this.name = "MarksNotSupportedForFormatException";
|
|
331
|
+
this.$fault = "client";
|
|
332
|
+
Object.setPrototypeOf(this, MarksNotSupportedForFormatException.prototype);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
exports.MarksNotSupportedForFormatException = MarksNotSupportedForFormatException;
|
|
336
|
+
class MaxLexemeLengthExceededException extends PollyServiceException_1.PollyServiceException {
|
|
337
|
+
constructor(opts) {
|
|
338
|
+
super({
|
|
339
|
+
name: "MaxLexemeLengthExceededException",
|
|
340
|
+
$fault: "client",
|
|
341
|
+
...opts,
|
|
342
|
+
});
|
|
343
|
+
this.name = "MaxLexemeLengthExceededException";
|
|
344
|
+
this.$fault = "client";
|
|
345
|
+
Object.setPrototypeOf(this, MaxLexemeLengthExceededException.prototype);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
exports.MaxLexemeLengthExceededException = MaxLexemeLengthExceededException;
|
|
349
|
+
class MaxLexiconsNumberExceededException extends PollyServiceException_1.PollyServiceException {
|
|
350
|
+
constructor(opts) {
|
|
351
|
+
super({
|
|
352
|
+
name: "MaxLexiconsNumberExceededException",
|
|
353
|
+
$fault: "client",
|
|
354
|
+
...opts,
|
|
355
|
+
});
|
|
356
|
+
this.name = "MaxLexiconsNumberExceededException";
|
|
357
|
+
this.$fault = "client";
|
|
358
|
+
Object.setPrototypeOf(this, MaxLexiconsNumberExceededException.prototype);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
exports.MaxLexiconsNumberExceededException = MaxLexiconsNumberExceededException;
|
|
140
362
|
var PutLexiconInput;
|
|
141
363
|
(function (PutLexiconInput) {
|
|
142
364
|
PutLexiconInput.filterSensitiveLog = (obj) => ({
|
|
@@ -150,6 +372,45 @@ var PutLexiconOutput;
|
|
|
150
372
|
...obj,
|
|
151
373
|
});
|
|
152
374
|
})(PutLexiconOutput = exports.PutLexiconOutput || (exports.PutLexiconOutput = {}));
|
|
375
|
+
class UnsupportedPlsAlphabetException extends PollyServiceException_1.PollyServiceException {
|
|
376
|
+
constructor(opts) {
|
|
377
|
+
super({
|
|
378
|
+
name: "UnsupportedPlsAlphabetException",
|
|
379
|
+
$fault: "client",
|
|
380
|
+
...opts,
|
|
381
|
+
});
|
|
382
|
+
this.name = "UnsupportedPlsAlphabetException";
|
|
383
|
+
this.$fault = "client";
|
|
384
|
+
Object.setPrototypeOf(this, UnsupportedPlsAlphabetException.prototype);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
exports.UnsupportedPlsAlphabetException = UnsupportedPlsAlphabetException;
|
|
388
|
+
class UnsupportedPlsLanguageException extends PollyServiceException_1.PollyServiceException {
|
|
389
|
+
constructor(opts) {
|
|
390
|
+
super({
|
|
391
|
+
name: "UnsupportedPlsLanguageException",
|
|
392
|
+
$fault: "client",
|
|
393
|
+
...opts,
|
|
394
|
+
});
|
|
395
|
+
this.name = "UnsupportedPlsLanguageException";
|
|
396
|
+
this.$fault = "client";
|
|
397
|
+
Object.setPrototypeOf(this, UnsupportedPlsLanguageException.prototype);
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
exports.UnsupportedPlsLanguageException = UnsupportedPlsLanguageException;
|
|
401
|
+
class SsmlMarksNotSupportedForTextTypeException extends PollyServiceException_1.PollyServiceException {
|
|
402
|
+
constructor(opts) {
|
|
403
|
+
super({
|
|
404
|
+
name: "SsmlMarksNotSupportedForTextTypeException",
|
|
405
|
+
$fault: "client",
|
|
406
|
+
...opts,
|
|
407
|
+
});
|
|
408
|
+
this.name = "SsmlMarksNotSupportedForTextTypeException";
|
|
409
|
+
this.$fault = "client";
|
|
410
|
+
Object.setPrototypeOf(this, SsmlMarksNotSupportedForTextTypeException.prototype);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
exports.SsmlMarksNotSupportedForTextTypeException = SsmlMarksNotSupportedForTextTypeException;
|
|
153
414
|
var StartSpeechSynthesisTaskInput;
|
|
154
415
|
(function (StartSpeechSynthesisTaskInput) {
|
|
155
416
|
StartSpeechSynthesisTaskInput.filterSensitiveLog = (obj) => ({
|
|
@@ -162,6 +423,19 @@ var StartSpeechSynthesisTaskOutput;
|
|
|
162
423
|
...obj,
|
|
163
424
|
});
|
|
164
425
|
})(StartSpeechSynthesisTaskOutput = exports.StartSpeechSynthesisTaskOutput || (exports.StartSpeechSynthesisTaskOutput = {}));
|
|
426
|
+
class TextLengthExceededException extends PollyServiceException_1.PollyServiceException {
|
|
427
|
+
constructor(opts) {
|
|
428
|
+
super({
|
|
429
|
+
name: "TextLengthExceededException",
|
|
430
|
+
$fault: "client",
|
|
431
|
+
...opts,
|
|
432
|
+
});
|
|
433
|
+
this.name = "TextLengthExceededException";
|
|
434
|
+
this.$fault = "client";
|
|
435
|
+
Object.setPrototypeOf(this, TextLengthExceededException.prototype);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
exports.TextLengthExceededException = TextLengthExceededException;
|
|
165
439
|
var SynthesizeSpeechInput;
|
|
166
440
|
(function (SynthesizeSpeechInput) {
|
|
167
441
|
SynthesizeSpeechInput.filterSensitiveLog = (obj) => ({
|