@aws-sdk/client-internetmonitor 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 -295
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/InternetMonitorClient.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 -295
- package/dist-types/InternetMonitor.d.ts +1 -1
- package/dist-types/InternetMonitorClient.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/CreateMonitorCommand.d.ts +3 -3
- package/dist-types/commands/DeleteMonitorCommand.d.ts +3 -3
- package/dist-types/commands/GetHealthEventCommand.d.ts +3 -3
- package/dist-types/commands/GetInternetEventCommand.d.ts +3 -3
- package/dist-types/commands/GetMonitorCommand.d.ts +3 -3
- package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -3
- package/dist-types/commands/GetQueryStatusCommand.d.ts +3 -3
- package/dist-types/commands/ListHealthEventsCommand.d.ts +3 -3
- package/dist-types/commands/ListInternetEventsCommand.d.ts +3 -3
- package/dist-types/commands/ListMonitorsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/StartQueryCommand.d.ts +3 -3
- package/dist-types/commands/StopQueryCommand.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/UpdateMonitorCommand.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/InternetMonitorServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/pagination/GetQueryResultsPaginator.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListHealthEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInternetEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMonitorsPaginator.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/InternetMonitorClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/InternetMonitorServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -431,30 +431,10 @@ const _s = "server";
|
|
|
431
431
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.internetmonitor";
|
|
432
432
|
const _tK = "tagKeys";
|
|
433
433
|
const n0 = "com.amazonaws.internetmonitor";
|
|
434
|
-
var AccessDeniedException = [
|
|
435
|
-
-3,
|
|
436
|
-
n0,
|
|
437
|
-
_ADE,
|
|
438
|
-
{
|
|
439
|
-
[_e]: _c,
|
|
440
|
-
[_hE]: 403,
|
|
441
|
-
},
|
|
442
|
-
[_m],
|
|
443
|
-
[0],
|
|
444
|
-
];
|
|
434
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
445
435
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
446
436
|
var AvailabilityMeasurement = [3, n0, _AM, 0, [_ES, _POTTI, _POCLI], [1, 1, 1]];
|
|
447
|
-
var BadRequestException = [
|
|
448
|
-
-3,
|
|
449
|
-
n0,
|
|
450
|
-
_BRE,
|
|
451
|
-
{
|
|
452
|
-
[_e]: _c,
|
|
453
|
-
[_hE]: 400,
|
|
454
|
-
},
|
|
455
|
-
[_m],
|
|
456
|
-
[0],
|
|
457
|
-
];
|
|
437
|
+
var BadRequestException = [-3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
458
438
|
schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
|
|
459
439
|
var ClientLocation = [
|
|
460
440
|
3,
|
|
@@ -464,17 +444,7 @@ var ClientLocation = [
|
|
|
464
444
|
[_ASN, _ASNu, _C, _S, _M, _Ci, _L, _Lo],
|
|
465
445
|
[0, 1, 0, 0, 0, 0, 1, 1],
|
|
466
446
|
];
|
|
467
|
-
var ConflictException = [
|
|
468
|
-
-3,
|
|
469
|
-
n0,
|
|
470
|
-
_CE,
|
|
471
|
-
{
|
|
472
|
-
[_e]: _c,
|
|
473
|
-
[_hE]: 409,
|
|
474
|
-
},
|
|
475
|
-
[_m],
|
|
476
|
-
[0],
|
|
477
|
-
];
|
|
447
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
478
448
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
479
449
|
var CreateMonitorInput = [
|
|
480
450
|
3,
|
|
@@ -497,12 +467,7 @@ var GetHealthEventInput = [
|
|
|
497
467
|
[
|
|
498
468
|
[0, 1],
|
|
499
469
|
[0, 1],
|
|
500
|
-
[
|
|
501
|
-
0,
|
|
502
|
-
{
|
|
503
|
-
[_hQ]: _LAI,
|
|
504
|
-
},
|
|
505
|
-
],
|
|
470
|
+
[0, { [_hQ]: _LAI }],
|
|
506
471
|
],
|
|
507
472
|
];
|
|
508
473
|
var GetHealthEventOutput = [
|
|
@@ -530,12 +495,7 @@ var GetMonitorInput = [
|
|
|
530
495
|
[_MN, _LAI],
|
|
531
496
|
[
|
|
532
497
|
[0, 1],
|
|
533
|
-
[
|
|
534
|
-
0,
|
|
535
|
-
{
|
|
536
|
-
[_hQ]: _LAI,
|
|
537
|
-
},
|
|
538
|
-
],
|
|
498
|
+
[0, { [_hQ]: _LAI }],
|
|
539
499
|
],
|
|
540
500
|
];
|
|
541
501
|
var GetMonitorOutput = [
|
|
@@ -555,18 +515,8 @@ var GetQueryResultsInput = [
|
|
|
555
515
|
[
|
|
556
516
|
[0, 1],
|
|
557
517
|
[0, 1],
|
|
558
|
-
[
|
|
559
|
-
|
|
560
|
-
{
|
|
561
|
-
[_hQ]: _NT,
|
|
562
|
-
},
|
|
563
|
-
],
|
|
564
|
-
[
|
|
565
|
-
1,
|
|
566
|
-
{
|
|
567
|
-
[_hQ]: _MR,
|
|
568
|
-
},
|
|
569
|
-
],
|
|
518
|
+
[0, { [_hQ]: _NT }],
|
|
519
|
+
[1, { [_hQ]: _MR }],
|
|
570
520
|
],
|
|
571
521
|
];
|
|
572
522
|
var GetQueryResultsOutput = [
|
|
@@ -613,29 +563,9 @@ var ImpactedLocation = [
|
|
|
613
563
|
[_ASN, _ASNu, _C, _S, _M, _Ci, _L, _Lo, _CC, _SC, _SL, _St, _CB, _IH, _IP],
|
|
614
564
|
[0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, () => NetworkImpairment, () => InternetHealth, 64 | 0],
|
|
615
565
|
];
|
|
616
|
-
var InternalServerErrorException = [
|
|
617
|
-
-3,
|
|
618
|
-
n0,
|
|
619
|
-
_ISEE,
|
|
620
|
-
{
|
|
621
|
-
[_e]: _s,
|
|
622
|
-
[_hE]: 500,
|
|
623
|
-
},
|
|
624
|
-
[_m],
|
|
625
|
-
[0],
|
|
626
|
-
];
|
|
566
|
+
var InternalServerErrorException = [-3, n0, _ISEE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
|
|
627
567
|
schema.TypeRegistry.for(n0).registerError(InternalServerErrorException, InternalServerErrorException$1);
|
|
628
|
-
var InternalServerException = [
|
|
629
|
-
-3,
|
|
630
|
-
n0,
|
|
631
|
-
_ISE,
|
|
632
|
-
{
|
|
633
|
-
[_e]: _s,
|
|
634
|
-
[_hE]: 500,
|
|
635
|
-
},
|
|
636
|
-
[_m],
|
|
637
|
-
[0],
|
|
638
|
-
];
|
|
568
|
+
var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
|
|
639
569
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
640
570
|
var InternetEventSummary = [
|
|
641
571
|
3,
|
|
@@ -654,17 +584,7 @@ var InternetHealth = [
|
|
|
654
584
|
[() => AvailabilityMeasurement, () => PerformanceMeasurement],
|
|
655
585
|
];
|
|
656
586
|
var InternetMeasurementsLogDelivery = [3, n0, _IMLD, 0, [_SCo], [() => S3Config]];
|
|
657
|
-
var LimitExceededException = [
|
|
658
|
-
-3,
|
|
659
|
-
n0,
|
|
660
|
-
_LEE,
|
|
661
|
-
{
|
|
662
|
-
[_e]: _c,
|
|
663
|
-
[_hE]: 403,
|
|
664
|
-
},
|
|
665
|
-
[_m],
|
|
666
|
-
[0],
|
|
667
|
-
];
|
|
587
|
+
var LimitExceededException = [-3, n0, _LEE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
668
588
|
schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
|
|
669
589
|
var ListHealthEventsInput = [
|
|
670
590
|
3,
|
|
@@ -674,42 +594,12 @@ var ListHealthEventsInput = [
|
|
|
674
594
|
[_MN, _ST, _ETn, _NT, _MR, _ESv, _LAI],
|
|
675
595
|
[
|
|
676
596
|
[0, 1],
|
|
677
|
-
[
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
],
|
|
683
|
-
[
|
|
684
|
-
5,
|
|
685
|
-
{
|
|
686
|
-
[_hQ]: _ETn,
|
|
687
|
-
},
|
|
688
|
-
],
|
|
689
|
-
[
|
|
690
|
-
0,
|
|
691
|
-
{
|
|
692
|
-
[_hQ]: _NT,
|
|
693
|
-
},
|
|
694
|
-
],
|
|
695
|
-
[
|
|
696
|
-
1,
|
|
697
|
-
{
|
|
698
|
-
[_hQ]: _MR,
|
|
699
|
-
},
|
|
700
|
-
],
|
|
701
|
-
[
|
|
702
|
-
0,
|
|
703
|
-
{
|
|
704
|
-
[_hQ]: _ESv,
|
|
705
|
-
},
|
|
706
|
-
],
|
|
707
|
-
[
|
|
708
|
-
0,
|
|
709
|
-
{
|
|
710
|
-
[_hQ]: _LAI,
|
|
711
|
-
},
|
|
712
|
-
],
|
|
597
|
+
[5, { [_hQ]: _ST }],
|
|
598
|
+
[5, { [_hQ]: _ETn }],
|
|
599
|
+
[0, { [_hQ]: _NT }],
|
|
600
|
+
[1, { [_hQ]: _MR }],
|
|
601
|
+
[0, { [_hQ]: _ESv }],
|
|
602
|
+
[0, { [_hQ]: _LAI }],
|
|
713
603
|
],
|
|
714
604
|
];
|
|
715
605
|
var ListHealthEventsOutput = [3, n0, _LHEO, 0, [_HEe, _NT], [() => HealthEventList, 0]];
|
|
@@ -720,42 +610,12 @@ var ListInternetEventsInput = [
|
|
|
720
610
|
0,
|
|
721
611
|
[_NT, _MR, _ST, _ETn, _ESv, _ET],
|
|
722
612
|
[
|
|
723
|
-
[
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
],
|
|
729
|
-
[
|
|
730
|
-
1,
|
|
731
|
-
{
|
|
732
|
-
[_hQ]: _IEMR,
|
|
733
|
-
},
|
|
734
|
-
],
|
|
735
|
-
[
|
|
736
|
-
5,
|
|
737
|
-
{
|
|
738
|
-
[_hQ]: _ST,
|
|
739
|
-
},
|
|
740
|
-
],
|
|
741
|
-
[
|
|
742
|
-
5,
|
|
743
|
-
{
|
|
744
|
-
[_hQ]: _ETn,
|
|
745
|
-
},
|
|
746
|
-
],
|
|
747
|
-
[
|
|
748
|
-
0,
|
|
749
|
-
{
|
|
750
|
-
[_hQ]: _ESv,
|
|
751
|
-
},
|
|
752
|
-
],
|
|
753
|
-
[
|
|
754
|
-
0,
|
|
755
|
-
{
|
|
756
|
-
[_hQ]: _ET,
|
|
757
|
-
},
|
|
758
|
-
],
|
|
613
|
+
[0, { [_hQ]: _NT }],
|
|
614
|
+
[1, { [_hQ]: _IEMR }],
|
|
615
|
+
[5, { [_hQ]: _ST }],
|
|
616
|
+
[5, { [_hQ]: _ETn }],
|
|
617
|
+
[0, { [_hQ]: _ESv }],
|
|
618
|
+
[0, { [_hQ]: _ET }],
|
|
759
619
|
],
|
|
760
620
|
];
|
|
761
621
|
var ListInternetEventsOutput = [
|
|
@@ -773,30 +633,10 @@ var ListMonitorsInput = [
|
|
|
773
633
|
0,
|
|
774
634
|
[_NT, _MR, _MS, _ILA],
|
|
775
635
|
[
|
|
776
|
-
[
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
},
|
|
781
|
-
],
|
|
782
|
-
[
|
|
783
|
-
1,
|
|
784
|
-
{
|
|
785
|
-
[_hQ]: _MR,
|
|
786
|
-
},
|
|
787
|
-
],
|
|
788
|
-
[
|
|
789
|
-
0,
|
|
790
|
-
{
|
|
791
|
-
[_hQ]: _MS,
|
|
792
|
-
},
|
|
793
|
-
],
|
|
794
|
-
[
|
|
795
|
-
2,
|
|
796
|
-
{
|
|
797
|
-
[_hQ]: _ILA,
|
|
798
|
-
},
|
|
799
|
-
],
|
|
636
|
+
[0, { [_hQ]: _NT }],
|
|
637
|
+
[1, { [_hQ]: _MR }],
|
|
638
|
+
[0, { [_hQ]: _MS }],
|
|
639
|
+
[2, { [_hQ]: _ILA }],
|
|
800
640
|
],
|
|
801
641
|
];
|
|
802
642
|
var ListMonitorsOutput = [3, n0, _LMO, 0, [_Mo, _NT], [() => MonitorList, 0]];
|
|
@@ -813,17 +653,7 @@ var NetworkImpairment = [
|
|
|
813
653
|
[_Ne, _AP, _NET],
|
|
814
654
|
[() => NetworkList, () => NetworkList, 0],
|
|
815
655
|
];
|
|
816
|
-
var NotFoundException = [
|
|
817
|
-
-3,
|
|
818
|
-
n0,
|
|
819
|
-
_NFE,
|
|
820
|
-
{
|
|
821
|
-
[_e]: _c,
|
|
822
|
-
[_hE]: 404,
|
|
823
|
-
},
|
|
824
|
-
[_m],
|
|
825
|
-
[0],
|
|
826
|
-
];
|
|
656
|
+
var NotFoundException = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
827
657
|
schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
|
|
828
658
|
var PerformanceMeasurement = [
|
|
829
659
|
3,
|
|
@@ -834,17 +664,7 @@ var PerformanceMeasurement = [
|
|
|
834
664
|
[1, 1, 1, () => RoundTripTime],
|
|
835
665
|
];
|
|
836
666
|
var QueryField = [3, n0, _QF, 0, [_Na, _Ty], [0, 0]];
|
|
837
|
-
var ResourceNotFoundException = [
|
|
838
|
-
-3,
|
|
839
|
-
n0,
|
|
840
|
-
_RNFE,
|
|
841
|
-
{
|
|
842
|
-
[_e]: _c,
|
|
843
|
-
[_hE]: 404,
|
|
844
|
-
},
|
|
845
|
-
[_m],
|
|
846
|
-
[0],
|
|
847
|
-
];
|
|
667
|
+
var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
848
668
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
849
669
|
var RoundTripTime = [3, n0, _RTT, 0, [_P_, _P__, _P___], [1, 1, 1]];
|
|
850
670
|
var S3Config = [3, n0, _SCo, 0, [_BN, _BP, _LDS], [0, 0, 0]];
|
|
@@ -871,29 +691,9 @@ var StopQueryInput = [
|
|
|
871
691
|
var StopQueryOutput = [3, n0, _SQOt, 0, [], []];
|
|
872
692
|
var TagResourceInput = [3, n0, _TRI, 0, [_RA, _T], [[0, 1], 128 | 0]];
|
|
873
693
|
var TagResourceOutput = [3, n0, _TRO, 0, [], []];
|
|
874
|
-
var ThrottlingException = [
|
|
875
|
-
-3,
|
|
876
|
-
n0,
|
|
877
|
-
_TE,
|
|
878
|
-
{
|
|
879
|
-
[_e]: _c,
|
|
880
|
-
[_hE]: 429,
|
|
881
|
-
},
|
|
882
|
-
[_m],
|
|
883
|
-
[0],
|
|
884
|
-
];
|
|
694
|
+
var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
885
695
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
886
|
-
var TooManyRequestsException = [
|
|
887
|
-
-3,
|
|
888
|
-
n0,
|
|
889
|
-
_TMRE,
|
|
890
|
-
{
|
|
891
|
-
[_e]: _c,
|
|
892
|
-
[_hE]: 429,
|
|
893
|
-
},
|
|
894
|
-
[_m],
|
|
895
|
-
[0],
|
|
896
|
-
];
|
|
696
|
+
var TooManyRequestsException = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
897
697
|
schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
|
|
898
698
|
var UntagResourceInput = [
|
|
899
699
|
3,
|
|
@@ -903,12 +703,7 @@ var UntagResourceInput = [
|
|
|
903
703
|
[_RA, _TK],
|
|
904
704
|
[
|
|
905
705
|
[0, 1],
|
|
906
|
-
[
|
|
907
|
-
64 | 0,
|
|
908
|
-
{
|
|
909
|
-
[_hQ]: _tK,
|
|
910
|
-
},
|
|
911
|
-
],
|
|
706
|
+
[64 | 0, { [_hQ]: _tK }],
|
|
912
707
|
],
|
|
913
708
|
];
|
|
914
709
|
var UntagResourceOutput = [3, n0, _URO, 0, [], []];
|
|
@@ -921,17 +716,7 @@ var UpdateMonitorInput = [
|
|
|
921
716
|
[[0, 1], 64 | 0, 64 | 0, 0, [0, 4], 1, () => InternetMeasurementsLogDelivery, 1, () => HealthEventsConfig],
|
|
922
717
|
];
|
|
923
718
|
var UpdateMonitorOutput = [3, n0, _UMO, 0, [_MA, _St], [0, 0]];
|
|
924
|
-
var ValidationException = [
|
|
925
|
-
-3,
|
|
926
|
-
n0,
|
|
927
|
-
_VE,
|
|
928
|
-
{
|
|
929
|
-
[_e]: _c,
|
|
930
|
-
[_hE]: 400,
|
|
931
|
-
},
|
|
932
|
-
[_m],
|
|
933
|
-
[0],
|
|
934
|
-
];
|
|
719
|
+
var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
935
720
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
936
721
|
var InternetMonitorServiceException = [-3, _sm, "InternetMonitorServiceException", 0, [], []];
|
|
937
722
|
schema.TypeRegistry.for(_sm).registerError(InternetMonitorServiceException, InternetMonitorServiceException$1);
|
|
@@ -946,9 +731,7 @@ var CreateMonitor = [
|
|
|
946
731
|
9,
|
|
947
732
|
n0,
|
|
948
733
|
_CM,
|
|
949
|
-
{
|
|
950
|
-
[_h]: ["POST", "/v20210603/Monitors", 200],
|
|
951
|
-
},
|
|
734
|
+
{ [_h]: ["POST", "/v20210603/Monitors", 200] },
|
|
952
735
|
() => CreateMonitorInput,
|
|
953
736
|
() => CreateMonitorOutput,
|
|
954
737
|
];
|
|
@@ -956,9 +739,7 @@ var DeleteMonitor = [
|
|
|
956
739
|
9,
|
|
957
740
|
n0,
|
|
958
741
|
_DM,
|
|
959
|
-
{
|
|
960
|
-
[_h]: ["DELETE", "/v20210603/Monitors/{MonitorName}", 200],
|
|
961
|
-
},
|
|
742
|
+
{ [_h]: ["DELETE", "/v20210603/Monitors/{MonitorName}", 200] },
|
|
962
743
|
() => DeleteMonitorInput,
|
|
963
744
|
() => DeleteMonitorOutput,
|
|
964
745
|
];
|
|
@@ -966,9 +747,7 @@ var GetHealthEvent = [
|
|
|
966
747
|
9,
|
|
967
748
|
n0,
|
|
968
749
|
_GHE,
|
|
969
|
-
{
|
|
970
|
-
[_h]: ["GET", "/v20210603/Monitors/{MonitorName}/HealthEvents/{EventId}", 200],
|
|
971
|
-
},
|
|
750
|
+
{ [_h]: ["GET", "/v20210603/Monitors/{MonitorName}/HealthEvents/{EventId}", 200] },
|
|
972
751
|
() => GetHealthEventInput,
|
|
973
752
|
() => GetHealthEventOutput,
|
|
974
753
|
];
|
|
@@ -976,9 +755,7 @@ var GetInternetEvent = [
|
|
|
976
755
|
9,
|
|
977
756
|
n0,
|
|
978
757
|
_GIE,
|
|
979
|
-
{
|
|
980
|
-
[_h]: ["GET", "/v20210603/InternetEvents/{EventId}", 200],
|
|
981
|
-
},
|
|
758
|
+
{ [_h]: ["GET", "/v20210603/InternetEvents/{EventId}", 200] },
|
|
982
759
|
() => GetInternetEventInput,
|
|
983
760
|
() => GetInternetEventOutput,
|
|
984
761
|
];
|
|
@@ -986,9 +763,7 @@ var GetMonitor = [
|
|
|
986
763
|
9,
|
|
987
764
|
n0,
|
|
988
765
|
_GM,
|
|
989
|
-
{
|
|
990
|
-
[_h]: ["GET", "/v20210603/Monitors/{MonitorName}", 200],
|
|
991
|
-
},
|
|
766
|
+
{ [_h]: ["GET", "/v20210603/Monitors/{MonitorName}", 200] },
|
|
992
767
|
() => GetMonitorInput,
|
|
993
768
|
() => GetMonitorOutput,
|
|
994
769
|
];
|
|
@@ -996,9 +771,7 @@ var GetQueryResults = [
|
|
|
996
771
|
9,
|
|
997
772
|
n0,
|
|
998
773
|
_GQR,
|
|
999
|
-
{
|
|
1000
|
-
[_h]: ["GET", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Results", 200],
|
|
1001
|
-
},
|
|
774
|
+
{ [_h]: ["GET", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Results", 200] },
|
|
1002
775
|
() => GetQueryResultsInput,
|
|
1003
776
|
() => GetQueryResultsOutput,
|
|
1004
777
|
];
|
|
@@ -1006,9 +779,7 @@ var GetQueryStatus = [
|
|
|
1006
779
|
9,
|
|
1007
780
|
n0,
|
|
1008
781
|
_GQS,
|
|
1009
|
-
{
|
|
1010
|
-
[_h]: ["GET", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Status", 200],
|
|
1011
|
-
},
|
|
782
|
+
{ [_h]: ["GET", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Status", 200] },
|
|
1012
783
|
() => GetQueryStatusInput,
|
|
1013
784
|
() => GetQueryStatusOutput,
|
|
1014
785
|
];
|
|
@@ -1016,9 +787,7 @@ var ListHealthEvents = [
|
|
|
1016
787
|
9,
|
|
1017
788
|
n0,
|
|
1018
789
|
_LHE,
|
|
1019
|
-
{
|
|
1020
|
-
[_h]: ["GET", "/v20210603/Monitors/{MonitorName}/HealthEvents", 200],
|
|
1021
|
-
},
|
|
790
|
+
{ [_h]: ["GET", "/v20210603/Monitors/{MonitorName}/HealthEvents", 200] },
|
|
1022
791
|
() => ListHealthEventsInput,
|
|
1023
792
|
() => ListHealthEventsOutput,
|
|
1024
793
|
];
|
|
@@ -1026,9 +795,7 @@ var ListInternetEvents = [
|
|
|
1026
795
|
9,
|
|
1027
796
|
n0,
|
|
1028
797
|
_LIE,
|
|
1029
|
-
{
|
|
1030
|
-
[_h]: ["GET", "/v20210603/InternetEvents", 200],
|
|
1031
|
-
},
|
|
798
|
+
{ [_h]: ["GET", "/v20210603/InternetEvents", 200] },
|
|
1032
799
|
() => ListInternetEventsInput,
|
|
1033
800
|
() => ListInternetEventsOutput,
|
|
1034
801
|
];
|
|
@@ -1036,9 +803,7 @@ var ListMonitors = [
|
|
|
1036
803
|
9,
|
|
1037
804
|
n0,
|
|
1038
805
|
_LM,
|
|
1039
|
-
{
|
|
1040
|
-
[_h]: ["GET", "/v20210603/Monitors", 200],
|
|
1041
|
-
},
|
|
806
|
+
{ [_h]: ["GET", "/v20210603/Monitors", 200] },
|
|
1042
807
|
() => ListMonitorsInput,
|
|
1043
808
|
() => ListMonitorsOutput,
|
|
1044
809
|
];
|
|
@@ -1046,9 +811,7 @@ var ListTagsForResource = [
|
|
|
1046
811
|
9,
|
|
1047
812
|
n0,
|
|
1048
813
|
_LTFR,
|
|
1049
|
-
{
|
|
1050
|
-
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
1051
|
-
},
|
|
814
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] },
|
|
1052
815
|
() => ListTagsForResourceInput,
|
|
1053
816
|
() => ListTagsForResourceOutput,
|
|
1054
817
|
];
|
|
@@ -1056,9 +819,7 @@ var StartQuery = [
|
|
|
1056
819
|
9,
|
|
1057
820
|
n0,
|
|
1058
821
|
_SQ,
|
|
1059
|
-
{
|
|
1060
|
-
[_h]: ["POST", "/v20210603/Monitors/{MonitorName}/Queries", 200],
|
|
1061
|
-
},
|
|
822
|
+
{ [_h]: ["POST", "/v20210603/Monitors/{MonitorName}/Queries", 200] },
|
|
1062
823
|
() => StartQueryInput,
|
|
1063
824
|
() => StartQueryOutput,
|
|
1064
825
|
];
|
|
@@ -1066,9 +827,7 @@ var StopQuery = [
|
|
|
1066
827
|
9,
|
|
1067
828
|
n0,
|
|
1068
829
|
_SQt,
|
|
1069
|
-
{
|
|
1070
|
-
[_h]: ["DELETE", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}", 200],
|
|
1071
|
-
},
|
|
830
|
+
{ [_h]: ["DELETE", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}", 200] },
|
|
1072
831
|
() => StopQueryInput,
|
|
1073
832
|
() => StopQueryOutput,
|
|
1074
833
|
];
|
|
@@ -1076,9 +835,7 @@ var TagResource = [
|
|
|
1076
835
|
9,
|
|
1077
836
|
n0,
|
|
1078
837
|
_TR,
|
|
1079
|
-
{
|
|
1080
|
-
[_h]: ["POST", "/tags/{ResourceArn}", 204],
|
|
1081
|
-
},
|
|
838
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 204] },
|
|
1082
839
|
() => TagResourceInput,
|
|
1083
840
|
() => TagResourceOutput,
|
|
1084
841
|
];
|
|
@@ -1086,9 +843,7 @@ var UntagResource = [
|
|
|
1086
843
|
9,
|
|
1087
844
|
n0,
|
|
1088
845
|
_UR,
|
|
1089
|
-
{
|
|
1090
|
-
[_h]: ["DELETE", "/tags/{ResourceArn}", 204],
|
|
1091
|
-
},
|
|
846
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 204] },
|
|
1092
847
|
() => UntagResourceInput,
|
|
1093
848
|
() => UntagResourceOutput,
|
|
1094
849
|
];
|
|
@@ -1096,9 +851,7 @@ var UpdateMonitor = [
|
|
|
1096
851
|
9,
|
|
1097
852
|
n0,
|
|
1098
853
|
_UM,
|
|
1099
|
-
{
|
|
1100
|
-
[_h]: ["PATCH", "/v20210603/Monitors/{MonitorName}", 200],
|
|
1101
|
-
},
|
|
854
|
+
{ [_h]: ["PATCH", "/v20210603/Monitors/{MonitorName}", 200] },
|
|
1102
855
|
() => UpdateMonitorInput,
|
|
1103
856
|
() => UpdateMonitorOutput,
|
|
1104
857
|
];
|
|
@@ -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 { defaultInternetMonitorHttpAuthSchemeParametersProvider, 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);
|