@aws-sdk/client-polly 3.1067.0 → 3.1069.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,7 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartSpeechSynthesisTaskOutput$ = exports.StartSpeechSynthesisTaskInput$ = exports.StartSpeechSynthesisStreamOutput$ = exports.StartSpeechSynthesisStreamInput$ = 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.FlushStreamConfiguration$ = exports.DescribeVoicesOutput$ = exports.DescribeVoicesInput$ = exports.DeleteLexiconOutput$ = exports.DeleteLexiconInput$ = exports.CloseStreamEvent$ = exports.AudioEvent$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.UnsupportedPlsLanguageException$ = exports.UnsupportedPlsAlphabetException$ = exports.ThrottlingException$ = exports.TextLengthExceededException$ = exports.SynthesisTaskNotFoundException$ = exports.SsmlMarksNotSupportedForTextTypeException$ = exports.ServiceQuotaExceededException$ = 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.StartSpeechSynthesisStream$ = exports.PutLexicon$ = exports.ListSpeechSynthesisTasks$ = exports.ListLexicons$ = exports.GetSpeechSynthesisTask$ = exports.GetLexicon$ = exports.DescribeVoices$ = exports.DeleteLexicon$ = exports.StartSpeechSynthesisStreamEventStream$ = exports.StartSpeechSynthesisStreamActionStream$ = exports.Voice$ = exports.ValidationExceptionField$ = exports.ThrottlingReason$ = exports.TextEvent$ = exports.SynthesizeSpeechOutput$ = exports.SynthesizeSpeechInput$ = exports.SynthesisTask$ = exports.StreamClosedEvent$ = void 0;
5
1
  const _A = "Alphabet";
6
2
  const _AC = "AudioChunk";
7
3
  const _AE = "AudioEvent";
@@ -147,379 +143,438 @@ const _xaR = "x-amzn-RequestCharacters";
147
143
  const _xaS = "x-amzn-SampleRate";
148
144
  const _xaV = "x-amzn-VoiceId";
149
145
  const n0 = "com.amazonaws.polly";
