@aws-sdk/client-nova-act 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 +27 -193
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/NovaActClient.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 +27 -194
- package/dist-types/NovaAct.d.ts +1 -1
- package/dist-types/NovaActClient.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/CreateActCommand.d.ts +3 -3
- package/dist-types/commands/CreateSessionCommand.d.ts +3 -3
- package/dist-types/commands/CreateWorkflowDefinitionCommand.d.ts +3 -3
- package/dist-types/commands/CreateWorkflowRunCommand.d.ts +3 -3
- package/dist-types/commands/DeleteWorkflowDefinitionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteWorkflowRunCommand.d.ts +3 -3
- package/dist-types/commands/GetWorkflowDefinitionCommand.d.ts +3 -3
- package/dist-types/commands/GetWorkflowRunCommand.d.ts +3 -3
- package/dist-types/commands/InvokeActStepCommand.d.ts +3 -3
- package/dist-types/commands/ListActsCommand.d.ts +3 -3
- package/dist-types/commands/ListModelsCommand.d.ts +3 -3
- package/dist-types/commands/ListSessionsCommand.d.ts +3 -3
- package/dist-types/commands/ListWorkflowDefinitionsCommand.d.ts +3 -3
- package/dist-types/commands/ListWorkflowRunsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateActCommand.d.ts +3 -3
- package/dist-types/commands/UpdateWorkflowRunCommand.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/NovaActServiceException.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/ListActsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSessionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowDefinitionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowRunsPaginator.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/NovaActClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/NovaActServiceException.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
|
@@ -403,17 +403,7 @@ var SensitiveString = [0, n0, _SS, 8, 0];
|
|
|
403
403
|
var Task = [0, n0, _T, 8, 0];
|
|
404
404
|
var ToolDescription = [0, n0, _TD, 8, 0];
|
|
405
405
|
var WorkflowDescription = [0, n0, _WD, 8, 0];
|
|
406
|
-
var AccessDeniedException = [
|
|
407
|
-
-3,
|
|
408
|
-
n0,
|
|
409
|
-
_ADE,
|
|
410
|
-
{
|
|
411
|
-
[_e]: _c,
|
|
412
|
-
[_hE]: 403,
|
|
413
|
-
},
|
|
414
|
-
[_m],
|
|
415
|
-
[0],
|
|
416
|
-
];
|
|
406
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
417
407
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
418
408
|
var ActError = [3, n0, _AE, 0, [_m, _t], [[() => SensitiveString, 0], 0]];
|
|
419
409
|
var ActSummary = [
|
|
@@ -428,17 +418,7 @@ var Call = [3, n0, _C, 0, [_cI, _i, _n], [0, [() => SensitiveDocument, 0], 0]];
|
|
|
428
418
|
var CallResult = [3, n0, _CR, 0, [_cI, _co], [0, [() => CallResultContents, 0]]];
|
|
429
419
|
var ClientInfo = [3, n0, _CI, 0, [_cV, _sV], [1, 0]];
|
|
430
420
|
var CompatibilityInformation = [3, n0, _CIo, 0, [_cCV, _sMI, _m], [1, 64 | 0, 0]];
|
|
431
|
-
var ConflictException = [
|
|
432
|
-
-3,
|
|
433
|
-
n0,
|
|
434
|
-
_CE,
|
|
435
|
-
{
|
|
436
|
-
[_e]: _c,
|
|
437
|
-
[_hE]: 409,
|
|
438
|
-
},
|
|
439
|
-
[_m, _rI, _rT],
|
|
440
|
-
[0, 0, 0],
|
|
441
|
-
];
|
|
421
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
|
|
442
422
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
443
423
|
var CreateActRequest = [
|
|
444
424
|
3,
|
|
@@ -533,21 +513,9 @@ var InternalServerException = [
|
|
|
533
513
|
-3,
|
|
534
514
|
n0,
|
|
535
515
|
_ISE,
|
|
536
|
-
{
|
|
537
|
-
[_e]: _se,
|
|
538
|
-
[_hE]: 500,
|
|
539
|
-
},
|
|
516
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
540
517
|
[_m, _rAS, _r],
|
|
541
|
-
[
|
|
542
|
-
0,
|
|
543
|
-
[
|
|
544
|
-
1,
|
|
545
|
-
{
|
|
546
|
-
[_hH]: _RA,
|
|
547
|
-
},
|
|
548
|
-
],
|
|
549
|
-
0,
|
|
550
|
-
],
|
|
518
|
+
[0, [1, { [_hH]: _RA }], 0],
|
|
551
519
|
];
|
|
552
520
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
553
521
|
var InvokeActStepRequest = [
|
|
@@ -565,51 +533,10 @@ var ListActsRequest = [
|
|
|
565
533
|
_LAR,
|
|
566
534
|
0,
|
|
567
535
|
[_wDN, _wRI, _sI, _mR, _nT, _sO],
|
|
568
|
-
[
|
|
569
|
-
[0, 1],
|
|
570
|
-
[
|
|
571
|
-
0,
|
|
572
|
-
{
|
|
573
|
-
[_hQ]: _wRI,
|
|
574
|
-
},
|
|
575
|
-
],
|
|
576
|
-
[
|
|
577
|
-
0,
|
|
578
|
-
{
|
|
579
|
-
[_hQ]: _sI,
|
|
580
|
-
},
|
|
581
|
-
],
|
|
582
|
-
[
|
|
583
|
-
1,
|
|
584
|
-
{
|
|
585
|
-
[_hQ]: _mR,
|
|
586
|
-
},
|
|
587
|
-
],
|
|
588
|
-
[
|
|
589
|
-
0,
|
|
590
|
-
{
|
|
591
|
-
[_hQ]: _nT,
|
|
592
|
-
},
|
|
593
|
-
],
|
|
594
|
-
0,
|
|
595
|
-
],
|
|
536
|
+
[[0, 1], [0, { [_hQ]: _wRI }], [0, { [_hQ]: _sI }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0],
|
|
596
537
|
];
|
|
597
538
|
var ListActsResponse = [3, n0, _LARi, 0, [_aS, _nT], [() => ActSummaries, 0]];
|
|
598
|
-
var ListModelsRequest = [
|
|
599
|
-
3,
|
|
600
|
-
n0,
|
|
601
|
-
_LMR,
|
|
602
|
-
0,
|
|
603
|
-
[_cCV],
|
|
604
|
-
[
|
|
605
|
-
[
|
|
606
|
-
1,
|
|
607
|
-
{
|
|
608
|
-
[_hQ]: _cCV,
|
|
609
|
-
},
|
|
610
|
-
],
|
|
611
|
-
],
|
|
612
|
-
];
|
|
539
|
+
var ListModelsRequest = [3, n0, _LMR, 0, [_cCV], [[1, { [_hQ]: _cCV }]]];
|
|
613
540
|
var ListModelsResponse = [
|
|
614
541
|
3,
|
|
615
542
|
n0,
|
|
@@ -624,23 +551,7 @@ var ListSessionsRequest = [
|
|
|
624
551
|
_LSR,
|
|
625
552
|
0,
|
|
626
553
|
[_wDN, _wRI, _mR, _nT, _sO],
|
|
627
|
-
[
|
|
628
|
-
[0, 1],
|
|
629
|
-
[0, 1],
|
|
630
|
-
[
|
|
631
|
-
1,
|
|
632
|
-
{
|
|
633
|
-
[_hQ]: _mR,
|
|
634
|
-
},
|
|
635
|
-
],
|
|
636
|
-
[
|
|
637
|
-
0,
|
|
638
|
-
{
|
|
639
|
-
[_hQ]: _nT,
|
|
640
|
-
},
|
|
641
|
-
],
|
|
642
|
-
0,
|
|
643
|
-
],
|
|
554
|
+
[[0, 1], [0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0],
|
|
644
555
|
];
|
|
645
556
|
var ListSessionsResponse = [3, n0, _LSRi, 0, [_sS, _nT], [() => SessionSummaries, 0]];
|
|
646
557
|
var ListWorkflowDefinitionsRequest = [
|
|
@@ -649,21 +560,7 @@ var ListWorkflowDefinitionsRequest = [
|
|
|
649
560
|
_LWDR,
|
|
650
561
|
0,
|
|
651
562
|
[_mR, _nT, _sO],
|
|
652
|
-
[
|
|
653
|
-
[
|
|
654
|
-
1,
|
|
655
|
-
{
|
|
656
|
-
[_hQ]: _mR,
|
|
657
|
-
},
|
|
658
|
-
],
|
|
659
|
-
[
|
|
660
|
-
0,
|
|
661
|
-
{
|
|
662
|
-
[_hQ]: _nT,
|
|
663
|
-
},
|
|
664
|
-
],
|
|
665
|
-
0,
|
|
666
|
-
],
|
|
563
|
+
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0],
|
|
667
564
|
];
|
|
668
565
|
var ListWorkflowDefinitionsResponse = [
|
|
669
566
|
3,
|
|
@@ -679,22 +576,7 @@ var ListWorkflowRunsRequest = [
|
|
|
679
576
|
_LWRR,
|
|
680
577
|
0,
|
|
681
578
|
[_wDN, _mR, _nT, _sO],
|
|
682
|
-
[
|
|
683
|
-
[0, 1],
|
|
684
|
-
[
|
|
685
|
-
1,
|
|
686
|
-
{
|
|
687
|
-
[_hQ]: _mR,
|
|
688
|
-
},
|
|
689
|
-
],
|
|
690
|
-
[
|
|
691
|
-
0,
|
|
692
|
-
{
|
|
693
|
-
[_hQ]: _nT,
|
|
694
|
-
},
|
|
695
|
-
],
|
|
696
|
-
0,
|
|
697
|
-
],
|
|
579
|
+
[[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], 0],
|
|
698
580
|
];
|
|
699
581
|
var ListWorkflowRunsResponse = [
|
|
700
582
|
3,
|
|
@@ -711,10 +593,7 @@ var ResourceNotFoundException = [
|
|
|
711
593
|
-3,
|
|
712
594
|
n0,
|
|
713
595
|
_RNFE,
|
|
714
|
-
{
|
|
715
|
-
[_e]: _c,
|
|
716
|
-
[_hE]: 404,
|
|
717
|
-
},
|
|
596
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
718
597
|
[_m, _rI, _rT],
|
|
719
598
|
[0, 0, 0],
|
|
720
599
|
];
|
|
@@ -723,10 +602,7 @@ var ServiceQuotaExceededException = [
|
|
|
723
602
|
-3,
|
|
724
603
|
n0,
|
|
725
604
|
_SQEE,
|
|
726
|
-
{
|
|
727
|
-
[_e]: _c,
|
|
728
|
-
[_hE]: 402,
|
|
729
|
-
},
|
|
605
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
730
606
|
[_m, _rI, _rT, _sC, _qC],
|
|
731
607
|
[0, 0, 0, 0, 0],
|
|
732
608
|
];
|
|
@@ -736,22 +612,9 @@ var ThrottlingException = [
|
|
|
736
612
|
-3,
|
|
737
613
|
n0,
|
|
738
614
|
_TE,
|
|
739
|
-
{
|
|
740
|
-
[_e]: _c,
|
|
741
|
-
[_hE]: 429,
|
|
742
|
-
},
|
|
615
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
743
616
|
[_m, _sC, _qC, _rAS],
|
|
744
|
-
[
|
|
745
|
-
0,
|
|
746
|
-
0,
|
|
747
|
-
0,
|
|
748
|
-
[
|
|
749
|
-
1,
|
|
750
|
-
{
|
|
751
|
-
[_hH]: _RA,
|
|
752
|
-
},
|
|
753
|
-
],
|
|
754
|
-
],
|
|
617
|
+
[0, 0, 0, [1, { [_hH]: _RA }]],
|
|
755
618
|
];
|
|
756
619
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
757
620
|
var ToolSpec = [
|
|
@@ -778,10 +641,7 @@ var ValidationException = [
|
|
|
778
641
|
-3,
|
|
779
642
|
n0,
|
|
780
643
|
_VE,
|
|
781
|
-
{
|
|
782
|
-
[_e]: _c,
|
|
783
|
-
[_hE]: 400,
|
|
784
|
-
},
|
|
644
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
785
645
|
[_m, _r, _fL],
|
|
786
646
|
[0, 0, () => ValidationExceptionFieldList],
|
|
787
647
|
];
|
|
@@ -830,9 +690,7 @@ var CreateSession = [
|
|
|
830
690
|
9,
|
|
831
691
|
n0,
|
|
832
692
|
_CS,
|
|
833
|
-
{
|
|
834
|
-
[_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions", 201],
|
|
835
|
-
},
|
|
693
|
+
{ [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions", 201] },
|
|
836
694
|
() => CreateSessionRequest,
|
|
837
695
|
() => CreateSessionResponse,
|
|
838
696
|
];
|
|
@@ -840,9 +698,7 @@ var CreateWorkflowDefinition = [
|
|
|
840
698
|
9,
|
|
841
699
|
n0,
|
|
842
700
|
_CWD,
|
|
843
|
-
{
|
|
844
|
-
[_h]: ["PUT", "/workflow-definitions", 201],
|
|
845
|
-
},
|
|
701
|
+
{ [_h]: ["PUT", "/workflow-definitions", 201] },
|
|
846
702
|
() => CreateWorkflowDefinitionRequest,
|
|
847
703
|
() => CreateWorkflowDefinitionResponse,
|
|
848
704
|
];
|
|
@@ -850,9 +706,7 @@ var CreateWorkflowRun = [
|
|
|
850
706
|
9,
|
|
851
707
|
n0,
|
|
852
708
|
_CWR,
|
|
853
|
-
{
|
|
854
|
-
[_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs", 201],
|
|
855
|
-
},
|
|
709
|
+
{ [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs", 201] },
|
|
856
710
|
() => CreateWorkflowRunRequest,
|
|
857
711
|
() => CreateWorkflowRunResponse,
|
|
858
712
|
];
|
|
@@ -860,9 +714,7 @@ var DeleteWorkflowDefinition = [
|
|
|
860
714
|
9,
|
|
861
715
|
n0,
|
|
862
716
|
_DWD,
|
|
863
|
-
{
|
|
864
|
-
[_h]: ["DELETE", "/workflow-definitions/{workflowDefinitionName}", 202],
|
|
865
|
-
},
|
|
717
|
+
{ [_h]: ["DELETE", "/workflow-definitions/{workflowDefinitionName}", 202] },
|
|
866
718
|
() => DeleteWorkflowDefinitionRequest,
|
|
867
719
|
() => DeleteWorkflowDefinitionResponse,
|
|
868
720
|
];
|
|
@@ -870,9 +722,7 @@ var DeleteWorkflowRun = [
|
|
|
870
722
|
9,
|
|
871
723
|
n0,
|
|
872
724
|
_DWR,
|
|
873
|
-
{
|
|
874
|
-
[_h]: ["DELETE", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 202],
|
|
875
|
-
},
|
|
725
|
+
{ [_h]: ["DELETE", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 202] },
|
|
876
726
|
() => DeleteWorkflowRunRequest,
|
|
877
727
|
() => DeleteWorkflowRunResponse,
|
|
878
728
|
];
|
|
@@ -880,9 +730,7 @@ var GetWorkflowDefinition = [
|
|
|
880
730
|
9,
|
|
881
731
|
n0,
|
|
882
732
|
_GWD,
|
|
883
|
-
{
|
|
884
|
-
[_h]: ["GET", "/workflow-definitions/{workflowDefinitionName}", 200],
|
|
885
|
-
},
|
|
733
|
+
{ [_h]: ["GET", "/workflow-definitions/{workflowDefinitionName}", 200] },
|
|
886
734
|
() => GetWorkflowDefinitionRequest,
|
|
887
735
|
() => GetWorkflowDefinitionResponse,
|
|
888
736
|
];
|
|
@@ -890,9 +738,7 @@ var GetWorkflowRun = [
|
|
|
890
738
|
9,
|
|
891
739
|
n0,
|
|
892
740
|
_GWR,
|
|
893
|
-
{
|
|
894
|
-
[_h]: ["GET", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 200],
|
|
895
|
-
},
|
|
741
|
+
{ [_h]: ["GET", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 200] },
|
|
896
742
|
() => GetWorkflowRunRequest,
|
|
897
743
|
() => GetWorkflowRunResponse,
|
|
898
744
|
];
|
|
@@ -914,9 +760,7 @@ var ListActs = [
|
|
|
914
760
|
9,
|
|
915
761
|
n0,
|
|
916
762
|
_LA,
|
|
917
|
-
{
|
|
918
|
-
[_h]: ["POST", "/workflow-definitions/{workflowDefinitionName}/acts", 200],
|
|
919
|
-
},
|
|
763
|
+
{ [_h]: ["POST", "/workflow-definitions/{workflowDefinitionName}/acts", 200] },
|
|
920
764
|
() => ListActsRequest,
|
|
921
765
|
() => ListActsResponse,
|
|
922
766
|
];
|
|
@@ -924,9 +768,7 @@ var ListModels = [
|
|
|
924
768
|
9,
|
|
925
769
|
n0,
|
|
926
770
|
_LM,
|
|
927
|
-
{
|
|
928
|
-
[_h]: ["POST", "/models", 200],
|
|
929
|
-
},
|
|
771
|
+
{ [_h]: ["POST", "/models", 200] },
|
|
930
772
|
() => ListModelsRequest,
|
|
931
773
|
() => ListModelsResponse,
|
|
932
774
|
];
|
|
@@ -934,9 +776,7 @@ var ListSessions = [
|
|
|
934
776
|
9,
|
|
935
777
|
n0,
|
|
936
778
|
_LS,
|
|
937
|
-
{
|
|
938
|
-
[_h]: ["POST", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 200],
|
|
939
|
-
},
|
|
779
|
+
{ [_h]: ["POST", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 200] },
|
|
940
780
|
() => ListSessionsRequest,
|
|
941
781
|
() => ListSessionsResponse,
|
|
942
782
|
];
|
|
@@ -944,9 +784,7 @@ var ListWorkflowDefinitions = [
|
|
|
944
784
|
9,
|
|
945
785
|
n0,
|
|
946
786
|
_LWD,
|
|
947
|
-
{
|
|
948
|
-
[_h]: ["POST", "/workflow-definitions", 200],
|
|
949
|
-
},
|
|
787
|
+
{ [_h]: ["POST", "/workflow-definitions", 200] },
|
|
950
788
|
() => ListWorkflowDefinitionsRequest,
|
|
951
789
|
() => ListWorkflowDefinitionsResponse,
|
|
952
790
|
];
|
|
@@ -954,9 +792,7 @@ var ListWorkflowRuns = [
|
|
|
954
792
|
9,
|
|
955
793
|
n0,
|
|
956
794
|
_LWR,
|
|
957
|
-
{
|
|
958
|
-
[_h]: ["POST", "/workflow-definitions/{workflowDefinitionName}/workflow-runs", 200],
|
|
959
|
-
},
|
|
795
|
+
{ [_h]: ["POST", "/workflow-definitions/{workflowDefinitionName}/workflow-runs", 200] },
|
|
960
796
|
() => ListWorkflowRunsRequest,
|
|
961
797
|
() => ListWorkflowRunsResponse,
|
|
962
798
|
];
|
|
@@ -978,9 +814,7 @@ var UpdateWorkflowRun = [
|
|
|
978
814
|
9,
|
|
979
815
|
n0,
|
|
980
816
|
_UWR,
|
|
981
|
-
{
|
|
982
|
-
[_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 200],
|
|
983
|
-
},
|
|
817
|
+
{ [_h]: ["PUT", "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}", 200] },
|
|
984
818
|
() => UpdateWorkflowRunRequest,
|
|
985
819
|
() => UpdateWorkflowRunResponse,
|
|
986
820
|
];
|
|
@@ -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/NovaActClient.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 { defaultNovaActHttpAuthSchemeParametersProvider, 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);
|