@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/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var PollyServiceException = (function (_super) {
|
|
4
|
+
__extends(PollyServiceException, _super);
|
|
5
|
+
function PollyServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, PollyServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return PollyServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { PollyServiceException };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { PollyServiceException as __BaseException } from "./PollyServiceException";
|
|
3
4
|
export var DeleteLexiconInput;
|
|
4
5
|
(function (DeleteLexiconInput) {
|
|
5
6
|
DeleteLexiconInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -8,6 +9,30 @@ export var DeleteLexiconOutput;
|
|
|
8
9
|
(function (DeleteLexiconOutput) {
|
|
9
10
|
DeleteLexiconOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
10
11
|
})(DeleteLexiconOutput || (DeleteLexiconOutput = {}));
|
|
12
|
+
var LexiconNotFoundException = (function (_super) {
|
|
13
|
+
__extends(LexiconNotFoundException, _super);
|
|
14
|
+
function LexiconNotFoundException(opts) {
|
|
15
|
+
var _this = _super.call(this, __assign({ name: "LexiconNotFoundException", $fault: "client" }, opts)) || this;
|
|
16
|
+
_this.name = "LexiconNotFoundException";
|
|
17
|
+
_this.$fault = "client";
|
|
18
|
+
Object.setPrototypeOf(_this, LexiconNotFoundException.prototype);
|
|
19
|
+
return _this;
|
|
20
|
+
}
|
|
21
|
+
return LexiconNotFoundException;
|
|
22
|
+
}(__BaseException));
|
|
23
|
+
export { LexiconNotFoundException };
|
|
24
|
+
var ServiceFailureException = (function (_super) {
|
|
25
|
+
__extends(ServiceFailureException, _super);
|
|
26
|
+
function ServiceFailureException(opts) {
|
|
27
|
+
var _this = _super.call(this, __assign({ name: "ServiceFailureException", $fault: "server" }, opts)) || this;
|
|
28
|
+
_this.name = "ServiceFailureException";
|
|
29
|
+
_this.$fault = "server";
|
|
30
|
+
Object.setPrototypeOf(_this, ServiceFailureException.prototype);
|
|
31
|
+
return _this;
|
|
32
|
+
}
|
|
33
|
+
return ServiceFailureException;
|
|
34
|
+
}(__BaseException));
|
|
35
|
+
export { ServiceFailureException };
|
|
11
36
|
export var Engine;
|
|
12
37
|
(function (Engine) {
|
|
13
38
|
Engine["NEURAL"] = "neural";
|
|
@@ -25,6 +50,30 @@ export var DescribeVoicesOutput;
|
|
|
25
50
|
(function (DescribeVoicesOutput) {
|
|
26
51
|
DescribeVoicesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
27
52
|
})(DescribeVoicesOutput || (DescribeVoicesOutput = {}));
|
|
53
|
+
var InvalidNextTokenException = (function (_super) {
|
|
54
|
+
__extends(InvalidNextTokenException, _super);
|
|
55
|
+
function InvalidNextTokenException(opts) {
|
|
56
|
+
var _this = _super.call(this, __assign({ name: "InvalidNextTokenException", $fault: "client" }, opts)) || this;
|
|
57
|
+
_this.name = "InvalidNextTokenException";
|
|
58
|
+
_this.$fault = "client";
|
|
59
|
+
Object.setPrototypeOf(_this, InvalidNextTokenException.prototype);
|
|
60
|
+
return _this;
|
|
61
|
+
}
|
|
62
|
+
return InvalidNextTokenException;
|
|
63
|
+
}(__BaseException));
|
|
64
|
+
export { InvalidNextTokenException };
|
|
65
|
+
var EngineNotSupportedException = (function (_super) {
|
|
66
|
+
__extends(EngineNotSupportedException, _super);
|
|
67
|
+
function EngineNotSupportedException(opts) {
|
|
68
|
+
var _this = _super.call(this, __assign({ name: "EngineNotSupportedException", $fault: "client" }, opts)) || this;
|
|
69
|
+
_this.name = "EngineNotSupportedException";
|
|
70
|
+
_this.$fault = "client";
|
|
71
|
+
Object.setPrototypeOf(_this, EngineNotSupportedException.prototype);
|
|
72
|
+
return _this;
|
|
73
|
+
}
|
|
74
|
+
return EngineNotSupportedException;
|
|
75
|
+
}(__BaseException));
|
|
76
|
+
export { EngineNotSupportedException };
|
|
28
77
|
export var GetLexiconInput;
|
|
29
78
|
(function (GetLexiconInput) {
|
|
30
79
|
GetLexiconInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -79,10 +128,130 @@ export var GetSpeechSynthesisTaskOutput;
|
|
|
79
128
|
(function (GetSpeechSynthesisTaskOutput) {
|
|
80
129
|
GetSpeechSynthesisTaskOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
81
130
|
})(GetSpeechSynthesisTaskOutput || (GetSpeechSynthesisTaskOutput = {}));
|
|
131
|
+
var InvalidTaskIdException = (function (_super) {
|
|
132
|
+
__extends(InvalidTaskIdException, _super);
|
|
133
|
+
function InvalidTaskIdException(opts) {
|
|
134
|
+
var _this = _super.call(this, __assign({ name: "InvalidTaskIdException", $fault: "client" }, opts)) || this;
|
|
135
|
+
_this.name = "InvalidTaskIdException";
|
|
136
|
+
_this.$fault = "client";
|
|
137
|
+
Object.setPrototypeOf(_this, InvalidTaskIdException.prototype);
|
|
138
|
+
return _this;
|
|
139
|
+
}
|
|
140
|
+
return InvalidTaskIdException;
|
|
141
|
+
}(__BaseException));
|
|
142
|
+
export { InvalidTaskIdException };
|
|
143
|
+
var SynthesisTaskNotFoundException = (function (_super) {
|
|
144
|
+
__extends(SynthesisTaskNotFoundException, _super);
|
|
145
|
+
function SynthesisTaskNotFoundException(opts) {
|
|
146
|
+
var _this = _super.call(this, __assign({ name: "SynthesisTaskNotFoundException", $fault: "client" }, opts)) || this;
|
|
147
|
+
_this.name = "SynthesisTaskNotFoundException";
|
|
148
|
+
_this.$fault = "client";
|
|
149
|
+
Object.setPrototypeOf(_this, SynthesisTaskNotFoundException.prototype);
|
|
150
|
+
return _this;
|
|
151
|
+
}
|
|
152
|
+
return SynthesisTaskNotFoundException;
|
|
153
|
+
}(__BaseException));
|
|
154
|
+
export { SynthesisTaskNotFoundException };
|
|
155
|
+
var InvalidLexiconException = (function (_super) {
|
|
156
|
+
__extends(InvalidLexiconException, _super);
|
|
157
|
+
function InvalidLexiconException(opts) {
|
|
158
|
+
var _this = _super.call(this, __assign({ name: "InvalidLexiconException", $fault: "client" }, opts)) || this;
|
|
159
|
+
_this.name = "InvalidLexiconException";
|
|
160
|
+
_this.$fault = "client";
|
|
161
|
+
Object.setPrototypeOf(_this, InvalidLexiconException.prototype);
|
|
162
|
+
return _this;
|
|
163
|
+
}
|
|
164
|
+
return InvalidLexiconException;
|
|
165
|
+
}(__BaseException));
|
|
166
|
+
export { InvalidLexiconException };
|
|
167
|
+
var InvalidS3BucketException = (function (_super) {
|
|
168
|
+
__extends(InvalidS3BucketException, _super);
|
|
169
|
+
function InvalidS3BucketException(opts) {
|
|
170
|
+
var _this = _super.call(this, __assign({ name: "InvalidS3BucketException", $fault: "client" }, opts)) || this;
|
|
171
|
+
_this.name = "InvalidS3BucketException";
|
|
172
|
+
_this.$fault = "client";
|
|
173
|
+
Object.setPrototypeOf(_this, InvalidS3BucketException.prototype);
|
|
174
|
+
return _this;
|
|
175
|
+
}
|
|
176
|
+
return InvalidS3BucketException;
|
|
177
|
+
}(__BaseException));
|
|
178
|
+
export { InvalidS3BucketException };
|
|
179
|
+
var InvalidS3KeyException = (function (_super) {
|
|
180
|
+
__extends(InvalidS3KeyException, _super);
|
|
181
|
+
function InvalidS3KeyException(opts) {
|
|
182
|
+
var _this = _super.call(this, __assign({ name: "InvalidS3KeyException", $fault: "client" }, opts)) || this;
|
|
183
|
+
_this.name = "InvalidS3KeyException";
|
|
184
|
+
_this.$fault = "client";
|
|
185
|
+
Object.setPrototypeOf(_this, InvalidS3KeyException.prototype);
|
|
186
|
+
return _this;
|
|
187
|
+
}
|
|
188
|
+
return InvalidS3KeyException;
|
|
189
|
+
}(__BaseException));
|
|
190
|
+
export { InvalidS3KeyException };
|
|
191
|
+
var InvalidSampleRateException = (function (_super) {
|
|
192
|
+
__extends(InvalidSampleRateException, _super);
|
|
193
|
+
function InvalidSampleRateException(opts) {
|
|
194
|
+
var _this = _super.call(this, __assign({ name: "InvalidSampleRateException", $fault: "client" }, opts)) || this;
|
|
195
|
+
_this.name = "InvalidSampleRateException";
|
|
196
|
+
_this.$fault = "client";
|
|
197
|
+
Object.setPrototypeOf(_this, InvalidSampleRateException.prototype);
|
|
198
|
+
return _this;
|
|
199
|
+
}
|
|
200
|
+
return InvalidSampleRateException;
|
|
201
|
+
}(__BaseException));
|
|
202
|
+
export { InvalidSampleRateException };
|
|
203
|
+
var InvalidSnsTopicArnException = (function (_super) {
|
|
204
|
+
__extends(InvalidSnsTopicArnException, _super);
|
|
205
|
+
function InvalidSnsTopicArnException(opts) {
|
|
206
|
+
var _this = _super.call(this, __assign({ name: "InvalidSnsTopicArnException", $fault: "client" }, opts)) || this;
|
|
207
|
+
_this.name = "InvalidSnsTopicArnException";
|
|
208
|
+
_this.$fault = "client";
|
|
209
|
+
Object.setPrototypeOf(_this, InvalidSnsTopicArnException.prototype);
|
|
210
|
+
return _this;
|
|
211
|
+
}
|
|
212
|
+
return InvalidSnsTopicArnException;
|
|
213
|
+
}(__BaseException));
|
|
214
|
+
export { InvalidSnsTopicArnException };
|
|
215
|
+
var InvalidSsmlException = (function (_super) {
|
|
216
|
+
__extends(InvalidSsmlException, _super);
|
|
217
|
+
function InvalidSsmlException(opts) {
|
|
218
|
+
var _this = _super.call(this, __assign({ name: "InvalidSsmlException", $fault: "client" }, opts)) || this;
|
|
219
|
+
_this.name = "InvalidSsmlException";
|
|
220
|
+
_this.$fault = "client";
|
|
221
|
+
Object.setPrototypeOf(_this, InvalidSsmlException.prototype);
|
|
222
|
+
return _this;
|
|
223
|
+
}
|
|
224
|
+
return InvalidSsmlException;
|
|
225
|
+
}(__BaseException));
|
|
226
|
+
export { InvalidSsmlException };
|
|
227
|
+
var LanguageNotSupportedException = (function (_super) {
|
|
228
|
+
__extends(LanguageNotSupportedException, _super);
|
|
229
|
+
function LanguageNotSupportedException(opts) {
|
|
230
|
+
var _this = _super.call(this, __assign({ name: "LanguageNotSupportedException", $fault: "client" }, opts)) || this;
|
|
231
|
+
_this.name = "LanguageNotSupportedException";
|
|
232
|
+
_this.$fault = "client";
|
|
233
|
+
Object.setPrototypeOf(_this, LanguageNotSupportedException.prototype);
|
|
234
|
+
return _this;
|
|
235
|
+
}
|
|
236
|
+
return LanguageNotSupportedException;
|
|
237
|
+
}(__BaseException));
|
|
238
|
+
export { LanguageNotSupportedException };
|
|
82
239
|
export var LexiconDescription;
|
|
83
240
|
(function (LexiconDescription) {
|
|
84
241
|
LexiconDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
242
|
})(LexiconDescription || (LexiconDescription = {}));
|
|
243
|
+
var LexiconSizeExceededException = (function (_super) {
|
|
244
|
+
__extends(LexiconSizeExceededException, _super);
|
|
245
|
+
function LexiconSizeExceededException(opts) {
|
|
246
|
+
var _this = _super.call(this, __assign({ name: "LexiconSizeExceededException", $fault: "client" }, opts)) || this;
|
|
247
|
+
_this.name = "LexiconSizeExceededException";
|
|
248
|
+
_this.$fault = "client";
|
|
249
|
+
Object.setPrototypeOf(_this, LexiconSizeExceededException.prototype);
|
|
250
|
+
return _this;
|
|
251
|
+
}
|
|
252
|
+
return LexiconSizeExceededException;
|
|
253
|
+
}(__BaseException));
|
|
254
|
+
export { LexiconSizeExceededException };
|
|
86
255
|
export var ListLexiconsInput;
|
|
87
256
|
(function (ListLexiconsInput) {
|
|
88
257
|
ListLexiconsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -99,6 +268,42 @@ export var ListSpeechSynthesisTasksOutput;
|
|
|
99
268
|
(function (ListSpeechSynthesisTasksOutput) {
|
|
100
269
|
ListSpeechSynthesisTasksOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
101
270
|
})(ListSpeechSynthesisTasksOutput || (ListSpeechSynthesisTasksOutput = {}));
|
|
271
|
+
var MarksNotSupportedForFormatException = (function (_super) {
|
|
272
|
+
__extends(MarksNotSupportedForFormatException, _super);
|
|
273
|
+
function MarksNotSupportedForFormatException(opts) {
|
|
274
|
+
var _this = _super.call(this, __assign({ name: "MarksNotSupportedForFormatException", $fault: "client" }, opts)) || this;
|
|
275
|
+
_this.name = "MarksNotSupportedForFormatException";
|
|
276
|
+
_this.$fault = "client";
|
|
277
|
+
Object.setPrototypeOf(_this, MarksNotSupportedForFormatException.prototype);
|
|
278
|
+
return _this;
|
|
279
|
+
}
|
|
280
|
+
return MarksNotSupportedForFormatException;
|
|
281
|
+
}(__BaseException));
|
|
282
|
+
export { MarksNotSupportedForFormatException };
|
|
283
|
+
var MaxLexemeLengthExceededException = (function (_super) {
|
|
284
|
+
__extends(MaxLexemeLengthExceededException, _super);
|
|
285
|
+
function MaxLexemeLengthExceededException(opts) {
|
|
286
|
+
var _this = _super.call(this, __assign({ name: "MaxLexemeLengthExceededException", $fault: "client" }, opts)) || this;
|
|
287
|
+
_this.name = "MaxLexemeLengthExceededException";
|
|
288
|
+
_this.$fault = "client";
|
|
289
|
+
Object.setPrototypeOf(_this, MaxLexemeLengthExceededException.prototype);
|
|
290
|
+
return _this;
|
|
291
|
+
}
|
|
292
|
+
return MaxLexemeLengthExceededException;
|
|
293
|
+
}(__BaseException));
|
|
294
|
+
export { MaxLexemeLengthExceededException };
|
|
295
|
+
var MaxLexiconsNumberExceededException = (function (_super) {
|
|
296
|
+
__extends(MaxLexiconsNumberExceededException, _super);
|
|
297
|
+
function MaxLexiconsNumberExceededException(opts) {
|
|
298
|
+
var _this = _super.call(this, __assign({ name: "MaxLexiconsNumberExceededException", $fault: "client" }, opts)) || this;
|
|
299
|
+
_this.name = "MaxLexiconsNumberExceededException";
|
|
300
|
+
_this.$fault = "client";
|
|
301
|
+
Object.setPrototypeOf(_this, MaxLexiconsNumberExceededException.prototype);
|
|
302
|
+
return _this;
|
|
303
|
+
}
|
|
304
|
+
return MaxLexiconsNumberExceededException;
|
|
305
|
+
}(__BaseException));
|
|
306
|
+
export { MaxLexiconsNumberExceededException };
|
|
102
307
|
export var PutLexiconInput;
|
|
103
308
|
(function (PutLexiconInput) {
|
|
104
309
|
PutLexiconInput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Content && { Content: SENSITIVE_STRING }))); };
|
|
@@ -107,6 +312,42 @@ export var PutLexiconOutput;
|
|
|
107
312
|
(function (PutLexiconOutput) {
|
|
108
313
|
PutLexiconOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
109
314
|
})(PutLexiconOutput || (PutLexiconOutput = {}));
|
|
315
|
+
var UnsupportedPlsAlphabetException = (function (_super) {
|
|
316
|
+
__extends(UnsupportedPlsAlphabetException, _super);
|
|
317
|
+
function UnsupportedPlsAlphabetException(opts) {
|
|
318
|
+
var _this = _super.call(this, __assign({ name: "UnsupportedPlsAlphabetException", $fault: "client" }, opts)) || this;
|
|
319
|
+
_this.name = "UnsupportedPlsAlphabetException";
|
|
320
|
+
_this.$fault = "client";
|
|
321
|
+
Object.setPrototypeOf(_this, UnsupportedPlsAlphabetException.prototype);
|
|
322
|
+
return _this;
|
|
323
|
+
}
|
|
324
|
+
return UnsupportedPlsAlphabetException;
|
|
325
|
+
}(__BaseException));
|
|
326
|
+
export { UnsupportedPlsAlphabetException };
|
|
327
|
+
var UnsupportedPlsLanguageException = (function (_super) {
|
|
328
|
+
__extends(UnsupportedPlsLanguageException, _super);
|
|
329
|
+
function UnsupportedPlsLanguageException(opts) {
|
|
330
|
+
var _this = _super.call(this, __assign({ name: "UnsupportedPlsLanguageException", $fault: "client" }, opts)) || this;
|
|
331
|
+
_this.name = "UnsupportedPlsLanguageException";
|
|
332
|
+
_this.$fault = "client";
|
|
333
|
+
Object.setPrototypeOf(_this, UnsupportedPlsLanguageException.prototype);
|
|
334
|
+
return _this;
|
|
335
|
+
}
|
|
336
|
+
return UnsupportedPlsLanguageException;
|
|
337
|
+
}(__BaseException));
|
|
338
|
+
export { UnsupportedPlsLanguageException };
|
|
339
|
+
var SsmlMarksNotSupportedForTextTypeException = (function (_super) {
|
|
340
|
+
__extends(SsmlMarksNotSupportedForTextTypeException, _super);
|
|
341
|
+
function SsmlMarksNotSupportedForTextTypeException(opts) {
|
|
342
|
+
var _this = _super.call(this, __assign({ name: "SsmlMarksNotSupportedForTextTypeException", $fault: "client" }, opts)) || this;
|
|
343
|
+
_this.name = "SsmlMarksNotSupportedForTextTypeException";
|
|
344
|
+
_this.$fault = "client";
|
|
345
|
+
Object.setPrototypeOf(_this, SsmlMarksNotSupportedForTextTypeException.prototype);
|
|
346
|
+
return _this;
|
|
347
|
+
}
|
|
348
|
+
return SsmlMarksNotSupportedForTextTypeException;
|
|
349
|
+
}(__BaseException));
|
|
350
|
+
export { SsmlMarksNotSupportedForTextTypeException };
|
|
110
351
|
export var StartSpeechSynthesisTaskInput;
|
|
111
352
|
(function (StartSpeechSynthesisTaskInput) {
|
|
112
353
|
StartSpeechSynthesisTaskInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -115,6 +356,18 @@ export var StartSpeechSynthesisTaskOutput;
|
|
|
115
356
|
(function (StartSpeechSynthesisTaskOutput) {
|
|
116
357
|
StartSpeechSynthesisTaskOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
117
358
|
})(StartSpeechSynthesisTaskOutput || (StartSpeechSynthesisTaskOutput = {}));
|
|
359
|
+
var TextLengthExceededException = (function (_super) {
|
|
360
|
+
__extends(TextLengthExceededException, _super);
|
|
361
|
+
function TextLengthExceededException(opts) {
|
|
362
|
+
var _this = _super.call(this, __assign({ name: "TextLengthExceededException", $fault: "client" }, opts)) || this;
|
|
363
|
+
_this.name = "TextLengthExceededException";
|
|
364
|
+
_this.$fault = "client";
|
|
365
|
+
Object.setPrototypeOf(_this, TextLengthExceededException.prototype);
|
|
366
|
+
return _this;
|
|
367
|
+
}
|
|
368
|
+
return TextLengthExceededException;
|
|
369
|
+
}(__BaseException));
|
|
370
|
+
export { TextLengthExceededException };
|
|
118
371
|
export var SynthesizeSpeechInput;
|
|
119
372
|
(function (SynthesizeSpeechInput) {
|
|
120
373
|
SynthesizeSpeechInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|