150
- const schema_1 = require("@smithy/core/schema");
151
- const errors_1 = require("../models/errors");
152
- const PollyServiceException_1 = require("../models/PollyServiceException");
153
- const _s_registry = schema_1.TypeRegistry.for(_s);
154
- exports.PollyServiceException$ = [-3, _s, "PollyServiceException", 0, [], []];
155
- _s_registry.registerError(exports.PollyServiceException$, PollyServiceException_1.PollyServiceException);
156
- const n0_registry = schema_1.TypeRegistry.for(n0);
157
- exports.EngineNotSupportedException$ = [-3, n0, _ENSE,
146
+ const { TypeRegistry } = require("@smithy/core/schema");
147
+ const { EngineNotSupportedException, InvalidLexiconException, InvalidNextTokenException, InvalidS3BucketException, InvalidS3KeyException, InvalidSampleRateException, InvalidSnsTopicArnException, InvalidSsmlException, InvalidTaskIdException, LanguageNotSupportedException, LexiconNotFoundException, LexiconSizeExceededException, MarksNotSupportedForFormatException, MaxLexemeLengthExceededException, MaxLexiconsNumberExceededException, ServiceFailureException, ServiceQuotaExceededException, SsmlMarksNotSupportedForTextTypeException, SynthesisTaskNotFoundException, TextLengthExceededException, ThrottlingException, UnsupportedPlsAlphabetException, UnsupportedPlsLanguageException, ValidationException } = require("../models/errors");
148
+ const { PollyServiceException } = require("../models/PollyServiceException");
149
+ const _s_registry = TypeRegistry.for(_s);
150
+ const PollyServiceException$ = [-3, _s, "PollyServiceException", 0, [], []];
151
+ exports.PollyServiceException$ = PollyServiceException$;
152
+ _s_registry.registerError(PollyServiceException$, PollyServiceException);
153
+ const n0_registry = TypeRegistry.for(n0);
154
+ const EngineNotSupportedException$ = [-3, n0, _ENSE,
158
155
  { [_e]: _c, [_hE]: 400 },
159
156
  [_m],
160
157
  [0]
161
158
  ];
162
- n0_registry.registerError(exports.EngineNotSupportedException$, errors_1.EngineNotSupportedException);
163
- exports.InvalidLexiconException$ = [-3, n0, _ILE,
159
+ exports.EngineNotSupportedException$ = EngineNotSupportedException$;
160
+ n0_registry.registerError(EngineNotSupportedException$, EngineNotSupportedException);
161
+ const InvalidLexiconException$ = [-3, n0, _ILE,
164
162
  { [_e]: _c, [_hE]: 400 },
165
163
  [_m],
166
164
  [0]
167
165
  ];
168
- n0_registry.registerError(exports.InvalidLexiconException$, errors_1.InvalidLexiconException);
169
- exports.InvalidNextTokenException$ = [-3, n0, _INTE,
166
+ exports.InvalidLexiconException$ = InvalidLexiconException$;
167
+ n0_registry.registerError(InvalidLexiconException$, InvalidLexiconException);
168
+ const InvalidNextTokenException$ = [-3, n0, _INTE,
170
169
  { [_e]: _c, [_hE]: 400 },
171
170
  [_m],
172
171
  [0]
173
172
  ];
174
- n0_registry.registerError(exports.InvalidNextTokenException$, errors_1.InvalidNextTokenException);
175
- exports.InvalidS3BucketException$ = [-3, n0, _ISBE,
173
+ exports.InvalidNextTokenException$ = InvalidNextTokenException$;
174
+ n0_registry.registerError(InvalidNextTokenException$, InvalidNextTokenException);
175
+ const InvalidS3BucketException$ = [-3, n0, _ISBE,
176
176
  { [_e]: _c, [_hE]: 400 },
177
177
  [_m],
178
178
  [0]
179
179
  ];
180
- n0_registry.registerError(exports.InvalidS3BucketException$, errors_1.InvalidS3BucketException);
181
- exports.InvalidS3KeyException$ = [-3, n0, _ISKE,
180
+ exports.InvalidS3BucketException$ = InvalidS3BucketException$;
181
+ n0_registry.registerError(InvalidS3BucketException$, InvalidS3BucketException);
182
+ const InvalidS3KeyException$ = [-3, n0, _ISKE,
182
183
  { [_e]: _c, [_hE]: 400 },
183
184
  [_m],
184
185
  [0]
185
186
  ];
186
- n0_registry.registerError(exports.InvalidS3KeyException$, errors_1.InvalidS3KeyException);
187
- exports.InvalidSampleRateException$ = [-3, n0, _ISRE,
187
+ exports.InvalidS3KeyException$ = InvalidS3KeyException$;
188
+ n0_registry.registerError(InvalidS3KeyException$, InvalidS3KeyException);
189
+ const InvalidSampleRateException$ = [-3, n0, _ISRE,
188
190
  { [_e]: _c, [_hE]: 400 },
189
191
  [_m],
190
192
  [0]
191
193
  ];
192
- n0_registry.registerError(exports.InvalidSampleRateException$, errors_1.InvalidSampleRateException);
193
- exports.InvalidSnsTopicArnException$ = [-3, n0, _ISTAE,
194
+ exports.InvalidSampleRateException$ = InvalidSampleRateException$;
195
+ n0_registry.registerError(InvalidSampleRateException$, InvalidSampleRateException);
196
+ const InvalidSnsTopicArnException$ = [-3, n0, _ISTAE,
194
197
  { [_e]: _c, [_hE]: 400 },
195
198
  [_m],
196
199
  [0]
197
200
  ];
198
- n0_registry.registerError(exports.InvalidSnsTopicArnException$, errors_1.InvalidSnsTopicArnException);
199
- exports.InvalidSsmlException$ = [-3, n0, _ISE,
201
+ exports.InvalidSnsTopicArnException$ = InvalidSnsTopicArnException$;
202
+ n0_registry.registerError(InvalidSnsTopicArnException$, InvalidSnsTopicArnException);
203
+ const InvalidSsmlException$ = [-3, n0, _ISE,
200
204
  { [_e]: _c, [_hE]: 400 },
201
205
  [_m],
202
206
  [0]
203
207
  ];
204
- n0_registry.registerError(exports.InvalidSsmlException$, errors_1.InvalidSsmlException);
205
- exports.InvalidTaskIdException$ = [-3, n0, _ITIE,
208
+ exports.InvalidSsmlException$ = InvalidSsmlException$;
209
+ n0_registry.registerError(InvalidSsmlException$, InvalidSsmlException);
210
+ const InvalidTaskIdException$ = [-3, n0, _ITIE,
206
211
  { [_e]: _c, [_hE]: 400 },
207
212
  [_m],
208
213
  [0]
209
214
  ];
210
- n0_registry.registerError(exports.InvalidTaskIdException$, errors_1.InvalidTaskIdException);
211
- exports.LanguageNotSupportedException$ = [-3, n0, _LNSE,
215
+ exports.InvalidTaskIdException$ = InvalidTaskIdException$;
216
+ n0_registry.registerError(InvalidTaskIdException$, InvalidTaskIdException);
217
+ const LanguageNotSupportedException$ = [-3, n0, _LNSE,
212
218
  { [_e]: _c, [_hE]: 400 },
213
219
  [_m],
214
220
  [0]
215
221
  ];
216
- n0_registry.registerError(exports.LanguageNotSupportedException$, errors_1.LanguageNotSupportedException);
217
- exports.LexiconNotFoundException$ = [-3, n0, _LNFE,
222
+ exports.LanguageNotSupportedException$ = LanguageNotSupportedException$;
223
+ n0_registry.registerError(LanguageNotSupportedException$, LanguageNotSupportedException);
224
+ const LexiconNotFoundException$ = [-3, n0, _LNFE,
218
225
  { [_e]: _c, [_hE]: 404 },
219
226
  [_m],
220
227
  [0]
221
228
  ];
222
- n0_registry.registerError(exports.LexiconNotFoundException$, errors_1.LexiconNotFoundException);
223
- exports.LexiconSizeExceededException$ = [-3, n0, _LSEE,
229
+ exports.LexiconNotFoundException$ = LexiconNotFoundException$;
230
+ n0_registry.registerError(LexiconNotFoundException$, LexiconNotFoundException);
231
+ const LexiconSizeExceededException$ = [-3, n0, _LSEE,
224
232
  { [_e]: _c, [_hE]: 400 },
225
233
  [_m],
226
234
  [0]
227
235
  ];
228
- n0_registry.registerError(exports.LexiconSizeExceededException$, errors_1.LexiconSizeExceededException);
229
- exports.MarksNotSupportedForFormatException$ = [-3, n0, _MNSFFE,
236
+ exports.LexiconSizeExceededException$ = LexiconSizeExceededException$;
237
+ n0_registry.registerError(LexiconSizeExceededException$, LexiconSizeExceededException);
238
+ const MarksNotSupportedForFormatException$ = [-3, n0, _MNSFFE,
230
239
  { [_e]: _c, [_hE]: 400 },
231
240
  [_m],
232
241
  [0]
233
242
  ];
234
- n0_registry.registerError(exports.MarksNotSupportedForFormatException$, errors_1.MarksNotSupportedForFormatException);
235
- exports.MaxLexemeLengthExceededException$ = [-3, n0, _MLLEE,
243
+ exports.MarksNotSupportedForFormatException$ = MarksNotSupportedForFormatException$;
244
+ n0_registry.registerError(MarksNotSupportedForFormatException$, MarksNotSupportedForFormatException);
245
+ const MaxLexemeLengthExceededException$ = [-3, n0, _MLLEE,
236
246
  { [_e]: _c, [_hE]: 400 },
237
247
  [_m],
238
248
  [0]
239
249
  ];
240
- n0_registry.registerError(exports.MaxLexemeLengthExceededException$, errors_1.MaxLexemeLengthExceededException);
241
- exports.MaxLexiconsNumberExceededException$ = [-3, n0, _MLNEE,
250
+ exports.MaxLexemeLengthExceededException$ = MaxLexemeLengthExceededException$;
251
+ n0_registry.registerError(MaxLexemeLengthExceededException$, MaxLexemeLengthExceededException);
252
+ const MaxLexiconsNumberExceededException$ = [-3, n0, _MLNEE,
242
253
  { [_e]: _c, [_hE]: 400 },
243
254
  [_m],
244
255
  [0]
245
256
  ];
246
- n0_registry.registerError(exports.MaxLexiconsNumberExceededException$, errors_1.MaxLexiconsNumberExceededException);
247
- exports.ServiceFailureException$ = [-3, n0, _SFE,
257
+ exports.MaxLexiconsNumberExceededException$ = MaxLexiconsNumberExceededException$;
258
+ n0_registry.registerError(MaxLexiconsNumberExceededException$, MaxLexiconsNumberExceededException);
259
+ const ServiceFailureException$ = [-3, n0, _SFE,
248
260
  { [_e]: _se, [_hE]: 500 },
249
261
  [_m],
250
262
  [0]
251
263
  ];
252
- n0_registry.registerError(exports.ServiceFailureException$, errors_1.ServiceFailureException);
253
- exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
264
+ exports.ServiceFailureException$ = ServiceFailureException$;
265
+ n0_registry.registerError(ServiceFailureException$, ServiceFailureException);
266
+ const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
254
267
  { [_e]: _c, [_hE]: 402 },
255
268
  [_m, _qC, _sC],
256
269
  [0, 0, 0], 3
257
270
  ];
258
- n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
259
- exports.SsmlMarksNotSupportedForTextTypeException$ = [-3, n0, _SMNSFTTE,
271
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
272
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
273
+ const SsmlMarksNotSupportedForTextTypeException$ = [-3, n0, _SMNSFTTE,
260
274
  { [_e]: _c, [_hE]: 400 },
261
275
  [_m],
262
276
  [0]
263
277
  ];
264
- n0_registry.registerError(exports.SsmlMarksNotSupportedForTextTypeException$, errors_1.SsmlMarksNotSupportedForTextTypeException);
265
- exports.SynthesisTaskNotFoundException$ = [-3, n0, _STNFE,
278
+ exports.SsmlMarksNotSupportedForTextTypeException$ = SsmlMarksNotSupportedForTextTypeException$;
279
+ n0_registry.registerError(SsmlMarksNotSupportedForTextTypeException$, SsmlMarksNotSupportedForTextTypeException);
280
+ const SynthesisTaskNotFoundException$ = [-3, n0, _STNFE,
266
281
  { [_e]: _c, [_hE]: 400 },
267
282
  [_m],
268
283
  [0]
269
284
  ];
270
- n0_registry.registerError(exports.SynthesisTaskNotFoundException$, errors_1.SynthesisTaskNotFoundException);
271
- exports.TextLengthExceededException$ = [-3, n0, _TLEE,
285
+ exports.SynthesisTaskNotFoundException$ = SynthesisTaskNotFoundException$;
286
+ n0_registry.registerError(SynthesisTaskNotFoundException$, SynthesisTaskNotFoundException);
287
+ const TextLengthExceededException$ = [-3, n0, _TLEE,
272
288
  { [_e]: _c, [_hE]: 400 },
273
289
  [_m],
274
290
  [0]
275
291
  ];
276
- n0_registry.registerError(exports.TextLengthExceededException$, errors_1.TextLengthExceededException);
277
- exports.ThrottlingException$ = [-3, n0, _TE,
292
+ exports.TextLengthExceededException$ = TextLengthExceededException$;
293
+ n0_registry.registerError(TextLengthExceededException$, TextLengthExceededException);
294
+ const ThrottlingException$ = [-3, n0, _TE,
278
295
  { [_aQE]: [`Throttling`, 400], [_e]: _c, [_hE]: 400 },
279
296
  [_m, _tR],
280
297
  [0, () => ThrottlingReasonList]
281
298
  ];
282
- n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
283
- exports.UnsupportedPlsAlphabetException$ = [-3, n0, _UPAE,
299
+ exports.ThrottlingException$ = ThrottlingException$;
300
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
301
+ const UnsupportedPlsAlphabetException$ = [-3, n0, _UPAE,
284
302
  { [_e]: _c, [_hE]: 400 },
285
303
  [_m],
286
304
  [0]
287
305
  ];
288
- n0_registry.registerError(exports.UnsupportedPlsAlphabetException$, errors_1.UnsupportedPlsAlphabetException);
289
- exports.UnsupportedPlsLanguageException$ = [-3, n0, _UPLE,
306
+ exports.UnsupportedPlsAlphabetException$ = UnsupportedPlsAlphabetException$;
307
+ n0_registry.registerError(UnsupportedPlsAlphabetException$, UnsupportedPlsAlphabetException);
308
+ const UnsupportedPlsLanguageException$ = [-3, n0, _UPLE,
290
309
  { [_e]: _c, [_hE]: 400 },
291
310
  [_m],
292
311
  [0]
293
312
  ];
294
- n0_registry.registerError(exports.UnsupportedPlsLanguageException$, errors_1.UnsupportedPlsLanguageException);
295
- exports.ValidationException$ = [-3, n0, _VE,
313
+ exports.UnsupportedPlsLanguageException$ = UnsupportedPlsLanguageException$;
314
+ n0_registry.registerError(UnsupportedPlsLanguageException$, UnsupportedPlsLanguageException);
315
+ const ValidationException$ = [-3, n0, _VE,
296
316
  { [_e]: _c, [_hE]: 400 },
297
317
  [_m, _r, _f],
298
318
  [0, 0, () => ValidationExceptionFieldList], 2
299
319
  ];
300
- n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
320
+ exports.ValidationException$ = ValidationException$;
321
+ n0_registry.registerError(ValidationException$, ValidationException);
301
322
  exports.errorTypeRegistries = [
302
323
  _s_registry,
303
324
  n0_registry,
304
325
  ];
305
326
  var AudioStream = [0, n0, _AS, { [_st]: 1 }, 42];
306
327
  var LexiconContent = [0, n0, _LC, 8, 0];
307
- exports.AudioEvent$ = [3, n0, _AE,
328
+ const AudioEvent$ = [3, n0, _AE,
308
329
  0,
309
330
  [_AC],
310
331
  [[21, { [_eP]: 1 }]]
311
332
  ];
312
- exports.CloseStreamEvent$ = [3, n0, _CSE,
333
+ exports.AudioEvent$ = AudioEvent$;
334
+ const CloseStreamEvent$ = [3, n0, _CSE,
313
335
  0,
314
336
  [],
315
337
  []
316
338
  ];
317
- exports.DeleteLexiconInput$ = [3, n0, _DLI,
339
+ exports.CloseStreamEvent$ = CloseStreamEvent$;
340
+ const DeleteLexiconInput$ = [3, n0, _DLI,
318
341
  0,
319
342
  [_N],
320
343
  [[0, 1]], 1
321
344
  ];
322
- exports.DeleteLexiconOutput$ = [3, n0, _DLO,
345
+ exports.DeleteLexiconInput$ = DeleteLexiconInput$;
346
+ const DeleteLexiconOutput$ = [3, n0, _DLO,
323
347
  0,
324
348
  [],
325
349
  []
326
350
  ];
327
- exports.DescribeVoicesInput$ = [3, n0, _DVI,
351
+ exports.DeleteLexiconOutput$ = DeleteLexiconOutput$;
352
+ const DescribeVoicesInput$ = [3, n0, _DVI,
328
353
  0,
329
354
  [_E, _LCa, _IALC, _NT],
330
355
  [[0, { [_hQ]: _E }], [0, { [_hQ]: _LCa }], [2, { [_hQ]: _IALC }], [0, { [_hQ]: _NT }]]
331
356
  ];
332
- exports.DescribeVoicesOutput$ = [3, n0, _DVO,
357
+ exports.DescribeVoicesInput$ = DescribeVoicesInput$;
358
+ const DescribeVoicesOutput$ = [3, n0, _DVO,
333
359
  0,
334
360
  [_V, _NT],
335
361
  [() => VoiceList, 0]
336
362
  ];
337
- exports.FlushStreamConfiguration$ = [3, n0, _FSC,
363
+ exports.DescribeVoicesOutput$ = DescribeVoicesOutput$;
364
+ const FlushStreamConfiguration$ = [3, n0, _FSC,
338
365
  0,
339
366
  [_F],
340
367
  [2]
341
368
  ];
342
- exports.GetLexiconInput$ = [3, n0, _GLI,
369
+ exports.FlushStreamConfiguration$ = FlushStreamConfiguration$;
370
+ const GetLexiconInput$ = [3, n0, _GLI,
343
371
  0,
344
372
  [_N],
345
373
  [[0, 1]], 1
346
374
  ];
347
- exports.GetLexiconOutput$ = [3, n0, _GLO,
375
+ exports.GetLexiconInput$ = GetLexiconInput$;
376
+ const GetLexiconOutput$ = [3, n0, _GLO,
348
377
  0,
349
378
  [_L, _LA],
350
- [[() => exports.Lexicon$, 0], () => exports.LexiconAttributes$]
379
+ [[() => Lexicon$, 0], () => LexiconAttributes$]
351
380
  ];
352
- exports.GetSpeechSynthesisTaskInput$ = [3, n0, _GSSTI,
381
+ exports.GetLexiconOutput$ = GetLexiconOutput$;
382
+ const GetSpeechSynthesisTaskInput$ = [3, n0, _GSSTI,
353
383
  0,
354
384
  [_TI],
355
385
  [[0, 1]], 1
356
386
  ];
357
- exports.GetSpeechSynthesisTaskOutput$ = [3, n0, _GSSTO,
387
+ exports.GetSpeechSynthesisTaskInput$ = GetSpeechSynthesisTaskInput$;
388
+ const GetSpeechSynthesisTaskOutput$ = [3, n0, _GSSTO,
358
389
  0,
359
390
  [_ST],
360
- [() => exports.SynthesisTask$]
391
+ [() => SynthesisTask$]
361
392
  ];
362
- exports.Lexicon$ = [3, n0, _L,
393
+ exports.GetSpeechSynthesisTaskOutput$ = GetSpeechSynthesisTaskOutput$;
394
+ const Lexicon$ = [3, n0, _L,
363
395
  0,
364
396
  [_C, _N],
365
397
  [[() => LexiconContent, 0], 0]
366
398
  ];
367
- exports.LexiconAttributes$ = [3, n0, _LA,
399
+ exports.Lexicon$ = Lexicon$;
400
+ const LexiconAttributes$ = [3, n0, _LA,
368
401
  0,
369
402
  [_A, _LCa, _LM, _LAe, _LCe, _S],
370
403
  [0, 0, 4, 0, 1, 1]
371
404
  ];
372
- exports.LexiconDescription$ = [3, n0, _LD,
405
+ exports.LexiconAttributes$ = LexiconAttributes$;
406
+ const LexiconDescription$ = [3, n0, _LD,
373
407
  0,
374
408
  [_N, _At],
375
- [0, () => exports.LexiconAttributes$]
409
+ [0, () => LexiconAttributes$]
376
410
  ];
377
- exports.ListLexiconsInput$ = [3, n0, _LLI,
411
+ exports.LexiconDescription$ = LexiconDescription$;
412
+ const ListLexiconsInput$ = [3, n0, _LLI,
378
413
  0,
379
414
  [_NT],
380
415
  [[0, { [_hQ]: _NT }]]
381
416
  ];
382
- exports.ListLexiconsOutput$ = [3, n0, _LLO,
417
+ exports.ListLexiconsInput$ = ListLexiconsInput$;
418
+ const ListLexiconsOutput$ = [3, n0, _LLO,
383
419
  0,
384
420
  [_Le, _NT],
385
421
  [() => LexiconDescriptionList, 0]
386
422
  ];
387
- exports.ListSpeechSynthesisTasksInput$ = [3, n0, _LSSTI,
423
+ exports.ListLexiconsOutput$ = ListLexiconsOutput$;
424
+ const ListSpeechSynthesisTasksInput$ = [3, n0, _LSSTI,
388
425
  0,
389
426
  [_MR, _NT, _St],
390
427
  [[1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }], [0, { [_hQ]: _St }]]
391
428
  ];
392
- exports.ListSpeechSynthesisTasksOutput$ = [3, n0, _LSSTO,
429
+ exports.ListSpeechSynthesisTasksInput$ = ListSpeechSynthesisTasksInput$;
430
+ const ListSpeechSynthesisTasksOutput$ = [3, n0, _LSSTO,
393
431
  0,
394
432
  [_NT, _STy],
395
433
  [0, () => SynthesisTasks]
396
434
  ];
397
- exports.PutLexiconInput$ = [3, n0, _PLI,
435
+ exports.ListSpeechSynthesisTasksOutput$ = ListSpeechSynthesisTasksOutput$;
436
+ const PutLexiconInput$ = [3, n0, _PLI,
398
437
  0,
399
438
  [_N, _C],
400
439
  [[0, 1], [() => LexiconContent, 0]], 2
401
440
  ];
402
- exports.PutLexiconOutput$ = [3, n0, _PLO,
441
+ exports.PutLexiconInput$ = PutLexiconInput$;
442
+ const PutLexiconOutput$ = [3, n0, _PLO,
403
443
  0,
404
444
  [],
405
445
  []
406
446
  ];
407
- exports.StartSpeechSynthesisStreamInput$ = [3, n0, _SSSSI,
447
+ exports.PutLexiconOutput$ = PutLexiconOutput$;
448
+ const StartSpeechSynthesisStreamInput$ = [3, n0, _SSSSI,
408
449
  0,
409
450
  [_E, _OF, _VI, _LCa, _LN, _SR, _ASc],
410
- [[0, { [_hH]: _xaE }], [0, { [_hH]: _xaO }], [0, { [_hH]: _xaV }], [0, { [_hH]: _xaL }], [64 | 0, { [_hH]: _xaL_ }], [0, { [_hH]: _xaS }], [() => exports.StartSpeechSynthesisStreamActionStream$, 16]], 3
451
+ [[0, { [_hH]: _xaE }], [0, { [_hH]: _xaO }], [0, { [_hH]: _xaV }], [0, { [_hH]: _xaL }], [64 | 0, { [_hH]: _xaL_ }], [0, { [_hH]: _xaS }], [() => StartSpeechSynthesisStreamActionStream$, 16]], 3
411
452
  ];
412
- exports.StartSpeechSynthesisStreamOutput$ = [3, n0, _SSSSO,
453
+ exports.StartSpeechSynthesisStreamInput$ = StartSpeechSynthesisStreamInput$;
454
+ const StartSpeechSynthesisStreamOutput$ = [3, n0, _SSSSO,
413
455
  0,
414
456
  [_ES],
415
- [[() => exports.StartSpeechSynthesisStreamEventStream$, 16]]
457
+ [[() => StartSpeechSynthesisStreamEventStream$, 16]]
416
458
  ];
417
- exports.StartSpeechSynthesisTaskInput$ = [3, n0, _SSSTI,
459
+ exports.StartSpeechSynthesisStreamOutput$ = StartSpeechSynthesisStreamOutput$;
460
+ const StartSpeechSynthesisTaskInput$ = [3, n0, _SSSTI,
418
461
  0,
419
462
  [_OF, _OSBN, _T, _VI, _E, _LCa, _LN, _OSKP, _SR, _STA, _SMT, _TT],
420
463
  [0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 64 | 0, 0], 4
421
464
  ];
422
- exports.StartSpeechSynthesisTaskOutput$ = [3, n0, _SSSTO,
465
+ exports.StartSpeechSynthesisTaskInput$ = StartSpeechSynthesisTaskInput$;
466
+ const StartSpeechSynthesisTaskOutput$ = [3, n0, _SSSTO,
423
467
  0,
424
468
  [_ST],
425
- [() => exports.SynthesisTask$]
469
+ [() => SynthesisTask$]
426
470
  ];
427
- exports.StreamClosedEvent$ = [3, n0, _SCE,
471
+ exports.StartSpeechSynthesisTaskOutput$ = StartSpeechSynthesisTaskOutput$;
472
+ const StreamClosedEvent$ = [3, n0, _SCE,
428
473
  0,
429
474
  [_RC],
430
475
  [1]
431
476
  ];
432
- exports.SynthesisTask$ = [3, n0, _ST,
477
+ exports.StreamClosedEvent$ = StreamClosedEvent$;
478
+ const SynthesisTask$ = [3, n0, _ST,
433
479
  0,
434
480
  [_E, _TI, _TS, _TSR, _OU, _CT, _RC, _STA, _LN, _OF, _SR, _SMT, _TT, _VI, _LCa],
435
481
  [0, 0, 0, 0, 0, 4, 1, 0, 64 | 0, 0, 0, 64 | 0, 0, 0, 0]
436
482
  ];
437
- exports.SynthesizeSpeechInput$ = [3, n0, _SSI,
483
+ exports.SynthesisTask$ = SynthesisTask$;
484
+ const SynthesizeSpeechInput$ = [3, n0, _SSI,
438
485
  0,
439
486
  [_OF, _T, _VI, _E, _LCa, _LN, _SR, _SMT, _TT],
440
487
  [0, 0, 0, 0, 0, 64 | 0, 0, 64 | 0, 0], 3
441
488
  ];
442
- exports.SynthesizeSpeechOutput$ = [3, n0, _SSO,
489
+ exports.SynthesizeSpeechInput$ = SynthesizeSpeechInput$;
490
+ const SynthesizeSpeechOutput$ = [3, n0, _SSO,
443
491
  0,
444
492
  [_AS, _CTo, _RC],
445
493
  [[() => AudioStream, 16], [0, { [_hH]: _CT_ }], [1, { [_hH]: _xaR }]]
446
494
  ];
447
- exports.TextEvent$ = [3, n0, _TEe,
495
+ exports.SynthesizeSpeechOutput$ = SynthesizeSpeechOutput$;
496
+ const TextEvent$ = [3, n0, _TEe,
448
497
  0,
449
498
  [_T, _TT, _FSC],
450
- [0, 0, () => exports.FlushStreamConfiguration$], 1
499
+ [0, 0, () => FlushStreamConfiguration$], 1
451
500
  ];
452
- exports.ThrottlingReason$ = [3, n0, _TR,
501
+ exports.TextEvent$ = TextEvent$;
502
+ const ThrottlingReason$ = [3, n0, _TR,
453
503
  0,
454
504
  [_r, _re],
455
505
  [0, 0]
456
506
  ];
457
- exports.ValidationExceptionField$ = [3, n0, _VEF,
507
+ exports.ThrottlingReason$ = ThrottlingReason$;
508
+ const ValidationExceptionField$ = [3, n0, _VEF,
458
509
  0,
459
510
  [_n, _m],
460
511
  [0, 0], 2
461
512
  ];
462
- exports.Voice$ = [3, n0, _Vo,
513
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
514
+ const Voice$ = [3, n0, _Vo,
463
515
  0,
464
516
  [_G, _I, _LCa, _LNa, _N, _ALC, _SE],
465
517
  [0, 0, 0, 0, 0, 64 | 0, 64 | 0]
466
518
  ];
519
+ exports.Voice$ = Voice$;
467
520
  var EngineList = 64 | 0;
468
521
  var LanguageCodeList = 64 | 0;
469
522
  var LexiconDescriptionList = [1, n0, _LDL,
470
- 0, () => exports.LexiconDescription$
523
+ 0, () => LexiconDescription$
471
524
  ];
472
525
  var LexiconNameList = 64 | 0;
473
526
  var SpeechMarkTypeList = 64 | 0;
474
527
  var SynthesisTasks = [1, n0, _STy,
475
- 0, () => exports.SynthesisTask$
528
+ 0, () => SynthesisTask$
476
529
  ];
477
530
  var ThrottlingReasonList = [1, n0, _TRL,
478
- 0, () => exports.ThrottlingReason$
531
+ 0, () => ThrottlingReason$
479
532
  ];
480
533
  var ValidationExceptionFieldList = [1, n0, _VEFL,
481
- 0, () => exports.ValidationExceptionField$
534
+ 0, () => ValidationExceptionField$
482
535
  ];
483
536
  var VoiceList = [1, n0, _VL,
484
- 0, () => exports.Voice$
537
+ 0, () => Voice$
485
538
  ];
486
- exports.StartSpeechSynthesisStreamActionStream$ = [4, n0, _SSSSAS,
539
+ const StartSpeechSynthesisStreamActionStream$ = [4, n0, _SSSSAS,
487
540
  { [_st]: 1 },
488
541
  [_TEe, _CSE],
489
- [() => exports.TextEvent$, () => exports.CloseStreamEvent$]
542
+ [() => TextEvent$, () => CloseStreamEvent$]
490
543
  ];
491
- exports.StartSpeechSynthesisStreamEventStream$ = [4, n0, _SSSSES,
544
+ exports.StartSpeechSynthesisStreamActionStream$ = StartSpeechSynthesisStreamActionStream$;
545
+ const StartSpeechSynthesisStreamEventStream$ = [4, n0, _SSSSES,
492
546
  { [_st]: 1 },
493
547
  [_AE, _SCE, _VE, _SQEE, _SFE, _TE],
494
- [[() => exports.AudioEvent$, 0], () => exports.StreamClosedEvent$, [() => exports.ValidationException$, 0], [() => exports.ServiceQuotaExceededException$, 0], [() => exports.ServiceFailureException$, 0], [() => exports.ThrottlingException$, 0]]
548
+ [[() => AudioEvent$, 0], () => StreamClosedEvent$, [() => ValidationException$, 0], [() => ServiceQuotaExceededException$, 0], [() => ServiceFailureException$, 0], [() => ThrottlingException$, 0]]
495
549
  ];
550
+ exports.StartSpeechSynthesisStreamEventStream$ = StartSpeechSynthesisStreamEventStream$;
496
551
  exports.DeleteLexicon$ = [9, n0, _DL,
497
- { [_h]: ["DELETE", "/v1/lexicons/{Name}", 200] }, () => exports.DeleteLexiconInput$, () => exports.DeleteLexiconOutput$
552
+ { [_h]: ["DELETE", "/v1/lexicons/{Name}", 200] }, () => DeleteLexiconInput$, () => DeleteLexiconOutput$
498
553
  ];
499
554
  exports.DescribeVoices$ = [9, n0, _DV,
500
- { [_h]: ["GET", "/v1/voices", 200] }, () => exports.DescribeVoicesInput$, () => exports.DescribeVoicesOutput$
555
+ { [_h]: ["GET", "/v1/voices", 200] }, () => DescribeVoicesInput$, () => DescribeVoicesOutput$
501
556
  ];
502
557
  exports.GetLexicon$ = [9, n0, _GL,
503
- { [_h]: ["GET", "/v1/lexicons/{Name}", 200] }, () => exports.GetLexiconInput$, () => exports.GetLexiconOutput$
558
+ { [_h]: ["GET", "/v1/lexicons/{Name}", 200] }, () => GetLexiconInput$, () => GetLexiconOutput$
504
559
  ];
505
560
  exports.GetSpeechSynthesisTask$ = [9, n0, _GSST,
506
- { [_h]: ["GET", "/v1/synthesisTasks/{TaskId}", 200] }, () => exports.GetSpeechSynthesisTaskInput$, () => exports.GetSpeechSynthesisTaskOutput$
561
+ { [_h]: ["GET", "/v1/synthesisTasks/{TaskId}", 200] }, () => GetSpeechSynthesisTaskInput$, () => GetSpeechSynthesisTaskOutput$
507
562
  ];
508
563
  exports.ListLexicons$ = [9, n0, _LL,
509
- { [_h]: ["GET", "/v1/lexicons", 200] }, () => exports.ListLexiconsInput$, () => exports.ListLexiconsOutput$
564
+ { [_h]: ["GET", "/v1/lexicons", 200] }, () => ListLexiconsInput$, () => ListLexiconsOutput$
510
565
  ];
511
566
  exports.ListSpeechSynthesisTasks$ = [9, n0, _LSST,
512
- { [_h]: ["GET", "/v1/synthesisTasks", 200] }, () => exports.ListSpeechSynthesisTasksInput$, () => exports.ListSpeechSynthesisTasksOutput$
567
+ { [_h]: ["GET", "/v1/synthesisTasks", 200] }, () => ListSpeechSynthesisTasksInput$, () => ListSpeechSynthesisTasksOutput$
513
568
  ];
514
569
  exports.PutLexicon$ = [9, n0, _PL,
515
- { [_h]: ["PUT", "/v1/lexicons/{Name}", 200] }, () => exports.PutLexiconInput$, () => exports.PutLexiconOutput$
570
+ { [_h]: ["PUT", "/v1/lexicons/{Name}", 200] }, () => PutLexiconInput$, () => PutLexiconOutput$
516
571
  ];
517
572
  exports.StartSpeechSynthesisStream$ = [9, n0, _SSSS,
518
- { [_h]: ["POST", "/v1/synthesisStream", 200] }, () => exports.StartSpeechSynthesisStreamInput$, () => exports.StartSpeechSynthesisStreamOutput$
573
+ { [_h]: ["POST", "/v1/synthesisStream", 200] }, () => StartSpeechSynthesisStreamInput$, () => StartSpeechSynthesisStreamOutput$
519
574
  ];
520
575
  exports.StartSpeechSynthesisTask$ = [9, n0, _SSST,
521
- { [_h]: ["POST", "/v1/synthesisTasks", 200] }, () => exports.StartSpeechSynthesisTaskInput$, () => exports.StartSpeechSynthesisTaskOutput$
576
+ { [_h]: ["POST", "/v1/synthesisTasks", 200] }, () => StartSpeechSynthesisTaskInput$, () => StartSpeechSynthesisTaskOutput$
522
577
  ];
523
578
  exports.SynthesizeSpeech$ = [9, n0, _SS,
524
- { [_h]: ["POST", "/v1/speech", 200] }, () => exports.SynthesizeSpeechInput$, () => exports.SynthesizeSpeechOutput$
579
+ { [_h]: ["POST", "/v1/speech", 200] }, () => SynthesizeSpeechInput$, () => SynthesizeSpeechOutput$
525
580
  ];
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-polly",
3
3
  "description": "AWS SDK for JavaScript Polly Client for Node.js, Browser and React Native",
4
- "version": "3.1067.0",
4
+ "version": "3.1069.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
8
- "build:es": "tsc -p tsconfig.es.json",
8
+ "build:es": "premove dist-es && tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
- "build:types": "tsc -p tsconfig.types.json",
10
+ "build:types": "premove dist-types && tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
+ "clean": "premove dist-cjs dist-es dist-types",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo polly",
14
+ "generate:client": "node ../../scripts/generate-clients/single-service",
15
15
  "test": "yarn g:vitest run --passWithNoTests",
16
- "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
16
+ "test:watch": "yarn g:vitest watch --passWithNoTests",
17
17
  "test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
18
18
  "test:integration:watch": "yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts",
19
- "test:watch": "yarn g:vitest watch --passWithNoTests"
19
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
20
20
  },
21
21
  "main": "./dist-cjs/index.js",
22
22
  "types": "./dist-types/index.d.ts",
@@ -25,11 +25,11 @@
25
25
  "dependencies": {
26
26
  "@aws-crypto/sha256-browser": "5.2.0",
27
27
  "@aws-crypto/sha256-js": "5.2.0",
28
- "@aws-sdk/core": "^3.974.20",
29
- "@aws-sdk/credential-provider-node": "^3.972.55",
30
- "@aws-sdk/eventstream-handler-node": "^3.972.21",
31
- "@aws-sdk/middleware-eventstream": "^3.972.17",
32
- "@aws-sdk/types": "^3.973.12",
28
+ "@aws-sdk/core": "^3.974.21",
29
+ "@aws-sdk/credential-provider-node": "^3.972.56",
30
+ "@aws-sdk/eventstream-handler-node": "^3.972.22",
31
+ "@aws-sdk/middleware-eventstream": "^3.972.18",
32
+ "@aws-sdk/types": "^3.973.13",
33
33
  "@smithy/core": "^3.24.6",
34
34
  "@smithy/fetch-http-handler": "^5.4.6",
35
35
  "@smithy/node-http-handler": "^4.7.6",