@aws-sdk/client-polly 3.957.0 → 3.958.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/README.md +1 -14
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +205 -182
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +215 -192
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -14,10 +14,8 @@ high-quality speech from plain text and Speech Synthesis Markup Language
|
|
|
14
14
|
the best results for your application domain.</p>
|
|
15
15
|
|
|
16
16
|
## Installing
|
|
17
|
-
|
|
18
17
|
To install this package, simply type add or install @aws-sdk/client-polly
|
|
19
18
|
using your favorite package manager:
|
|
20
|
-
|
|
21
19
|
- `npm install @aws-sdk/client-polly`
|
|
22
20
|
- `yarn add @aws-sdk/client-polly`
|
|
23
21
|
- `pnpm add @aws-sdk/client-polly`
|
|
@@ -53,9 +51,7 @@ To send a request, you:
|
|
|
53
51
|
// a client can be shared by different commands.
|
|
54
52
|
const client = new PollyClient({ region: "REGION" });
|
|
55
53
|
|
|
56
|
-
const params = {
|
|
57
|
-
/** input parameters */
|
|
58
|
-
};
|
|
54
|
+
const params = { /** input parameters */ };
|
|
59
55
|
const command = new ListLexiconsCommand(params);
|
|
60
56
|
```
|
|
61
57
|
|
|
@@ -214,7 +210,6 @@ DeleteLexicon
|
|
|
214
210
|
</summary>
|
|
215
211
|
|
|
216
212
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/polly/command/DeleteLexiconCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/DeleteLexiconCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/DeleteLexiconCommandOutput/)
|
|
217
|
-
|
|
218
213
|
</details>
|
|
219
214
|
<details>
|
|
220
215
|
<summary>
|
|
@@ -222,7 +217,6 @@ DescribeVoices
|
|
|
222
217
|
</summary>
|
|
223
218
|
|
|
224
219
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/polly/command/DescribeVoicesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/DescribeVoicesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/DescribeVoicesCommandOutput/)
|
|
225
|
-
|
|
226
220
|
</details>
|
|
227
221
|
<details>
|
|
228
222
|
<summary>
|
|
@@ -230,7 +224,6 @@ GetLexicon
|
|
|
230
224
|
</summary>
|
|
231
225
|
|
|
232
226
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/polly/command/GetLexiconCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/GetLexiconCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/GetLexiconCommandOutput/)
|
|
233
|
-
|
|
234
227
|
</details>
|
|
235
228
|
<details>
|
|
236
229
|
<summary>
|
|
@@ -238,7 +231,6 @@ GetSpeechSynthesisTask
|
|
|
238
231
|
</summary>
|
|
239
232
|
|
|
240
233
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/polly/command/GetSpeechSynthesisTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/GetSpeechSynthesisTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/GetSpeechSynthesisTaskCommandOutput/)
|
|
241
|
-
|
|
242
234
|
</details>
|
|
243
235
|
<details>
|
|
244
236
|
<summary>
|
|
@@ -246,7 +238,6 @@ ListLexicons
|
|
|
246
238
|
</summary>
|
|
247
239
|
|
|
248
240
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/polly/command/ListLexiconsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/ListLexiconsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/ListLexiconsCommandOutput/)
|
|
249
|
-
|
|
250
241
|
</details>
|
|
251
242
|
<details>
|
|
252
243
|
<summary>
|
|
@@ -254,7 +245,6 @@ ListSpeechSynthesisTasks
|
|
|
254
245
|
</summary>
|
|
255
246
|
|
|
256
247
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/polly/command/ListSpeechSynthesisTasksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/ListSpeechSynthesisTasksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/ListSpeechSynthesisTasksCommandOutput/)
|
|
257
|
-
|
|
258
248
|
</details>
|
|
259
249
|
<details>
|
|
260
250
|
<summary>
|
|
@@ -262,7 +252,6 @@ PutLexicon
|
|
|
262
252
|
</summary>
|
|
263
253
|
|
|
264
254
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/polly/command/PutLexiconCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/PutLexiconCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/PutLexiconCommandOutput/)
|
|
265
|
-
|
|
266
255
|
</details>
|
|
267
256
|
<details>
|
|
268
257
|
<summary>
|
|
@@ -270,7 +259,6 @@ StartSpeechSynthesisTask
|
|
|
270
259
|
</summary>
|
|
271
260
|
|
|
272
261
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/polly/command/StartSpeechSynthesisTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/StartSpeechSynthesisTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/StartSpeechSynthesisTaskCommandOutput/)
|
|
273
|
-
|
|
274
262
|
</details>
|
|
275
263
|
<details>
|
|
276
264
|
<summary>
|
|
@@ -278,5 +266,4 @@ SynthesizeSpeech
|
|
|
278
266
|
</summary>
|
|
279
267
|
|
|
280
268
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/polly/command/SynthesizeSpeechCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/SynthesizeSpeechCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-polly/Interface/SynthesizeSpeechCommandOutput/)
|
|
281
|
-
|
|
282
269
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultPollyHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultPollyHttpAuthSchemeParametersProvider = defaultPollyHttpAuthSchemeParametersProvider;
|
package/dist-cjs/index.js
CHANGED
|
@@ -481,261 +481,284 @@ const _xaR = "x-amzn-RequestCharacters";
|
|
|
481
481
|
const n0 = "com.amazonaws.polly";
|
|
482
482
|
var AudioStream = [0, n0, _AS, { [_s]: 1 }, 42];
|
|
483
483
|
var LexiconContent = [0, n0, _LC, 8, 0];
|
|
484
|
-
var DeleteLexiconInput$ = [3, n0, _DLI,
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
484
|
+
var DeleteLexiconInput$ = [3, n0, _DLI,
|
|
485
|
+
0,
|
|
486
|
+
[_N],
|
|
487
|
+
[[0, 1]]
|
|
488
|
+
];
|
|
489
|
+
var DeleteLexiconOutput$ = [3, n0, _DLO,
|
|
490
|
+
0,
|
|
491
|
+
[],
|
|
492
|
+
[]
|
|
493
|
+
];
|
|
494
|
+
var DescribeVoicesInput$ = [3, n0, _DVI,
|
|
490
495
|
0,
|
|
491
496
|
[_E, _LCa, _IALC, _NT],
|
|
492
|
-
[
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
]
|
|
497
|
+
[[0, { [_hQ]: _E }], [0, { [_hQ]: _LCa }], [2, { [_hQ]: _IALC }], [0, { [_hQ]: _NT }]]
|
|
498
|
+
];
|
|
499
|
+
var DescribeVoicesOutput$ = [3, n0, _DVO,
|
|
500
|
+
0,
|
|
501
|
+
[_V, _NT],
|
|
502
|
+
[() => VoiceList, 0]
|
|
503
|
+
];
|
|
504
|
+
var EngineNotSupportedException$ = [-3, n0, _ENSE,
|
|
505
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
506
|
+
[_m],
|
|
507
|
+
[0]
|
|
498
508
|
];
|
|
499
|
-
var DescribeVoicesOutput$ = [3, n0, _DVO, 0, [_V, _NT], [() => VoiceList, 0]];
|
|
500
|
-
var EngineNotSupportedException$ = [-3, n0, _ENSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
501
509
|
schema.TypeRegistry.for(n0).registerError(EngineNotSupportedException$, EngineNotSupportedException);
|
|
502
|
-
var GetLexiconInput$ = [3, n0, _GLI,
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
510
|
+
var GetLexiconInput$ = [3, n0, _GLI,
|
|
511
|
+
0,
|
|
512
|
+
[_N],
|
|
513
|
+
[[0, 1]]
|
|
514
|
+
];
|
|
515
|
+
var GetLexiconOutput$ = [3, n0, _GLO,
|
|
507
516
|
0,
|
|
508
517
|
[_L, _LA],
|
|
509
|
-
[[() => Lexicon$, 0], () => LexiconAttributes$]
|
|
518
|
+
[[() => Lexicon$, 0], () => LexiconAttributes$]
|
|
519
|
+
];
|
|
520
|
+
var GetSpeechSynthesisTaskInput$ = [3, n0, _GSSTI,
|
|
521
|
+
0,
|
|
522
|
+
[_TI],
|
|
523
|
+
[[0, 1]]
|
|
524
|
+
];
|
|
525
|
+
var GetSpeechSynthesisTaskOutput$ = [3, n0, _GSSTO,
|
|
526
|
+
0,
|
|
527
|
+
[_ST],
|
|
528
|
+
[() => SynthesisTask$]
|
|
529
|
+
];
|
|
530
|
+
var InvalidLexiconException$ = [-3, n0, _ILE,
|
|
531
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
532
|
+
[_m],
|
|
533
|
+
[0]
|
|
510
534
|
];
|
|
511
|
-
var GetSpeechSynthesisTaskInput$ = [3, n0, _GSSTI, 0, [_TI], [[0, 1]]];
|
|
512
|
-
var GetSpeechSynthesisTaskOutput$ = [3, n0, _GSSTO, 0, [_ST], [() => SynthesisTask$]];
|
|
513
|
-
var InvalidLexiconException$ = [-3, n0, _ILE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
514
535
|
schema.TypeRegistry.for(n0).registerError(InvalidLexiconException$, InvalidLexiconException);
|
|
515
|
-
var InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
536
|
+
var InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
537
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
538
|
+
[_m],
|
|
539
|
+
[0]
|
|
540
|
+
];
|
|
516
541
|
schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
517
|
-
var InvalidS3BucketException$ = [-3, n0, _ISBE,
|
|
542
|
+
var InvalidS3BucketException$ = [-3, n0, _ISBE,
|
|
543
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
544
|
+
[_m],
|
|
545
|
+
[0]
|
|
546
|
+
];
|
|
518
547
|
schema.TypeRegistry.for(n0).registerError(InvalidS3BucketException$, InvalidS3BucketException);
|
|
519
|
-
var InvalidS3KeyException$ = [-3, n0, _ISKE,
|
|
548
|
+
var InvalidS3KeyException$ = [-3, n0, _ISKE,
|
|
549
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
550
|
+
[_m],
|
|
551
|
+
[0]
|
|
552
|
+
];
|
|
520
553
|
schema.TypeRegistry.for(n0).registerError(InvalidS3KeyException$, InvalidS3KeyException);
|
|
521
|
-
var InvalidSampleRateException$ = [-3, n0, _ISRE,
|
|
554
|
+
var InvalidSampleRateException$ = [-3, n0, _ISRE,
|
|
555
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
556
|
+
[_m],
|
|
557
|
+
[0]
|
|
558
|
+
];
|
|
522
559
|
schema.TypeRegistry.for(n0).registerError(InvalidSampleRateException$, InvalidSampleRateException);
|
|
523
|
-
var InvalidSnsTopicArnException$ = [-3, n0, _ISTAE,
|
|
560
|
+
var InvalidSnsTopicArnException$ = [-3, n0, _ISTAE,
|
|
561
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
562
|
+
[_m],
|
|
563
|
+
[0]
|
|
564
|
+
];
|
|
524
565
|
schema.TypeRegistry.for(n0).registerError(InvalidSnsTopicArnException$, InvalidSnsTopicArnException);
|
|
525
|
-
var InvalidSsmlException$ = [-3, n0, _ISE,
|
|
566
|
+
var InvalidSsmlException$ = [-3, n0, _ISE,
|
|
567
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
568
|
+
[_m],
|
|
569
|
+
[0]
|
|
570
|
+
];
|
|
526
571
|
schema.TypeRegistry.for(n0).registerError(InvalidSsmlException$, InvalidSsmlException);
|
|
527
|
-
var InvalidTaskIdException$ = [-3, n0, _ITIE,
|
|
572
|
+
var InvalidTaskIdException$ = [-3, n0, _ITIE,
|
|
573
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
574
|
+
[_m],
|
|
575
|
+
[0]
|
|
576
|
+
];
|
|
528
577
|
schema.TypeRegistry.for(n0).registerError(InvalidTaskIdException$, InvalidTaskIdException);
|
|
529
|
-
var LanguageNotSupportedException$ = [-3, n0, _LNSE,
|
|
578
|
+
var LanguageNotSupportedException$ = [-3, n0, _LNSE,
|
|
579
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
580
|
+
[_m],
|
|
581
|
+
[0]
|
|
582
|
+
];
|
|
530
583
|
schema.TypeRegistry.for(n0).registerError(LanguageNotSupportedException$, LanguageNotSupportedException);
|
|
531
|
-
var Lexicon$ = [3, n0, _L,
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
584
|
+
var Lexicon$ = [3, n0, _L,
|
|
585
|
+
0,
|
|
586
|
+
[_C, _N],
|
|
587
|
+
[[() => LexiconContent, 0], 0]
|
|
588
|
+
];
|
|
589
|
+
var LexiconAttributes$ = [3, n0, _LA,
|
|
536
590
|
0,
|
|
537
591
|
[_A, _LCa, _LM, _LAe, _LCe, _S],
|
|
538
|
-
[0, 0, 4, 0, 1, 1]
|
|
592
|
+
[0, 0, 4, 0, 1, 1]
|
|
593
|
+
];
|
|
594
|
+
var LexiconDescription$ = [3, n0, _LD,
|
|
595
|
+
0,
|
|
596
|
+
[_N, _At],
|
|
597
|
+
[0, () => LexiconAttributes$]
|
|
598
|
+
];
|
|
599
|
+
var LexiconNotFoundException$ = [-3, n0, _LNFE,
|
|
600
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
601
|
+
[_m],
|
|
602
|
+
[0]
|
|
539
603
|
];
|
|
540
|
-
var LexiconDescription$ = [3, n0, _LD, 0, [_N, _At], [0, () => LexiconAttributes$]];
|
|
541
|
-
var LexiconNotFoundException$ = [-3, n0, _LNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
542
604
|
schema.TypeRegistry.for(n0).registerError(LexiconNotFoundException$, LexiconNotFoundException);
|
|
543
|
-
var LexiconSizeExceededException$ = [-3, n0, _LSEE,
|
|
605
|
+
var LexiconSizeExceededException$ = [-3, n0, _LSEE,
|
|
606
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
607
|
+
[_m],
|
|
608
|
+
[0]
|
|
609
|
+
];
|
|
544
610
|
schema.TypeRegistry.for(n0).registerError(LexiconSizeExceededException$, LexiconSizeExceededException);
|
|
545
|
-
var ListLexiconsInput$ = [3, n0, _LLI,
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
611
|
+
var ListLexiconsInput$ = [3, n0, _LLI,
|
|
612
|
+
0,
|
|
613
|
+
[_NT],
|
|
614
|
+
[[0, { [_hQ]: _NT }]]
|
|
615
|
+
];
|
|
616
|
+
var ListLexiconsOutput$ = [3, n0, _LLO,
|
|
617
|
+
0,
|
|
618
|
+
[_Le, _NT],
|
|
619
|
+
[() => LexiconDescriptionList, 0]
|
|
620
|
+
];
|
|
621
|
+
var ListSpeechSynthesisTasksInput$ = [3, n0, _LSSTI,
|
|
551
622
|
0,
|
|
552
623
|
[_MR, _NT, _St],
|
|
553
|
-
[
|
|
554
|
-
[1, { [_hQ]: _MR }],
|
|
555
|
-
[0, { [_hQ]: _NT }],
|
|
556
|
-
[0, { [_hQ]: _St }],
|
|
557
|
-
],
|
|
624
|
+
[[1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }], [0, { [_hQ]: _St }]]
|
|
558
625
|
];
|
|
559
|
-
var ListSpeechSynthesisTasksOutput$ = [
|
|
560
|
-
3,
|
|
561
|
-
n0,
|
|
562
|
-
_LSSTO,
|
|
626
|
+
var ListSpeechSynthesisTasksOutput$ = [3, n0, _LSSTO,
|
|
563
627
|
0,
|
|
564
628
|
[_NT, _STy],
|
|
565
|
-
[0, () => SynthesisTasks]
|
|
629
|
+
[0, () => SynthesisTasks]
|
|
566
630
|
];
|
|
567
|
-
var MarksNotSupportedForFormatException$ = [
|
|
568
|
-
-3,
|
|
569
|
-
n0,
|
|
570
|
-
_MNSFFE,
|
|
631
|
+
var MarksNotSupportedForFormatException$ = [-3, n0, _MNSFFE,
|
|
571
632
|
{ [_e]: _c, [_hE]: 400 },
|
|
572
633
|
[_m],
|
|
573
|
-
[0]
|
|
634
|
+
[0]
|
|
574
635
|
];
|
|
575
636
|
schema.TypeRegistry.for(n0).registerError(MarksNotSupportedForFormatException$, MarksNotSupportedForFormatException);
|
|
576
|
-
var MaxLexemeLengthExceededException$ = [-3, n0, _MLLEE,
|
|
637
|
+
var MaxLexemeLengthExceededException$ = [-3, n0, _MLLEE,
|
|
638
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
639
|
+
[_m],
|
|
640
|
+
[0]
|
|
641
|
+
];
|
|
577
642
|
schema.TypeRegistry.for(n0).registerError(MaxLexemeLengthExceededException$, MaxLexemeLengthExceededException);
|
|
578
|
-
var MaxLexiconsNumberExceededException$ = [
|
|
579
|
-
-3,
|
|
580
|
-
n0,
|
|
581
|
-
_MLNEE,
|
|
643
|
+
var MaxLexiconsNumberExceededException$ = [-3, n0, _MLNEE,
|
|
582
644
|
{ [_e]: _c, [_hE]: 400 },
|
|
583
645
|
[_m],
|
|
584
|
-
[0]
|
|
646
|
+
[0]
|
|
585
647
|
];
|
|
586
648
|
schema.TypeRegistry.for(n0).registerError(MaxLexiconsNumberExceededException$, MaxLexiconsNumberExceededException);
|
|
587
|
-
var PutLexiconInput$ = [
|
|
588
|
-
3,
|
|
589
|
-
n0,
|
|
590
|
-
_PLI,
|
|
649
|
+
var PutLexiconInput$ = [3, n0, _PLI,
|
|
591
650
|
0,
|
|
592
651
|
[_N, _C],
|
|
593
|
-
[
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
652
|
+
[[0, 1], [() => LexiconContent, 0]]
|
|
653
|
+
];
|
|
654
|
+
var PutLexiconOutput$ = [3, n0, _PLO,
|
|
655
|
+
0,
|
|
656
|
+
[],
|
|
657
|
+
[]
|
|
658
|
+
];
|
|
659
|
+
var ServiceFailureException$ = [-3, n0, _SFE,
|
|
660
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
661
|
+
[_m],
|
|
662
|
+
[0]
|
|
597
663
|
];
|
|
598
|
-
var PutLexiconOutput$ = [3, n0, _PLO, 0, [], []];
|
|
599
|
-
var ServiceFailureException$ = [-3, n0, _SFE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
600
664
|
schema.TypeRegistry.for(n0).registerError(ServiceFailureException$, ServiceFailureException);
|
|
601
|
-
var SsmlMarksNotSupportedForTextTypeException$ = [
|
|
602
|
-
-3,
|
|
603
|
-
n0,
|
|
604
|
-
_SMNSFTTE,
|
|
665
|
+
var SsmlMarksNotSupportedForTextTypeException$ = [-3, n0, _SMNSFTTE,
|
|
605
666
|
{ [_e]: _c, [_hE]: 400 },
|
|
606
667
|
[_m],
|
|
607
|
-
[0]
|
|
668
|
+
[0]
|
|
608
669
|
];
|
|
609
670
|
schema.TypeRegistry.for(n0).registerError(SsmlMarksNotSupportedForTextTypeException$, SsmlMarksNotSupportedForTextTypeException);
|
|
610
|
-
var StartSpeechSynthesisTaskInput$ = [
|
|
611
|
-
3,
|
|
612
|
-
n0,
|
|
613
|
-
_SSSTI,
|
|
671
|
+
var StartSpeechSynthesisTaskInput$ = [3, n0, _SSSTI,
|
|
614
672
|
0,
|
|
615
673
|
[_E, _LCa, _LN, _OF, _OSBN, _OSKP, _SR, _STA, _SMT, _T, _TT, _VI],
|
|
616
|
-
[0, 0, 64 | 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0]
|
|
674
|
+
[0, 0, 64 | 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0]
|
|
617
675
|
];
|
|
618
|
-
var StartSpeechSynthesisTaskOutput$ = [3, n0, _SSSTO,
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
676
|
+
var StartSpeechSynthesisTaskOutput$ = [3, n0, _SSSTO,
|
|
677
|
+
0,
|
|
678
|
+
[_ST],
|
|
679
|
+
[() => SynthesisTask$]
|
|
680
|
+
];
|
|
681
|
+
var SynthesisTask$ = [3, n0, _ST,
|
|
623
682
|
0,
|
|
624
683
|
[_E, _TI, _TS, _TSR, _OU, _CT, _RC, _STA, _LN, _OF, _SR, _SMT, _TT, _VI, _LCa],
|
|
625
|
-
[0, 0, 0, 0, 0, 4, 1, 0, 64 | 0, 0, 0, 64 | 0, 0, 0, 0]
|
|
684
|
+
[0, 0, 0, 0, 0, 4, 1, 0, 64 | 0, 0, 0, 64 | 0, 0, 0, 0]
|
|
685
|
+
];
|
|
686
|
+
var SynthesisTaskNotFoundException$ = [-3, n0, _STNFE,
|
|
687
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
688
|
+
[_m],
|
|
689
|
+
[0]
|
|
626
690
|
];
|
|
627
|
-
var SynthesisTaskNotFoundException$ = [-3, n0, _STNFE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
628
691
|
schema.TypeRegistry.for(n0).registerError(SynthesisTaskNotFoundException$, SynthesisTaskNotFoundException);
|
|
629
|
-
var SynthesizeSpeechInput$ = [
|
|
630
|
-
3,
|
|
631
|
-
n0,
|
|
632
|
-
_SSI,
|
|
692
|
+
var SynthesizeSpeechInput$ = [3, n0, _SSI,
|
|
633
693
|
0,
|
|
634
694
|
[_E, _LCa, _LN, _OF, _SR, _SMT, _T, _TT, _VI],
|
|
635
|
-
[0, 0, 64 | 0, 0, 0, 64 | 0, 0, 0, 0]
|
|
695
|
+
[0, 0, 64 | 0, 0, 0, 64 | 0, 0, 0, 0]
|
|
636
696
|
];
|
|
637
|
-
var SynthesizeSpeechOutput$ = [
|
|
638
|
-
3,
|
|
639
|
-
n0,
|
|
640
|
-
_SSO,
|
|
697
|
+
var SynthesizeSpeechOutput$ = [3, n0, _SSO,
|
|
641
698
|
0,
|
|
642
699
|
[_AS, _CTo, _RC],
|
|
643
|
-
[
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
],
|
|
700
|
+
[[() => AudioStream, 16], [0, { [_hH]: _CT_ }], [1, { [_hH]: _xaR }]]
|
|
701
|
+
];
|
|
702
|
+
var TextLengthExceededException$ = [-3, n0, _TLEE,
|
|
703
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
704
|
+
[_m],
|
|
705
|
+
[0]
|
|
648
706
|
];
|
|
649
|
-
var TextLengthExceededException$ = [-3, n0, _TLEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
650
707
|
schema.TypeRegistry.for(n0).registerError(TextLengthExceededException$, TextLengthExceededException);
|
|
651
|
-
var UnsupportedPlsAlphabetException$ = [-3, n0, _UPAE,
|
|
708
|
+
var UnsupportedPlsAlphabetException$ = [-3, n0, _UPAE,
|
|
709
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
710
|
+
[_m],
|
|
711
|
+
[0]
|
|
712
|
+
];
|
|
652
713
|
schema.TypeRegistry.for(n0).registerError(UnsupportedPlsAlphabetException$, UnsupportedPlsAlphabetException);
|
|
653
|
-
var UnsupportedPlsLanguageException$ = [-3, n0, _UPLE,
|
|
714
|
+
var UnsupportedPlsLanguageException$ = [-3, n0, _UPLE,
|
|
715
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
716
|
+
[_m],
|
|
717
|
+
[0]
|
|
718
|
+
];
|
|
654
719
|
schema.TypeRegistry.for(n0).registerError(UnsupportedPlsLanguageException$, UnsupportedPlsLanguageException);
|
|
655
|
-
var Voice$ = [
|
|
656
|
-
3,
|
|
657
|
-
n0,
|
|
658
|
-
_Vo,
|
|
720
|
+
var Voice$ = [3, n0, _Vo,
|
|
659
721
|
0,
|
|
660
722
|
[_G, _I, _LCa, _LNa, _N, _ALC, _SE],
|
|
661
|
-
[0, 0, 0, 0, 0, 64 | 0, 64 | 0]
|
|
723
|
+
[0, 0, 0, 0, 0, 64 | 0, 64 | 0]
|
|
662
724
|
];
|
|
663
725
|
var PollyServiceException$ = [-3, _sm, "PollyServiceException", 0, [], []];
|
|
664
726
|
schema.TypeRegistry.for(_sm).registerError(PollyServiceException$, PollyServiceException);
|
|
665
|
-
var LexiconDescriptionList = [1, n0, _LDL,
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
var
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
727
|
+
var LexiconDescriptionList = [1, n0, _LDL,
|
|
728
|
+
0, () => LexiconDescription$
|
|
729
|
+
];
|
|
730
|
+
var SynthesisTasks = [1, n0, _STy,
|
|
731
|
+
0, () => SynthesisTask$
|
|
732
|
+
];
|
|
733
|
+
var VoiceList = [1, n0, _VL,
|
|
734
|
+
0, () => Voice$
|
|
735
|
+
];
|
|
736
|
+
var DeleteLexicon$ = [9, n0, _DL,
|
|
737
|
+
{ [_h]: ["DELETE", "/v1/lexicons/{Name}", 200] }, () => DeleteLexiconInput$, () => DeleteLexiconOutput$
|
|
675
738
|
];
|
|
676
|
-
var DescribeVoices$ = [
|
|
677
|
-
|
|
678
|
-
n0,
|
|
679
|
-
_DV,
|
|
680
|
-
{ [_h]: ["GET", "/v1/voices", 200] },
|
|
681
|
-
() => DescribeVoicesInput$,
|
|
682
|
-
() => DescribeVoicesOutput$,
|
|
739
|
+
var DescribeVoices$ = [9, n0, _DV,
|
|
740
|
+
{ [_h]: ["GET", "/v1/voices", 200] }, () => DescribeVoicesInput$, () => DescribeVoicesOutput$
|
|
683
741
|
];
|
|
684
|
-
var GetLexicon$ = [
|
|
685
|
-
|
|
686
|
-
n0,
|
|
687
|
-
_GL,
|
|
688
|
-
{ [_h]: ["GET", "/v1/lexicons/{Name}", 200] },
|
|
689
|
-
() => GetLexiconInput$,
|
|
690
|
-
() => GetLexiconOutput$,
|
|
742
|
+
var GetLexicon$ = [9, n0, _GL,
|
|
743
|
+
{ [_h]: ["GET", "/v1/lexicons/{Name}", 200] }, () => GetLexiconInput$, () => GetLexiconOutput$
|
|
691
744
|
];
|
|
692
|
-
var GetSpeechSynthesisTask$ = [
|
|
693
|
-
|
|
694
|
-
n0,
|
|
695
|
-
_GSST,
|
|
696
|
-
{ [_h]: ["GET", "/v1/synthesisTasks/{TaskId}", 200] },
|
|
697
|
-
() => GetSpeechSynthesisTaskInput$,
|
|
698
|
-
() => GetSpeechSynthesisTaskOutput$,
|
|
745
|
+
var GetSpeechSynthesisTask$ = [9, n0, _GSST,
|
|
746
|
+
{ [_h]: ["GET", "/v1/synthesisTasks/{TaskId}", 200] }, () => GetSpeechSynthesisTaskInput$, () => GetSpeechSynthesisTaskOutput$
|
|
699
747
|
];
|
|
700
|
-
var ListLexicons$ = [
|
|
701
|
-
|
|
702
|
-
n0,
|
|
703
|
-
_LL,
|
|
704
|
-
{ [_h]: ["GET", "/v1/lexicons", 200] },
|
|
705
|
-
() => ListLexiconsInput$,
|
|
706
|
-
() => ListLexiconsOutput$,
|
|
748
|
+
var ListLexicons$ = [9, n0, _LL,
|
|
749
|
+
{ [_h]: ["GET", "/v1/lexicons", 200] }, () => ListLexiconsInput$, () => ListLexiconsOutput$
|
|
707
750
|
];
|
|
708
|
-
var ListSpeechSynthesisTasks$ = [
|
|
709
|
-
|
|
710
|
-
n0,
|
|
711
|
-
_LSST,
|
|
712
|
-
{ [_h]: ["GET", "/v1/synthesisTasks", 200] },
|
|
713
|
-
() => ListSpeechSynthesisTasksInput$,
|
|
714
|
-
() => ListSpeechSynthesisTasksOutput$,
|
|
751
|
+
var ListSpeechSynthesisTasks$ = [9, n0, _LSST,
|
|
752
|
+
{ [_h]: ["GET", "/v1/synthesisTasks", 200] }, () => ListSpeechSynthesisTasksInput$, () => ListSpeechSynthesisTasksOutput$
|
|
715
753
|
];
|
|
716
|
-
var PutLexicon$ = [
|
|
717
|
-
|
|
718
|
-
n0,
|
|
719
|
-
_PL,
|
|
720
|
-
{ [_h]: ["PUT", "/v1/lexicons/{Name}", 200] },
|
|
721
|
-
() => PutLexiconInput$,
|
|
722
|
-
() => PutLexiconOutput$,
|
|
754
|
+
var PutLexicon$ = [9, n0, _PL,
|
|
755
|
+
{ [_h]: ["PUT", "/v1/lexicons/{Name}", 200] }, () => PutLexiconInput$, () => PutLexiconOutput$
|
|
723
756
|
];
|
|
724
|
-
var StartSpeechSynthesisTask$ = [
|
|
725
|
-
|
|
726
|
-
n0,
|
|
727
|
-
_SSST,
|
|
728
|
-
{ [_h]: ["POST", "/v1/synthesisTasks", 200] },
|
|
729
|
-
() => StartSpeechSynthesisTaskInput$,
|
|
730
|
-
() => StartSpeechSynthesisTaskOutput$,
|
|
757
|
+
var StartSpeechSynthesisTask$ = [9, n0, _SSST,
|
|
758
|
+
{ [_h]: ["POST", "/v1/synthesisTasks", 200] }, () => StartSpeechSynthesisTaskInput$, () => StartSpeechSynthesisTaskOutput$
|
|
731
759
|
];
|
|
732
|
-
var SynthesizeSpeech$ = [
|
|
733
|
-
|
|
734
|
-
n0,
|
|
735
|
-
_SS,
|
|
736
|
-
{ [_h]: ["POST", "/v1/speech", 200] },
|
|
737
|
-
() => SynthesizeSpeechInput$,
|
|
738
|
-
() => SynthesizeSpeechOutput$,
|
|
760
|
+
var SynthesizeSpeech$ = [9, n0, _SS,
|
|
761
|
+
{ [_h]: ["POST", "/v1/speech", 200] }, () => SynthesizeSpeechInput$, () => SynthesizeSpeechOutput$
|
|
739
762
|
];
|
|
740
763
|
|
|
741
764
|
class DeleteLexiconCommand extends smithyClient.Command
|
|
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
29
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
38
|
-
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
38
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
-
region: config?.region ??
|
|
41
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
39
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
42
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
43
41
|
retryMode: config?.retryMode ??
|
|
44
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
|
3
3
|
export const defaultPollyHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
defaultsMode,
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
24
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
25
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import {
|
|
4
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
|
-
region: config?.region ??
|
|
37
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
35
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
37
|
retryMode: config?.retryMode ??
|
|
40
38
|
loadNodeConfig({
|
|
@@ -112,263 +112,286 @@ import { EngineNotSupportedException, InvalidLexiconException, InvalidNextTokenE
|
|
|
112
112
|
import { PollyServiceException } from "../models/PollyServiceException";
|
|
113
113
|
var AudioStream = [0, n0, _AS, { [_s]: 1 }, 42];
|
|
114
114
|
var LexiconContent = [0, n0, _LC, 8, 0];
|
|
115
|
-
export var DeleteLexiconInput$ = [3, n0, _DLI,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
115
|
+
export var DeleteLexiconInput$ = [3, n0, _DLI,
|
|
116
|
+
0,
|
|
117
|
+
[_N],
|
|
118
|
+
[[0, 1]]
|
|
119
|
+
];
|
|
120
|
+
export var DeleteLexiconOutput$ = [3, n0, _DLO,
|
|
121
|
+
0,
|
|
122
|
+
[],
|
|
123
|
+
[]
|
|
124
|
+
];
|
|
125
|
+
export var DescribeVoicesInput$ = [3, n0, _DVI,
|
|
121
126
|
0,
|
|
122
127
|
[_E, _LCa, _IALC, _NT],
|
|
123
|
-
[
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
]
|
|
129
|
-
];
|
|
130
|
-
export var
|
|
131
|
-
|
|
128
|
+
[[0, { [_hQ]: _E }], [0, { [_hQ]: _LCa }], [2, { [_hQ]: _IALC }], [0, { [_hQ]: _NT }]]
|
|
129
|
+
];
|
|
130
|
+
export var DescribeVoicesOutput$ = [3, n0, _DVO,
|
|
131
|
+
0,
|
|
132
|
+
[_V, _NT],
|
|
133
|
+
[() => VoiceList, 0]
|
|
134
|
+
];
|
|
135
|
+
export var EngineNotSupportedException$ = [-3, n0, _ENSE,
|
|
136
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
137
|
+
[_m],
|
|
138
|
+
[0]
|
|
139
|
+
];
|
|
132
140
|
TypeRegistry.for(n0).registerError(EngineNotSupportedException$, EngineNotSupportedException);
|
|
133
|
-
export var GetLexiconInput$ = [3, n0, _GLI,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
141
|
+
export var GetLexiconInput$ = [3, n0, _GLI,
|
|
142
|
+
0,
|
|
143
|
+
[_N],
|
|
144
|
+
[[0, 1]]
|
|
145
|
+
];
|
|
146
|
+
export var GetLexiconOutput$ = [3, n0, _GLO,
|
|
138
147
|
0,
|
|
139
148
|
[_L, _LA],
|
|
140
|
-
[[() => Lexicon$, 0], () => LexiconAttributes$]
|
|
149
|
+
[[() => Lexicon$, 0], () => LexiconAttributes$]
|
|
150
|
+
];
|
|
151
|
+
export var GetSpeechSynthesisTaskInput$ = [3, n0, _GSSTI,
|
|
152
|
+
0,
|
|
153
|
+
[_TI],
|
|
154
|
+
[[0, 1]]
|
|
155
|
+
];
|
|
156
|
+
export var GetSpeechSynthesisTaskOutput$ = [3, n0, _GSSTO,
|
|
157
|
+
0,
|
|
158
|
+
[_ST],
|
|
159
|
+
[() => SynthesisTask$]
|
|
160
|
+
];
|
|
161
|
+
export var InvalidLexiconException$ = [-3, n0, _ILE,
|
|
162
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
163
|
+
[_m],
|
|
164
|
+
[0]
|
|
141
165
|
];
|
|
142
|
-
export var GetSpeechSynthesisTaskInput$ = [3, n0, _GSSTI, 0, [_TI], [[0, 1]]];
|
|
143
|
-
export var GetSpeechSynthesisTaskOutput$ = [3, n0, _GSSTO, 0, [_ST], [() => SynthesisTask$]];
|
|
144
|
-
export var InvalidLexiconException$ = [-3, n0, _ILE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
145
166
|
TypeRegistry.for(n0).registerError(InvalidLexiconException$, InvalidLexiconException);
|
|
146
|
-
export var InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
167
|
+
export var InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
168
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
169
|
+
[_m],
|
|
170
|
+
[0]
|
|
171
|
+
];
|
|
147
172
|
TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
148
|
-
export var InvalidS3BucketException$ = [-3, n0, _ISBE,
|
|
173
|
+
export var InvalidS3BucketException$ = [-3, n0, _ISBE,
|
|
174
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
175
|
+
[_m],
|
|
176
|
+
[0]
|
|
177
|
+
];
|
|
149
178
|
TypeRegistry.for(n0).registerError(InvalidS3BucketException$, InvalidS3BucketException);
|
|
150
|
-
export var InvalidS3KeyException$ = [-3, n0, _ISKE,
|
|
179
|
+
export var InvalidS3KeyException$ = [-3, n0, _ISKE,
|
|
180
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
181
|
+
[_m],
|
|
182
|
+
[0]
|
|
183
|
+
];
|
|
151
184
|
TypeRegistry.for(n0).registerError(InvalidS3KeyException$, InvalidS3KeyException);
|
|
152
|
-
export var InvalidSampleRateException$ = [-3, n0, _ISRE,
|
|
185
|
+
export var InvalidSampleRateException$ = [-3, n0, _ISRE,
|
|
186
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
187
|
+
[_m],
|
|
188
|
+
[0]
|
|
189
|
+
];
|
|
153
190
|
TypeRegistry.for(n0).registerError(InvalidSampleRateException$, InvalidSampleRateException);
|
|
154
|
-
export var InvalidSnsTopicArnException$ = [-3, n0, _ISTAE,
|
|
191
|
+
export var InvalidSnsTopicArnException$ = [-3, n0, _ISTAE,
|
|
192
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
193
|
+
[_m],
|
|
194
|
+
[0]
|
|
195
|
+
];
|
|
155
196
|
TypeRegistry.for(n0).registerError(InvalidSnsTopicArnException$, InvalidSnsTopicArnException);
|
|
156
|
-
export var InvalidSsmlException$ = [-3, n0, _ISE,
|
|
197
|
+
export var InvalidSsmlException$ = [-3, n0, _ISE,
|
|
198
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
199
|
+
[_m],
|
|
200
|
+
[0]
|
|
201
|
+
];
|
|
157
202
|
TypeRegistry.for(n0).registerError(InvalidSsmlException$, InvalidSsmlException);
|
|
158
|
-
export var InvalidTaskIdException$ = [-3, n0, _ITIE,
|
|
203
|
+
export var InvalidTaskIdException$ = [-3, n0, _ITIE,
|
|
204
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
205
|
+
[_m],
|
|
206
|
+
[0]
|
|
207
|
+
];
|
|
159
208
|
TypeRegistry.for(n0).registerError(InvalidTaskIdException$, InvalidTaskIdException);
|
|
160
|
-
export var LanguageNotSupportedException$ = [-3, n0, _LNSE,
|
|
209
|
+
export var LanguageNotSupportedException$ = [-3, n0, _LNSE,
|
|
210
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
211
|
+
[_m],
|
|
212
|
+
[0]
|
|
213
|
+
];
|
|
161
214
|
TypeRegistry.for(n0).registerError(LanguageNotSupportedException$, LanguageNotSupportedException);
|
|
162
|
-
export var Lexicon$ = [3, n0, _L,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
215
|
+
export var Lexicon$ = [3, n0, _L,
|
|
216
|
+
0,
|
|
217
|
+
[_C, _N],
|
|
218
|
+
[[() => LexiconContent, 0], 0]
|
|
219
|
+
];
|
|
220
|
+
export var LexiconAttributes$ = [3, n0, _LA,
|
|
167
221
|
0,
|
|
168
222
|
[_A, _LCa, _LM, _LAe, _LCe, _S],
|
|
169
|
-
[0, 0, 4, 0, 1, 1]
|
|
223
|
+
[0, 0, 4, 0, 1, 1]
|
|
224
|
+
];
|
|
225
|
+
export var LexiconDescription$ = [3, n0, _LD,
|
|
226
|
+
0,
|
|
227
|
+
[_N, _At],
|
|
228
|
+
[0, () => LexiconAttributes$]
|
|
229
|
+
];
|
|
230
|
+
export var LexiconNotFoundException$ = [-3, n0, _LNFE,
|
|
231
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
232
|
+
[_m],
|
|
233
|
+
[0]
|
|
170
234
|
];
|
|
171
|
-
export var LexiconDescription$ = [3, n0, _LD, 0, [_N, _At], [0, () => LexiconAttributes$]];
|
|
172
|
-
export var LexiconNotFoundException$ = [-3, n0, _LNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
173
235
|
TypeRegistry.for(n0).registerError(LexiconNotFoundException$, LexiconNotFoundException);
|
|
174
|
-
export var LexiconSizeExceededException$ = [-3, n0, _LSEE,
|
|
236
|
+
export var LexiconSizeExceededException$ = [-3, n0, _LSEE,
|
|
237
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
238
|
+
[_m],
|
|
239
|
+
[0]
|
|
240
|
+
];
|
|
175
241
|
TypeRegistry.for(n0).registerError(LexiconSizeExceededException$, LexiconSizeExceededException);
|
|
176
|
-
export var ListLexiconsInput$ = [3, n0, _LLI,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
242
|
+
export var ListLexiconsInput$ = [3, n0, _LLI,
|
|
243
|
+
0,
|
|
244
|
+
[_NT],
|
|
245
|
+
[[0, { [_hQ]: _NT }]]
|
|
246
|
+
];
|
|
247
|
+
export var ListLexiconsOutput$ = [3, n0, _LLO,
|
|
248
|
+
0,
|
|
249
|
+
[_Le, _NT],
|
|
250
|
+
[() => LexiconDescriptionList, 0]
|
|
251
|
+
];
|
|
252
|
+
export var ListSpeechSynthesisTasksInput$ = [3, n0, _LSSTI,
|
|
182
253
|
0,
|
|
183
254
|
[_MR, _NT, _St],
|
|
184
|
-
[
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
[0, { [_hQ]: _St }],
|
|
188
|
-
],
|
|
189
|
-
];
|
|
190
|
-
export var ListSpeechSynthesisTasksOutput$ = [
|
|
191
|
-
3,
|
|
192
|
-
n0,
|
|
193
|
-
_LSSTO,
|
|
255
|
+
[[1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }], [0, { [_hQ]: _St }]]
|
|
256
|
+
];
|
|
257
|
+
export var ListSpeechSynthesisTasksOutput$ = [3, n0, _LSSTO,
|
|
194
258
|
0,
|
|
195
259
|
[_NT, _STy],
|
|
196
|
-
[0, () => SynthesisTasks]
|
|
260
|
+
[0, () => SynthesisTasks]
|
|
197
261
|
];
|
|
198
|
-
export var MarksNotSupportedForFormatException$ = [
|
|
199
|
-
-3,
|
|
200
|
-
n0,
|
|
201
|
-
_MNSFFE,
|
|
262
|
+
export var MarksNotSupportedForFormatException$ = [-3, n0, _MNSFFE,
|
|
202
263
|
{ [_e]: _c, [_hE]: 400 },
|
|
203
264
|
[_m],
|
|
204
|
-
[0]
|
|
265
|
+
[0]
|
|
205
266
|
];
|
|
206
267
|
TypeRegistry.for(n0).registerError(MarksNotSupportedForFormatException$, MarksNotSupportedForFormatException);
|
|
207
|
-
export var MaxLexemeLengthExceededException$ = [-3, n0, _MLLEE,
|
|
268
|
+
export var MaxLexemeLengthExceededException$ = [-3, n0, _MLLEE,
|
|
269
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
270
|
+
[_m],
|
|
271
|
+
[0]
|
|
272
|
+
];
|
|
208
273
|
TypeRegistry.for(n0).registerError(MaxLexemeLengthExceededException$, MaxLexemeLengthExceededException);
|
|
209
|
-
export var MaxLexiconsNumberExceededException$ = [
|
|
210
|
-
-3,
|
|
211
|
-
n0,
|
|
212
|
-
_MLNEE,
|
|
274
|
+
export var MaxLexiconsNumberExceededException$ = [-3, n0, _MLNEE,
|
|
213
275
|
{ [_e]: _c, [_hE]: 400 },
|
|
214
276
|
[_m],
|
|
215
|
-
[0]
|
|
277
|
+
[0]
|
|
216
278
|
];
|
|
217
279
|
TypeRegistry.for(n0).registerError(MaxLexiconsNumberExceededException$, MaxLexiconsNumberExceededException);
|
|
218
|
-
export var PutLexiconInput$ = [
|
|
219
|
-
3,
|
|
220
|
-
n0,
|
|
221
|
-
_PLI,
|
|
280
|
+
export var PutLexiconInput$ = [3, n0, _PLI,
|
|
222
281
|
0,
|
|
223
282
|
[_N, _C],
|
|
224
|
-
[
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
283
|
+
[[0, 1], [() => LexiconContent, 0]]
|
|
284
|
+
];
|
|
285
|
+
export var PutLexiconOutput$ = [3, n0, _PLO,
|
|
286
|
+
0,
|
|
287
|
+
[],
|
|
288
|
+
[]
|
|
289
|
+
];
|
|
290
|
+
export var ServiceFailureException$ = [-3, n0, _SFE,
|
|
291
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
292
|
+
[_m],
|
|
293
|
+
[0]
|
|
228
294
|
];
|
|
229
|
-
export var PutLexiconOutput$ = [3, n0, _PLO, 0, [], []];
|
|
230
|
-
export var ServiceFailureException$ = [-3, n0, _SFE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
231
295
|
TypeRegistry.for(n0).registerError(ServiceFailureException$, ServiceFailureException);
|
|
232
|
-
export var SsmlMarksNotSupportedForTextTypeException$ = [
|
|
233
|
-
-3,
|
|
234
|
-
n0,
|
|
235
|
-
_SMNSFTTE,
|
|
296
|
+
export var SsmlMarksNotSupportedForTextTypeException$ = [-3, n0, _SMNSFTTE,
|
|
236
297
|
{ [_e]: _c, [_hE]: 400 },
|
|
237
298
|
[_m],
|
|
238
|
-
[0]
|
|
299
|
+
[0]
|
|
239
300
|
];
|
|
240
301
|
TypeRegistry.for(n0).registerError(SsmlMarksNotSupportedForTextTypeException$, SsmlMarksNotSupportedForTextTypeException);
|
|
241
|
-
export var StartSpeechSynthesisTaskInput$ = [
|
|
242
|
-
3,
|
|
243
|
-
n0,
|
|
244
|
-
_SSSTI,
|
|
302
|
+
export var StartSpeechSynthesisTaskInput$ = [3, n0, _SSSTI,
|
|
245
303
|
0,
|
|
246
304
|
[_E, _LCa, _LN, _OF, _OSBN, _OSKP, _SR, _STA, _SMT, _T, _TT, _VI],
|
|
247
|
-
[0, 0, 64 | 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0]
|
|
305
|
+
[0, 0, 64 | 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0]
|
|
248
306
|
];
|
|
249
|
-
export var StartSpeechSynthesisTaskOutput$ = [3, n0, _SSSTO,
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
307
|
+
export var StartSpeechSynthesisTaskOutput$ = [3, n0, _SSSTO,
|
|
308
|
+
0,
|
|
309
|
+
[_ST],
|
|
310
|
+
[() => SynthesisTask$]
|
|
311
|
+
];
|
|
312
|
+
export var SynthesisTask$ = [3, n0, _ST,
|
|
254
313
|
0,
|
|
255
314
|
[_E, _TI, _TS, _TSR, _OU, _CT, _RC, _STA, _LN, _OF, _SR, _SMT, _TT, _VI, _LCa],
|
|
256
|
-
[0, 0, 0, 0, 0, 4, 1, 0, 64 | 0, 0, 0, 64 | 0, 0, 0, 0]
|
|
315
|
+
[0, 0, 0, 0, 0, 4, 1, 0, 64 | 0, 0, 0, 64 | 0, 0, 0, 0]
|
|
316
|
+
];
|
|
317
|
+
export var SynthesisTaskNotFoundException$ = [-3, n0, _STNFE,
|
|
318
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
319
|
+
[_m],
|
|
320
|
+
[0]
|
|
257
321
|
];
|
|
258
|
-
export var SynthesisTaskNotFoundException$ = [-3, n0, _STNFE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
259
322
|
TypeRegistry.for(n0).registerError(SynthesisTaskNotFoundException$, SynthesisTaskNotFoundException);
|
|
260
|
-
export var SynthesizeSpeechInput$ = [
|
|
261
|
-
3,
|
|
262
|
-
n0,
|
|
263
|
-
_SSI,
|
|
323
|
+
export var SynthesizeSpeechInput$ = [3, n0, _SSI,
|
|
264
324
|
0,
|
|
265
325
|
[_E, _LCa, _LN, _OF, _SR, _SMT, _T, _TT, _VI],
|
|
266
|
-
[0, 0, 64 | 0, 0, 0, 64 | 0, 0, 0, 0]
|
|
326
|
+
[0, 0, 64 | 0, 0, 0, 64 | 0, 0, 0, 0]
|
|
267
327
|
];
|
|
268
|
-
export var SynthesizeSpeechOutput$ = [
|
|
269
|
-
3,
|
|
270
|
-
n0,
|
|
271
|
-
_SSO,
|
|
328
|
+
export var SynthesizeSpeechOutput$ = [3, n0, _SSO,
|
|
272
329
|
0,
|
|
273
330
|
[_AS, _CTo, _RC],
|
|
274
|
-
[
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
],
|
|
331
|
+
[[() => AudioStream, 16], [0, { [_hH]: _CT_ }], [1, { [_hH]: _xaR }]]
|
|
332
|
+
];
|
|
333
|
+
export var TextLengthExceededException$ = [-3, n0, _TLEE,
|
|
334
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
335
|
+
[_m],
|
|
336
|
+
[0]
|
|
279
337
|
];
|
|
280
|
-
export var TextLengthExceededException$ = [-3, n0, _TLEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
281
338
|
TypeRegistry.for(n0).registerError(TextLengthExceededException$, TextLengthExceededException);
|
|
282
|
-
export var UnsupportedPlsAlphabetException$ = [-3, n0, _UPAE,
|
|
339
|
+
export var UnsupportedPlsAlphabetException$ = [-3, n0, _UPAE,
|
|
340
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
341
|
+
[_m],
|
|
342
|
+
[0]
|
|
343
|
+
];
|
|
283
344
|
TypeRegistry.for(n0).registerError(UnsupportedPlsAlphabetException$, UnsupportedPlsAlphabetException);
|
|
284
|
-
export var UnsupportedPlsLanguageException$ = [-3, n0, _UPLE,
|
|
345
|
+
export var UnsupportedPlsLanguageException$ = [-3, n0, _UPLE,
|
|
346
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
347
|
+
[_m],
|
|
348
|
+
[0]
|
|
349
|
+
];
|
|
285
350
|
TypeRegistry.for(n0).registerError(UnsupportedPlsLanguageException$, UnsupportedPlsLanguageException);
|
|
286
|
-
export var Voice$ = [
|
|
287
|
-
3,
|
|
288
|
-
n0,
|
|
289
|
-
_Vo,
|
|
351
|
+
export var Voice$ = [3, n0, _Vo,
|
|
290
352
|
0,
|
|
291
353
|
[_G, _I, _LCa, _LNa, _N, _ALC, _SE],
|
|
292
|
-
[0, 0, 0, 0, 0, 64 | 0, 64 | 0]
|
|
354
|
+
[0, 0, 0, 0, 0, 64 | 0, 64 | 0]
|
|
293
355
|
];
|
|
294
356
|
export var PollyServiceException$ = [-3, _sm, "PollyServiceException", 0, [], []];
|
|
295
357
|
TypeRegistry.for(_sm).registerError(PollyServiceException$, PollyServiceException);
|
|
296
358
|
var EngineList = 64 | 0;
|
|
297
359
|
var LanguageCodeList = 64 | 0;
|
|
298
|
-
var LexiconDescriptionList = [1, n0, _LDL,
|
|
360
|
+
var LexiconDescriptionList = [1, n0, _LDL,
|
|
361
|
+
0, () => LexiconDescription$
|
|
362
|
+
];
|
|
299
363
|
var LexiconNameList = 64 | 0;
|
|
300
364
|
var SpeechMarkTypeList = 64 | 0;
|
|
301
|
-
var SynthesisTasks = [1, n0, _STy,
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
() => DeleteLexiconInput$,
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
() =>
|
|
318
|
-
];
|
|
319
|
-
export var
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
{ [_h]: ["GET", "/v1/
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
]
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
() =>
|
|
333
|
-
() => GetSpeechSynthesisTaskOutput$,
|
|
334
|
-
];
|
|
335
|
-
export var ListLexicons$ = [
|
|
336
|
-
9,
|
|
337
|
-
n0,
|
|
338
|
-
_LL,
|
|
339
|
-
{ [_h]: ["GET", "/v1/lexicons", 200] },
|
|
340
|
-
() => ListLexiconsInput$,
|
|
341
|
-
() => ListLexiconsOutput$,
|
|
342
|
-
];
|
|
343
|
-
export var ListSpeechSynthesisTasks$ = [
|
|
344
|
-
9,
|
|
345
|
-
n0,
|
|
346
|
-
_LSST,
|
|
347
|
-
{ [_h]: ["GET", "/v1/synthesisTasks", 200] },
|
|
348
|
-
() => ListSpeechSynthesisTasksInput$,
|
|
349
|
-
() => ListSpeechSynthesisTasksOutput$,
|
|
350
|
-
];
|
|
351
|
-
export var PutLexicon$ = [
|
|
352
|
-
9,
|
|
353
|
-
n0,
|
|
354
|
-
_PL,
|
|
355
|
-
{ [_h]: ["PUT", "/v1/lexicons/{Name}", 200] },
|
|
356
|
-
() => PutLexiconInput$,
|
|
357
|
-
() => PutLexiconOutput$,
|
|
358
|
-
];
|
|
359
|
-
export var StartSpeechSynthesisTask$ = [
|
|
360
|
-
9,
|
|
361
|
-
n0,
|
|
362
|
-
_SSST,
|
|
363
|
-
{ [_h]: ["POST", "/v1/synthesisTasks", 200] },
|
|
364
|
-
() => StartSpeechSynthesisTaskInput$,
|
|
365
|
-
() => StartSpeechSynthesisTaskOutput$,
|
|
366
|
-
];
|
|
367
|
-
export var SynthesizeSpeech$ = [
|
|
368
|
-
9,
|
|
369
|
-
n0,
|
|
370
|
-
_SS,
|
|
371
|
-
{ [_h]: ["POST", "/v1/speech", 200] },
|
|
372
|
-
() => SynthesizeSpeechInput$,
|
|
373
|
-
() => SynthesizeSpeechOutput$,
|
|
365
|
+
var SynthesisTasks = [1, n0, _STy,
|
|
366
|
+
0, () => SynthesisTask$
|
|
367
|
+
];
|
|
368
|
+
var VoiceList = [1, n0, _VL,
|
|
369
|
+
0, () => Voice$
|
|
370
|
+
];
|
|
371
|
+
export var DeleteLexicon$ = [9, n0, _DL,
|
|
372
|
+
{ [_h]: ["DELETE", "/v1/lexicons/{Name}", 200] }, () => DeleteLexiconInput$, () => DeleteLexiconOutput$
|
|
373
|
+
];
|
|
374
|
+
export var DescribeVoices$ = [9, n0, _DV,
|
|
375
|
+
{ [_h]: ["GET", "/v1/voices", 200] }, () => DescribeVoicesInput$, () => DescribeVoicesOutput$
|
|
376
|
+
];
|
|
377
|
+
export var GetLexicon$ = [9, n0, _GL,
|
|
378
|
+
{ [_h]: ["GET", "/v1/lexicons/{Name}", 200] }, () => GetLexiconInput$, () => GetLexiconOutput$
|
|
379
|
+
];
|
|
380
|
+
export var GetSpeechSynthesisTask$ = [9, n0, _GSST,
|
|
381
|
+
{ [_h]: ["GET", "/v1/synthesisTasks/{TaskId}", 200] }, () => GetSpeechSynthesisTaskInput$, () => GetSpeechSynthesisTaskOutput$
|
|
382
|
+
];
|
|
383
|
+
export var ListLexicons$ = [9, n0, _LL,
|
|
384
|
+
{ [_h]: ["GET", "/v1/lexicons", 200] }, () => ListLexiconsInput$, () => ListLexiconsOutput$
|
|
385
|
+
];
|
|
386
|
+
export var ListSpeechSynthesisTasks$ = [9, n0, _LSST,
|
|
387
|
+
{ [_h]: ["GET", "/v1/synthesisTasks", 200] }, () => ListSpeechSynthesisTasksInput$, () => ListSpeechSynthesisTasksOutput$
|
|
388
|
+
];
|
|
389
|
+
export var PutLexicon$ = [9, n0, _PL,
|
|
390
|
+
{ [_h]: ["PUT", "/v1/lexicons/{Name}", 200] }, () => PutLexiconInput$, () => PutLexiconOutput$
|
|
391
|
+
];
|
|
392
|
+
export var StartSpeechSynthesisTask$ = [9, n0, _SSST,
|
|
393
|
+
{ [_h]: ["POST", "/v1/synthesisTasks", 200] }, () => StartSpeechSynthesisTaskInput$, () => StartSpeechSynthesisTaskOutput$
|
|
394
|
+
];
|
|
395
|
+
export var SynthesizeSpeech$ = [9, n0, _SS,
|
|
396
|
+
{ [_h]: ["POST", "/v1/speech", 200] }, () => SynthesizeSpeechInput$, () => SynthesizeSpeechOutput$
|
|
374
397
|
];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.
|
|
4
|
+
"version": "3.958.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 client-polly",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.957.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|