@aws-sdk/client-migration-hub-refactor-spaces 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 +39 -201
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/MigrationHubRefactorSpaces.js +1 -1
- package/dist-es/MigrationHubRefactorSpacesClient.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 +39 -201
- package/dist-types/MigrationHubRefactorSpaces.d.ts +1 -1
- package/dist-types/MigrationHubRefactorSpacesClient.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/CreateApplicationCommand.d.ts +3 -3
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/CreateRouteCommand.d.ts +3 -3
- package/dist-types/commands/CreateServiceCommand.d.ts +3 -3
- package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRouteCommand.d.ts +3 -3
- package/dist-types/commands/DeleteServiceCommand.d.ts +3 -3
- package/dist-types/commands/GetApplicationCommand.d.ts +3 -3
- package/dist-types/commands/GetEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetRouteCommand.d.ts +3 -3
- package/dist-types/commands/GetServiceCommand.d.ts +3 -3
- package/dist-types/commands/ListApplicationsCommand.d.ts +3 -3
- package/dist-types/commands/ListEnvironmentVpcsCommand.d.ts +3 -3
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +3 -3
- package/dist-types/commands/ListRoutesCommand.d.ts +3 -3
- package/dist-types/commands/ListServicesCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/PutResourcePolicyCommand.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/UpdateRouteCommand.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/MigrationHubRefactorSpacesServiceException.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/ListApplicationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEnvironmentVpcsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRoutesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListServicesPaginator.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/MigrationHubRefactorSpacesClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/MigrationHubRefactorSpacesServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -435,17 +435,7 @@ const _s = "server";
|
|
|
435
435
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.migrationhubrefactorspaces";
|
|
436
436
|
const _tK = "tagKeys";
|
|
437
437
|
const n0 = "com.amazonaws.migrationhubrefactorspaces";
|
|
438
|
-
var AccessDeniedException = [
|
|
439
|
-
-3,
|
|
440
|
-
n0,
|
|
441
|
-
_ADE,
|
|
442
|
-
{
|
|
443
|
-
[_e]: _c,
|
|
444
|
-
[_hE]: 403,
|
|
445
|
-
},
|
|
446
|
-
[_M],
|
|
447
|
-
[0],
|
|
448
|
-
];
|
|
438
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
|
|
449
439
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
450
440
|
var ApiGatewayProxyConfig = [
|
|
451
441
|
3,
|
|
@@ -472,17 +462,7 @@ var ApplicationSummary = [
|
|
|
472
462
|
[_N, _A, _OAI, _CBAI, _AI, _EI, _VI, _PT, _AGP, _S, _T, _E, _LUT, _CT],
|
|
473
463
|
[0, 0, 0, 0, 0, 0, 0, 0, () => ApiGatewayProxySummary, 0, [() => TagMap, 0], () => ErrorResponse, 4, 4],
|
|
474
464
|
];
|
|
475
|
-
var ConflictException = [
|
|
476
|
-
-3,
|
|
477
|
-
n0,
|
|
478
|
-
_CE,
|
|
479
|
-
{
|
|
480
|
-
[_e]: _c,
|
|
481
|
-
[_hE]: 409,
|
|
482
|
-
},
|
|
483
|
-
[_M, _RI, _RT],
|
|
484
|
-
[0, 0, 0],
|
|
485
|
-
];
|
|
465
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M, _RI, _RT], [0, 0, 0]];
|
|
486
466
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
487
467
|
var CreateApplicationRequest = [
|
|
488
468
|
3,
|
|
@@ -731,29 +711,9 @@ var GetServiceResponse = [
|
|
|
731
711
|
4,
|
|
732
712
|
],
|
|
733
713
|
];
|
|
734
|
-
var InternalServerException = [
|
|
735
|
-
-3,
|
|
736
|
-
n0,
|
|
737
|
-
_ISE,
|
|
738
|
-
{
|
|
739
|
-
[_e]: _s,
|
|
740
|
-
[_hE]: 500,
|
|
741
|
-
},
|
|
742
|
-
[_M],
|
|
743
|
-
[0],
|
|
744
|
-
];
|
|
714
|
+
var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
745
715
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
746
|
-
var InvalidResourcePolicyException = [
|
|
747
|
-
-3,
|
|
748
|
-
n0,
|
|
749
|
-
_IRPE,
|
|
750
|
-
{
|
|
751
|
-
[_e]: _c,
|
|
752
|
-
[_hE]: 400,
|
|
753
|
-
},
|
|
754
|
-
[_M],
|
|
755
|
-
[0],
|
|
756
|
-
];
|
|
716
|
+
var InvalidResourcePolicyException = [-3, n0, _IRPE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
757
717
|
schema.TypeRegistry.for(n0).registerError(InvalidResourcePolicyException, InvalidResourcePolicyException$1);
|
|
758
718
|
var LambdaEndpointConfig = [3, n0, _LEC, 0, [_A], [0]];
|
|
759
719
|
var LambdaEndpointInput = [3, n0, _LEI, 0, [_A], [0]];
|
|
@@ -766,18 +726,8 @@ var ListApplicationsRequest = [
|
|
|
766
726
|
[_EIn, _NT, _MR],
|
|
767
727
|
[
|
|
768
728
|
[0, 1],
|
|
769
|
-
[
|
|
770
|
-
|
|
771
|
-
{
|
|
772
|
-
[_hQ]: _nT,
|
|
773
|
-
},
|
|
774
|
-
],
|
|
775
|
-
[
|
|
776
|
-
1,
|
|
777
|
-
{
|
|
778
|
-
[_hQ]: _mR,
|
|
779
|
-
},
|
|
780
|
-
],
|
|
729
|
+
[0, { [_hQ]: _nT }],
|
|
730
|
+
[1, { [_hQ]: _mR }],
|
|
781
731
|
],
|
|
782
732
|
];
|
|
783
733
|
var ListApplicationsResponse = [
|
|
@@ -795,18 +745,8 @@ var ListEnvironmentsRequest = [
|
|
|
795
745
|
0,
|
|
796
746
|
[_NT, _MR],
|
|
797
747
|
[
|
|
798
|
-
[
|
|
799
|
-
|
|
800
|
-
{
|
|
801
|
-
[_hQ]: _nT,
|
|
802
|
-
},
|
|
803
|
-
],
|
|
804
|
-
[
|
|
805
|
-
1,
|
|
806
|
-
{
|
|
807
|
-
[_hQ]: _mR,
|
|
808
|
-
},
|
|
809
|
-
],
|
|
748
|
+
[0, { [_hQ]: _nT }],
|
|
749
|
+
[1, { [_hQ]: _mR }],
|
|
810
750
|
],
|
|
811
751
|
];
|
|
812
752
|
var ListEnvironmentsResponse = [
|
|
@@ -825,18 +765,8 @@ var ListEnvironmentVpcsRequest = [
|
|
|
825
765
|
[_EIn, _NT, _MR],
|
|
826
766
|
[
|
|
827
767
|
[0, 1],
|
|
828
|
-
[
|
|
829
|
-
|
|
830
|
-
{
|
|
831
|
-
[_hQ]: _nT,
|
|
832
|
-
},
|
|
833
|
-
],
|
|
834
|
-
[
|
|
835
|
-
1,
|
|
836
|
-
{
|
|
837
|
-
[_hQ]: _mR,
|
|
838
|
-
},
|
|
839
|
-
],
|
|
768
|
+
[0, { [_hQ]: _nT }],
|
|
769
|
+
[1, { [_hQ]: _mR }],
|
|
840
770
|
],
|
|
841
771
|
];
|
|
842
772
|
var ListEnvironmentVpcsResponse = [
|
|
@@ -856,18 +786,8 @@ var ListRoutesRequest = [
|
|
|
856
786
|
[
|
|
857
787
|
[0, 1],
|
|
858
788
|
[0, 1],
|
|
859
|
-
[
|
|
860
|
-
|
|
861
|
-
{
|
|
862
|
-
[_hQ]: _nT,
|
|
863
|
-
},
|
|
864
|
-
],
|
|
865
|
-
[
|
|
866
|
-
1,
|
|
867
|
-
{
|
|
868
|
-
[_hQ]: _mR,
|
|
869
|
-
},
|
|
870
|
-
],
|
|
789
|
+
[0, { [_hQ]: _nT }],
|
|
790
|
+
[1, { [_hQ]: _mR }],
|
|
871
791
|
],
|
|
872
792
|
];
|
|
873
793
|
var ListRoutesResponse = [3, n0, _LRRi, 0, [_RSL, _NT], [[() => RouteSummaries, 0], 0]];
|
|
@@ -880,18 +800,8 @@ var ListServicesRequest = [
|
|
|
880
800
|
[
|
|
881
801
|
[0, 1],
|
|
882
802
|
[0, 1],
|
|
883
|
-
[
|
|
884
|
-
|
|
885
|
-
{
|
|
886
|
-
[_hQ]: _nT,
|
|
887
|
-
},
|
|
888
|
-
],
|
|
889
|
-
[
|
|
890
|
-
1,
|
|
891
|
-
{
|
|
892
|
-
[_hQ]: _mR,
|
|
893
|
-
},
|
|
894
|
-
],
|
|
803
|
+
[0, { [_hQ]: _nT }],
|
|
804
|
+
[1, { [_hQ]: _mR }],
|
|
895
805
|
],
|
|
896
806
|
];
|
|
897
807
|
var ListServicesResponse = [
|
|
@@ -910,10 +820,7 @@ var ResourceNotFoundException = [
|
|
|
910
820
|
-3,
|
|
911
821
|
n0,
|
|
912
822
|
_RNFE,
|
|
913
|
-
{
|
|
914
|
-
[_e]: _c,
|
|
915
|
-
[_hE]: 404,
|
|
916
|
-
},
|
|
823
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
917
824
|
[_M, _RI, _RT],
|
|
918
825
|
[0, 0, 0],
|
|
919
826
|
];
|
|
@@ -930,10 +837,7 @@ var ServiceQuotaExceededException = [
|
|
|
930
837
|
-3,
|
|
931
838
|
n0,
|
|
932
839
|
_SQEE,
|
|
933
|
-
{
|
|
934
|
-
[_e]: _c,
|
|
935
|
-
[_hE]: 402,
|
|
936
|
-
},
|
|
840
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
937
841
|
[_M, _RI, _RT, _QC, _SC],
|
|
938
842
|
[0, 0, 0, 0, 0],
|
|
939
843
|
];
|
|
@@ -980,22 +884,9 @@ var ThrottlingException = [
|
|
|
980
884
|
-3,
|
|
981
885
|
n0,
|
|
982
886
|
_TE,
|
|
983
|
-
{
|
|
984
|
-
[_e]: _c,
|
|
985
|
-
[_hE]: 429,
|
|
986
|
-
},
|
|
887
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
987
888
|
[_M, _QC, _SC, _RAS],
|
|
988
|
-
[
|
|
989
|
-
0,
|
|
990
|
-
0,
|
|
991
|
-
0,
|
|
992
|
-
[
|
|
993
|
-
1,
|
|
994
|
-
{
|
|
995
|
-
[_hH]: _RA_,
|
|
996
|
-
},
|
|
997
|
-
],
|
|
998
|
-
],
|
|
889
|
+
[0, 0, 0, [1, { [_hH]: _RA_ }]],
|
|
999
890
|
];
|
|
1000
891
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
1001
892
|
var UntagResourceRequest = [
|
|
@@ -1006,12 +897,7 @@ var UntagResourceRequest = [
|
|
|
1006
897
|
[_RA, _TK],
|
|
1007
898
|
[
|
|
1008
899
|
[0, 1],
|
|
1009
|
-
[
|
|
1010
|
-
() => TagKeys,
|
|
1011
|
-
{
|
|
1012
|
-
[_hQ]: _tK,
|
|
1013
|
-
},
|
|
1014
|
-
],
|
|
900
|
+
[() => TagKeys, { [_hQ]: _tK }],
|
|
1015
901
|
],
|
|
1016
902
|
];
|
|
1017
903
|
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
@@ -1042,17 +928,7 @@ var UriPathRouteInput = [
|
|
|
1042
928
|
var UrlEndpointConfig = [3, n0, _UEC, 0, [_U, _HU], [0, 0]];
|
|
1043
929
|
var UrlEndpointInput = [3, n0, _UEI, 0, [_U, _HU], [0, 0]];
|
|
1044
930
|
var UrlEndpointSummary = [3, n0, _UES, 0, [_U, _HU], [0, 0]];
|
|
1045
|
-
var ValidationException = [
|
|
1046
|
-
-3,
|
|
1047
|
-
n0,
|
|
1048
|
-
_VE,
|
|
1049
|
-
{
|
|
1050
|
-
[_e]: _c,
|
|
1051
|
-
[_hE]: 400,
|
|
1052
|
-
},
|
|
1053
|
-
[_M],
|
|
1054
|
-
[0],
|
|
1055
|
-
];
|
|
931
|
+
var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
1056
932
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
1057
933
|
var MigrationHubRefactorSpacesServiceException = [
|
|
1058
934
|
-3,
|
|
@@ -1074,9 +950,7 @@ var CreateApplication = [
|
|
|
1074
950
|
9,
|
|
1075
951
|
n0,
|
|
1076
952
|
_CA,
|
|
1077
|
-
{
|
|
1078
|
-
[_h]: ["POST", "/environments/{EnvironmentIdentifier}/applications", 200],
|
|
1079
|
-
},
|
|
953
|
+
{ [_h]: ["POST", "/environments/{EnvironmentIdentifier}/applications", 200] },
|
|
1080
954
|
() => CreateApplicationRequest,
|
|
1081
955
|
() => CreateApplicationResponse,
|
|
1082
956
|
];
|
|
@@ -1084,9 +958,7 @@ var CreateEnvironment = [
|
|
|
1084
958
|
9,
|
|
1085
959
|
n0,
|
|
1086
960
|
_CEr,
|
|
1087
|
-
{
|
|
1088
|
-
[_h]: ["POST", "/environments", 200],
|
|
1089
|
-
},
|
|
961
|
+
{ [_h]: ["POST", "/environments", 200] },
|
|
1090
962
|
() => CreateEnvironmentRequest,
|
|
1091
963
|
() => CreateEnvironmentResponse,
|
|
1092
964
|
];
|
|
@@ -1094,9 +966,7 @@ var CreateRoute = [
|
|
|
1094
966
|
9,
|
|
1095
967
|
n0,
|
|
1096
968
|
_CR,
|
|
1097
|
-
{
|
|
1098
|
-
[_h]: ["POST", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes", 200],
|
|
1099
|
-
},
|
|
969
|
+
{ [_h]: ["POST", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes", 200] },
|
|
1100
970
|
() => CreateRouteRequest,
|
|
1101
971
|
() => CreateRouteResponse,
|
|
1102
972
|
];
|
|
@@ -1104,9 +974,7 @@ var CreateService = [
|
|
|
1104
974
|
9,
|
|
1105
975
|
n0,
|
|
1106
976
|
_CS,
|
|
1107
|
-
{
|
|
1108
|
-
[_h]: ["POST", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services", 200],
|
|
1109
|
-
},
|
|
977
|
+
{ [_h]: ["POST", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services", 200] },
|
|
1110
978
|
() => CreateServiceRequest,
|
|
1111
979
|
() => CreateServiceResponse,
|
|
1112
980
|
];
|
|
@@ -1114,9 +982,7 @@ var DeleteApplication = [
|
|
|
1114
982
|
9,
|
|
1115
983
|
n0,
|
|
1116
984
|
_DA,
|
|
1117
|
-
{
|
|
1118
|
-
[_h]: ["DELETE", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}", 200],
|
|
1119
|
-
},
|
|
985
|
+
{ [_h]: ["DELETE", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}", 200] },
|
|
1120
986
|
() => DeleteApplicationRequest,
|
|
1121
987
|
() => DeleteApplicationResponse,
|
|
1122
988
|
];
|
|
@@ -1124,9 +990,7 @@ var DeleteEnvironment = [
|
|
|
1124
990
|
9,
|
|
1125
991
|
n0,
|
|
1126
992
|
_DE,
|
|
1127
|
-
{
|
|
1128
|
-
[_h]: ["DELETE", "/environments/{EnvironmentIdentifier}", 200],
|
|
1129
|
-
},
|
|
993
|
+
{ [_h]: ["DELETE", "/environments/{EnvironmentIdentifier}", 200] },
|
|
1130
994
|
() => DeleteEnvironmentRequest,
|
|
1131
995
|
() => DeleteEnvironmentResponse,
|
|
1132
996
|
];
|
|
@@ -1134,9 +998,7 @@ var DeleteResourcePolicy = [
|
|
|
1134
998
|
9,
|
|
1135
999
|
n0,
|
|
1136
1000
|
_DRP,
|
|
1137
|
-
{
|
|
1138
|
-
[_h]: ["DELETE", "/resourcepolicy/{Identifier}", 200],
|
|
1139
|
-
},
|
|
1001
|
+
{ [_h]: ["DELETE", "/resourcepolicy/{Identifier}", 200] },
|
|
1140
1002
|
() => DeleteResourcePolicyRequest,
|
|
1141
1003
|
() => DeleteResourcePolicyResponse,
|
|
1142
1004
|
];
|
|
@@ -1172,9 +1034,7 @@ var GetApplication = [
|
|
|
1172
1034
|
9,
|
|
1173
1035
|
n0,
|
|
1174
1036
|
_GA,
|
|
1175
|
-
{
|
|
1176
|
-
[_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}", 200],
|
|
1177
|
-
},
|
|
1037
|
+
{ [_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}", 200] },
|
|
1178
1038
|
() => GetApplicationRequest,
|
|
1179
1039
|
() => GetApplicationResponse,
|
|
1180
1040
|
];
|
|
@@ -1182,9 +1042,7 @@ var GetEnvironment = [
|
|
|
1182
1042
|
9,
|
|
1183
1043
|
n0,
|
|
1184
1044
|
_GE,
|
|
1185
|
-
{
|
|
1186
|
-
[_h]: ["GET", "/environments/{EnvironmentIdentifier}", 200],
|
|
1187
|
-
},
|
|
1045
|
+
{ [_h]: ["GET", "/environments/{EnvironmentIdentifier}", 200] },
|
|
1188
1046
|
() => GetEnvironmentRequest,
|
|
1189
1047
|
() => GetEnvironmentResponse,
|
|
1190
1048
|
];
|
|
@@ -1192,9 +1050,7 @@ var GetResourcePolicy = [
|
|
|
1192
1050
|
9,
|
|
1193
1051
|
n0,
|
|
1194
1052
|
_GRP,
|
|
1195
|
-
{
|
|
1196
|
-
[_h]: ["GET", "/resourcepolicy/{Identifier}", 200],
|
|
1197
|
-
},
|
|
1053
|
+
{ [_h]: ["GET", "/resourcepolicy/{Identifier}", 200] },
|
|
1198
1054
|
() => GetResourcePolicyRequest,
|
|
1199
1055
|
() => GetResourcePolicyResponse,
|
|
1200
1056
|
];
|
|
@@ -1230,9 +1086,7 @@ var ListApplications = [
|
|
|
1230
1086
|
9,
|
|
1231
1087
|
n0,
|
|
1232
1088
|
_LA,
|
|
1233
|
-
{
|
|
1234
|
-
[_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications", 200],
|
|
1235
|
-
},
|
|
1089
|
+
{ [_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications", 200] },
|
|
1236
1090
|
() => ListApplicationsRequest,
|
|
1237
1091
|
() => ListApplicationsResponse,
|
|
1238
1092
|
];
|
|
@@ -1240,9 +1094,7 @@ var ListEnvironments = [
|
|
|
1240
1094
|
9,
|
|
1241
1095
|
n0,
|
|
1242
1096
|
_LEi,
|
|
1243
|
-
{
|
|
1244
|
-
[_h]: ["GET", "/environments", 200],
|
|
1245
|
-
},
|
|
1097
|
+
{ [_h]: ["GET", "/environments", 200] },
|
|
1246
1098
|
() => ListEnvironmentsRequest,
|
|
1247
1099
|
() => ListEnvironmentsResponse,
|
|
1248
1100
|
];
|
|
@@ -1250,9 +1102,7 @@ var ListEnvironmentVpcs = [
|
|
|
1250
1102
|
9,
|
|
1251
1103
|
n0,
|
|
1252
1104
|
_LEV,
|
|
1253
|
-
{
|
|
1254
|
-
[_h]: ["GET", "/environments/{EnvironmentIdentifier}/vpcs", 200],
|
|
1255
|
-
},
|
|
1105
|
+
{ [_h]: ["GET", "/environments/{EnvironmentIdentifier}/vpcs", 200] },
|
|
1256
1106
|
() => ListEnvironmentVpcsRequest,
|
|
1257
1107
|
() => ListEnvironmentVpcsResponse,
|
|
1258
1108
|
];
|
|
@@ -1260,9 +1110,7 @@ var ListRoutes = [
|
|
|
1260
1110
|
9,
|
|
1261
1111
|
n0,
|
|
1262
1112
|
_LR,
|
|
1263
|
-
{
|
|
1264
|
-
[_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes", 200],
|
|
1265
|
-
},
|
|
1113
|
+
{ [_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes", 200] },
|
|
1266
1114
|
() => ListRoutesRequest,
|
|
1267
1115
|
() => ListRoutesResponse,
|
|
1268
1116
|
];
|
|
@@ -1270,9 +1118,7 @@ var ListServices = [
|
|
|
1270
1118
|
9,
|
|
1271
1119
|
n0,
|
|
1272
1120
|
_LS,
|
|
1273
|
-
{
|
|
1274
|
-
[_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services", 200],
|
|
1275
|
-
},
|
|
1121
|
+
{ [_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services", 200] },
|
|
1276
1122
|
() => ListServicesRequest,
|
|
1277
1123
|
() => ListServicesResponse,
|
|
1278
1124
|
];
|
|
@@ -1280,9 +1126,7 @@ var ListTagsForResource = [
|
|
|
1280
1126
|
9,
|
|
1281
1127
|
n0,
|
|
1282
1128
|
_LTFR,
|
|
1283
|
-
{
|
|
1284
|
-
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
1285
|
-
},
|
|
1129
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] },
|
|
1286
1130
|
() => ListTagsForResourceRequest,
|
|
1287
1131
|
() => ListTagsForResourceResponse,
|
|
1288
1132
|
];
|
|
@@ -1290,9 +1134,7 @@ var PutResourcePolicy = [
|
|
|
1290
1134
|
9,
|
|
1291
1135
|
n0,
|
|
1292
1136
|
_PRP,
|
|
1293
|
-
{
|
|
1294
|
-
[_h]: ["PUT", "/resourcepolicy", 200],
|
|
1295
|
-
},
|
|
1137
|
+
{ [_h]: ["PUT", "/resourcepolicy", 200] },
|
|
1296
1138
|
() => PutResourcePolicyRequest,
|
|
1297
1139
|
() => PutResourcePolicyResponse,
|
|
1298
1140
|
];
|
|
@@ -1300,9 +1142,7 @@ var TagResource = [
|
|
|
1300
1142
|
9,
|
|
1301
1143
|
n0,
|
|
1302
1144
|
_TR,
|
|
1303
|
-
{
|
|
1304
|
-
[_h]: ["POST", "/tags/{ResourceArn}", 200],
|
|
1305
|
-
},
|
|
1145
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 200] },
|
|
1306
1146
|
() => TagResourceRequest,
|
|
1307
1147
|
() => TagResourceResponse,
|
|
1308
1148
|
];
|
|
@@ -1310,9 +1150,7 @@ var UntagResource = [
|
|
|
1310
1150
|
9,
|
|
1311
1151
|
n0,
|
|
1312
1152
|
_UR,
|
|
1313
|
-
{
|
|
1314
|
-
[_h]: ["DELETE", "/tags/{ResourceArn}", 200],
|
|
1315
|
-
},
|
|
1153
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 200] },
|
|
1316
1154
|
() => UntagResourceRequest,
|
|
1317
1155
|
() => UntagResourceResponse,
|
|
1318
1156
|
];
|
|
@@ -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);
|
|
@@ -23,7 +23,7 @@ import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
|
23
23
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
24
24
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
25
25
|
import { UpdateRouteCommand } from "./commands/UpdateRouteCommand";
|
|
26
|
-
import { MigrationHubRefactorSpacesClient
|
|
26
|
+
import { MigrationHubRefactorSpacesClient } from "./MigrationHubRefactorSpacesClient";
|
|
27
27
|
const commands = {
|
|
28
28
|
CreateApplicationCommand,
|
|
29
29
|
CreateEnvironmentCommand,
|
|
@@ -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 { defaultMigrationHubRefactorSpacesHttpAuthSchemeParametersProvider, 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);
|