@aws-sdk/client-polly 3.987.0 → 3.989.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 +28 -736
- package/dist-cjs/models/PollyServiceException.js +12 -0
- package/dist-cjs/models/errors.js +277 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +407 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +128 -122
- package/dist-types/schemas/schemas_0.d.ts +27 -20
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -20
- package/package.json +14 -14
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetSpeechSynthesisTask$ = exports.GetLexicon$ = exports.DescribeVoices$ = exports.DeleteLexicon$ = exports.Voice$ = exports.SynthesizeSpeechOutput$ = exports.SynthesizeSpeechInput$ = exports.SynthesisTask$ = exports.StartSpeechSynthesisTaskOutput$ = exports.StartSpeechSynthesisTaskInput$ = exports.PutLexiconOutput$ = exports.PutLexiconInput$ = exports.ListSpeechSynthesisTasksOutput$ = exports.ListSpeechSynthesisTasksInput$ = exports.ListLexiconsOutput$ = exports.ListLexiconsInput$ = exports.LexiconDescription$ = exports.LexiconAttributes$ = exports.Lexicon$ = exports.GetSpeechSynthesisTaskOutput$ = exports.GetSpeechSynthesisTaskInput$ = exports.GetLexiconOutput$ = exports.GetLexiconInput$ = exports.DescribeVoicesOutput$ = exports.DescribeVoicesInput$ = exports.DeleteLexiconOutput$ = exports.DeleteLexiconInput$ = exports.errorTypeRegistries = exports.UnsupportedPlsLanguageException$ = exports.UnsupportedPlsAlphabetException$ = exports.TextLengthExceededException$ = exports.SynthesisTaskNotFoundException$ = exports.SsmlMarksNotSupportedForTextTypeException$ = exports.ServiceFailureException$ = exports.MaxLexiconsNumberExceededException$ = exports.MaxLexemeLengthExceededException$ = exports.MarksNotSupportedForFormatException$ = exports.LexiconSizeExceededException$ = exports.LexiconNotFoundException$ = exports.LanguageNotSupportedException$ = exports.InvalidTaskIdException$ = exports.InvalidSsmlException$ = exports.InvalidSnsTopicArnException$ = exports.InvalidSampleRateException$ = exports.InvalidS3KeyException$ = exports.InvalidS3BucketException$ = exports.InvalidNextTokenException$ = exports.InvalidLexiconException$ = exports.EngineNotSupportedException$ = exports.PollyServiceException$ = void 0;
|
|
4
|
+
exports.SynthesizeSpeech$ = exports.StartSpeechSynthesisTask$ = exports.PutLexicon$ = exports.ListSpeechSynthesisTasks$ = exports.ListLexicons$ = void 0;
|
|
5
|
+
const _A = "Alphabet";
|
|
6
|
+
const _ALC = "AdditionalLanguageCodes";
|
|
7
|
+
const _AS = "AudioStream";
|
|
8
|
+
const _At = "Attributes";
|
|
9
|
+
const _C = "Content";
|
|
10
|
+
const _CT = "CreationTime";
|
|
11
|
+
const _CT_ = "Content-Type";
|
|
12
|
+
const _CTo = "ContentType";
|
|
13
|
+
const _DL = "DeleteLexicon";
|
|
14
|
+
const _DLI = "DeleteLexiconInput";
|
|
15
|
+
const _DLO = "DeleteLexiconOutput";
|
|
16
|
+
const _DV = "DescribeVoices";
|
|
17
|
+
const _DVI = "DescribeVoicesInput";
|
|
18
|
+
const _DVO = "DescribeVoicesOutput";
|
|
19
|
+
const _E = "Engine";
|
|
20
|
+
const _ENSE = "EngineNotSupportedException";
|
|
21
|
+
const _G = "Gender";
|
|
22
|
+
const _GL = "GetLexicon";
|
|
23
|
+
const _GLI = "GetLexiconInput";
|
|
24
|
+
const _GLO = "GetLexiconOutput";
|
|
25
|
+
const _GSST = "GetSpeechSynthesisTask";
|
|
26
|
+
const _GSSTI = "GetSpeechSynthesisTaskInput";
|
|
27
|
+
const _GSSTO = "GetSpeechSynthesisTaskOutput";
|
|
28
|
+
const _I = "Id";
|
|
29
|
+
const _IALC = "IncludeAdditionalLanguageCodes";
|
|
30
|
+
const _ILE = "InvalidLexiconException";
|
|
31
|
+
const _INTE = "InvalidNextTokenException";
|
|
32
|
+
const _ISBE = "InvalidS3BucketException";
|
|
33
|
+
const _ISE = "InvalidSsmlException";
|
|
34
|
+
const _ISKE = "InvalidS3KeyException";
|
|
35
|
+
const _ISRE = "InvalidSampleRateException";
|
|
36
|
+
const _ISTAE = "InvalidSnsTopicArnException";
|
|
37
|
+
const _ITIE = "InvalidTaskIdException";
|
|
38
|
+
const _L = "Lexicon";
|
|
39
|
+
const _LA = "LexiconAttributes";
|
|
40
|
+
const _LAe = "LexiconArn";
|
|
41
|
+
const _LC = "LexiconContent";
|
|
42
|
+
const _LCa = "LanguageCode";
|
|
43
|
+
const _LCe = "LexemesCount";
|
|
44
|
+
const _LD = "LexiconDescription";
|
|
45
|
+
const _LDL = "LexiconDescriptionList";
|
|
46
|
+
const _LL = "ListLexicons";
|
|
47
|
+
const _LLI = "ListLexiconsInput";
|
|
48
|
+
const _LLO = "ListLexiconsOutput";
|
|
49
|
+
const _LM = "LastModified";
|
|
50
|
+
const _LN = "LexiconNames";
|
|
51
|
+
const _LNFE = "LexiconNotFoundException";
|
|
52
|
+
const _LNSE = "LanguageNotSupportedException";
|
|
53
|
+
const _LNa = "LanguageName";
|
|
54
|
+
const _LSEE = "LexiconSizeExceededException";
|
|
55
|
+
const _LSST = "ListSpeechSynthesisTasks";
|
|
56
|
+
const _LSSTI = "ListSpeechSynthesisTasksInput";
|
|
57
|
+
const _LSSTO = "ListSpeechSynthesisTasksOutput";
|
|
58
|
+
const _Le = "Lexicons";
|
|
59
|
+
const _MLLEE = "MaxLexemeLengthExceededException";
|
|
60
|
+
const _MLNEE = "MaxLexiconsNumberExceededException";
|
|
61
|
+
const _MNSFFE = "MarksNotSupportedForFormatException";
|
|
62
|
+
const _MR = "MaxResults";
|
|
63
|
+
const _N = "Name";
|
|
64
|
+
const _NT = "NextToken";
|
|
65
|
+
const _OF = "OutputFormat";
|
|
66
|
+
const _OSBN = "OutputS3BucketName";
|
|
67
|
+
const _OSKP = "OutputS3KeyPrefix";
|
|
68
|
+
const _OU = "OutputUri";
|
|
69
|
+
const _PL = "PutLexicon";
|
|
70
|
+
const _PLI = "PutLexiconInput";
|
|
71
|
+
const _PLO = "PutLexiconOutput";
|
|
72
|
+
const _RC = "RequestCharacters";
|
|
73
|
+
const _S = "Size";
|
|
74
|
+
const _SE = "SupportedEngines";
|
|
75
|
+
const _SFE = "ServiceFailureException";
|
|
76
|
+
const _SMNSFTTE = "SsmlMarksNotSupportedForTextTypeException";
|
|
77
|
+
const _SMT = "SpeechMarkTypes";
|
|
78
|
+
const _SR = "SampleRate";
|
|
79
|
+
const _SS = "SynthesizeSpeech";
|
|
80
|
+
const _SSI = "SynthesizeSpeechInput";
|
|
81
|
+
const _SSO = "SynthesizeSpeechOutput";
|
|
82
|
+
const _SSST = "StartSpeechSynthesisTask";
|
|
83
|
+
const _SSSTI = "StartSpeechSynthesisTaskInput";
|
|
84
|
+
const _SSSTO = "StartSpeechSynthesisTaskOutput";
|
|
85
|
+
const _ST = "SynthesisTask";
|
|
86
|
+
const _STA = "SnsTopicArn";
|
|
87
|
+
const _STNFE = "SynthesisTaskNotFoundException";
|
|
88
|
+
const _STy = "SynthesisTasks";
|
|
89
|
+
const _St = "Status";
|
|
90
|
+
const _T = "Text";
|
|
91
|
+
const _TI = "TaskId";
|
|
92
|
+
const _TLEE = "TextLengthExceededException";
|
|
93
|
+
const _TS = "TaskStatus";
|
|
94
|
+
const _TSR = "TaskStatusReason";
|
|
95
|
+
const _TT = "TextType";
|
|
96
|
+
const _UPAE = "UnsupportedPlsAlphabetException";
|
|
97
|
+
const _UPLE = "UnsupportedPlsLanguageException";
|
|
98
|
+
const _V = "Voices";
|
|
99
|
+
const _VI = "VoiceId";
|
|
100
|
+
const _VL = "VoiceList";
|
|
101
|
+
const _Vo = "Voice";
|
|
102
|
+
const _c = "client";
|
|
103
|
+
const _e = "error";
|
|
104
|
+
const _h = "http";
|
|
105
|
+
const _hE = "httpError";
|
|
106
|
+
const _hH = "httpHeader";
|
|
107
|
+
const _hQ = "httpQuery";
|
|
108
|
+
const _m = "message";
|
|
109
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.polly";
|
|
110
|
+
const _se = "server";
|
|
111
|
+
const _st = "streaming";
|
|
112
|
+
const _xaR = "x-amzn-RequestCharacters";
|
|
113
|
+
const n0 = "com.amazonaws.polly";
|
|
114
|
+
const schema_1 = require("@smithy/core/schema");
|
|
115
|
+
const errors_1 = require("../models/errors");
|
|
116
|
+
const PollyServiceException_1 = require("../models/PollyServiceException");
|
|
117
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
118
|
+
exports.PollyServiceException$ = [-3, _s, "PollyServiceException", 0, [], []];
|
|
119
|
+
_s_registry.registerError(exports.PollyServiceException$, PollyServiceException_1.PollyServiceException);
|
|
120
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
121
|
+
exports.EngineNotSupportedException$ = [-3, n0, _ENSE,
|
|
122
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
123
|
+
[_m],
|
|
124
|
+
[0]
|
|
125
|
+
];
|
|
126
|
+
n0_registry.registerError(exports.EngineNotSupportedException$, errors_1.EngineNotSupportedException);
|
|
127
|
+
exports.InvalidLexiconException$ = [-3, n0, _ILE,
|
|
128
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
129
|
+
[_m],
|
|
130
|
+
[0]
|
|
131
|
+
];
|
|
132
|
+
n0_registry.registerError(exports.InvalidLexiconException$, errors_1.InvalidLexiconException);
|
|
133
|
+
exports.InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
134
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
135
|
+
[_m],
|
|
136
|
+
[0]
|
|
137
|
+
];
|
|
138
|
+
n0_registry.registerError(exports.InvalidNextTokenException$, errors_1.InvalidNextTokenException);
|
|
139
|
+
exports.InvalidS3BucketException$ = [-3, n0, _ISBE,
|
|
140
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
141
|
+
[_m],
|
|
142
|
+
[0]
|
|
143
|
+
];
|
|
144
|
+
n0_registry.registerError(exports.InvalidS3BucketException$, errors_1.InvalidS3BucketException);
|
|
145
|
+
exports.InvalidS3KeyException$ = [-3, n0, _ISKE,
|
|
146
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
147
|
+
[_m],
|
|
148
|
+
[0]
|
|
149
|
+
];
|
|
150
|
+
n0_registry.registerError(exports.InvalidS3KeyException$, errors_1.InvalidS3KeyException);
|
|
151
|
+
exports.InvalidSampleRateException$ = [-3, n0, _ISRE,
|
|
152
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
153
|
+
[_m],
|
|
154
|
+
[0]
|
|
155
|
+
];
|
|
156
|
+
n0_registry.registerError(exports.InvalidSampleRateException$, errors_1.InvalidSampleRateException);
|
|
157
|
+
exports.InvalidSnsTopicArnException$ = [-3, n0, _ISTAE,
|
|
158
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
159
|
+
[_m],
|
|
160
|
+
[0]
|
|
161
|
+
];
|
|
162
|
+
n0_registry.registerError(exports.InvalidSnsTopicArnException$, errors_1.InvalidSnsTopicArnException);
|
|
163
|
+
exports.InvalidSsmlException$ = [-3, n0, _ISE,
|
|
164
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
165
|
+
[_m],
|
|
166
|
+
[0]
|
|
167
|
+
];
|
|
168
|
+
n0_registry.registerError(exports.InvalidSsmlException$, errors_1.InvalidSsmlException);
|
|
169
|
+
exports.InvalidTaskIdException$ = [-3, n0, _ITIE,
|
|
170
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
171
|
+
[_m],
|
|
172
|
+
[0]
|
|
173
|
+
];
|
|
174
|
+
n0_registry.registerError(exports.InvalidTaskIdException$, errors_1.InvalidTaskIdException);
|
|
175
|
+
exports.LanguageNotSupportedException$ = [-3, n0, _LNSE,
|
|
176
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
177
|
+
[_m],
|
|
178
|
+
[0]
|
|
179
|
+
];
|
|
180
|
+
n0_registry.registerError(exports.LanguageNotSupportedException$, errors_1.LanguageNotSupportedException);
|
|
181
|
+
exports.LexiconNotFoundException$ = [-3, n0, _LNFE,
|
|
182
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
183
|
+
[_m],
|
|
184
|
+
[0]
|
|
185
|
+
];
|
|
186
|
+
n0_registry.registerError(exports.LexiconNotFoundException$, errors_1.LexiconNotFoundException);
|
|
187
|
+
exports.LexiconSizeExceededException$ = [-3, n0, _LSEE,
|
|
188
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
189
|
+
[_m],
|
|
190
|
+
[0]
|
|
191
|
+
];
|
|
192
|
+
n0_registry.registerError(exports.LexiconSizeExceededException$, errors_1.LexiconSizeExceededException);
|
|
193
|
+
exports.MarksNotSupportedForFormatException$ = [-3, n0, _MNSFFE,
|
|
194
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
195
|
+
[_m],
|
|
196
|
+
[0]
|
|
197
|
+
];
|
|
198
|
+
n0_registry.registerError(exports.MarksNotSupportedForFormatException$, errors_1.MarksNotSupportedForFormatException);
|
|
199
|
+
exports.MaxLexemeLengthExceededException$ = [-3, n0, _MLLEE,
|
|
200
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
201
|
+
[_m],
|
|
202
|
+
[0]
|
|
203
|
+
];
|
|
204
|
+
n0_registry.registerError(exports.MaxLexemeLengthExceededException$, errors_1.MaxLexemeLengthExceededException);
|
|
205
|
+
exports.MaxLexiconsNumberExceededException$ = [-3, n0, _MLNEE,
|
|
206
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
207
|
+
[_m],
|
|
208
|
+
[0]
|
|
209
|
+
];
|
|
210
|
+
n0_registry.registerError(exports.MaxLexiconsNumberExceededException$, errors_1.MaxLexiconsNumberExceededException);
|
|
211
|
+
exports.ServiceFailureException$ = [-3, n0, _SFE,
|
|
212
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
213
|
+
[_m],
|
|
214
|
+
[0]
|
|
215
|
+
];
|
|
216
|
+
n0_registry.registerError(exports.ServiceFailureException$, errors_1.ServiceFailureException);
|
|
217
|
+
exports.SsmlMarksNotSupportedForTextTypeException$ = [-3, n0, _SMNSFTTE,
|
|
218
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
219
|
+
[_m],
|
|
220
|
+
[0]
|
|
221
|
+
];
|
|
222
|
+
n0_registry.registerError(exports.SsmlMarksNotSupportedForTextTypeException$, errors_1.SsmlMarksNotSupportedForTextTypeException);
|
|
223
|
+
exports.SynthesisTaskNotFoundException$ = [-3, n0, _STNFE,
|
|
224
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
225
|
+
[_m],
|
|
226
|
+
[0]
|
|
227
|
+
];
|
|
228
|
+
n0_registry.registerError(exports.SynthesisTaskNotFoundException$, errors_1.SynthesisTaskNotFoundException);
|
|
229
|
+
exports.TextLengthExceededException$ = [-3, n0, _TLEE,
|
|
230
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
231
|
+
[_m],
|
|
232
|
+
[0]
|
|
233
|
+
];
|
|
234
|
+
n0_registry.registerError(exports.TextLengthExceededException$, errors_1.TextLengthExceededException);
|
|
235
|
+
exports.UnsupportedPlsAlphabetException$ = [-3, n0, _UPAE,
|
|
236
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
237
|
+
[_m],
|
|
238
|
+
[0]
|
|
239
|
+
];
|
|
240
|
+
n0_registry.registerError(exports.UnsupportedPlsAlphabetException$, errors_1.UnsupportedPlsAlphabetException);
|
|
241
|
+
exports.UnsupportedPlsLanguageException$ = [-3, n0, _UPLE,
|
|
242
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
243
|
+
[_m],
|
|
244
|
+
[0]
|
|
245
|
+
];
|
|
246
|
+
n0_registry.registerError(exports.UnsupportedPlsLanguageException$, errors_1.UnsupportedPlsLanguageException);
|
|
247
|
+
exports.errorTypeRegistries = [
|
|
248
|
+
_s_registry,
|
|
249
|
+
n0_registry,
|
|
250
|
+
];
|
|
251
|
+
var AudioStream = [0, n0, _AS, { [_st]: 1 }, 42];
|
|
252
|
+
var LexiconContent = [0, n0, _LC, 8, 0];
|
|
253
|
+
exports.DeleteLexiconInput$ = [3, n0, _DLI,
|
|
254
|
+
0,
|
|
255
|
+
[_N],
|
|
256
|
+
[[0, 1]], 1
|
|
257
|
+
];
|
|
258
|
+
exports.DeleteLexiconOutput$ = [3, n0, _DLO,
|
|
259
|
+
0,
|
|
260
|
+
[],
|
|
261
|
+
[]
|
|
262
|
+
];
|
|
263
|
+
exports.DescribeVoicesInput$ = [3, n0, _DVI,
|
|
264
|
+
0,
|
|
265
|
+
[_E, _LCa, _IALC, _NT],
|
|
266
|
+
[[0, { [_hQ]: _E }], [0, { [_hQ]: _LCa }], [2, { [_hQ]: _IALC }], [0, { [_hQ]: _NT }]]
|
|
267
|
+
];
|
|
268
|
+
exports.DescribeVoicesOutput$ = [3, n0, _DVO,
|
|
269
|
+
0,
|
|
270
|
+
[_V, _NT],
|
|
271
|
+
[() => VoiceList, 0]
|
|
272
|
+
];
|
|
273
|
+
exports.GetLexiconInput$ = [3, n0, _GLI,
|
|
274
|
+
0,
|
|
275
|
+
[_N],
|
|
276
|
+
[[0, 1]], 1
|
|
277
|
+
];
|
|
278
|
+
exports.GetLexiconOutput$ = [3, n0, _GLO,
|
|
279
|
+
0,
|
|
280
|
+
[_L, _LA],
|
|
281
|
+
[[() => exports.Lexicon$, 0], () => exports.LexiconAttributes$]
|
|
282
|
+
];
|
|
283
|
+
exports.GetSpeechSynthesisTaskInput$ = [3, n0, _GSSTI,
|
|
284
|
+
0,
|
|
285
|
+
[_TI],
|
|
286
|
+
[[0, 1]], 1
|
|
287
|
+
];
|
|
288
|
+
exports.GetSpeechSynthesisTaskOutput$ = [3, n0, _GSSTO,
|
|
289
|
+
0,
|
|
290
|
+
[_ST],
|
|
291
|
+
[() => exports.SynthesisTask$]
|
|
292
|
+
];
|
|
293
|
+
exports.Lexicon$ = [3, n0, _L,
|
|
294
|
+
0,
|
|
295
|
+
[_C, _N],
|
|
296
|
+
[[() => LexiconContent, 0], 0]
|
|
297
|
+
];
|
|
298
|
+
exports.LexiconAttributes$ = [3, n0, _LA,
|
|
299
|
+
0,
|
|
300
|
+
[_A, _LCa, _LM, _LAe, _LCe, _S],
|
|
301
|
+
[0, 0, 4, 0, 1, 1]
|
|
302
|
+
];
|
|
303
|
+
exports.LexiconDescription$ = [3, n0, _LD,
|
|
304
|
+
0,
|
|
305
|
+
[_N, _At],
|
|
306
|
+
[0, () => exports.LexiconAttributes$]
|
|
307
|
+
];
|
|
308
|
+
exports.ListLexiconsInput$ = [3, n0, _LLI,
|
|
309
|
+
0,
|
|
310
|
+
[_NT],
|
|
311
|
+
[[0, { [_hQ]: _NT }]]
|
|
312
|
+
];
|
|
313
|
+
exports.ListLexiconsOutput$ = [3, n0, _LLO,
|
|
314
|
+
0,
|
|
315
|
+
[_Le, _NT],
|
|
316
|
+
[() => LexiconDescriptionList, 0]
|
|
317
|
+
];
|
|
318
|
+
exports.ListSpeechSynthesisTasksInput$ = [3, n0, _LSSTI,
|
|
319
|
+
0,
|
|
320
|
+
[_MR, _NT, _St],
|
|
321
|
+
[[1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }], [0, { [_hQ]: _St }]]
|
|
322
|
+
];
|
|
323
|
+
exports.ListSpeechSynthesisTasksOutput$ = [3, n0, _LSSTO,
|
|
324
|
+
0,
|
|
325
|
+
[_NT, _STy],
|
|
326
|
+
[0, () => SynthesisTasks]
|
|
327
|
+
];
|
|
328
|
+
exports.PutLexiconInput$ = [3, n0, _PLI,
|
|
329
|
+
0,
|
|
330
|
+
[_N, _C],
|
|
331
|
+
[[0, 1], [() => LexiconContent, 0]], 2
|
|
332
|
+
];
|
|
333
|
+
exports.PutLexiconOutput$ = [3, n0, _PLO,
|
|
334
|
+
0,
|
|
335
|
+
[],
|
|
336
|
+
[]
|
|
337
|
+
];
|
|
338
|
+
exports.StartSpeechSynthesisTaskInput$ = [3, n0, _SSSTI,
|
|
339
|
+
0,
|
|
340
|
+
[_OF, _OSBN, _T, _VI, _E, _LCa, _LN, _OSKP, _SR, _STA, _SMT, _TT],
|
|
341
|
+
[0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 64 | 0, 0], 4
|
|
342
|
+
];
|
|
343
|
+
exports.StartSpeechSynthesisTaskOutput$ = [3, n0, _SSSTO,
|
|
344
|
+
0,
|
|
345
|
+
[_ST],
|
|
346
|
+
[() => exports.SynthesisTask$]
|
|
347
|
+
];
|
|
348
|
+
exports.SynthesisTask$ = [3, n0, _ST,
|
|
349
|
+
0,
|
|
350
|
+
[_E, _TI, _TS, _TSR, _OU, _CT, _RC, _STA, _LN, _OF, _SR, _SMT, _TT, _VI, _LCa],
|
|
351
|
+
[0, 0, 0, 0, 0, 4, 1, 0, 64 | 0, 0, 0, 64 | 0, 0, 0, 0]
|
|
352
|
+
];
|
|
353
|
+
exports.SynthesizeSpeechInput$ = [3, n0, _SSI,
|
|
354
|
+
0,
|
|
355
|
+
[_OF, _T, _VI, _E, _LCa, _LN, _SR, _SMT, _TT],
|
|
356
|
+
[0, 0, 0, 0, 0, 64 | 0, 0, 64 | 0, 0], 3
|
|
357
|
+
];
|
|
358
|
+
exports.SynthesizeSpeechOutput$ = [3, n0, _SSO,
|
|
359
|
+
0,
|
|
360
|
+
[_AS, _CTo, _RC],
|
|
361
|
+
[[() => AudioStream, 16], [0, { [_hH]: _CT_ }], [1, { [_hH]: _xaR }]]
|
|
362
|
+
];
|
|
363
|
+
exports.Voice$ = [3, n0, _Vo,
|
|
364
|
+
0,
|
|
365
|
+
[_G, _I, _LCa, _LNa, _N, _ALC, _SE],
|
|
366
|
+
[0, 0, 0, 0, 0, 64 | 0, 64 | 0]
|
|
367
|
+
];
|
|
368
|
+
var EngineList = 64 | 0;
|
|
369
|
+
var LanguageCodeList = 64 | 0;
|
|
370
|
+
var LexiconDescriptionList = [1, n0, _LDL,
|
|
371
|
+
0, () => exports.LexiconDescription$
|
|
372
|
+
];
|
|
373
|
+
var LexiconNameList = 64 | 0;
|
|
374
|
+
var SpeechMarkTypeList = 64 | 0;
|
|
375
|
+
var SynthesisTasks = [1, n0, _STy,
|
|
376
|
+
0, () => exports.SynthesisTask$
|
|
377
|
+
];
|
|
378
|
+
var VoiceList = [1, n0, _VL,
|
|
379
|
+
0, () => exports.Voice$
|
|
380
|
+
];
|
|
381
|
+
exports.DeleteLexicon$ = [9, n0, _DL,
|
|
382
|
+
{ [_h]: ["DELETE", "/v1/lexicons/{Name}", 200] }, () => exports.DeleteLexiconInput$, () => exports.DeleteLexiconOutput$
|
|
383
|
+
];
|
|
384
|
+
exports.DescribeVoices$ = [9, n0, _DV,
|
|
385
|
+
{ [_h]: ["GET", "/v1/voices", 200] }, () => exports.DescribeVoicesInput$, () => exports.DescribeVoicesOutput$
|
|
386
|
+
];
|
|
387
|
+
exports.GetLexicon$ = [9, n0, _GL,
|
|
388
|
+
{ [_h]: ["GET", "/v1/lexicons/{Name}", 200] }, () => exports.GetLexiconInput$, () => exports.GetLexiconOutput$
|
|
389
|
+
];
|
|
390
|
+
exports.GetSpeechSynthesisTask$ = [9, n0, _GSST,
|
|
391
|
+
{ [_h]: ["GET", "/v1/synthesisTasks/{TaskId}", 200] }, () => exports.GetSpeechSynthesisTaskInput$, () => exports.GetSpeechSynthesisTaskOutput$
|
|
392
|
+
];
|
|
393
|
+
exports.ListLexicons$ = [9, n0, _LL,
|
|
394
|
+
{ [_h]: ["GET", "/v1/lexicons", 200] }, () => exports.ListLexiconsInput$, () => exports.ListLexiconsOutput$
|
|
395
|
+
];
|
|
396
|
+
exports.ListSpeechSynthesisTasks$ = [9, n0, _LSST,
|
|
397
|
+
{ [_h]: ["GET", "/v1/synthesisTasks", 200] }, () => exports.ListSpeechSynthesisTasksInput$, () => exports.ListSpeechSynthesisTasksOutput$
|
|
398
|
+
];
|
|
399
|
+
exports.PutLexicon$ = [9, n0, _PL,
|
|
400
|
+
{ [_h]: ["PUT", "/v1/lexicons/{Name}", 200] }, () => exports.PutLexiconInput$, () => exports.PutLexiconOutput$
|
|
401
|
+
];
|
|
402
|
+
exports.StartSpeechSynthesisTask$ = [9, n0, _SSST,
|
|
403
|
+
{ [_h]: ["POST", "/v1/synthesisTasks", 200] }, () => exports.StartSpeechSynthesisTaskInput$, () => exports.StartSpeechSynthesisTaskOutput$
|
|
404
|
+
];
|
|
405
|
+
exports.SynthesizeSpeech$ = [9, n0, _SS,
|
|
406
|
+
{ [_h]: ["POST", "/v1/speech", 200] }, () => exports.SynthesizeSpeechInput$, () => exports.SynthesizeSpeechOutput$
|
|
407
|
+
];
|
|
@@ -7,6 +7,7 @@ import { sdkStreamMixin } from "@smithy/util-stream";
|
|
|
7
7
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
8
8
|
import { defaultPollyHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
9
9
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
10
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
10
11
|
export const getRuntimeConfig = (config) => {
|
|
11
12
|
return {
|
|
12
13
|
apiVersion: "2016-06-10",
|
|
@@ -27,6 +28,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
27
28
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
28
29
|
protocolSettings: config?.protocolSettings ?? {
|
|
29
30
|
defaultNamespace: "com.amazonaws.polly",
|
|
31
|
+
errorTypeRegistries,
|
|
30
32
|
xmlNamespace: "http://polly.amazonaws.com/doc/v1",
|
|
31
33
|
version: "2016-06-10",
|
|
32
34
|
serviceTarget: "Parrot_v1",
|