@aws-sdk/client-socialmessaging 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.
- package/dist-cjs/index.js +48 -290
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/SocialMessagingClient.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 +48 -290
- package/dist-types/SocialMessaging.d.ts +1 -1
- package/dist-types/SocialMessagingClient.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/AssociateWhatsAppBusinessAccountCommand.d.ts +3 -3
- package/dist-types/commands/CreateWhatsAppMessageTemplateCommand.d.ts +3 -3
- package/dist-types/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +3 -3
- package/dist-types/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +3 -3
- package/dist-types/commands/DeleteWhatsAppMessageMediaCommand.d.ts +3 -3
- package/dist-types/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +3 -3
- package/dist-types/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +3 -3
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +3 -3
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +3 -3
- package/dist-types/commands/GetWhatsAppMessageMediaCommand.d.ts +3 -3
- package/dist-types/commands/GetWhatsAppMessageTemplateCommand.d.ts +3 -3
- package/dist-types/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListWhatsAppMessageTemplatesCommand.d.ts +3 -3
- package/dist-types/commands/ListWhatsAppTemplateLibraryCommand.d.ts +3 -3
- package/dist-types/commands/PostWhatsAppMessageMediaCommand.d.ts +3 -3
- package/dist-types/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +3 -3
- package/dist-types/commands/SendWhatsAppMessageCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateWhatsAppMessageTemplateCommand.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/SocialMessagingServiceException.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/ListLinkedWhatsAppBusinessAccountsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWhatsAppMessageTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWhatsAppTemplateLibraryPaginator.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 -1
- package/dist-types/ts3.4/SocialMessagingClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/SocialMessagingServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -440,29 +440,9 @@ const n0 = "com.amazonaws.socialmessaging";
|
|
|
440
440
|
var AssociateInProgressToken = [0, n0, _AIPT, 8, 0];
|
|
441
441
|
var TwoFactorPin = [0, n0, _TFP, 8, 0];
|
|
442
442
|
var WhatsAppMessageBlob = [0, n0, _WAMB, 8, 21];
|
|
443
|
-
var AccessDeniedByMetaException = [
|
|
444
|
-
-3,
|
|
445
|
-
n0,
|
|
446
|
-
_ADBME,
|
|
447
|
-
{
|
|
448
|
-
[_e]: _c,
|
|
449
|
-
[_hE]: 403,
|
|
450
|
-
},
|
|
451
|
-
[_m],
|
|
452
|
-
[0],
|
|
453
|
-
];
|
|
443
|
+
var AccessDeniedByMetaException = [-3, n0, _ADBME, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
454
444
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedByMetaException, AccessDeniedByMetaException$1);
|
|
455
|
-
var AccessDeniedException = [
|
|
456
|
-
-3,
|
|
457
|
-
n0,
|
|
458
|
-
_ADE,
|
|
459
|
-
{
|
|
460
|
-
[_e]: _c,
|
|
461
|
-
[_hE]: 403,
|
|
462
|
-
},
|
|
463
|
-
[_m],
|
|
464
|
-
[0],
|
|
465
|
-
];
|
|
445
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
466
446
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
467
447
|
var AssociateWhatsAppBusinessAccountInput = [
|
|
468
448
|
3,
|
|
@@ -521,18 +501,8 @@ var DeleteWhatsAppMessageMediaInput = [
|
|
|
521
501
|
0,
|
|
522
502
|
[_mI, _oPNI],
|
|
523
503
|
[
|
|
524
|
-
[
|
|
525
|
-
|
|
526
|
-
{
|
|
527
|
-
[_hQ]: _mI,
|
|
528
|
-
},
|
|
529
|
-
],
|
|
530
|
-
[
|
|
531
|
-
0,
|
|
532
|
-
{
|
|
533
|
-
[_hQ]: _oPNI,
|
|
534
|
-
},
|
|
535
|
-
],
|
|
504
|
+
[0, { [_hQ]: _mI }],
|
|
505
|
+
[0, { [_hQ]: _oPNI }],
|
|
536
506
|
],
|
|
537
507
|
];
|
|
538
508
|
var DeleteWhatsAppMessageMediaOutput = [3, n0, _DWAMMO, 0, [_s], [2]];
|
|
@@ -543,44 +513,14 @@ var DeleteWhatsAppMessageTemplateInput = [
|
|
|
543
513
|
0,
|
|
544
514
|
[_mTI, _dAL, _i, _tN],
|
|
545
515
|
[
|
|
546
|
-
[
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
},
|
|
551
|
-
],
|
|
552
|
-
[
|
|
553
|
-
2,
|
|
554
|
-
{
|
|
555
|
-
[_hQ]: _dAT,
|
|
556
|
-
},
|
|
557
|
-
],
|
|
558
|
-
[
|
|
559
|
-
0,
|
|
560
|
-
{
|
|
561
|
-
[_hQ]: _i,
|
|
562
|
-
},
|
|
563
|
-
],
|
|
564
|
-
[
|
|
565
|
-
0,
|
|
566
|
-
{
|
|
567
|
-
[_hQ]: _tN,
|
|
568
|
-
},
|
|
569
|
-
],
|
|
516
|
+
[0, { [_hQ]: _mTI }],
|
|
517
|
+
[2, { [_hQ]: _dAT }],
|
|
518
|
+
[0, { [_hQ]: _i }],
|
|
519
|
+
[0, { [_hQ]: _tN }],
|
|
570
520
|
],
|
|
571
521
|
];
|
|
572
522
|
var DeleteWhatsAppMessageTemplateOutput = [3, n0, _DWAMTO, 0, [], []];
|
|
573
|
-
var DependencyException = [
|
|
574
|
-
-3,
|
|
575
|
-
n0,
|
|
576
|
-
_DE,
|
|
577
|
-
{
|
|
578
|
-
[_e]: _se,
|
|
579
|
-
[_hE]: 502,
|
|
580
|
-
},
|
|
581
|
-
[_m],
|
|
582
|
-
[0],
|
|
583
|
-
];
|
|
523
|
+
var DependencyException = [-3, n0, _DE, { [_e]: _se, [_hE]: 502 }, [_m], [0]];
|
|
584
524
|
schema.TypeRegistry.for(n0).registerError(DependencyException, DependencyException$1);
|
|
585
525
|
var DisassociateWhatsAppBusinessAccountInput = [
|
|
586
526
|
3,
|
|
@@ -588,14 +528,7 @@ var DisassociateWhatsAppBusinessAccountInput = [
|
|
|
588
528
|
_DWABAI,
|
|
589
529
|
0,
|
|
590
530
|
[_i],
|
|
591
|
-
[
|
|
592
|
-
[
|
|
593
|
-
0,
|
|
594
|
-
{
|
|
595
|
-
[_hQ]: _i,
|
|
596
|
-
},
|
|
597
|
-
],
|
|
598
|
-
],
|
|
531
|
+
[[0, { [_hQ]: _i }]],
|
|
599
532
|
];
|
|
600
533
|
var DisassociateWhatsAppBusinessAccountOutput = [3, n0, _DWABAO, 0, [], []];
|
|
601
534
|
var GetLinkedWhatsAppBusinessAccountInput = [
|
|
@@ -604,14 +537,7 @@ var GetLinkedWhatsAppBusinessAccountInput = [
|
|
|
604
537
|
_GLWABAI,
|
|
605
538
|
0,
|
|
606
539
|
[_i],
|
|
607
|
-
[
|
|
608
|
-
[
|
|
609
|
-
0,
|
|
610
|
-
{
|
|
611
|
-
[_hQ]: _i,
|
|
612
|
-
},
|
|
613
|
-
],
|
|
614
|
-
],
|
|
540
|
+
[[0, { [_hQ]: _i }]],
|
|
615
541
|
];
|
|
616
542
|
var GetLinkedWhatsAppBusinessAccountOutput = [
|
|
617
543
|
3,
|
|
@@ -627,14 +553,7 @@ var GetLinkedWhatsAppBusinessAccountPhoneNumberInput = [
|
|
|
627
553
|
_GLWABAPNI,
|
|
628
554
|
0,
|
|
629
555
|
[_i],
|
|
630
|
-
[
|
|
631
|
-
[
|
|
632
|
-
0,
|
|
633
|
-
{
|
|
634
|
-
[_hQ]: _i,
|
|
635
|
-
},
|
|
636
|
-
],
|
|
637
|
-
],
|
|
556
|
+
[[0, { [_hQ]: _i }]],
|
|
638
557
|
];
|
|
639
558
|
var GetLinkedWhatsAppBusinessAccountPhoneNumberOutput = [
|
|
640
559
|
3,
|
|
@@ -660,44 +579,14 @@ var GetWhatsAppMessageTemplateInput = [
|
|
|
660
579
|
0,
|
|
661
580
|
[_mTI, _i],
|
|
662
581
|
[
|
|
663
|
-
[
|
|
664
|
-
|
|
665
|
-
{
|
|
666
|
-
[_hQ]: _mTI,
|
|
667
|
-
},
|
|
668
|
-
],
|
|
669
|
-
[
|
|
670
|
-
0,
|
|
671
|
-
{
|
|
672
|
-
[_hQ]: _i,
|
|
673
|
-
},
|
|
674
|
-
],
|
|
582
|
+
[0, { [_hQ]: _mTI }],
|
|
583
|
+
[0, { [_hQ]: _i }],
|
|
675
584
|
],
|
|
676
585
|
];
|
|
677
586
|
var GetWhatsAppMessageTemplateOutput = [3, n0, _GWAMTO, 0, [_t], [0]];
|
|
678
|
-
var InternalServiceException = [
|
|
679
|
-
-3,
|
|
680
|
-
n0,
|
|
681
|
-
_ISE,
|
|
682
|
-
{
|
|
683
|
-
[_e]: _se,
|
|
684
|
-
[_hE]: 500,
|
|
685
|
-
},
|
|
686
|
-
[_m],
|
|
687
|
-
[0],
|
|
688
|
-
];
|
|
587
|
+
var InternalServiceException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
689
588
|
schema.TypeRegistry.for(n0).registerError(InternalServiceException, InternalServiceException$1);
|
|
690
|
-
var InvalidParametersException = [
|
|
691
|
-
-3,
|
|
692
|
-
n0,
|
|
693
|
-
_IPE,
|
|
694
|
-
{
|
|
695
|
-
[_e]: _c,
|
|
696
|
-
[_hE]: 400,
|
|
697
|
-
},
|
|
698
|
-
[_m],
|
|
699
|
-
[0],
|
|
700
|
-
];
|
|
589
|
+
var InvalidParametersException = [-3, n0, _IPE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
701
590
|
schema.TypeRegistry.for(n0).registerError(InvalidParametersException, InvalidParametersException$1);
|
|
702
591
|
var LibraryTemplateBodyInputs = [
|
|
703
592
|
3,
|
|
@@ -723,17 +612,7 @@ var LibraryTemplateButtonList = [
|
|
|
723
612
|
[_ty, _te, _pN, _u, _oT, _zTTA, _sA],
|
|
724
613
|
[0, 0, 0, 0, 0, 2, [1, n0, _SA, 0, 128 | 0]],
|
|
725
614
|
];
|
|
726
|
-
var LimitExceededException = [
|
|
727
|
-
-3,
|
|
728
|
-
n0,
|
|
729
|
-
_LEE,
|
|
730
|
-
{
|
|
731
|
-
[_e]: _c,
|
|
732
|
-
[_hE]: 400,
|
|
733
|
-
},
|
|
734
|
-
[_m],
|
|
735
|
-
[0],
|
|
736
|
-
];
|
|
615
|
+
var LimitExceededException = [-3, n0, _LEE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
737
616
|
schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
|
|
738
617
|
var LinkedWhatsAppBusinessAccount = [
|
|
739
618
|
3,
|
|
@@ -766,18 +645,8 @@ var ListLinkedWhatsAppBusinessAccountsInput = [
|
|
|
766
645
|
0,
|
|
767
646
|
[_nT, _mR],
|
|
768
647
|
[
|
|
769
|
-
[
|
|
770
|
-
|
|
771
|
-
{
|
|
772
|
-
[_hQ]: _nT,
|
|
773
|
-
},
|
|
774
|
-
],
|
|
775
|
-
[
|
|
776
|
-
1,
|
|
777
|
-
{
|
|
778
|
-
[_hQ]: _mR,
|
|
779
|
-
},
|
|
780
|
-
],
|
|
648
|
+
[0, { [_hQ]: _nT }],
|
|
649
|
+
[1, { [_hQ]: _mR }],
|
|
781
650
|
],
|
|
782
651
|
];
|
|
783
652
|
var ListLinkedWhatsAppBusinessAccountsOutput = [
|
|
@@ -788,21 +657,7 @@ var ListLinkedWhatsAppBusinessAccountsOutput = [
|
|
|
788
657
|
[_lA, _nT],
|
|
789
658
|
[() => LinkedWhatsAppBusinessAccountSummaryList, 0],
|
|
790
659
|
];
|
|
791
|
-
var ListTagsForResourceInput = [
|
|
792
|
-
3,
|
|
793
|
-
n0,
|
|
794
|
-
_LTFRI,
|
|
795
|
-
0,
|
|
796
|
-
[_rA],
|
|
797
|
-
[
|
|
798
|
-
[
|
|
799
|
-
0,
|
|
800
|
-
{
|
|
801
|
-
[_hQ]: _rA,
|
|
802
|
-
},
|
|
803
|
-
],
|
|
804
|
-
],
|
|
805
|
-
];
|
|
660
|
+
var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rA], [[0, { [_hQ]: _rA }]]];
|
|
806
661
|
var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_sCt, _ta], [1, () => TagList]];
|
|
807
662
|
var ListWhatsAppMessageTemplatesInput = [
|
|
808
663
|
3,
|
|
@@ -811,24 +666,9 @@ var ListWhatsAppMessageTemplatesInput = [
|
|
|
811
666
|
0,
|
|
812
667
|
[_i, _nT, _mR],
|
|
813
668
|
[
|
|
814
|
-
[
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
[_hQ]: _i,
|
|
818
|
-
},
|
|
819
|
-
],
|
|
820
|
-
[
|
|
821
|
-
0,
|
|
822
|
-
{
|
|
823
|
-
[_hQ]: _nT,
|
|
824
|
-
},
|
|
825
|
-
],
|
|
826
|
-
[
|
|
827
|
-
1,
|
|
828
|
-
{
|
|
829
|
-
[_hQ]: _mR,
|
|
830
|
-
},
|
|
831
|
-
],
|
|
669
|
+
[0, { [_hQ]: _i }],
|
|
670
|
+
[0, { [_hQ]: _nT }],
|
|
671
|
+
[1, { [_hQ]: _mR }],
|
|
832
672
|
],
|
|
833
673
|
];
|
|
834
674
|
var ListWhatsAppMessageTemplatesOutput = [
|
|
@@ -845,17 +685,7 @@ var ListWhatsAppTemplateLibraryInput = [
|
|
|
845
685
|
_LWATLI,
|
|
846
686
|
0,
|
|
847
687
|
[_nT, _mR, _i, _f],
|
|
848
|
-
[
|
|
849
|
-
0,
|
|
850
|
-
1,
|
|
851
|
-
[
|
|
852
|
-
0,
|
|
853
|
-
{
|
|
854
|
-
[_hQ]: _i,
|
|
855
|
-
},
|
|
856
|
-
],
|
|
857
|
-
128 | 0,
|
|
858
|
-
],
|
|
688
|
+
[0, 1, [0, { [_hQ]: _i }], 128 | 0],
|
|
859
689
|
];
|
|
860
690
|
var ListWhatsAppTemplateLibraryOutput = [
|
|
861
691
|
3,
|
|
@@ -899,17 +729,7 @@ var PutWhatsAppBusinessAccountEventDestinationsInput = [
|
|
|
899
729
|
[0, () => WhatsAppBusinessAccountEventDestinations],
|
|
900
730
|
];
|
|
901
731
|
var PutWhatsAppBusinessAccountEventDestinationsOutput = [3, n0, _PWABAEDO, 0, [], []];
|
|
902
|
-
var ResourceNotFoundException = [
|
|
903
|
-
-3,
|
|
904
|
-
n0,
|
|
905
|
-
_RNFE,
|
|
906
|
-
{
|
|
907
|
-
[_e]: _c,
|
|
908
|
-
[_hE]: 404,
|
|
909
|
-
},
|
|
910
|
-
[_m],
|
|
911
|
-
[0],
|
|
912
|
-
];
|
|
732
|
+
var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
913
733
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
914
734
|
var S3File = [3, n0, _SF, 8, [_bN, _k], [0, 0]];
|
|
915
735
|
var S3PresignedUrl = [3, n0, _SPU, 8, [_u, _h], [0, 128 | 0]];
|
|
@@ -933,17 +753,7 @@ var TemplateSummary = [
|
|
|
933
753
|
[_tN, _mTI, _tS, _tQS, _tL, _tC],
|
|
934
754
|
[0, 0, 0, 0, 0, 0],
|
|
935
755
|
];
|
|
936
|
-
var ThrottledRequestException = [
|
|
937
|
-
-3,
|
|
938
|
-
n0,
|
|
939
|
-
_TRE,
|
|
940
|
-
{
|
|
941
|
-
[_e]: _c,
|
|
942
|
-
[_hE]: 429,
|
|
943
|
-
},
|
|
944
|
-
[_m],
|
|
945
|
-
[0],
|
|
946
|
-
];
|
|
756
|
+
var ThrottledRequestException = [-3, n0, _TRE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
947
757
|
schema.TypeRegistry.for(n0).registerError(ThrottledRequestException, ThrottledRequestException$1);
|
|
948
758
|
var UntagResourceInput = [3, n0, _URI, 0, [_rA, _tK], [0, 64 | 0]];
|
|
949
759
|
var UntagResourceOutput = [3, n0, _URO, 0, [_sCt], [1]];
|
|
@@ -956,17 +766,7 @@ var UpdateWhatsAppMessageTemplateInput = [
|
|
|
956
766
|
[0, 0, 0, 21],
|
|
957
767
|
];
|
|
958
768
|
var UpdateWhatsAppMessageTemplateOutput = [3, n0, _UWAMTO, 0, [], []];
|
|
959
|
-
var ValidationException = [
|
|
960
|
-
-3,
|
|
961
|
-
n0,
|
|
962
|
-
_VE,
|
|
963
|
-
{
|
|
964
|
-
[_e]: _c,
|
|
965
|
-
[_hE]: 400,
|
|
966
|
-
},
|
|
967
|
-
[_m],
|
|
968
|
-
[0],
|
|
969
|
-
];
|
|
769
|
+
var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
970
770
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
971
771
|
var WabaPhoneNumberSetupFinalization = [
|
|
972
772
|
3,
|
|
@@ -1065,9 +865,7 @@ var AssociateWhatsAppBusinessAccount = [
|
|
|
1065
865
|
9,
|
|
1066
866
|
n0,
|
|
1067
867
|
_AWABA,
|
|
1068
|
-
{
|
|
1069
|
-
[_ht]: ["POST", "/v1/whatsapp/signup", 200],
|
|
1070
|
-
},
|
|
868
|
+
{ [_ht]: ["POST", "/v1/whatsapp/signup", 200] },
|
|
1071
869
|
() => AssociateWhatsAppBusinessAccountInput,
|
|
1072
870
|
() => AssociateWhatsAppBusinessAccountOutput,
|
|
1073
871
|
];
|
|
@@ -1075,9 +873,7 @@ var CreateWhatsAppMessageTemplate = [
|
|
|
1075
873
|
9,
|
|
1076
874
|
n0,
|
|
1077
875
|
_CWAMT,
|
|
1078
|
-
{
|
|
1079
|
-
[_ht]: ["POST", "/v1/whatsapp/template/put", 200],
|
|
1080
|
-
},
|
|
876
|
+
{ [_ht]: ["POST", "/v1/whatsapp/template/put", 200] },
|
|
1081
877
|
() => CreateWhatsAppMessageTemplateInput,
|
|
1082
878
|
() => CreateWhatsAppMessageTemplateOutput,
|
|
1083
879
|
];
|
|
@@ -1085,9 +881,7 @@ var CreateWhatsAppMessageTemplateFromLibrary = [
|
|
|
1085
881
|
9,
|
|
1086
882
|
n0,
|
|
1087
883
|
_CWAMTFL,
|
|
1088
|
-
{
|
|
1089
|
-
[_ht]: ["POST", "/v1/whatsapp/template/create", 200],
|
|
1090
|
-
},
|
|
884
|
+
{ [_ht]: ["POST", "/v1/whatsapp/template/create", 200] },
|
|
1091
885
|
() => CreateWhatsAppMessageTemplateFromLibraryInput,
|
|
1092
886
|
() => CreateWhatsAppMessageTemplateFromLibraryOutput,
|
|
1093
887
|
];
|
|
@@ -1095,9 +889,7 @@ var CreateWhatsAppMessageTemplateMedia = [
|
|
|
1095
889
|
9,
|
|
1096
890
|
n0,
|
|
1097
891
|
_CWAMTM,
|
|
1098
|
-
{
|
|
1099
|
-
[_ht]: ["POST", "/v1/whatsapp/template/media", 200],
|
|
1100
|
-
},
|
|
892
|
+
{ [_ht]: ["POST", "/v1/whatsapp/template/media", 200] },
|
|
1101
893
|
() => CreateWhatsAppMessageTemplateMediaInput,
|
|
1102
894
|
() => CreateWhatsAppMessageTemplateMediaOutput,
|
|
1103
895
|
];
|
|
@@ -1105,9 +897,7 @@ var DeleteWhatsAppMessageMedia = [
|
|
|
1105
897
|
9,
|
|
1106
898
|
n0,
|
|
1107
899
|
_DWAMM,
|
|
1108
|
-
{
|
|
1109
|
-
[_ht]: ["DELETE", "/v1/whatsapp/media", 200],
|
|
1110
|
-
},
|
|
900
|
+
{ [_ht]: ["DELETE", "/v1/whatsapp/media", 200] },
|
|
1111
901
|
() => DeleteWhatsAppMessageMediaInput,
|
|
1112
902
|
() => DeleteWhatsAppMessageMediaOutput,
|
|
1113
903
|
];
|
|
@@ -1115,9 +905,7 @@ var DeleteWhatsAppMessageTemplate = [
|
|
|
1115
905
|
9,
|
|
1116
906
|
n0,
|
|
1117
907
|
_DWAMT,
|
|
1118
|
-
{
|
|
1119
|
-
[_ht]: ["DELETE", "/v1/whatsapp/template", 200],
|
|
1120
|
-
},
|
|
908
|
+
{ [_ht]: ["DELETE", "/v1/whatsapp/template", 200] },
|
|
1121
909
|
() => DeleteWhatsAppMessageTemplateInput,
|
|
1122
910
|
() => DeleteWhatsAppMessageTemplateOutput,
|
|
1123
911
|
];
|
|
@@ -1125,9 +913,7 @@ var DisassociateWhatsAppBusinessAccount = [
|
|
|
1125
913
|
9,
|
|
1126
914
|
n0,
|
|
1127
915
|
_DWABA,
|
|
1128
|
-
{
|
|
1129
|
-
[_ht]: ["DELETE", "/v1/whatsapp/waba/disassociate", 200],
|
|
1130
|
-
},
|
|
916
|
+
{ [_ht]: ["DELETE", "/v1/whatsapp/waba/disassociate", 200] },
|
|
1131
917
|
() => DisassociateWhatsAppBusinessAccountInput,
|
|
1132
918
|
() => DisassociateWhatsAppBusinessAccountOutput,
|
|
1133
919
|
];
|
|
@@ -1135,9 +921,7 @@ var GetLinkedWhatsAppBusinessAccount = [
|
|
|
1135
921
|
9,
|
|
1136
922
|
n0,
|
|
1137
923
|
_GLWABA,
|
|
1138
|
-
{
|
|
1139
|
-
[_ht]: ["GET", "/v1/whatsapp/waba/details", 200],
|
|
1140
|
-
},
|
|
924
|
+
{ [_ht]: ["GET", "/v1/whatsapp/waba/details", 200] },
|
|
1141
925
|
() => GetLinkedWhatsAppBusinessAccountInput,
|
|
1142
926
|
() => GetLinkedWhatsAppBusinessAccountOutput,
|
|
1143
927
|
];
|
|
@@ -1145,9 +929,7 @@ var GetLinkedWhatsAppBusinessAccountPhoneNumber = [
|
|
|
1145
929
|
9,
|
|
1146
930
|
n0,
|
|
1147
931
|
_GLWABAPN,
|
|
1148
|
-
{
|
|
1149
|
-
[_ht]: ["GET", "/v1/whatsapp/waba/phone/details", 200],
|
|
1150
|
-
},
|
|
932
|
+
{ [_ht]: ["GET", "/v1/whatsapp/waba/phone/details", 200] },
|
|
1151
933
|
() => GetLinkedWhatsAppBusinessAccountPhoneNumberInput,
|
|
1152
934
|
() => GetLinkedWhatsAppBusinessAccountPhoneNumberOutput,
|
|
1153
935
|
];
|
|
@@ -1155,9 +937,7 @@ var GetWhatsAppMessageMedia = [
|
|
|
1155
937
|
9,
|
|
1156
938
|
n0,
|
|
1157
939
|
_GWAMM,
|
|
1158
|
-
{
|
|
1159
|
-
[_ht]: ["POST", "/v1/whatsapp/media/get", 200],
|
|
1160
|
-
},
|
|
940
|
+
{ [_ht]: ["POST", "/v1/whatsapp/media/get", 200] },
|
|
1161
941
|
() => GetWhatsAppMessageMediaInput,
|
|
1162
942
|
() => GetWhatsAppMessageMediaOutput,
|
|
1163
943
|
];
|
|
@@ -1165,9 +945,7 @@ var GetWhatsAppMessageTemplate = [
|
|
|
1165
945
|
9,
|
|
1166
946
|
n0,
|
|
1167
947
|
_GWAMT,
|
|
1168
|
-
{
|
|
1169
|
-
[_ht]: ["GET", "/v1/whatsapp/template", 200],
|
|
1170
|
-
},
|
|
948
|
+
{ [_ht]: ["GET", "/v1/whatsapp/template", 200] },
|
|
1171
949
|
() => GetWhatsAppMessageTemplateInput,
|
|
1172
950
|
() => GetWhatsAppMessageTemplateOutput,
|
|
1173
951
|
];
|
|
@@ -1175,9 +953,7 @@ var ListLinkedWhatsAppBusinessAccounts = [
|
|
|
1175
953
|
9,
|
|
1176
954
|
n0,
|
|
1177
955
|
_LLWABA,
|
|
1178
|
-
{
|
|
1179
|
-
[_ht]: ["GET", "/v1/whatsapp/waba/list", 200],
|
|
1180
|
-
},
|
|
956
|
+
{ [_ht]: ["GET", "/v1/whatsapp/waba/list", 200] },
|
|
1181
957
|
() => ListLinkedWhatsAppBusinessAccountsInput,
|
|
1182
958
|
() => ListLinkedWhatsAppBusinessAccountsOutput,
|
|
1183
959
|
];
|
|
@@ -1185,9 +961,7 @@ var ListTagsForResource = [
|
|
|
1185
961
|
9,
|
|
1186
962
|
n0,
|
|
1187
963
|
_LTFR,
|
|
1188
|
-
{
|
|
1189
|
-
[_ht]: ["GET", "/v1/tags/list", 200],
|
|
1190
|
-
},
|
|
964
|
+
{ [_ht]: ["GET", "/v1/tags/list", 200] },
|
|
1191
965
|
() => ListTagsForResourceInput,
|
|
1192
966
|
() => ListTagsForResourceOutput,
|
|
1193
967
|
];
|
|
@@ -1195,9 +969,7 @@ var ListWhatsAppMessageTemplates = [
|
|
|
1195
969
|
9,
|
|
1196
970
|
n0,
|
|
1197
971
|
_LWAMT,
|
|
1198
|
-
{
|
|
1199
|
-
[_ht]: ["GET", "/v1/whatsapp/template/list", 200],
|
|
1200
|
-
},
|
|
972
|
+
{ [_ht]: ["GET", "/v1/whatsapp/template/list", 200] },
|
|
1201
973
|
() => ListWhatsAppMessageTemplatesInput,
|
|
1202
974
|
() => ListWhatsAppMessageTemplatesOutput,
|
|
1203
975
|
];
|
|
@@ -1205,9 +977,7 @@ var ListWhatsAppTemplateLibrary = [
|
|
|
1205
977
|
9,
|
|
1206
978
|
n0,
|
|
1207
979
|
_LWATL,
|
|
1208
|
-
{
|
|
1209
|
-
[_ht]: ["POST", "/v1/whatsapp/template/library", 200],
|
|
1210
|
-
},
|
|
980
|
+
{ [_ht]: ["POST", "/v1/whatsapp/template/library", 200] },
|
|
1211
981
|
() => ListWhatsAppTemplateLibraryInput,
|
|
1212
982
|
() => ListWhatsAppTemplateLibraryOutput,
|
|
1213
983
|
];
|
|
@@ -1215,9 +985,7 @@ var PostWhatsAppMessageMedia = [
|
|
|
1215
985
|
9,
|
|
1216
986
|
n0,
|
|
1217
987
|
_PWAMM,
|
|
1218
|
-
{
|
|
1219
|
-
[_ht]: ["POST", "/v1/whatsapp/media", 200],
|
|
1220
|
-
},
|
|
988
|
+
{ [_ht]: ["POST", "/v1/whatsapp/media", 200] },
|
|
1221
989
|
() => PostWhatsAppMessageMediaInput,
|
|
1222
990
|
() => PostWhatsAppMessageMediaOutput,
|
|
1223
991
|
];
|
|
@@ -1225,9 +993,7 @@ var PutWhatsAppBusinessAccountEventDestinations = [
|
|
|
1225
993
|
9,
|
|
1226
994
|
n0,
|
|
1227
995
|
_PWABAED,
|
|
1228
|
-
{
|
|
1229
|
-
[_ht]: ["PUT", "/v1/whatsapp/waba/eventdestinations", 200],
|
|
1230
|
-
},
|
|
996
|
+
{ [_ht]: ["PUT", "/v1/whatsapp/waba/eventdestinations", 200] },
|
|
1231
997
|
() => PutWhatsAppBusinessAccountEventDestinationsInput,
|
|
1232
998
|
() => PutWhatsAppBusinessAccountEventDestinationsOutput,
|
|
1233
999
|
];
|
|
@@ -1235,9 +1001,7 @@ var SendWhatsAppMessage = [
|
|
|
1235
1001
|
9,
|
|
1236
1002
|
n0,
|
|
1237
1003
|
_SWAM,
|
|
1238
|
-
{
|
|
1239
|
-
[_ht]: ["POST", "/v1/whatsapp/send", 200],
|
|
1240
|
-
},
|
|
1004
|
+
{ [_ht]: ["POST", "/v1/whatsapp/send", 200] },
|
|
1241
1005
|
() => SendWhatsAppMessageInput,
|
|
1242
1006
|
() => SendWhatsAppMessageOutput,
|
|
1243
1007
|
];
|
|
@@ -1245,9 +1009,7 @@ var TagResource = [
|
|
|
1245
1009
|
9,
|
|
1246
1010
|
n0,
|
|
1247
1011
|
_TR,
|
|
1248
|
-
{
|
|
1249
|
-
[_ht]: ["POST", "/v1/tags/tag-resource", 200],
|
|
1250
|
-
},
|
|
1012
|
+
{ [_ht]: ["POST", "/v1/tags/tag-resource", 200] },
|
|
1251
1013
|
() => TagResourceInput,
|
|
1252
1014
|
() => TagResourceOutput,
|
|
1253
1015
|
];
|
|
@@ -1255,9 +1017,7 @@ var UntagResource = [
|
|
|
1255
1017
|
9,
|
|
1256
1018
|
n0,
|
|
1257
1019
|
_UR,
|
|
1258
|
-
{
|
|
1259
|
-
[_ht]: ["POST", "/v1/tags/untag-resource", 200],
|
|
1260
|
-
},
|
|
1020
|
+
{ [_ht]: ["POST", "/v1/tags/untag-resource", 200] },
|
|
1261
1021
|
() => UntagResourceInput,
|
|
1262
1022
|
() => UntagResourceOutput,
|
|
1263
1023
|
];
|
|
@@ -1265,9 +1025,7 @@ var UpdateWhatsAppMessageTemplate = [
|
|
|
1265
1025
|
9,
|
|
1266
1026
|
n0,
|
|
1267
1027
|
_UWAMT,
|
|
1268
|
-
{
|
|
1269
|
-
[_ht]: ["POST", "/v1/whatsapp/template", 200],
|
|
1270
|
-
},
|
|
1028
|
+
{ [_ht]: ["POST", "/v1/whatsapp/template", 200] },
|
|
1271
1029
|
() => UpdateWhatsAppMessageTemplateInput,
|
|
1272
1030
|
() => UpdateWhatsAppMessageTemplateOutput,
|
|
1273
1031
|
];
|
|
@@ -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);
|
|
@@ -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 { defaultSocialMessagingHttpAuthSchemeParametersProvider, 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);
|