@aws-sdk/client-polly 3.940.0 → 3.946.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.
Files changed (37) hide show
  1. package/dist-cjs/index.js +41 -315
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/PollyClient.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +41 -315
  8. package/dist-types/Polly.d.ts +1 -1
  9. package/dist-types/PollyClient.d.ts +10 -10
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  12. package/dist-types/commands/DeleteLexiconCommand.d.ts +3 -3
  13. package/dist-types/commands/DescribeVoicesCommand.d.ts +3 -3
  14. package/dist-types/commands/GetLexiconCommand.d.ts +3 -3
  15. package/dist-types/commands/GetSpeechSynthesisTaskCommand.d.ts +3 -3
  16. package/dist-types/commands/ListLexiconsCommand.d.ts +3 -3
  17. package/dist-types/commands/ListSpeechSynthesisTasksCommand.d.ts +3 -3
  18. package/dist-types/commands/PutLexiconCommand.d.ts +3 -3
  19. package/dist-types/commands/StartSpeechSynthesisTaskCommand.d.ts +3 -3
  20. package/dist-types/commands/SynthesizeSpeechCommand.d.ts +3 -3
  21. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  22. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  23. package/dist-types/extensionConfiguration.d.ts +4 -4
  24. package/dist-types/models/PollyServiceException.d.ts +1 -1
  25. package/dist-types/models/errors.d.ts +1 -1
  26. package/dist-types/pagination/Interfaces.d.ts +1 -1
  27. package/dist-types/pagination/ListSpeechSynthesisTasksPaginator.d.ts +1 -1
  28. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  29. package/dist-types/runtimeConfig.d.ts +1 -1
  30. package/dist-types/runtimeConfig.native.d.ts +1 -1
  31. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  32. package/dist-types/runtimeExtensions.d.ts +1 -1
  33. package/dist-types/schemas/schemas_0.d.ts +1 -1
  34. package/dist-types/ts3.4/PollyClient.d.ts +3 -3
  35. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  36. package/dist-types/ts3.4/models/PollyServiceException.d.ts +1 -1
  37. package/package.json +13 -12
@@ -110,15 +110,7 @@ const n0 = "com.amazonaws.polly";
110
110
  import { TypeRegistry } from "@smithy/core/schema";
111
111
  import { EngineNotSupportedException as __EngineNotSupportedException, InvalidLexiconException as __InvalidLexiconException, InvalidNextTokenException as __InvalidNextTokenException, InvalidS3BucketException as __InvalidS3BucketException, InvalidS3KeyException as __InvalidS3KeyException, InvalidSampleRateException as __InvalidSampleRateException, InvalidSnsTopicArnException as __InvalidSnsTopicArnException, InvalidSsmlException as __InvalidSsmlException, InvalidTaskIdException as __InvalidTaskIdException, LanguageNotSupportedException as __LanguageNotSupportedException, LexiconNotFoundException as __LexiconNotFoundException, LexiconSizeExceededException as __LexiconSizeExceededException, MarksNotSupportedForFormatException as __MarksNotSupportedForFormatException, MaxLexemeLengthExceededException as __MaxLexemeLengthExceededException, MaxLexiconsNumberExceededException as __MaxLexiconsNumberExceededException, ServiceFailureException as __ServiceFailureException, SsmlMarksNotSupportedForTextTypeException as __SsmlMarksNotSupportedForTextTypeException, SynthesisTaskNotFoundException as __SynthesisTaskNotFoundException, TextLengthExceededException as __TextLengthExceededException, UnsupportedPlsAlphabetException as __UnsupportedPlsAlphabetException, UnsupportedPlsLanguageException as __UnsupportedPlsLanguageException, } from "../models/errors";
112
112
  import { PollyServiceException as __PollyServiceException } from "../models/PollyServiceException";
113
- export var AudioStream = [
114
- 0,
115
- n0,
116
- _AS,
117
- {
118
- [_s]: 1,
119
- },
120
- 42,
121
- ];
113
+ export var AudioStream = [0, n0, _AS, { [_s]: 1 }, 42];
122
114
  export var LexiconContent = [0, n0, _LC, 8, 0];
123
115
  export var DeleteLexiconInput = [3, n0, _DLI, 0, [_N], [[0, 1]]];
124
116
  export var DeleteLexiconOutput = [3, n0, _DLO, 0, [], []];
