@aws-sdk/client-polly 3.943.0 → 3.947.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +41 -315
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/PollyClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +41 -316
- package/dist-types/Polly.d.ts +1 -1
- package/dist-types/PollyClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/DeleteLexiconCommand.d.ts +3 -3
- package/dist-types/commands/DescribeVoicesCommand.d.ts +3 -3
- package/dist-types/commands/GetLexiconCommand.d.ts +3 -3
- package/dist-types/commands/GetSpeechSynthesisTaskCommand.d.ts +3 -3
- package/dist-types/commands/ListLexiconsCommand.d.ts +3 -3
- package/dist-types/commands/ListSpeechSynthesisTasksCommand.d.ts +3 -3
- package/dist-types/commands/PutLexiconCommand.d.ts +3 -3
- package/dist-types/commands/StartSpeechSynthesisTaskCommand.d.ts +3 -3
- package/dist-types/commands/SynthesizeSpeechCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/PollyServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListSpeechSynthesisTasksPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -2
- package/dist-types/ts3.4/PollyClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/PollyServiceException.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -479,15 +479,7 @@ const _se = "server";
|
|
|
479
479
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.polly";
|
|
480
480
|
const _xaR = "x-amzn-RequestCharacters";
|
|
481
481
|
const n0 = "com.amazonaws.polly";
|
|
482
|
-
var AudioStream = [
|
|
483
|
-
0,
|
|
484
|
-
n0,
|
|
485
|
-
_AS,
|
|
486
|
-
{
|
|
487
|
-
[_s]: 1,
|
|
488
|
-
},
|
|
489
|
-
42,
|
|
490
|
-
];
|
|
482
|
+
var AudioStream = [0, n0, _AS, { [_s]: 1 }, 42];
|
|
491
483
|
var LexiconContent = [0, n0, _LC, 8, 0];
|
|
492
484
|
var DeleteLexiconInput = [3, n0, _DLI, 0, [_N], [[0, 1]]];
|
|
493
485
|
var DeleteLexiconOutput = [3, n0, _DLO, 0, [], []];
|
|
@@ -498,44 +490,14 @@ var DescribeVoicesInput = [
|
|
|
498
490
|
0,
|
|
499
491
|
[_E, _LCa, _IALC, _NT],
|
|
500
492
|
[
|
|
501
|
-
[
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
},
|
|
506
|
-
],
|
|
507
|
-
[
|
|
508
|
-
0,
|
|
509
|
-
{
|
|
510
|
-
[_hQ]: _LCa,
|
|
511
|
-
},
|
|
512
|
-
],
|
|
513
|
-
[
|
|
514
|
-
2,
|
|
515
|
-
{
|
|
516
|
-
[_hQ]: _IALC,
|
|
517
|
-
},
|
|
518
|
-
],
|
|
519
|
-
[
|
|
520
|
-
0,
|
|
521
|
-
{
|
|
522
|
-
[_hQ]: _NT,
|
|
523
|
-
},
|
|
524
|
-
],
|
|
493
|
+
[0, { [_hQ]: _E }],
|
|
494
|
+
[0, { [_hQ]: _LCa }],
|
|
495
|
+
[2, { [_hQ]: _IALC }],
|
|
496
|
+
[0, { [_hQ]: _NT }],
|
|
525
497
|
],
|
|
526
498
|
];
|
|
527
499
|
var DescribeVoicesOutput = [3, n0, _DVO, 0, [_V, _NT], [() => VoiceList, 0]];
|
|
528
|
-
var EngineNotSupportedException = [
|
|
529
|
-
-3,
|
|
530
|
-
n0,
|
|
531
|
-
_ENSE,
|
|
532
|
-
{
|
|
533
|
-
[_e]: _c,
|
|
534
|
-
[_hE]: 400,
|
|
535
|
-
},
|
|
536
|
-
[_m],
|
|
537
|
-
[0],
|
|
538
|
-
];
|
|
500
|
+
var EngineNotSupportedException = [-3, n0, _ENSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
539
501
|
schema.TypeRegistry.for(n0).registerError(EngineNotSupportedException, EngineNotSupportedException$1);
|
|
540
502
|
var GetLexiconInput = [3, n0, _GLI, 0, [_N], [[0, 1]]];
|
|
541
503
|
var GetLexiconOutput = [
|
|
@@ -548,113 +510,23 @@ var GetLexiconOutput = [
|
|
|
548
510
|
];
|
|
549
511
|
var GetSpeechSynthesisTaskInput = [3, n0, _GSSTI, 0, [_TI], [[0, 1]]];
|
|
550
512
|
var GetSpeechSynthesisTaskOutput = [3, n0, _GSSTO, 0, [_ST], [() => SynthesisTask]];
|
|
551
|
-
var InvalidLexiconException = [
|
|
552
|
-
-3,
|
|
553
|
-
n0,
|
|
554
|
-
_ILE,
|
|
555
|
-
{
|
|
556
|
-
[_e]: _c,
|
|
557
|
-
[_hE]: 400,
|
|
558
|
-
},
|
|
559
|
-
[_m],
|
|
560
|
-
[0],
|
|
561
|
-
];
|
|
513
|
+
var InvalidLexiconException = [-3, n0, _ILE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
562
514
|
schema.TypeRegistry.for(n0).registerError(InvalidLexiconException, InvalidLexiconException$1);
|
|
563
|
-
var InvalidNextTokenException = [
|
|
564
|
-
-3,
|
|
565
|
-
n0,
|
|
566
|
-
_INTE,
|
|
567
|
-
{
|
|
568
|
-
[_e]: _c,
|
|
569
|
-
[_hE]: 400,
|
|
570
|
-
},
|
|
571
|
-
[_m],
|
|
572
|
-
[0],
|
|
573
|
-
];
|
|
515
|
+
var InvalidNextTokenException = [-3, n0, _INTE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
574
516
|
schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
|
|
575
|
-
var InvalidS3BucketException = [
|
|
576
|
-
-3,
|
|
577
|
-
n0,
|
|
578
|
-
_ISBE,
|
|
579
|
-
{
|
|
580
|
-
[_e]: _c,
|
|
581
|
-
[_hE]: 400,
|
|
582
|
-
},
|
|
583
|
-
[_m],
|
|
584
|
-
[0],
|
|
585
|
-
];
|
|
517
|
+
var InvalidS3BucketException = [-3, n0, _ISBE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
586
518
|
schema.TypeRegistry.for(n0).registerError(InvalidS3BucketException, InvalidS3BucketException$1);
|
|
587
|
-
var InvalidS3KeyException = [
|
|
588
|
-
-3,
|
|
589
|
-
n0,
|
|
590
|
-
_ISKE,
|
|
591
|
-
{
|
|
592
|
-
[_e]: _c,
|
|
593
|
-
[_hE]: 400,
|
|
594
|
-
},
|
|
595
|
-
[_m],
|
|
596
|
-
[0],
|
|
597
|
-
];
|
|
519
|
+
var InvalidS3KeyException = [-3, n0, _ISKE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
598
520
|
schema.TypeRegistry.for(n0).registerError(InvalidS3KeyException, InvalidS3KeyException$1);
|
|
599
|
-
var InvalidSampleRateException = [
|
|
600
|
-
-3,
|
|
601
|
-
n0,
|
|
602
|
-
_ISRE,
|
|
603
|
-
{
|
|
604
|
-
[_e]: _c,
|
|
605
|
-
[_hE]: 400,
|
|
606
|
-
},
|
|
607
|
-
[_m],
|
|
608
|
-
[0],
|
|
609
|
-
];
|
|
521
|
+
var InvalidSampleRateException = [-3, n0, _ISRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
610
522
|
schema.TypeRegistry.for(n0).registerError(InvalidSampleRateException, InvalidSampleRateException$1);
|
|
611
|
-
var InvalidSnsTopicArnException = [
|
|
612
|
-
-3,
|
|
613
|
-
n0,
|
|
614
|
-
_ISTAE,
|
|
615
|
-
{
|
|
616
|
-
[_e]: _c,
|
|
617
|
-
[_hE]: 400,
|
|
618
|
-
},
|
|
619
|
-
[_m],
|
|
620
|
-
[0],
|
|
621
|
-
];
|
|
523
|
+
var InvalidSnsTopicArnException = [-3, n0, _ISTAE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
622
524
|
schema.TypeRegistry.for(n0).registerError(InvalidSnsTopicArnException, InvalidSnsTopicArnException$1);
|
|
623
|
-
var InvalidSsmlException = [
|
|
624
|
-
-3,
|
|
625
|
-
n0,
|
|
626
|
-
_ISE,
|
|
627
|
-
{
|
|
628
|
-
[_e]: _c,
|
|
629
|
-
[_hE]: 400,
|
|
630
|
-
},
|
|
631
|
-
[_m],
|
|
632
|
-
[0],
|
|
633
|
-
];
|
|
525
|
+
var InvalidSsmlException = [-3, n0, _ISE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
634
526
|
schema.TypeRegistry.for(n0).registerError(InvalidSsmlException, InvalidSsmlException$1);
|
|
635
|
-
var InvalidTaskIdException = [
|
|
636
|
-
-3,
|
|
637
|
-
n0,
|
|
638
|
-
_ITIE,
|
|
639
|
-
{
|
|
640
|
-
[_e]: _c,
|
|
641
|
-
[_hE]: 400,
|
|
642
|
-
},
|
|
643
|
-
[_m],
|
|
644
|
-
[0],
|
|
645
|
-
];
|
|
527
|
+
var InvalidTaskIdException = [-3, n0, _ITIE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
646
528
|
schema.TypeRegistry.for(n0).registerError(InvalidTaskIdException, InvalidTaskIdException$1);
|
|
647
|
-
var LanguageNotSupportedException = [
|
|
648
|
-
-3,
|
|
649
|
-
n0,
|
|
650
|
-
_LNSE,
|
|
651
|
-
{
|
|
652
|
-
[_e]: _c,
|
|
653
|
-
[_hE]: 400,
|
|
654
|
-
},
|
|
655
|
-
[_m],
|
|
656
|
-
[0],
|
|
657
|
-
];
|
|
529
|
+
var LanguageNotSupportedException = [-3, n0, _LNSE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
658
530
|
schema.TypeRegistry.for(n0).registerError(LanguageNotSupportedException, LanguageNotSupportedException$1);
|
|
659
531
|
var Lexicon = [3, n0, _L, 0, [_C, _N], [[() => LexiconContent, 0], 0]];
|
|
660
532
|
var LexiconAttributes = [
|
|
@@ -666,45 +538,11 @@ var LexiconAttributes = [
|
|
|
666
538
|
[0, 0, 4, 0, 1, 1],
|
|
667
539
|
];
|
|
668
540
|
var LexiconDescription = [3, n0, _LD, 0, [_N, _At], [0, () => LexiconAttributes]];
|
|
669
|
-
var LexiconNotFoundException = [
|
|
670
|
-
-3,
|
|
671
|
-
n0,
|
|
672
|
-
_LNFE,
|
|
673
|
-
{
|
|
674
|
-
[_e]: _c,
|
|
675
|
-
[_hE]: 404,
|
|
676
|
-
},
|
|
677
|
-
[_m],
|
|
678
|
-
[0],
|
|
679
|
-
];
|
|
541
|
+
var LexiconNotFoundException = [-3, n0, _LNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
680
542
|
schema.TypeRegistry.for(n0).registerError(LexiconNotFoundException, LexiconNotFoundException$1);
|
|
681
|
-
var LexiconSizeExceededException = [
|
|
682
|
-
-3,
|
|
683
|
-
n0,
|
|
684
|
-
_LSEE,
|
|
685
|
-
{
|
|
686
|
-
[_e]: _c,
|
|
687
|
-
[_hE]: 400,
|
|
688
|
-
},
|
|
689
|
-
[_m],
|
|
690
|
-
[0],
|
|
691
|
-
];
|
|
543
|
+
var LexiconSizeExceededException = [-3, n0, _LSEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
692
544
|
schema.TypeRegistry.for(n0).registerError(LexiconSizeExceededException, LexiconSizeExceededException$1);
|
|
693
|
-
var ListLexiconsInput = [
|
|
694
|
-
3,
|
|
695
|
-
n0,
|
|
696
|
-
_LLI,
|
|
697
|
-
0,
|
|
698
|
-
[_NT],
|
|
699
|
-
[
|
|
700
|
-
[
|
|
701
|
-
0,
|
|
702
|
-
{
|
|
703
|
-
[_hQ]: _NT,
|
|
704
|
-
},
|
|
705
|
-
],
|
|
706
|
-
],
|
|
707
|
-
];
|
|
545
|
+
var ListLexiconsInput = [3, n0, _LLI, 0, [_NT], [[0, { [_hQ]: _NT }]]];
|
|
708
546
|
var ListLexiconsOutput = [3, n0, _LLO, 0, [_Le, _NT], [() => LexiconDescriptionList, 0]];
|
|
709
547
|
var ListSpeechSynthesisTasksInput = [
|
|
710
548
|
3,
|
|
@@ -713,24 +551,9 @@ var ListSpeechSynthesisTasksInput = [
|
|
|
713
551
|
0,
|
|
714
552
|
[_MR, _NT, _St],
|
|
715
553
|
[
|
|
716
|
-
[
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
[_hQ]: _MR,
|
|
720
|
-
},
|
|
721
|
-
],
|
|
722
|
-
[
|
|
723
|
-
0,
|
|
724
|
-
{
|
|
725
|
-
[_hQ]: _NT,
|
|
726
|
-
},
|
|
727
|
-
],
|
|
728
|
-
[
|
|
729
|
-
0,
|
|
730
|
-
{
|
|
731
|
-
[_hQ]: _St,
|
|
732
|
-
},
|
|
733
|
-
],
|
|
554
|
+
[1, { [_hQ]: _MR }],
|
|
555
|
+
[0, { [_hQ]: _NT }],
|
|
556
|
+
[0, { [_hQ]: _St }],
|
|
734
557
|
],
|
|
735
558
|
];
|
|
736
559
|
var ListSpeechSynthesisTasksOutput = [
|
|
@@ -745,34 +568,18 @@ var MarksNotSupportedForFormatException = [
|
|
|
745
568
|
-3,
|
|
746
569
|
n0,
|
|
747
570
|
_MNSFFE,
|
|
748
|
-
{
|
|
749
|
-
[_e]: _c,
|
|
750
|
-
[_hE]: 400,
|
|
751
|
-
},
|
|
571
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
752
572
|
[_m],
|
|
753
573
|
[0],
|
|
754
574
|
];
|
|
755
575
|
schema.TypeRegistry.for(n0).registerError(MarksNotSupportedForFormatException, MarksNotSupportedForFormatException$1);
|
|
756
|
-
var MaxLexemeLengthExceededException = [
|
|
757
|
-
-3,
|
|
758
|
-
n0,
|
|
759
|
-
_MLLEE,
|
|
760
|
-
{
|
|
761
|
-
[_e]: _c,
|
|
762
|
-
[_hE]: 400,
|
|
763
|
-
},
|
|
764
|
-
[_m],
|
|
765
|
-
[0],
|
|
766
|
-
];
|
|
576
|
+
var MaxLexemeLengthExceededException = [-3, n0, _MLLEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
767
577
|
schema.TypeRegistry.for(n0).registerError(MaxLexemeLengthExceededException, MaxLexemeLengthExceededException$1);
|
|
768
578
|
var MaxLexiconsNumberExceededException = [
|
|
769
579
|
-3,
|
|
770
580
|
n0,
|
|
771
581
|
_MLNEE,
|
|
772
|
-
{
|
|
773
|
-
[_e]: _c,
|
|
774
|
-
[_hE]: 400,
|
|
775
|
-
},
|
|
582
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
776
583
|
[_m],
|
|
777
584
|
[0],
|
|
778
585
|
];
|
|
@@ -789,26 +596,13 @@ var PutLexiconInput = [
|
|
|
789
596
|
],
|
|
790
597
|
];
|
|
791
598
|
var PutLexiconOutput = [3, n0, _PLO, 0, [], []];
|
|
792
|
-
var ServiceFailureException = [
|
|
793
|
-
-3,
|
|
794
|
-
n0,
|
|
795
|
-
_SFE,
|
|
796
|
-
{
|
|
797
|
-
[_e]: _se,
|
|
798
|
-
[_hE]: 500,
|
|
799
|
-
},
|
|
800
|
-
[_m],
|
|
801
|
-
[0],
|
|
802
|
-
];
|
|
599
|
+
var ServiceFailureException = [-3, n0, _SFE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
803
600
|
schema.TypeRegistry.for(n0).registerError(ServiceFailureException, ServiceFailureException$1);
|
|
804
601
|
var SsmlMarksNotSupportedForTextTypeException = [
|
|
805
602
|
-3,
|
|
806
603
|
n0,
|
|
807
604
|
_SMNSFTTE,
|
|
808
|
-
{
|
|
809
|
-
[_e]: _c,
|
|
810
|
-
[_hE]: 400,
|
|
811
|
-
},
|
|
605
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
812
606
|
[_m],
|
|
813
607
|
[0],
|
|
814
608
|
];
|
|
@@ -830,17 +624,7 @@ var SynthesisTask = [
|
|
|
830
624
|
[_E, _TI, _TS, _TSR, _OU, _CT, _RC, _STA, _LN, _OF, _SR, _SMT, _TT, _VI, _LCa],
|
|
831
625
|
[0, 0, 0, 0, 0, 4, 1, 0, 64 | 0, 0, 0, 64 | 0, 0, 0, 0],
|
|
832
626
|
];
|
|
833
|
-
var SynthesisTaskNotFoundException = [
|
|
834
|
-
-3,
|
|
835
|
-
n0,
|
|
836
|
-
_STNFE,
|
|
837
|
-
{
|
|
838
|
-
[_e]: _c,
|
|
839
|
-
[_hE]: 400,
|
|
840
|
-
},
|
|
841
|
-
[_m],
|
|
842
|
-
[0],
|
|
843
|
-
];
|
|
627
|
+
var SynthesisTaskNotFoundException = [-3, n0, _STNFE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
844
628
|
schema.TypeRegistry.for(n0).registerError(SynthesisTaskNotFoundException, SynthesisTaskNotFoundException$1);
|
|
845
629
|
var SynthesizeSpeechInput = [
|
|
846
630
|
3,
|
|
@@ -858,55 +642,15 @@ var SynthesizeSpeechOutput = [
|
|
|
858
642
|
[_AS, _CTo, _RC],
|
|
859
643
|
[
|
|
860
644
|
[() => AudioStream, 16],
|
|
861
|
-
[
|
|
862
|
-
|
|
863
|
-
{
|
|
864
|
-
[_hH]: _CT_,
|
|
865
|
-
},
|
|
866
|
-
],
|
|
867
|
-
[
|
|
868
|
-
1,
|
|
869
|
-
{
|
|
870
|
-
[_hH]: _xaR,
|
|
871
|
-
},
|
|
872
|
-
],
|
|
645
|
+
[0, { [_hH]: _CT_ }],
|
|
646
|
+
[1, { [_hH]: _xaR }],
|
|
873
647
|
],
|
|
874
648
|
];
|
|
875
|
-
var TextLengthExceededException = [
|
|
876
|
-
-3,
|
|
877
|
-
n0,
|
|
878
|
-
_TLEE,
|
|
879
|
-
{
|
|
880
|
-
[_e]: _c,
|
|
881
|
-
[_hE]: 400,
|
|
882
|
-
},
|
|
883
|
-
[_m],
|
|
884
|
-
[0],
|
|
885
|
-
];
|
|
649
|
+
var TextLengthExceededException = [-3, n0, _TLEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
886
650
|
schema.TypeRegistry.for(n0).registerError(TextLengthExceededException, TextLengthExceededException$1);
|
|
887
|
-
var UnsupportedPlsAlphabetException = [
|
|
888
|
-
-3,
|
|
889
|
-
n0,
|
|
890
|
-
_UPAE,
|
|
891
|
-
{
|
|
892
|
-
[_e]: _c,
|
|
893
|
-
[_hE]: 400,
|
|
894
|
-
},
|
|
895
|
-
[_m],
|
|
896
|
-
[0],
|
|
897
|
-
];
|
|
651
|
+
var UnsupportedPlsAlphabetException = [-3, n0, _UPAE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
898
652
|
schema.TypeRegistry.for(n0).registerError(UnsupportedPlsAlphabetException, UnsupportedPlsAlphabetException$1);
|
|
899
|
-
var UnsupportedPlsLanguageException = [
|
|
900
|
-
-3,
|
|
901
|
-
n0,
|
|
902
|
-
_UPLE,
|
|
903
|
-
{
|
|
904
|
-
[_e]: _c,
|
|
905
|
-
[_hE]: 400,
|
|
906
|
-
},
|
|
907
|
-
[_m],
|
|
908
|
-
[0],
|
|
909
|
-
];
|
|
653
|
+
var UnsupportedPlsLanguageException = [-3, n0, _UPLE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
910
654
|
schema.TypeRegistry.for(n0).registerError(UnsupportedPlsLanguageException, UnsupportedPlsLanguageException$1);
|
|
911
655
|
var Voice = [
|
|
912
656
|
3,
|
|
@@ -925,9 +669,7 @@ var DeleteLexicon = [
|
|
|
925
669
|
9,
|
|
926
670
|
n0,
|
|
927
671
|
_DL,
|
|
928
|
-
{
|
|
929
|
-
[_h]: ["DELETE", "/v1/lexicons/{Name}", 200],
|
|
930
|
-
},
|
|
672
|
+
{ [_h]: ["DELETE", "/v1/lexicons/{Name}", 200] },
|
|
931
673
|
() => DeleteLexiconInput,
|
|
932
674
|
() => DeleteLexiconOutput,
|
|
933
675
|
];
|
|
@@ -935,9 +677,7 @@ var DescribeVoices = [
|
|
|
935
677
|
9,
|
|
936
678
|
n0,
|
|
937
679
|
_DV,
|
|
938
|
-
{
|
|
939
|
-
[_h]: ["GET", "/v1/voices", 200],
|
|
940
|
-
},
|
|
680
|
+
{ [_h]: ["GET", "/v1/voices", 200] },
|
|
941
681
|
() => DescribeVoicesInput,
|
|
942
682
|
() => DescribeVoicesOutput,
|
|
943
683
|
];
|
|
@@ -945,9 +685,7 @@ var GetLexicon = [
|
|
|
945
685
|
9,
|
|
946
686
|
n0,
|
|
947
687
|
_GL,
|
|
948
|
-
{
|
|
949
|
-
[_h]: ["GET", "/v1/lexicons/{Name}", 200],
|
|
950
|
-
},
|
|
688
|
+
{ [_h]: ["GET", "/v1/lexicons/{Name}", 200] },
|
|
951
689
|
() => GetLexiconInput,
|
|
952
690
|
() => GetLexiconOutput,
|
|
953
691
|
];
|
|
@@ -955,9 +693,7 @@ var GetSpeechSynthesisTask = [
|
|
|
955
693
|
9,
|
|
956
694
|
n0,
|
|
957
695
|
_GSST,
|
|
958
|
-
{
|
|
959
|
-
[_h]: ["GET", "/v1/synthesisTasks/{TaskId}", 200],
|
|
960
|
-
},
|
|
696
|
+
{ [_h]: ["GET", "/v1/synthesisTasks/{TaskId}", 200] },
|
|
961
697
|
() => GetSpeechSynthesisTaskInput,
|
|
962
698
|
() => GetSpeechSynthesisTaskOutput,
|
|
963
699
|
];
|
|
@@ -965,9 +701,7 @@ var ListLexicons = [
|
|
|
965
701
|
9,
|
|
966
702
|
n0,
|
|
967
703
|
_LL,
|
|
968
|
-
{
|
|
969
|
-
[_h]: ["GET", "/v1/lexicons", 200],
|
|
970
|
-
},
|
|
704
|
+
{ [_h]: ["GET", "/v1/lexicons", 200] },
|
|
971
705
|
() => ListLexiconsInput,
|
|
972
706
|
() => ListLexiconsOutput,
|
|
973
707
|
];
|
|
@@ -975,9 +709,7 @@ var ListSpeechSynthesisTasks = [
|
|
|
975
709
|
9,
|
|
976
710
|
n0,
|
|
977
711
|
_LSST,
|
|
978
|
-
{
|
|
979
|
-
[_h]: ["GET", "/v1/synthesisTasks", 200],
|
|
980
|
-
},
|
|
712
|
+
{ [_h]: ["GET", "/v1/synthesisTasks", 200] },
|
|
981
713
|
() => ListSpeechSynthesisTasksInput,
|
|
982
714
|
() => ListSpeechSynthesisTasksOutput,
|
|
983
715
|
];
|
|
@@ -985,9 +717,7 @@ var PutLexicon = [
|
|
|
985
717
|
9,
|
|
986
718
|
n0,
|
|
987
719
|
_PL,
|
|
988
|
-
{
|
|
989
|
-
[_h]: ["PUT", "/v1/lexicons/{Name}", 200],
|
|
990
|
-
},
|
|
720
|
+
{ [_h]: ["PUT", "/v1/lexicons/{Name}", 200] },
|
|
991
721
|
() => PutLexiconInput,
|
|
992
722
|
() => PutLexiconOutput,
|
|
993
723
|
];
|
|
@@ -995,9 +725,7 @@ var StartSpeechSynthesisTask = [
|
|
|
995
725
|
9,
|
|
996
726
|
n0,
|
|
997
727
|
_SSST,
|
|
998
|
-
{
|
|
999
|
-
[_h]: ["POST", "/v1/synthesisTasks", 200],
|
|
1000
|
-
},
|
|
728
|
+
{ [_h]: ["POST", "/v1/synthesisTasks", 200] },
|
|
1001
729
|
() => StartSpeechSynthesisTaskInput,
|
|
1002
730
|
() => StartSpeechSynthesisTaskOutput,
|
|
1003
731
|
];
|
|
@@ -1005,9 +733,7 @@ var SynthesizeSpeech = [
|
|
|
1005
733
|
9,
|
|
1006
734
|
n0,
|
|
1007
735
|
_SS,
|
|
1008
|
-
{
|
|
1009
|
-
[_h]: ["POST", "/v1/speech", 200],
|
|
1010
|
-
},
|
|
736
|
+
{ [_h]: ["POST", "/v1/speech", 200] },
|
|
1011
737
|
() => SynthesizeSpeechInput,
|
|
1012
738
|
() => SynthesizeSpeechOutput,
|
|
1013
739
|
];
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
package/dist-es/PollyClient.js
CHANGED
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultPollyHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|