@aws-sdk/client-apprunner 3.523.0 → 3.529.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 +40 -80
- package/dist-es/protocols/Aws_json1_0.js +1 -40
- package/package.json +17 -17
- package/dist-cjs/AppRunner.js +0 -1
- package/dist-cjs/AppRunnerClient.js +0 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
- package/dist-cjs/commands/AssociateCustomDomainCommand.js +0 -1
- package/dist-cjs/commands/CreateAutoScalingConfigurationCommand.js +0 -1
- package/dist-cjs/commands/CreateConnectionCommand.js +0 -1
- package/dist-cjs/commands/CreateObservabilityConfigurationCommand.js +0 -1
- package/dist-cjs/commands/CreateServiceCommand.js +0 -1
- package/dist-cjs/commands/CreateVpcConnectorCommand.js +0 -1
- package/dist-cjs/commands/CreateVpcIngressConnectionCommand.js +0 -1
- package/dist-cjs/commands/DeleteAutoScalingConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DeleteConnectionCommand.js +0 -1
- package/dist-cjs/commands/DeleteObservabilityConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DeleteServiceCommand.js +0 -1
- package/dist-cjs/commands/DeleteVpcConnectorCommand.js +0 -1
- package/dist-cjs/commands/DeleteVpcIngressConnectionCommand.js +0 -1
- package/dist-cjs/commands/DescribeAutoScalingConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DescribeCustomDomainsCommand.js +0 -1
- package/dist-cjs/commands/DescribeObservabilityConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DescribeServiceCommand.js +0 -1
- package/dist-cjs/commands/DescribeVpcConnectorCommand.js +0 -1
- package/dist-cjs/commands/DescribeVpcIngressConnectionCommand.js +0 -1
- package/dist-cjs/commands/DisassociateCustomDomainCommand.js +0 -1
- package/dist-cjs/commands/ListAutoScalingConfigurationsCommand.js +0 -1
- package/dist-cjs/commands/ListConnectionsCommand.js +0 -1
- package/dist-cjs/commands/ListObservabilityConfigurationsCommand.js +0 -1
- package/dist-cjs/commands/ListOperationsCommand.js +0 -1
- package/dist-cjs/commands/ListServicesCommand.js +0 -1
- package/dist-cjs/commands/ListServicesForAutoScalingConfigurationCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListVpcConnectorsCommand.js +0 -1
- package/dist-cjs/commands/ListVpcIngressConnectionsCommand.js +0 -1
- package/dist-cjs/commands/PauseServiceCommand.js +0 -1
- package/dist-cjs/commands/ResumeServiceCommand.js +0 -1
- package/dist-cjs/commands/StartDeploymentCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateDefaultAutoScalingConfigurationCommand.js +0 -1
- package/dist-cjs/commands/UpdateServiceCommand.js +0 -1
- package/dist-cjs/commands/UpdateVpcIngressConnectionCommand.js +0 -1
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist-cjs/extensionConfiguration.js +0 -1
- package/dist-cjs/models/AppRunnerServiceException.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/DescribeCustomDomainsPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAutoScalingConfigurationsPaginator.js +0 -1
- package/dist-cjs/pagination/ListConnectionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListObservabilityConfigurationsPaginator.js +0 -1
- package/dist-cjs/pagination/ListOperationsPaginator.js +0 -1
- package/dist-cjs/pagination/ListServicesForAutoScalingConfigurationPaginator.js +0 -1
- package/dist-cjs/pagination/ListServicesPaginator.js +0 -1
- package/dist-cjs/pagination/ListVpcConnectorsPaginator.js +0 -1
- package/dist-cjs/pagination/ListVpcIngressConnectionsPaginator.js +0 -1
- package/dist-cjs/pagination/index.js +0 -1
- package/dist-cjs/protocols/Aws_json1_0.js +0 -1
- package/dist-cjs/runtimeExtensions.js +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -266,6 +266,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
266
266
|
var import_types = require("@smithy/types");
|
|
267
267
|
|
|
268
268
|
// src/protocols/Aws_json1_0.ts
|
|
269
|
+
var import_core2 = require("@aws-sdk/core");
|
|
269
270
|
|
|
270
271
|
|
|
271
272
|
|
|
@@ -788,7 +789,7 @@ var de_AssociateCustomDomainCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
788
789
|
if (output.statusCode >= 300) {
|
|
789
790
|
return de_CommandError(output, context);
|
|
790
791
|
}
|
|
791
|
-
const data = await
|
|
792
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
792
793
|
let contents = {};
|
|
793
794
|
contents = (0, import_smithy_client._json)(data);
|
|
794
795
|
const response = {
|
|
@@ -801,7 +802,7 @@ var de_CreateAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (out
|
|
|
801
802
|
if (output.statusCode >= 300) {
|
|
802
803
|
return de_CommandError(output, context);
|
|
803
804
|
}
|
|
804
|
-
const data = await
|
|
805
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
805
806
|
let contents = {};
|
|
806
807
|
contents = de_CreateAutoScalingConfigurationResponse(data, context);
|
|
807
808
|
const response = {
|
|
@@ -814,7 +815,7 @@ var de_CreateConnectionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
814
815
|
if (output.statusCode >= 300) {
|
|
815
816
|
return de_CommandError(output, context);
|
|
816
817
|
}
|
|
817
|
-
const data = await
|
|
818
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
818
819
|
let contents = {};
|
|
819
820
|
contents = de_CreateConnectionResponse(data, context);
|
|
820
821
|
const response = {
|
|
@@ -827,7 +828,7 @@ var de_CreateObservabilityConfigurationCommand = /* @__PURE__ */ __name(async (o
|
|
|
827
828
|
if (output.statusCode >= 300) {
|
|
828
829
|
return de_CommandError(output, context);
|
|
829
830
|
}
|
|
830
|
-
const data = await
|
|
831
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
831
832
|
let contents = {};
|
|
832
833
|
contents = de_CreateObservabilityConfigurationResponse(data, context);
|
|
833
834
|
const response = {
|
|
@@ -840,7 +841,7 @@ var de_CreateServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
840
841
|
if (output.statusCode >= 300) {
|
|
841
842
|
return de_CommandError(output, context);
|
|
842
843
|
}
|
|
843
|
-
const data = await
|
|
844
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
844
845
|
let contents = {};
|
|
845
846
|
contents = de_CreateServiceResponse(data, context);
|
|
846
847
|
const response = {
|
|
@@ -853,7 +854,7 @@ var de_CreateVpcConnectorCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
853
854
|
if (output.statusCode >= 300) {
|
|
854
855
|
return de_CommandError(output, context);
|
|
855
856
|
}
|
|
856
|
-
const data = await
|
|
857
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
857
858
|
let contents = {};
|
|
858
859
|
contents = de_CreateVpcConnectorResponse(data, context);
|
|
859
860
|
const response = {
|
|
@@ -866,7 +867,7 @@ var de_CreateVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
866
867
|
if (output.statusCode >= 300) {
|
|
867
868
|
return de_CommandError(output, context);
|
|
868
869
|
}
|
|
869
|
-
const data = await
|
|
870
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
870
871
|
let contents = {};
|
|
871
872
|
contents = de_CreateVpcIngressConnectionResponse(data, context);
|
|
872
873
|
const response = {
|
|
@@ -879,7 +880,7 @@ var de_DeleteAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (out
|
|
|
879
880
|
if (output.statusCode >= 300) {
|
|
880
881
|
return de_CommandError(output, context);
|
|
881
882
|
}
|
|
882
|
-
const data = await
|
|
883
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
883
884
|
let contents = {};
|
|
884
885
|
contents = de_DeleteAutoScalingConfigurationResponse(data, context);
|
|
885
886
|
const response = {
|
|
@@ -892,7 +893,7 @@ var de_DeleteConnectionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
892
893
|
if (output.statusCode >= 300) {
|
|
893
894
|
return de_CommandError(output, context);
|
|
894
895
|
}
|
|
895
|
-
const data = await
|
|
896
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
896
897
|
let contents = {};
|
|
897
898
|
contents = de_DeleteConnectionResponse(data, context);
|
|
898
899
|
const response = {
|
|
@@ -905,7 +906,7 @@ var de_DeleteObservabilityConfigurationCommand = /* @__PURE__ */ __name(async (o
|
|
|
905
906
|
if (output.statusCode >= 300) {
|
|
906
907
|
return de_CommandError(output, context);
|
|
907
908
|
}
|
|
908
|
-
const data = await
|
|
909
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
909
910
|
let contents = {};
|
|
910
911
|
contents = de_DeleteObservabilityConfigurationResponse(data, context);
|
|
911
912
|
const response = {
|
|
@@ -918,7 +919,7 @@ var de_DeleteServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
918
919
|
if (output.statusCode >= 300) {
|
|
919
920
|
return de_CommandError(output, context);
|
|
920
921
|
}
|
|
921
|
-
const data = await
|
|
922
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
922
923
|
let contents = {};
|
|
923
924
|
contents = de_DeleteServiceResponse(data, context);
|
|
924
925
|
const response = {
|
|
@@ -931,7 +932,7 @@ var de_DeleteVpcConnectorCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
931
932
|
if (output.statusCode >= 300) {
|
|
932
933
|
return de_CommandError(output, context);
|
|
933
934
|
}
|
|
934
|
-
const data = await
|
|
935
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
935
936
|
let contents = {};
|
|
936
937
|
contents = de_DeleteVpcConnectorResponse(data, context);
|
|
937
938
|
const response = {
|
|
@@ -944,7 +945,7 @@ var de_DeleteVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
944
945
|
if (output.statusCode >= 300) {
|
|
945
946
|
return de_CommandError(output, context);
|
|
946
947
|
}
|
|
947
|
-
const data = await
|
|
948
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
948
949
|
let contents = {};
|
|
949
950
|
contents = de_DeleteVpcIngressConnectionResponse(data, context);
|
|
950
951
|
const response = {
|
|
@@ -957,7 +958,7 @@ var de_DescribeAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (o
|
|
|
957
958
|
if (output.statusCode >= 300) {
|
|
958
959
|
return de_CommandError(output, context);
|
|
959
960
|
}
|
|
960
|
-
const data = await
|
|
961
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
961
962
|
let contents = {};
|
|
962
963
|
contents = de_DescribeAutoScalingConfigurationResponse(data, context);
|
|
963
964
|
const response = {
|
|
@@ -970,7 +971,7 @@ var de_DescribeCustomDomainsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
970
971
|
if (output.statusCode >= 300) {
|
|
971
972
|
return de_CommandError(output, context);
|
|
972
973
|
}
|
|
973
|
-
const data = await
|
|
974
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
974
975
|
let contents = {};
|
|
975
976
|
contents = (0, import_smithy_client._json)(data);
|
|
976
977
|
const response = {
|
|
@@ -983,7 +984,7 @@ var de_DescribeObservabilityConfigurationCommand = /* @__PURE__ */ __name(async
|
|
|
983
984
|
if (output.statusCode >= 300) {
|
|
984
985
|
return de_CommandError(output, context);
|
|
985
986
|
}
|
|
986
|
-
const data = await
|
|
987
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
987
988
|
let contents = {};
|
|
988
989
|
contents = de_DescribeObservabilityConfigurationResponse(data, context);
|
|
989
990
|
const response = {
|
|
@@ -996,7 +997,7 @@ var de_DescribeServiceCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
996
997
|
if (output.statusCode >= 300) {
|
|
997
998
|
return de_CommandError(output, context);
|
|
998
999
|
}
|
|
999
|
-
const data = await
|
|
1000
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1000
1001
|
let contents = {};
|
|
1001
1002
|
contents = de_DescribeServiceResponse(data, context);
|
|
1002
1003
|
const response = {
|
|
@@ -1009,7 +1010,7 @@ var de_DescribeVpcConnectorCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1009
1010
|
if (output.statusCode >= 300) {
|
|
1010
1011
|
return de_CommandError(output, context);
|
|
1011
1012
|
}
|
|
1012
|
-
const data = await
|
|
1013
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1013
1014
|
let contents = {};
|
|
1014
1015
|
contents = de_DescribeVpcConnectorResponse(data, context);
|
|
1015
1016
|
const response = {
|
|
@@ -1022,7 +1023,7 @@ var de_DescribeVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1022
1023
|
if (output.statusCode >= 300) {
|
|
1023
1024
|
return de_CommandError(output, context);
|
|
1024
1025
|
}
|
|
1025
|
-
const data = await
|
|
1026
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1026
1027
|
let contents = {};
|
|
1027
1028
|
contents = de_DescribeVpcIngressConnectionResponse(data, context);
|
|
1028
1029
|
const response = {
|
|
@@ -1035,7 +1036,7 @@ var de_DisassociateCustomDomainCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1035
1036
|
if (output.statusCode >= 300) {
|
|
1036
1037
|
return de_CommandError(output, context);
|
|
1037
1038
|
}
|
|
1038
|
-
const data = await
|
|
1039
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1039
1040
|
let contents = {};
|
|
1040
1041
|
contents = (0, import_smithy_client._json)(data);
|
|
1041
1042
|
const response = {
|
|
@@ -1048,7 +1049,7 @@ var de_ListAutoScalingConfigurationsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
1048
1049
|
if (output.statusCode >= 300) {
|
|
1049
1050
|
return de_CommandError(output, context);
|
|
1050
1051
|
}
|
|
1051
|
-
const data = await
|
|
1052
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1052
1053
|
let contents = {};
|
|
1053
1054
|
contents = de_ListAutoScalingConfigurationsResponse(data, context);
|
|
1054
1055
|
const response = {
|
|
@@ -1061,7 +1062,7 @@ var de_ListConnectionsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1061
1062
|
if (output.statusCode >= 300) {
|
|
1062
1063
|
return de_CommandError(output, context);
|
|
1063
1064
|
}
|
|
1064
|
-
const data = await
|
|
1065
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1065
1066
|
let contents = {};
|
|
1066
1067
|
contents = de_ListConnectionsResponse(data, context);
|
|
1067
1068
|
const response = {
|
|
@@ -1074,7 +1075,7 @@ var de_ListObservabilityConfigurationsCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1074
1075
|
if (output.statusCode >= 300) {
|
|
1075
1076
|
return de_CommandError(output, context);
|
|
1076
1077
|
}
|
|
1077
|
-
const data = await
|
|
1078
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1078
1079
|
let contents = {};
|
|
1079
1080
|
contents = (0, import_smithy_client._json)(data);
|
|
1080
1081
|
const response = {
|
|
@@ -1087,7 +1088,7 @@ var de_ListOperationsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1087
1088
|
if (output.statusCode >= 300) {
|
|
1088
1089
|
return de_CommandError(output, context);
|
|
1089
1090
|
}
|
|
1090
|
-
const data = await
|
|
1091
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1091
1092
|
let contents = {};
|
|
1092
1093
|
contents = de_ListOperationsResponse(data, context);
|
|
1093
1094
|
const response = {
|
|
@@ -1100,7 +1101,7 @@ var de_ListServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1100
1101
|
if (output.statusCode >= 300) {
|
|
1101
1102
|
return de_CommandError(output, context);
|
|
1102
1103
|
}
|
|
1103
|
-
const data = await
|
|
1104
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1104
1105
|
let contents = {};
|
|
1105
1106
|
contents = de_ListServicesResponse(data, context);
|
|
1106
1107
|
const response = {
|
|
@@ -1113,7 +1114,7 @@ var de_ListServicesForAutoScalingConfigurationCommand = /* @__PURE__ */ __name(a
|
|
|
1113
1114
|
if (output.statusCode >= 300) {
|
|
1114
1115
|
return de_CommandError(output, context);
|
|
1115
1116
|
}
|
|
1116
|
-
const data = await
|
|
1117
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1117
1118
|
let contents = {};
|
|
1118
1119
|
contents = (0, import_smithy_client._json)(data);
|
|
1119
1120
|
const response = {
|
|
@@ -1126,7 +1127,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1126
1127
|
if (output.statusCode >= 300) {
|
|
1127
1128
|
return de_CommandError(output, context);
|
|
1128
1129
|
}
|
|
1129
|
-
const data = await
|
|
1130
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1130
1131
|
let contents = {};
|
|
1131
1132
|
contents = (0, import_smithy_client._json)(data);
|
|
1132
1133
|
const response = {
|
|
@@ -1139,7 +1140,7 @@ var de_ListVpcConnectorsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1139
1140
|
if (output.statusCode >= 300) {
|
|
1140
1141
|
return de_CommandError(output, context);
|
|
1141
1142
|
}
|
|
1142
|
-
const data = await
|
|
1143
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1143
1144
|
let contents = {};
|
|
1144
1145
|
contents = de_ListVpcConnectorsResponse(data, context);
|
|
1145
1146
|
const response = {
|
|
@@ -1152,7 +1153,7 @@ var de_ListVpcIngressConnectionsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1152
1153
|
if (output.statusCode >= 300) {
|
|
1153
1154
|
return de_CommandError(output, context);
|
|
1154
1155
|
}
|
|
1155
|
-
const data = await
|
|
1156
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1156
1157
|
let contents = {};
|
|
1157
1158
|
contents = (0, import_smithy_client._json)(data);
|
|
1158
1159
|
const response = {
|
|
@@ -1165,7 +1166,7 @@ var de_PauseServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1165
1166
|
if (output.statusCode >= 300) {
|
|
1166
1167
|
return de_CommandError(output, context);
|
|
1167
1168
|
}
|
|
1168
|
-
const data = await
|
|
1169
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1169
1170
|
let contents = {};
|
|
1170
1171
|
contents = de_PauseServiceResponse(data, context);
|
|
1171
1172
|
const response = {
|
|
@@ -1178,7 +1179,7 @@ var de_ResumeServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1178
1179
|
if (output.statusCode >= 300) {
|
|
1179
1180
|
return de_CommandError(output, context);
|
|
1180
1181
|
}
|
|
1181
|
-
const data = await
|
|
1182
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1182
1183
|
let contents = {};
|
|
1183
1184
|
contents = de_ResumeServiceResponse(data, context);
|
|
1184
1185
|
const response = {
|
|
@@ -1191,7 +1192,7 @@ var de_StartDeploymentCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1191
1192
|
if (output.statusCode >= 300) {
|
|
1192
1193
|
return de_CommandError(output, context);
|
|
1193
1194
|
}
|
|
1194
|
-
const data = await
|
|
1195
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1195
1196
|
let contents = {};
|
|
1196
1197
|
contents = (0, import_smithy_client._json)(data);
|
|
1197
1198
|
const response = {
|
|
@@ -1204,7 +1205,7 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1204
1205
|
if (output.statusCode >= 300) {
|
|
1205
1206
|
return de_CommandError(output, context);
|
|
1206
1207
|
}
|
|
1207
|
-
const data = await
|
|
1208
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1208
1209
|
let contents = {};
|
|
1209
1210
|
contents = (0, import_smithy_client._json)(data);
|
|
1210
1211
|
const response = {
|
|
@@ -1217,7 +1218,7 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1217
1218
|
if (output.statusCode >= 300) {
|
|
1218
1219
|
return de_CommandError(output, context);
|
|
1219
1220
|
}
|
|
1220
|
-
const data = await
|
|
1221
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1221
1222
|
let contents = {};
|
|
1222
1223
|
contents = (0, import_smithy_client._json)(data);
|
|
1223
1224
|
const response = {
|
|
@@ -1230,7 +1231,7 @@ var de_UpdateDefaultAutoScalingConfigurationCommand = /* @__PURE__ */ __name(asy
|
|
|
1230
1231
|
if (output.statusCode >= 300) {
|
|
1231
1232
|
return de_CommandError(output, context);
|
|
1232
1233
|
}
|
|
1233
|
-
const data = await
|
|
1234
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1234
1235
|
let contents = {};
|
|
1235
1236
|
contents = de_UpdateDefaultAutoScalingConfigurationResponse(data, context);
|
|
1236
1237
|
const response = {
|
|
@@ -1243,7 +1244,7 @@ var de_UpdateServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1243
1244
|
if (output.statusCode >= 300) {
|
|
1244
1245
|
return de_CommandError(output, context);
|
|
1245
1246
|
}
|
|
1246
|
-
const data = await
|
|
1247
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1247
1248
|
let contents = {};
|
|
1248
1249
|
contents = de_UpdateServiceResponse(data, context);
|
|
1249
1250
|
const response = {
|
|
@@ -1256,7 +1257,7 @@ var de_UpdateVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1256
1257
|
if (output.statusCode >= 300) {
|
|
1257
1258
|
return de_CommandError(output, context);
|
|
1258
1259
|
}
|
|
1259
|
-
const data = await
|
|
1260
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1260
1261
|
let contents = {};
|
|
1261
1262
|
contents = de_UpdateVpcIngressConnectionResponse(data, context);
|
|
1262
1263
|
const response = {
|
|
@@ -1268,9 +1269,9 @@ var de_UpdateVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1268
1269
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1269
1270
|
const parsedOutput = {
|
|
1270
1271
|
...output,
|
|
1271
|
-
body: await
|
|
1272
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1272
1273
|
};
|
|
1273
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1274
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1274
1275
|
switch (errorCode) {
|
|
1275
1276
|
case "InternalServiceErrorException":
|
|
1276
1277
|
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
@@ -1645,7 +1646,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1645
1646
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1646
1647
|
cfId: output.headers["x-amz-cf-id"]
|
|
1647
1648
|
}), "deserializeMetadata");
|
|
1648
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1649
1649
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(AppRunnerServiceException);
|
|
1650
1650
|
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1651
1651
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -1672,46 +1672,6 @@ function sharedHeaders(operation) {
|
|
|
1672
1672
|
};
|
|
1673
1673
|
}
|
|
1674
1674
|
__name(sharedHeaders, "sharedHeaders");
|
|
1675
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1676
|
-
if (encoded.length) {
|
|
1677
|
-
return JSON.parse(encoded);
|
|
1678
|
-
}
|
|
1679
|
-
return {};
|
|
1680
|
-
}), "parseBody");
|
|
1681
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1682
|
-
const value = await parseBody(errorBody, context);
|
|
1683
|
-
value.message = value.message ?? value.Message;
|
|
1684
|
-
return value;
|
|
1685
|
-
}, "parseErrorBody");
|
|
1686
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1687
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1688
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1689
|
-
let cleanValue = rawValue;
|
|
1690
|
-
if (typeof cleanValue === "number") {
|
|
1691
|
-
cleanValue = cleanValue.toString();
|
|
1692
|
-
}
|
|
1693
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1694
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1695
|
-
}
|
|
1696
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1697
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1698
|
-
}
|
|
1699
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1700
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1701
|
-
}
|
|
1702
|
-
return cleanValue;
|
|
1703
|
-
}, "sanitizeErrorCode");
|
|
1704
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1705
|
-
if (headerKey !== void 0) {
|
|
1706
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1707
|
-
}
|
|
1708
|
-
if (data.code !== void 0) {
|
|
1709
|
-
return sanitizeErrorCode(data.code);
|
|
1710
|
-
}
|
|
1711
|
-
if (data["__type"] !== void 0) {
|
|
1712
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1713
|
-
}
|
|
1714
|
-
}, "loadRestJsonErrorCode");
|
|
1715
1675
|
|
|
1716
1676
|
// src/commands/AssociateCustomDomainCommand.ts
|
|
1717
1677
|
var _AssociateCustomDomainCommand = class _AssociateCustomDomainCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { AppRunnerServiceException as __BaseException } from "../models/AppRunnerServiceException";
|
|
@@ -1121,43 +1122,3 @@ function sharedHeaders(operation) {
|
|
|
1121
1122
|
"x-amz-target": `AppRunner.${operation}`,
|
|
1122
1123
|
};
|
|
1123
1124
|
}
|
|
1124
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1125
|
-
if (encoded.length) {
|
|
1126
|
-
return JSON.parse(encoded);
|
|
1127
|
-
}
|
|
1128
|
-
return {};
|
|
1129
|
-
});
|
|
1130
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
1131
|
-
const value = await parseBody(errorBody, context);
|
|
1132
|
-
value.message = value.message ?? value.Message;
|
|
1133
|
-
return value;
|
|
1134
|
-
};
|
|
1135
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
1136
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1137
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
1138
|
-
let cleanValue = rawValue;
|
|
1139
|
-
if (typeof cleanValue === "number") {
|
|
1140
|
-
cleanValue = cleanValue.toString();
|
|
1141
|
-
}
|
|
1142
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1143
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1144
|
-
}
|
|
1145
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1146
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1147
|
-
}
|
|
1148
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1149
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1150
|
-
}
|
|
1151
|
-
return cleanValue;
|
|
1152
|
-
};
|
|
1153
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1154
|
-
if (headerKey !== undefined) {
|
|
1155
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1156
|
-
}
|
|
1157
|
-
if (data.code !== undefined) {
|
|
1158
|
-
return sanitizeErrorCode(data.code);
|
|
1159
|
-
}
|
|
1160
|
-
if (data["__type"] !== undefined) {
|
|
1161
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1162
|
-
}
|
|
1163
|
-
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-apprunner",
|
|
3
3
|
"description": "AWS SDK for JavaScript Apprunner Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-apprunner",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.0",
|
|
24
|
+
"@aws-sdk/core": "3.529.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.525.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.525.0",
|
|
31
31
|
"@aws-sdk/types": "3.523.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.525.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.523.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.525.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.4",
|
|
36
|
+
"@smithy/core": "^1.3.5",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.4.3",
|
|
38
38
|
"@smithy/hash-node": "^2.1.3",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.1.3",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.1.3",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.4",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.4",
|
|
43
43
|
"@smithy/middleware-serde": "^2.1.3",
|
|
44
44
|
"@smithy/middleware-stack": "^2.1.3",
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.4",
|
|
46
46
|
"@smithy/node-http-handler": "^2.4.1",
|
|
47
47
|
"@smithy/protocol-http": "^3.2.1",
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
48
|
+
"@smithy/smithy-client": "^2.4.2",
|
|
49
49
|
"@smithy/types": "^2.10.1",
|
|
50
50
|
"@smithy/url-parser": "^2.1.3",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.4",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.3",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.4",
|
|
57
57
|
"@smithy/util-middleware": "^2.1.3",
|
|
58
58
|
"@smithy/util-retry": "^2.1.3",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
package/dist-cjs/AppRunner.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|