@@ -129,44 +121,14 @@ export var DescribeVoicesInput = [
129
121
  0,
130
122
  [_E, _LCa, _IALC, _NT],
131
123
  [
132
- [
133
- 0,
134
- {
135
- [_hQ]: _E,
136
- },
137
- ],
138
- [
139
- 0,
140
- {
141
- [_hQ]: _LCa,
142
- },
143
- ],
144
- [
145
- 2,
146
- {
147
- [_hQ]: _IALC,
148
- },
149
- ],
150
- [
151
- 0,
152
- {
153
- [_hQ]: _NT,
154
- },
155
- ],
124
+ [0, { [_hQ]: _E }],
125
+ [0, { [_hQ]: _LCa }],
126
+ [2, { [_hQ]: _IALC }],
127
+ [0, { [_hQ]: _NT }],
156
128
  ],
157
129
  ];
158
130
  export var DescribeVoicesOutput = [3, n0, _DVO, 0, [_V, _NT], [() => VoiceList, 0]];
159
- export var EngineNotSupportedException = [
160
- -3,
161
- n0,
162
- _ENSE,
163
- {
164
- [_e]: _c,
165
- [_hE]: 400,
166
- },
167
- [_m],
168
- [0],
169
- ];
131
+ export var EngineNotSupportedException = [-3, n0, _ENSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
170
132
  TypeRegistry.for(n0).registerError(EngineNotSupportedException, __EngineNotSupportedException);
171
133
  export var GetLexiconInput = [3, n0, _GLI, 0, [_N], [[0, 1]]];
172
134
  export var GetLexiconOutput = [
@@ -179,113 +141,23 @@ export var GetLexiconOutput = [
179
141
  ];
180
142
  export var GetSpeechSynthesisTaskInput = [3, n0, _GSSTI, 0, [_TI], [[0, 1]]];
181
143
  export var GetSpeechSynthesisTaskOutput = [3, n0, _GSSTO, 0, [_ST], [() => SynthesisTask]];
182
- export var InvalidLexiconException = [
183
- -3,
184
- n0,
185
- _ILE,
186
- {
187
- [_e]: _c,
188
- [_hE]: 400,
189
- },
190
- [_m],
191
- [0],
192
- ];
144
+ export var InvalidLexiconException = [-3, n0, _ILE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
193
145
  TypeRegistry.for(n0).registerError(InvalidLexiconException, __InvalidLexiconException);
194
- export var InvalidNextTokenException = [
195
- -3,
196
- n0,
197
- _INTE,
198
- {
199
- [_e]: _c,
200
- [_hE]: 400,
201
- },
202
- [_m],
203
- [0],
204
- ];
146
+ export var InvalidNextTokenException = [-3, n0, _INTE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
205
147
  TypeRegistry.for(n0).registerError(InvalidNextTokenException, __InvalidNextTokenException);
206
- export var InvalidS3BucketException = [
207
- -3,
208
- n0,
209
- _ISBE,
210
- {
211
- [_e]: _c,
212
- [_hE]: 400,
213
- },
214
- [_m],
215
- [0],
216
- ];
148
+ export var InvalidS3BucketException = [-3, n0, _ISBE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
217
149
  TypeRegistry.for(n0).registerError(InvalidS3BucketException, __InvalidS3BucketException);
218
- export var InvalidS3KeyException = [
219
- -3,
220
- n0,
221
- _ISKE,
222
- {
223
- [_e]: _c,
224
- [_hE]: 400,
225
- },
226
- [_m],
227
- [0],
228
- ];
150
+ export var InvalidS3KeyException = [-3, n0, _ISKE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
229
151
  TypeRegistry.for(n0).registerError(InvalidS3KeyException, __InvalidS3KeyException);
230
- export var InvalidSampleRateException = [
231
- -3,
232
- n0,
233
- _ISRE,
234
- {
235
- [_e]: _c,
236
- [_hE]: 400,
237
- },
238
- [_m],
239
- [0],
240
- ];
152
+ export var InvalidSampleRateException = [-3, n0, _ISRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
241
153
  TypeRegistry.for(n0).registerError(InvalidSampleRateException, __InvalidSampleRateException);
242
- export var InvalidSnsTopicArnException = [
243
- -3,
244
- n0,
245
- _ISTAE,
246
- {
247
- [_e]: _c,
248
- [_hE]: 400,
249
- },
250
- [_m],
251
- [0],
252
- ];
154
+ export var InvalidSnsTopicArnException = [-3, n0, _ISTAE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
253
155
  TypeRegistry.for(n0).registerError(InvalidSnsTopicArnException, __InvalidSnsTopicArnException);
254
- export var InvalidSsmlException = [
255
- -3,
256
- n0,
257
- _ISE,
258
- {
259
- [_e]: _c,
260
- [_hE]: 400,
261
- },
262
- [_m],
263
- [0],
264
- ];
156
+ export var InvalidSsmlException = [-3, n0, _ISE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
265
157
  TypeRegistry.for(n0).registerError(InvalidSsmlException, __InvalidSsmlException);
266
- export var InvalidTaskIdException = [
267
- -3,
268
- n0,
269
- _ITIE,
270
- {
271
- [_e]: _c,
272
- [_hE]: 400,
273
- },
274
- [_m],
275
- [0],
276
- ];
158
+ export var InvalidTaskIdException = [-3, n0, _ITIE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
277
159
  TypeRegistry.for(n0).registerError(InvalidTaskIdException, __InvalidTaskIdException);
278
- export var LanguageNotSupportedException = [
279
- -3,
280
- n0,
281
- _LNSE,
282
- {
283
- [_e]: _c,
284
- [_hE]: 400,
285
- },
286
- [_m],
287
- [0],
288
- ];
160
+ export var LanguageNotSupportedException = [-3, n0, _LNSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
289
161
  TypeRegistry.for(n0).registerError(LanguageNotSupportedException, __LanguageNotSupportedException);
290
162
  export var Lexicon = [3, n0, _L, 0, [_C, _N], [[() => LexiconContent, 0], 0]];
291
163
  export var LexiconAttributes = [
@@ -297,45 +169,11 @@ export var LexiconAttributes = [
297
169
  [0, 0, 4, 0, 1, 1],
298
170
  ];
299
171
  export var LexiconDescription = [3, n0, _LD, 0, [_N, _At], [0, () => LexiconAttributes]];
300
- export var LexiconNotFoundException = [
301
- -3,
302
- n0,
303
- _LNFE,
304
- {
305
- [_e]: _c,
306
- [_hE]: 404,
307
- },
308
- [_m],
309
- [0],
310
- ];
172
+ export var LexiconNotFoundException = [-3, n0, _LNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
311
173
  TypeRegistry.for(n0).registerError(LexiconNotFoundException, __LexiconNotFoundException);
312
- export var LexiconSizeExceededException = [
313
- -3,
314
- n0,
315
- _LSEE,
316
- {
317
- [_e]: _c,
318
- [_hE]: 400,
319
- },
320
- [_m],
321
- [0],
322
- ];
174
+ export var LexiconSizeExceededException = [-3, n0, _LSEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
323
175
  TypeRegistry.for(n0).registerError(LexiconSizeExceededException, __LexiconSizeExceededException);
324
- export var ListLexiconsInput = [
325
- 3,
326
- n0,
327
- _LLI,
328
- 0,
329
- [_NT],
330
- [
331
- [
332
- 0,
333
- {
334
- [_hQ]: _NT,
335
- },
336
- ],
337
- ],
338
- ];
176
+ export var ListLexiconsInput = [3, n0, _LLI, 0, [_NT], [[0, { [_hQ]: _NT }]]];
339
177
  export var ListLexiconsOutput = [3, n0, _LLO, 0, [_Le, _NT], [() => LexiconDescriptionList, 0]];
340
178
  export var ListSpeechSynthesisTasksInput = [
341
179
  3,
@@ -344,24 +182,9 @@ export var ListSpeechSynthesisTasksInput = [
344
182
  0,
345
183
  [_MR, _NT, _St],
346
184
  [
347
- [
348
- 1,
349
- {
350
- [_hQ]: _MR,
351
- },
352
- ],
353
- [
354
- 0,
355
- {
356
- [_hQ]: _NT,
357
- },
358
- ],
359
- [
360
- 0,
361
- {
362
- [_hQ]: _St,
363
- },
364
- ],
185
+ [1, { [_hQ]: _MR }],
186
+ [0, { [_hQ]: _NT }],
187
+ [0, { [_hQ]: _St }],
365
188
  ],
366
189
  ];
367
190
  export var ListSpeechSynthesisTasksOutput = [
@@ -376,34 +199,18 @@ export var MarksNotSupportedForFormatException = [
376
199
  -3,
377
200
  n0,
378
201
  _MNSFFE,
379
- {
380
- [_e]: _c,
381
- [_hE]: 400,
382
- },
202
+ { [_e]: _c, [_hE]: 400 },
383
203
  [_m],
384
204
  [0],
385
205
  ];
386
206
  TypeRegistry.for(n0).registerError(MarksNotSupportedForFormatException, __MarksNotSupportedForFormatException);
387
- export var MaxLexemeLengthExceededException = [
388
- -3,
389
- n0,
390
- _MLLEE,
391
- {
392
- [_e]: _c,
393
- [_hE]: 400,
394
- },
395
- [_m],
396
- [0],
397
- ];
207
+ export var MaxLexemeLengthExceededException = [-3, n0, _MLLEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
398
208
  TypeRegistry.for(n0).registerError(MaxLexemeLengthExceededException, __MaxLexemeLengthExceededException);
399
209
  export var MaxLexiconsNumberExceededException = [
400
210
  -3,
401
211
  n0,
402
212
  _MLNEE,
403
- {
404
- [_e]: _c,
405
- [_hE]: 400,
406
- },
213
+ { [_e]: _c, [_hE]: 400 },
407
214
  [_m],
408
215
  [0],
409
216
  ];
@@ -420,26 +227,13 @@ export var PutLexiconInput = [
420
227
  ],
421
228
  ];
422
229
  export var PutLexiconOutput = [3, n0, _PLO, 0, [], []];
423
- export var ServiceFailureException = [
424
- -3,
425
- n0,
426
- _SFE,
427
- {
428
- [_e]: _se,
429
- [_hE]: 500,
430
- },
431
- [_m],
432
- [0],
433
- ];
230
+ export var ServiceFailureException = [-3, n0, _SFE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
434
231
  TypeRegistry.for(n0).registerError(ServiceFailureException, __ServiceFailureException);
435
232
  export var SsmlMarksNotSupportedForTextTypeException = [
436
233
  -3,
437
234
  n0,
438
235
  _SMNSFTTE,
439
- {
440
- [_e]: _c,
441
- [_hE]: 400,
442
- },
236
+ { [_e]: _c, [_hE]: 400 },
443
237
  [_m],
444
238
  [0],
445
239
  ];
@@ -461,17 +255,7 @@ export var SynthesisTask = [
461
255
  [_E, _TI, _TS, _TSR, _OU, _CT, _RC, _STA, _LN, _OF, _SR, _SMT, _TT, _VI, _LCa],
462
256
  [0, 0, 0, 0, 0, 4, 1, 0, 64 | 0, 0, 0, 64 | 0, 0, 0, 0],
463
257
  ];
464
- export var SynthesisTaskNotFoundException = [
465
- -3,
466
- n0,
467
- _STNFE,
468
- {
469
- [_e]: _c,
470
- [_hE]: 400,
471
- },
472
- [_m],
473
- [0],
474
- ];
258
+ export var SynthesisTaskNotFoundException = [-3, n0, _STNFE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
475
259
  TypeRegistry.for(n0).registerError(SynthesisTaskNotFoundException, __SynthesisTaskNotFoundException);
476
260
  export var SynthesizeSpeechInput = [
477
261
  3,
@@ -489,55 +273,15 @@ export var SynthesizeSpeechOutput = [
489
273
  [_AS, _CTo, _RC],
490
274
  [
491
275
  [() => AudioStream, 16],
492
- [
493
- 0,
494
- {
495
- [_hH]: _CT_,
496
- },
497
- ],
498
- [
499
- 1,
500
- {
501
- [_hH]: _xaR,
502
- },
503
- ],
276
+ [0, { [_hH]: _CT_ }],
277
+ [1, { [_hH]: _xaR }],
504
278
  ],
505
279
  ];
506
- export var TextLengthExceededException = [
507
- -3,
508
- n0,
509
- _TLEE,
510
- {
511
- [_e]: _c,
512
- [_hE]: 400,
513
- },
514
- [_m],
515
- [0],
516
- ];
280
+ export var TextLengthExceededException = [-3, n0, _TLEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
517
281
  TypeRegistry.for(n0).registerError(TextLengthExceededException, __TextLengthExceededException);
518
- export var UnsupportedPlsAlphabetException = [
519
- -3,
520
- n0,
521
- _UPAE,
522
- {
523
- [_e]: _c,
524
- [_hE]: 400,
525
- },
526
- [_m],
527
- [0],
528
- ];
282
+ export var UnsupportedPlsAlphabetException = [-3, n0, _UPAE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
529
283
  TypeRegistry.for(n0).registerError(UnsupportedPlsAlphabetException, __UnsupportedPlsAlphabetException);
530
- export var UnsupportedPlsLanguageException = [
531
- -3,
532
- n0,
533
- _UPLE,
534
- {
535
- [_e]: _c,
536
- [_hE]: 400,
537
- },
538
- [_m],
539
- [0],
540
- ];
284
+ export var UnsupportedPlsLanguageException = [-3, n0, _UPLE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
541
285
  TypeRegistry.for(n0).registerError(UnsupportedPlsLanguageException, __UnsupportedPlsLanguageException);
542
286
  export var Voice = [
543
287
  3,
@@ -561,9 +305,7 @@ export var DeleteLexicon = [
561
305
  9,
562
306
  n0,
563
307
  _DL,
564
- {
565
- [_h]: ["DELETE", "/v1/lexicons/{Name}", 200],
566
- },
308
+ { [_h]: ["DELETE", "/v1/lexicons/{Name}", 200] },
567
309
  () => DeleteLexiconInput,
568
310
  () => DeleteLexiconOutput,
569
311
  ];
@@ -571,9 +313,7 @@ export var DescribeVoices = [
571
313
  9,
572
314
  n0,
573
315
  _DV,
574
- {
575
- [_h]: ["GET", "/v1/voices", 200],
576
- },
316
+ { [_h]: ["GET", "/v1/voices", 200] },
577
317
  () => DescribeVoicesInput,
578
318
  () => DescribeVoicesOutput,
579
319
  ];
@@ -581,9 +321,7 @@ export var GetLexicon = [
581
321
  9,
582
322
  n0,
583
323
  _GL,
584
- {
585
- [_h]: ["GET", "/v1/lexicons/{Name}", 200],
586
- },
324
+ { [_h]: ["GET", "/v1/lexicons/{Name}", 200] },
587
325
  () => GetLexiconInput,
588
326
  () => GetLexiconOutput,
589
327
  ];
@@ -591,9 +329,7 @@ export var GetSpeechSynthesisTask = [
591
329
  9,
592
330
  n0,
593
331
  _GSST,
594
- {
595
- [_h]: ["GET", "/v1/synthesisTasks/{TaskId}", 200],
596
- },
332
+ { [_h]: ["GET", "/v1/synthesisTasks/{TaskId}", 200] },
597
333
  () => GetSpeechSynthesisTaskInput,
598
334
  () => GetSpeechSynthesisTaskOutput,
599
335
  ];
@@ -601,9 +337,7 @@ export var ListLexicons = [
601
337
  9,
602
338
  n0,
603
339
  _LL,
604
- {
605
- [_h]: ["GET", "/v1/lexicons", 200],
606
- },
340
+ { [_h]: ["GET", "/v1/lexicons", 200] },
607
341
  () => ListLexiconsInput,
608
342
  () => ListLexiconsOutput,
609
343
  ];
@@ -611,9 +345,7 @@ export var ListSpeechSynthesisTasks = [
611
345
  9,
612
346
  n0,
613
347
  _LSST,
614
- {
615
- [_h]: ["GET", "/v1/synthesisTasks", 200],
616
- },
348
+ { [_h]: ["GET", "/v1/synthesisTasks", 200] },
617
349
  () => ListSpeechSynthesisTasksInput,
618
350
  () => ListSpeechSynthesisTasksOutput,
619
351
  ];
@@ -621,9 +353,7 @@ export var PutLexicon = [
621
353
  9,
622
354
  n0,
623
355
  _PL,
624
- {
625
- [_h]: ["PUT", "/v1/lexicons/{Name}", 200],
626
- },
356
+ { [_h]: ["PUT", "/v1/lexicons/{Name}", 200] },
627
357
  () => PutLexiconInput,
628
358
  () => PutLexiconOutput,
629
359
  ];
@@ -631,9 +361,7 @@ export var StartSpeechSynthesisTask = [
631
361
  9,
632
362
  n0,
633
363
  _SSST,
634
- {
635
- [_h]: ["POST", "/v1/synthesisTasks", 200],
636
- },
364
+ { [_h]: ["POST", "/v1/synthesisTasks", 200] },
637
365
  () => StartSpeechSynthesisTaskInput,
638
366
  () => StartSpeechSynthesisTaskOutput,
639
367
  ];
@@ -641,9 +369,7 @@ export var SynthesizeSpeech = [
641
369
  9,
642
370
  n0,
643
371
  _SS,
644
- {
645
- [_h]: ["POST", "/v1/speech", 200],
646
- },
372
+ { [_h]: ["POST", "/v1/speech", 200] },
647
373
  () => SynthesizeSpeechInput,
648
374
  () => SynthesizeSpeechOutput,
649
375
  ];
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { DeleteLexiconCommandInput, DeleteLexiconCommandOutput } from "./commands/DeleteLexiconCommand";
3
3
  import { DescribeVoicesCommandInput, DescribeVoicesCommandOutput } from "./commands/DescribeVoicesCommand";
4
4
  import { GetLexiconCommandInput, GetLexiconCommandOutput } from "./commands/GetLexiconCommand";
@@ -1,12 +1,12 @@
1
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
- import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type SdkStreamMixinInjector as __SdkStreamMixinInjector, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { DeleteLexiconCommandInput, DeleteLexiconCommandOutput } from "./commands/DeleteLexiconCommand";
11
11
  import { DescribeVoicesCommandInput, DescribeVoicesCommandOutput } from "./commands/DescribeVoicesCommand";
12
12
  import { GetLexiconCommandInput, GetLexiconCommandOutput } from "./commands/GetLexiconCommand";
@@ -17,7 +17,7 @@ import { PutLexiconCommandInput, PutLexiconCommandOutput } from "./commands/PutL
17
17
  import { StartSpeechSynthesisTaskCommandInput, StartSpeechSynthesisTaskCommandOutput } from "./commands/StartSpeechSynthesisTaskCommand";
18
18
  import { SynthesizeSpeechCommandInput, SynthesizeSpeechCommandOutput } from "./commands/SynthesizeSpeechCommand";
19
19
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
20
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
20
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
21
21
  export { __Client };
22
22
  /**
23
23
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { PollyHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { PollyHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
- import { PollyClientResolvedConfig } from "../PollyClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type PollyClientResolvedConfig } from "../PollyClient";
4
4
  /**
5
5
  * @internal
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DeleteLexiconInput, DeleteLexiconOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteLexiconInput, DeleteLexiconOutput } from "../models/models_0";
4
+ import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DescribeVoicesInput, DescribeVoicesOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeVoicesInput, DescribeVoicesOutput } from "../models/models_0";
4
+ import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { GetLexiconInput, GetLexiconOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetLexiconInput, GetLexiconOutput } from "../models/models_0";
4
+ import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { GetSpeechSynthesisTaskInput, GetSpeechSynthesisTaskOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetSpeechSynthesisTaskInput, GetSpeechSynthesisTaskOutput } from "../models/models_0";
4
+ import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListLexiconsInput, ListLexiconsOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListLexiconsInput, ListLexiconsOutput } from "../models/models_0";
4
+ import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListSpeechSynthesisTasksInput, ListSpeechSynthesisTasksOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListSpeechSynthesisTasksInput, ListSpeechSynthesisTasksOutput } from "../models/models_0";
4
+ import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutLexiconInput, PutLexiconOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { PutLexiconInput, PutLexiconOutput } from "../models/models_0";
4
+ import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { StartSpeechSynthesisTaskInput, StartSpeechSynthesisTaskOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { StartSpeechSynthesisTaskInput, StartSpeechSynthesisTaskOutput } from "../models/models_0";
4
+ import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
- import { SynthesizeSpeechInput, SynthesizeSpeechOutput } from "../models/models_0";
4
- import { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
2
+ import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
+ import { type SynthesizeSpeechInput, SynthesizeSpeechOutput } from "../models/models_0";
4
+ import type { PollyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PollyClient";
5
5
  /**
6
6
  * @public
7
7
  */