@aws-sdk/client-backupsearch 3.943.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 +34 -187
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/BackupSearchClient.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 +34 -187
- package/dist-types/BackupSearch.d.ts +1 -1
- package/dist-types/BackupSearchClient.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/GetSearchJobCommand.d.ts +3 -3
- package/dist-types/commands/GetSearchResultExportJobCommand.d.ts +3 -3
- package/dist-types/commands/ListSearchJobBackupsCommand.d.ts +3 -3
- package/dist-types/commands/ListSearchJobResultsCommand.d.ts +3 -3
- package/dist-types/commands/ListSearchJobsCommand.d.ts +3 -3
- package/dist-types/commands/ListSearchResultExportJobsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/StartSearchJobCommand.d.ts +3 -3
- package/dist-types/commands/StartSearchResultExportJobCommand.d.ts +3 -3
- package/dist-types/commands/StopSearchJobCommand.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/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/BackupSearchServiceException.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/ListSearchJobBackupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSearchJobResultsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSearchJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSearchResultExportJobsPaginator.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/BackupSearchClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/BackupSearchServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -378,30 +378,10 @@ const _tK = "tagKeys";
|
|
|
378
378
|
const n0 = "com.amazonaws.backupsearch";
|
|
379
379
|
var FilePath = [0, n0, _FP, 8, 0];
|
|
380
380
|
var ObjectKey = [0, n0, _OK, 8, 0];
|
|
381
|
-
var AccessDeniedException = [
|
|
382
|
-
-3,
|
|
383
|
-
n0,
|
|
384
|
-
_ADE,
|
|
385
|
-
{
|
|
386
|
-
[_e]: _c,
|
|
387
|
-
[_hE]: 403,
|
|
388
|
-
},
|
|
389
|
-
[_m],
|
|
390
|
-
[0],
|
|
391
|
-
];
|
|
381
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
392
382
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
393
383
|
var BackupCreationTimeFilter = [3, n0, _BCTF, 0, [_CA, _CB], [4, 4]];
|
|
394
|
-
var ConflictException = [
|
|
395
|
-
-3,
|
|
396
|
-
n0,
|
|
397
|
-
_CE,
|
|
398
|
-
{
|
|
399
|
-
[_e]: _c,
|
|
400
|
-
[_hE]: 409,
|
|
401
|
-
},
|
|
402
|
-
[_m, _rI, _rT],
|
|
403
|
-
[0, 0, 0],
|
|
404
|
-
];
|
|
384
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
|
|
405
385
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
406
386
|
var CurrentSearchProgress = [3, n0, _CSP, 0, [_RPSC, _ISC, _IMC], [1, 1, 1]];
|
|
407
387
|
var EBSItemFilter = [
|
|
@@ -463,20 +443,9 @@ var InternalServerException = [
|
|
|
463
443
|
-3,
|
|
464
444
|
n0,
|
|
465
445
|
_ISE,
|
|
466
|
-
{
|
|
467
|
-
[_e]: _s,
|
|
468
|
-
[_hE]: 500,
|
|
469
|
-
},
|
|
446
|
+
{ [_e]: _s, [_hE]: 500 },
|
|
470
447
|
[_m, _rAS],
|
|
471
|
-
[
|
|
472
|
-
0,
|
|
473
|
-
[
|
|
474
|
-
1,
|
|
475
|
-
{
|
|
476
|
-
[_hH]: _RA,
|
|
477
|
-
},
|
|
478
|
-
],
|
|
479
|
-
],
|
|
448
|
+
[0, [1, { [_hH]: _RA }]],
|
|
480
449
|
];
|
|
481
450
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
482
451
|
var ItemFilters = [
|
|
@@ -495,18 +464,8 @@ var ListSearchJobBackupsInput = [
|
|
|
495
464
|
[_SJI, _NT, _MR],
|
|
496
465
|
[
|
|
497
466
|
[0, 1],
|
|
498
|
-
[
|
|
499
|
-
|
|
500
|
-
{
|
|
501
|
-
[_hQ]: _nT,
|
|
502
|
-
},
|
|
503
|
-
],
|
|
504
|
-
[
|
|
505
|
-
1,
|
|
506
|
-
{
|
|
507
|
-
[_hQ]: _mR,
|
|
508
|
-
},
|
|
509
|
-
],
|
|
467
|
+
[0, { [_hQ]: _nT }],
|
|
468
|
+
[1, { [_hQ]: _mR }],
|
|
510
469
|
],
|
|
511
470
|
];
|
|
512
471
|
var ListSearchJobBackupsOutput = [
|
|
@@ -525,18 +484,8 @@ var ListSearchJobResultsInput = [
|
|
|
525
484
|
[_SJI, _NT, _MR],
|
|
526
485
|
[
|
|
527
486
|
[0, 1],
|
|
528
|
-
[
|
|
529
|
-
|
|
530
|
-
{
|
|
531
|
-
[_hQ]: _nT,
|
|
532
|
-
},
|
|
533
|
-
],
|
|
534
|
-
[
|
|
535
|
-
1,
|
|
536
|
-
{
|
|
537
|
-
[_hQ]: _mR,
|
|
538
|
-
},
|
|
539
|
-
],
|
|
487
|
+
[0, { [_hQ]: _nT }],
|
|
488
|
+
[1, { [_hQ]: _mR }],
|
|
540
489
|
],
|
|
541
490
|
];
|
|
542
491
|
var ListSearchJobResultsOutput = [3, n0, _LSJRO, 0, [_R, _NT], [[() => Results, 0], 0]];
|
|
@@ -547,24 +496,9 @@ var ListSearchJobsInput = [
|
|
|
547
496
|
0,
|
|
548
497
|
[_BS, _NT, _MR],
|
|
549
498
|
[
|
|
550
|
-
[
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
[_hQ]: _St,
|
|
554
|
-
},
|
|
555
|
-
],
|
|
556
|
-
[
|
|
557
|
-
0,
|
|
558
|
-
{
|
|
559
|
-
[_hQ]: _NT,
|
|
560
|
-
},
|
|
561
|
-
],
|
|
562
|
-
[
|
|
563
|
-
1,
|
|
564
|
-
{
|
|
565
|
-
[_hQ]: _MR,
|
|
566
|
-
},
|
|
567
|
-
],
|
|
499
|
+
[0, { [_hQ]: _St }],
|
|
500
|
+
[0, { [_hQ]: _NT }],
|
|
501
|
+
[1, { [_hQ]: _MR }],
|
|
568
502
|
],
|
|
569
503
|
];
|
|
570
504
|
var ListSearchJobsOutput = [3, n0, _LSJO, 0, [_SJ, _NT], [() => SearchJobs, 0]];
|
|
@@ -575,30 +509,10 @@ var ListSearchResultExportJobsInput = [
|
|
|
575
509
|
0,
|
|
576
510
|
[_St, _SJI, _NT, _MR],
|
|
577
511
|
[
|
|
578
|
-
[
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
},
|
|
583
|
-
],
|
|
584
|
-
[
|
|
585
|
-
0,
|
|
586
|
-
{
|
|
587
|
-
[_hQ]: _SJI,
|
|
588
|
-
},
|
|
589
|
-
],
|
|
590
|
-
[
|
|
591
|
-
0,
|
|
592
|
-
{
|
|
593
|
-
[_hQ]: _NT,
|
|
594
|
-
},
|
|
595
|
-
],
|
|
596
|
-
[
|
|
597
|
-
1,
|
|
598
|
-
{
|
|
599
|
-
[_hQ]: _MR,
|
|
600
|
-
},
|
|
601
|
-
],
|
|
512
|
+
[0, { [_hQ]: _St }],
|
|
513
|
+
[0, { [_hQ]: _SJI }],
|
|
514
|
+
[0, { [_hQ]: _NT }],
|
|
515
|
+
[1, { [_hQ]: _MR }],
|
|
602
516
|
],
|
|
603
517
|
];
|
|
604
518
|
var ListSearchResultExportJobsOutput = [
|
|
@@ -616,10 +530,7 @@ var ResourceNotFoundException = [
|
|
|
616
530
|
-3,
|
|
617
531
|
n0,
|
|
618
532
|
_RNFE,
|
|
619
|
-
{
|
|
620
|
-
[_e]: _c,
|
|
621
|
-
[_hE]: 404,
|
|
622
|
-
},
|
|
533
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
623
534
|
[_m, _rI, _rT],
|
|
624
535
|
[0, 0, 0],
|
|
625
536
|
];
|
|
@@ -676,10 +587,7 @@ var ServiceQuotaExceededException = [
|
|
|
676
587
|
-3,
|
|
677
588
|
n0,
|
|
678
589
|
_SQEE,
|
|
679
|
-
{
|
|
680
|
-
[_e]: _c,
|
|
681
|
-
[_hE]: 402,
|
|
682
|
-
},
|
|
590
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
683
591
|
[_m, _rI, _rT, _sC, _qC],
|
|
684
592
|
[0, 0, 0, 0, 0],
|
|
685
593
|
];
|
|
@@ -721,22 +629,9 @@ var ThrottlingException = [
|
|
|
721
629
|
-3,
|
|
722
630
|
n0,
|
|
723
631
|
_TE,
|
|
724
|
-
{
|
|
725
|
-
[_e]: _c,
|
|
726
|
-
[_hE]: 429,
|
|
727
|
-
},
|
|
632
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
728
633
|
[_m, _sC, _qC, _rAS],
|
|
729
|
-
[
|
|
730
|
-
0,
|
|
731
|
-
0,
|
|
732
|
-
0,
|
|
733
|
-
[
|
|
734
|
-
1,
|
|
735
|
-
{
|
|
736
|
-
[_hH]: _RA,
|
|
737
|
-
},
|
|
738
|
-
],
|
|
739
|
-
],
|
|
634
|
+
[0, 0, 0, [1, { [_hH]: _RA }]],
|
|
740
635
|
];
|
|
741
636
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
742
637
|
var TimeCondition = [3, n0, _TC, 0, [_V, _O], [4, 0]];
|
|
@@ -748,26 +643,11 @@ var UntagResourceRequest = [
|
|
|
748
643
|
[_RAe, _TK],
|
|
749
644
|
[
|
|
750
645
|
[0, 1],
|
|
751
|
-
[
|
|
752
|
-
64 | 0,
|
|
753
|
-
{
|
|
754
|
-
[_hQ]: _tK,
|
|
755
|
-
},
|
|
756
|
-
],
|
|
646
|
+
[64 | 0, { [_hQ]: _tK }],
|
|
757
647
|
],
|
|
758
648
|
];
|
|
759
649
|
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
760
|
-
var ValidationException = [
|
|
761
|
-
-3,
|
|
762
|
-
n0,
|
|
763
|
-
_VE,
|
|
764
|
-
{
|
|
765
|
-
[_e]: _c,
|
|
766
|
-
[_hE]: 400,
|
|
767
|
-
},
|
|
768
|
-
[_m],
|
|
769
|
-
[0],
|
|
770
|
-
];
|
|
650
|
+
var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
771
651
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
772
652
|
var BackupSearchServiceException = [-3, _sm, "BackupSearchServiceException", 0, [], []];
|
|
773
653
|
schema.TypeRegistry.for(_sm).registerError(BackupSearchServiceException, BackupSearchServiceException$1);
|
|
@@ -780,16 +660,7 @@ var SearchJobBackupsResults = [1, n0, _SJBRe, 0, () => SearchJobBackupsResult];
|
|
|
780
660
|
var SearchJobs = [1, n0, _SJ, 0, () => SearchJobSummary];
|
|
781
661
|
var StringConditionList = [1, n0, _SCL, 0, () => StringCondition];
|
|
782
662
|
var TimeConditionList = [1, n0, _TCL, 0, () => TimeCondition];
|
|
783
|
-
var TagMap = [
|
|
784
|
-
2,
|
|
785
|
-
n0,
|
|
786
|
-
_TM,
|
|
787
|
-
{
|
|
788
|
-
[_sp]: 1,
|
|
789
|
-
},
|
|
790
|
-
0,
|
|
791
|
-
0,
|
|
792
|
-
];
|
|
663
|
+
var TagMap = [2, n0, _TM, { [_sp]: 1 }, 0, 0];
|
|
793
664
|
var ExportSpecification = [3, n0, _ES, 0, [_sES], [() => S3ExportSpecification]];
|
|
794
665
|
var ResultItem = [
|
|
795
666
|
3,
|
|
@@ -806,9 +677,7 @@ var GetSearchJob = [
|
|
|
806
677
|
9,
|
|
807
678
|
n0,
|
|
808
679
|
_GSJ,
|
|
809
|
-
{
|
|
810
|
-
[_h]: ["GET", "/search-jobs/{SearchJobIdentifier}", 200],
|
|
811
|
-
},
|
|
680
|
+
{ [_h]: ["GET", "/search-jobs/{SearchJobIdentifier}", 200] },
|
|
812
681
|
() => GetSearchJobInput,
|
|
813
682
|
() => GetSearchJobOutput,
|
|
814
683
|
];
|
|
@@ -816,9 +685,7 @@ var GetSearchResultExportJob = [
|
|
|
816
685
|
9,
|
|
817
686
|
n0,
|
|
818
687
|
_GSREJ,
|
|
819
|
-
{
|
|
820
|
-
[_h]: ["GET", "/export-search-jobs/{ExportJobIdentifier}", 200],
|
|
821
|
-
},
|
|
688
|
+
{ [_h]: ["GET", "/export-search-jobs/{ExportJobIdentifier}", 200] },
|
|
822
689
|
() => GetSearchResultExportJobInput,
|
|
823
690
|
() => GetSearchResultExportJobOutput,
|
|
824
691
|
];
|
|
@@ -826,9 +693,7 @@ var ListSearchJobBackups = [
|
|
|
826
693
|
9,
|
|
827
694
|
n0,
|
|
828
695
|
_LSJB,
|
|
829
|
-
{
|
|
830
|
-
[_h]: ["GET", "/search-jobs/{SearchJobIdentifier}/backups", 200],
|
|
831
|
-
},
|
|
696
|
+
{ [_h]: ["GET", "/search-jobs/{SearchJobIdentifier}/backups", 200] },
|
|
832
697
|
() => ListSearchJobBackupsInput,
|
|
833
698
|
() => ListSearchJobBackupsOutput,
|
|
834
699
|
];
|
|
@@ -836,9 +701,7 @@ var ListSearchJobResults = [
|
|
|
836
701
|
9,
|
|
837
702
|
n0,
|
|
838
703
|
_LSJR,
|
|
839
|
-
{
|
|
840
|
-
[_h]: ["GET", "/search-jobs/{SearchJobIdentifier}/search-results", 200],
|
|
841
|
-
},
|
|
704
|
+
{ [_h]: ["GET", "/search-jobs/{SearchJobIdentifier}/search-results", 200] },
|
|
842
705
|
() => ListSearchJobResultsInput,
|
|
843
706
|
() => ListSearchJobResultsOutput,
|
|
844
707
|
];
|
|
@@ -846,9 +709,7 @@ var ListSearchJobs = [
|
|
|
846
709
|
9,
|
|
847
710
|
n0,
|
|
848
711
|
_LSJ,
|
|
849
|
-
{
|
|
850
|
-
[_h]: ["GET", "/search-jobs", 200],
|
|
851
|
-
},
|
|
712
|
+
{ [_h]: ["GET", "/search-jobs", 200] },
|
|
852
713
|
() => ListSearchJobsInput,
|
|
853
714
|
() => ListSearchJobsOutput,
|
|
854
715
|
];
|
|
@@ -856,9 +717,7 @@ var ListSearchResultExportJobs = [
|
|
|
856
717
|
9,
|
|
857
718
|
n0,
|
|
858
719
|
_LSREJ,
|
|
859
|
-
{
|
|
860
|
-
[_h]: ["GET", "/export-search-jobs", 200],
|
|
861
|
-
},
|
|
720
|
+
{ [_h]: ["GET", "/export-search-jobs", 200] },
|
|
862
721
|
() => ListSearchResultExportJobsInput,
|
|
863
722
|
() => ListSearchResultExportJobsOutput,
|
|
864
723
|
];
|
|
@@ -866,9 +725,7 @@ var ListTagsForResource = [
|
|
|
866
725
|
9,
|
|
867
726
|
n0,
|
|
868
727
|
_LTFR,
|
|
869
|
-
{
|
|
870
|
-
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
871
|
-
},
|
|
728
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] },
|
|
872
729
|
() => ListTagsForResourceRequest,
|
|
873
730
|
() => ListTagsForResourceResponse,
|
|
874
731
|
];
|
|
@@ -876,9 +733,7 @@ var StartSearchJob = [
|
|
|
876
733
|
9,
|
|
877
734
|
n0,
|
|
878
735
|
_SSJ,
|
|
879
|
-
{
|
|
880
|
-
[_h]: ["PUT", "/search-jobs", 200],
|
|
881
|
-
},
|
|
736
|
+
{ [_h]: ["PUT", "/search-jobs", 200] },
|
|
882
737
|
() => StartSearchJobInput,
|
|
883
738
|
() => StartSearchJobOutput,
|
|
884
739
|
];
|
|
@@ -886,9 +741,7 @@ var StartSearchResultExportJob = [
|
|
|
886
741
|
9,
|
|
887
742
|
n0,
|
|
888
743
|
_SSREJ,
|
|
889
|
-
{
|
|
890
|
-
[_h]: ["PUT", "/export-search-jobs", 200],
|
|
891
|
-
},
|
|
744
|
+
{ [_h]: ["PUT", "/export-search-jobs", 200] },
|
|
892
745
|
() => StartSearchResultExportJobInput,
|
|
893
746
|
() => StartSearchResultExportJobOutput,
|
|
894
747
|
];
|
|
@@ -896,9 +749,7 @@ var StopSearchJob = [
|
|
|
896
749
|
9,
|
|
897
750
|
n0,
|
|
898
751
|
_SSJt,
|
|
899
|
-
{
|
|
900
|
-
[_h]: ["PUT", "/search-jobs/{SearchJobIdentifier}/actions/cancel", 200],
|
|
901
|
-
},
|
|
752
|
+
{ [_h]: ["PUT", "/search-jobs/{SearchJobIdentifier}/actions/cancel", 200] },
|
|
902
753
|
() => StopSearchJobInput,
|
|
903
754
|
() => StopSearchJobOutput,
|
|
904
755
|
];
|
|
@@ -906,9 +757,7 @@ var TagResource = [
|
|
|
906
757
|
9,
|
|
907
758
|
n0,
|
|
908
759
|
_TR,
|
|
909
|
-
{
|
|
910
|
-
[_h]: ["POST", "/tags/{ResourceArn}", 200],
|
|
911
|
-
},
|
|
760
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 200] },
|
|
912
761
|
() => TagResourceRequest,
|
|
913
762
|
() => TagResourceResponse,
|
|
914
763
|
];
|
|
@@ -916,9 +765,7 @@ var UntagResource = [
|
|
|
916
765
|
9,
|
|
917
766
|
n0,
|
|
918
767
|
_UR,
|
|
919
|
-
{
|
|
920
|
-
[_h]: ["DELETE", "/tags/{ResourceArn}", 200],
|
|
921
|
-
},
|
|
768
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 200] },
|
|
922
769
|
() => UntagResourceRequest,
|
|
923
770
|
() => UntagResourceResponse,
|
|
924
771
|
];
|
|
@@ -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 { defaultBackupSearchHttpAuthSchemeParametersProvider, 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);
|