@aws-sdk/client-fms 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 +36 -76
- package/dist-es/protocols/Aws_json1_1.js +1 -40
- package/package.json +17 -17
- package/dist-cjs/FMS.js +0 -1
- package/dist-cjs/FMSClient.js +0 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
- package/dist-cjs/commands/AssociateAdminAccountCommand.js +0 -1
- package/dist-cjs/commands/AssociateThirdPartyFirewallCommand.js +0 -1
- package/dist-cjs/commands/BatchAssociateResourceCommand.js +0 -1
- package/dist-cjs/commands/BatchDisassociateResourceCommand.js +0 -1
- package/dist-cjs/commands/DeleteAppsListCommand.js +0 -1
- package/dist-cjs/commands/DeleteNotificationChannelCommand.js +0 -1
- package/dist-cjs/commands/DeletePolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteProtocolsListCommand.js +0 -1
- package/dist-cjs/commands/DeleteResourceSetCommand.js +0 -1
- package/dist-cjs/commands/DisassociateAdminAccountCommand.js +0 -1
- package/dist-cjs/commands/DisassociateThirdPartyFirewallCommand.js +0 -1
- package/dist-cjs/commands/GetAdminAccountCommand.js +0 -1
- package/dist-cjs/commands/GetAdminScopeCommand.js +0 -1
- package/dist-cjs/commands/GetAppsListCommand.js +0 -1
- package/dist-cjs/commands/GetComplianceDetailCommand.js +0 -1
- package/dist-cjs/commands/GetNotificationChannelCommand.js +0 -1
- package/dist-cjs/commands/GetPolicyCommand.js +0 -1
- package/dist-cjs/commands/GetProtectionStatusCommand.js +0 -1
- package/dist-cjs/commands/GetProtocolsListCommand.js +0 -1
- package/dist-cjs/commands/GetResourceSetCommand.js +0 -1
- package/dist-cjs/commands/GetThirdPartyFirewallAssociationStatusCommand.js +0 -1
- package/dist-cjs/commands/GetViolationDetailsCommand.js +0 -1
- package/dist-cjs/commands/ListAdminAccountsForOrganizationCommand.js +0 -1
- package/dist-cjs/commands/ListAdminsManagingAccountCommand.js +0 -1
- package/dist-cjs/commands/ListAppsListsCommand.js +0 -1
- package/dist-cjs/commands/ListComplianceStatusCommand.js +0 -1
- package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +0 -1
- package/dist-cjs/commands/ListMemberAccountsCommand.js +0 -1
- package/dist-cjs/commands/ListPoliciesCommand.js +0 -1
- package/dist-cjs/commands/ListProtocolsListsCommand.js +0 -1
- package/dist-cjs/commands/ListResourceSetResourcesCommand.js +0 -1
- package/dist-cjs/commands/ListResourceSetsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListThirdPartyFirewallFirewallPoliciesCommand.js +0 -1
- package/dist-cjs/commands/PutAdminAccountCommand.js +0 -1
- package/dist-cjs/commands/PutAppsListCommand.js +0 -1
- package/dist-cjs/commands/PutNotificationChannelCommand.js +0 -1
- package/dist-cjs/commands/PutPolicyCommand.js +0 -1
- package/dist-cjs/commands/PutProtocolsListCommand.js +0 -1
- package/dist-cjs/commands/PutResourceSetCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.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/FMSServiceException.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAdminAccountsForOrganizationPaginator.js +0 -1
- package/dist-cjs/pagination/ListAdminsManagingAccountPaginator.js +0 -1
- package/dist-cjs/pagination/ListAppsListsPaginator.js +0 -1
- package/dist-cjs/pagination/ListComplianceStatusPaginator.js +0 -1
- package/dist-cjs/pagination/ListMemberAccountsPaginator.js +0 -1
- package/dist-cjs/pagination/ListPoliciesPaginator.js +0 -1
- package/dist-cjs/pagination/ListProtocolsListsPaginator.js +0 -1
- package/dist-cjs/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.js +0 -1
- package/dist-cjs/pagination/index.js +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js +0 -1
- package/dist-cjs/runtimeExtensions.js +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -256,6 +256,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
256
256
|
var import_types = require("@smithy/types");
|
|
257
257
|
|
|
258
258
|
// src/protocols/Aws_json1_1.ts
|
|
259
|
+
var import_core2 = require("@aws-sdk/core");
|
|
259
260
|
|
|
260
261
|
|
|
261
262
|
|
|
@@ -783,7 +784,7 @@ var de_AssociateThirdPartyFirewallCommand = /* @__PURE__ */ __name(async (output
|
|
|
783
784
|
if (output.statusCode >= 300) {
|
|
784
785
|
return de_CommandError(output, context);
|
|
785
786
|
}
|
|
786
|
-
const data = await
|
|
787
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
787
788
|
let contents = {};
|
|
788
789
|
contents = (0, import_smithy_client._json)(data);
|
|
789
790
|
const response = {
|
|
@@ -796,7 +797,7 @@ var de_BatchAssociateResourceCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
796
797
|
if (output.statusCode >= 300) {
|
|
797
798
|
return de_CommandError(output, context);
|
|
798
799
|
}
|
|
799
|
-
const data = await
|
|
800
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
800
801
|
let contents = {};
|
|
801
802
|
contents = (0, import_smithy_client._json)(data);
|
|
802
803
|
const response = {
|
|
@@ -809,7 +810,7 @@ var de_BatchDisassociateResourceCommand = /* @__PURE__ */ __name(async (output,
|
|
|
809
810
|
if (output.statusCode >= 300) {
|
|
810
811
|
return de_CommandError(output, context);
|
|
811
812
|
}
|
|
812
|
-
const data = await
|
|
813
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
813
814
|
let contents = {};
|
|
814
815
|
contents = (0, import_smithy_client._json)(data);
|
|
815
816
|
const response = {
|
|
@@ -882,7 +883,7 @@ var de_DisassociateThirdPartyFirewallCommand = /* @__PURE__ */ __name(async (out
|
|
|
882
883
|
if (output.statusCode >= 300) {
|
|
883
884
|
return de_CommandError(output, context);
|
|
884
885
|
}
|
|
885
|
-
const data = await
|
|
886
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
886
887
|
let contents = {};
|
|
887
888
|
contents = (0, import_smithy_client._json)(data);
|
|
888
889
|
const response = {
|
|
@@ -895,7 +896,7 @@ var de_GetAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
895
896
|
if (output.statusCode >= 300) {
|
|
896
897
|
return de_CommandError(output, context);
|
|
897
898
|
}
|
|
898
|
-
const data = await
|
|
899
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
899
900
|
let contents = {};
|
|
900
901
|
contents = (0, import_smithy_client._json)(data);
|
|
901
902
|
const response = {
|
|
@@ -908,7 +909,7 @@ var de_GetAdminScopeCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
908
909
|
if (output.statusCode >= 300) {
|
|
909
910
|
return de_CommandError(output, context);
|
|
910
911
|
}
|
|
911
|
-
const data = await
|
|
912
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
912
913
|
let contents = {};
|
|
913
914
|
contents = (0, import_smithy_client._json)(data);
|
|
914
915
|
const response = {
|
|
@@ -921,7 +922,7 @@ var de_GetAppsListCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
921
922
|
if (output.statusCode >= 300) {
|
|
922
923
|
return de_CommandError(output, context);
|
|
923
924
|
}
|
|
924
|
-
const data = await
|
|
925
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
925
926
|
let contents = {};
|
|
926
927
|
contents = de_GetAppsListResponse(data, context);
|
|
927
928
|
const response = {
|
|
@@ -934,7 +935,7 @@ var de_GetComplianceDetailCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
934
935
|
if (output.statusCode >= 300) {
|
|
935
936
|
return de_CommandError(output, context);
|
|
936
937
|
}
|
|
937
|
-
const data = await
|
|
938
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
938
939
|
let contents = {};
|
|
939
940
|
contents = de_GetComplianceDetailResponse(data, context);
|
|
940
941
|
const response = {
|
|
@@ -947,7 +948,7 @@ var de_GetNotificationChannelCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
947
948
|
if (output.statusCode >= 300) {
|
|
948
949
|
return de_CommandError(output, context);
|
|
949
950
|
}
|
|
950
|
-
const data = await
|
|
951
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
951
952
|
let contents = {};
|
|
952
953
|
contents = (0, import_smithy_client._json)(data);
|
|
953
954
|
const response = {
|
|
@@ -960,7 +961,7 @@ var de_GetPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
960
961
|
if (output.statusCode >= 300) {
|
|
961
962
|
return de_CommandError(output, context);
|
|
962
963
|
}
|
|
963
|
-
const data = await
|
|
964
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
964
965
|
let contents = {};
|
|
965
966
|
contents = (0, import_smithy_client._json)(data);
|
|
966
967
|
const response = {
|
|
@@ -973,7 +974,7 @@ var de_GetProtectionStatusCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
973
974
|
if (output.statusCode >= 300) {
|
|
974
975
|
return de_CommandError(output, context);
|
|
975
976
|
}
|
|
976
|
-
const data = await
|
|
977
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
977
978
|
let contents = {};
|
|
978
979
|
contents = (0, import_smithy_client._json)(data);
|
|
979
980
|
const response = {
|
|
@@ -986,7 +987,7 @@ var de_GetProtocolsListCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
986
987
|
if (output.statusCode >= 300) {
|
|
987
988
|
return de_CommandError(output, context);
|
|
988
989
|
}
|
|
989
|
-
const data = await
|
|
990
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
990
991
|
let contents = {};
|
|
991
992
|
contents = de_GetProtocolsListResponse(data, context);
|
|
992
993
|
const response = {
|
|
@@ -999,7 +1000,7 @@ var de_GetResourceSetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
999
1000
|
if (output.statusCode >= 300) {
|
|
1000
1001
|
return de_CommandError(output, context);
|
|
1001
1002
|
}
|
|
1002
|
-
const data = await
|
|
1003
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1003
1004
|
let contents = {};
|
|
1004
1005
|
contents = de_GetResourceSetResponse(data, context);
|
|
1005
1006
|
const response = {
|
|
@@ -1012,7 +1013,7 @@ var de_GetThirdPartyFirewallAssociationStatusCommand = /* @__PURE__ */ __name(as
|
|
|
1012
1013
|
if (output.statusCode >= 300) {
|
|
1013
1014
|
return de_CommandError(output, context);
|
|
1014
1015
|
}
|
|
1015
|
-
const data = await
|
|
1016
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1016
1017
|
let contents = {};
|
|
1017
1018
|
contents = (0, import_smithy_client._json)(data);
|
|
1018
1019
|
const response = {
|
|
@@ -1025,7 +1026,7 @@ var de_GetViolationDetailsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1025
1026
|
if (output.statusCode >= 300) {
|
|
1026
1027
|
return de_CommandError(output, context);
|
|
1027
1028
|
}
|
|
1028
|
-
const data = await
|
|
1029
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1029
1030
|
let contents = {};
|
|
1030
1031
|
contents = de_GetViolationDetailsResponse(data, context);
|
|
1031
1032
|
const response = {
|
|
@@ -1038,7 +1039,7 @@ var de_ListAdminAccountsForOrganizationCommand = /* @__PURE__ */ __name(async (o
|
|
|
1038
1039
|
if (output.statusCode >= 300) {
|
|
1039
1040
|
return de_CommandError(output, context);
|
|
1040
1041
|
}
|
|
1041
|
-
const data = await
|
|
1042
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1042
1043
|
let contents = {};
|
|
1043
1044
|
contents = (0, import_smithy_client._json)(data);
|
|
1044
1045
|
const response = {
|
|
@@ -1051,7 +1052,7 @@ var de_ListAdminsManagingAccountCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1051
1052
|
if (output.statusCode >= 300) {
|
|
1052
1053
|
return de_CommandError(output, context);
|
|
1053
1054
|
}
|
|
1054
|
-
const data = await
|
|
1055
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1055
1056
|
let contents = {};
|
|
1056
1057
|
contents = (0, import_smithy_client._json)(data);
|
|
1057
1058
|
const response = {
|
|
@@ -1064,7 +1065,7 @@ var de_ListAppsListsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1064
1065
|
if (output.statusCode >= 300) {
|
|
1065
1066
|
return de_CommandError(output, context);
|
|
1066
1067
|
}
|
|
1067
|
-
const data = await
|
|
1068
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1068
1069
|
let contents = {};
|
|
1069
1070
|
contents = (0, import_smithy_client._json)(data);
|
|
1070
1071
|
const response = {
|
|
@@ -1077,7 +1078,7 @@ var de_ListComplianceStatusCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1077
1078
|
if (output.statusCode >= 300) {
|
|
1078
1079
|
return de_CommandError(output, context);
|
|
1079
1080
|
}
|
|
1080
|
-
const data = await
|
|
1081
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1081
1082
|
let contents = {};
|
|
1082
1083
|
contents = de_ListComplianceStatusResponse(data, context);
|
|
1083
1084
|
const response = {
|
|
@@ -1090,7 +1091,7 @@ var de_ListDiscoveredResourcesCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1090
1091
|
if (output.statusCode >= 300) {
|
|
1091
1092
|
return de_CommandError(output, context);
|
|
1092
1093
|
}
|
|
1093
|
-
const data = await
|
|
1094
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1094
1095
|
let contents = {};
|
|
1095
1096
|
contents = (0, import_smithy_client._json)(data);
|
|
1096
1097
|
const response = {
|
|
@@ -1103,7 +1104,7 @@ var de_ListMemberAccountsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1103
1104
|
if (output.statusCode >= 300) {
|
|
1104
1105
|
return de_CommandError(output, context);
|
|
1105
1106
|
}
|
|
1106
|
-
const data = await
|
|
1107
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1107
1108
|
let contents = {};
|
|
1108
1109
|
contents = (0, import_smithy_client._json)(data);
|
|
1109
1110
|
const response = {
|
|
@@ -1116,7 +1117,7 @@ var de_ListPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1116
1117
|
if (output.statusCode >= 300) {
|
|
1117
1118
|
return de_CommandError(output, context);
|
|
1118
1119
|
}
|
|
1119
|
-
const data = await
|
|
1120
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1120
1121
|
let contents = {};
|
|
1121
1122
|
contents = (0, import_smithy_client._json)(data);
|
|
1122
1123
|
const response = {
|
|
@@ -1129,7 +1130,7 @@ var de_ListProtocolsListsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1129
1130
|
if (output.statusCode >= 300) {
|
|
1130
1131
|
return de_CommandError(output, context);
|
|
1131
1132
|
}
|
|
1132
|
-
const data = await
|
|
1133
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1133
1134
|
let contents = {};
|
|
1134
1135
|
contents = (0, import_smithy_client._json)(data);
|
|
1135
1136
|
const response = {
|
|
@@ -1142,7 +1143,7 @@ var de_ListResourceSetResourcesCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1142
1143
|
if (output.statusCode >= 300) {
|
|
1143
1144
|
return de_CommandError(output, context);
|
|
1144
1145
|
}
|
|
1145
|
-
const data = await
|
|
1146
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1146
1147
|
let contents = {};
|
|
1147
1148
|
contents = (0, import_smithy_client._json)(data);
|
|
1148
1149
|
const response = {
|
|
@@ -1155,7 +1156,7 @@ var de_ListResourceSetsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1155
1156
|
if (output.statusCode >= 300) {
|
|
1156
1157
|
return de_CommandError(output, context);
|
|
1157
1158
|
}
|
|
1158
|
-
const data = await
|
|
1159
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1159
1160
|
let contents = {};
|
|
1160
1161
|
contents = de_ListResourceSetsResponse(data, context);
|
|
1161
1162
|
const response = {
|
|
@@ -1168,7 +1169,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1168
1169
|
if (output.statusCode >= 300) {
|
|
1169
1170
|
return de_CommandError(output, context);
|
|
1170
1171
|
}
|
|
1171
|
-
const data = await
|
|
1172
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1172
1173
|
let contents = {};
|
|
1173
1174
|
contents = (0, import_smithy_client._json)(data);
|
|
1174
1175
|
const response = {
|
|
@@ -1181,7 +1182,7 @@ var de_ListThirdPartyFirewallFirewallPoliciesCommand = /* @__PURE__ */ __name(as
|
|
|
1181
1182
|
if (output.statusCode >= 300) {
|
|
1182
1183
|
return de_CommandError(output, context);
|
|
1183
1184
|
}
|
|
1184
|
-
const data = await
|
|
1185
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1185
1186
|
let contents = {};
|
|
1186
1187
|
contents = (0, import_smithy_client._json)(data);
|
|
1187
1188
|
const response = {
|
|
@@ -1204,7 +1205,7 @@ var de_PutAppsListCommand = /* @__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 = de_PutAppsListResponse(data, context);
|
|
1210
1211
|
const response = {
|
|
@@ -1227,7 +1228,7 @@ var de_PutPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1227
1228
|
if (output.statusCode >= 300) {
|
|
1228
1229
|
return de_CommandError(output, context);
|
|
1229
1230
|
}
|
|
1230
|
-
const data = await
|
|
1231
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1231
1232
|
let contents = {};
|
|
1232
1233
|
contents = (0, import_smithy_client._json)(data);
|
|
1233
1234
|
const response = {
|
|
@@ -1240,7 +1241,7 @@ var de_PutProtocolsListCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1240
1241
|
if (output.statusCode >= 300) {
|
|
1241
1242
|
return de_CommandError(output, context);
|
|
1242
1243
|
}
|
|
1243
|
-
const data = await
|
|
1244
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1244
1245
|
let contents = {};
|
|
1245
1246
|
contents = de_PutProtocolsListResponse(data, context);
|
|
1246
1247
|
const response = {
|
|
@@ -1253,7 +1254,7 @@ var de_PutResourceSetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1253
1254
|
if (output.statusCode >= 300) {
|
|
1254
1255
|
return de_CommandError(output, context);
|
|
1255
1256
|
}
|
|
1256
|
-
const data = await
|
|
1257
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1257
1258
|
let contents = {};
|
|
1258
1259
|
contents = de_PutResourceSetResponse(data, context);
|
|
1259
1260
|
const response = {
|
|
@@ -1266,7 +1267,7 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1266
1267
|
if (output.statusCode >= 300) {
|
|
1267
1268
|
return de_CommandError(output, context);
|
|
1268
1269
|
}
|
|
1269
|
-
const data = await
|
|
1270
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1270
1271
|
let contents = {};
|
|
1271
1272
|
contents = (0, import_smithy_client._json)(data);
|
|
1272
1273
|
const response = {
|
|
@@ -1279,7 +1280,7 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1279
1280
|
if (output.statusCode >= 300) {
|
|
1280
1281
|
return de_CommandError(output, context);
|
|
1281
1282
|
}
|
|
1282
|
-
const data = await
|
|
1283
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1283
1284
|
let contents = {};
|
|
1284
1285
|
contents = (0, import_smithy_client._json)(data);
|
|
1285
1286
|
const response = {
|
|
@@ -1291,9 +1292,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1291
1292
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1292
1293
|
const parsedOutput = {
|
|
1293
1294
|
...output,
|
|
1294
|
-
body: await
|
|
1295
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1295
1296
|
};
|
|
1296
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1297
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1297
1298
|
switch (errorCode) {
|
|
1298
1299
|
case "InternalErrorException":
|
|
1299
1300
|
case "com.amazonaws.fms#InternalErrorException":
|
|
@@ -1588,7 +1589,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1588
1589
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1589
1590
|
cfId: output.headers["x-amz-cf-id"]
|
|
1590
1591
|
}), "deserializeMetadata");
|
|
1591
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1592
1592
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(FMSServiceException);
|
|
1593
1593
|
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1594
1594
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -1615,46 +1615,6 @@ function sharedHeaders(operation) {
|
|
|
1615
1615
|
};
|
|
1616
1616
|
}
|
|
1617
1617
|
__name(sharedHeaders, "sharedHeaders");
|
|
1618
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1619
|
-
if (encoded.length) {
|
|
1620
|
-
return JSON.parse(encoded);
|
|
1621
|
-
}
|
|
1622
|
-
return {};
|
|
1623
|
-
}), "parseBody");
|
|
1624
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1625
|
-
const value = await parseBody(errorBody, context);
|
|
1626
|
-
value.message = value.message ?? value.Message;
|
|
1627
|
-
return value;
|
|
1628
|
-
}, "parseErrorBody");
|
|
1629
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1630
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1631
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1632
|
-
let cleanValue = rawValue;
|
|
1633
|
-
if (typeof cleanValue === "number") {
|
|
1634
|
-
cleanValue = cleanValue.toString();
|
|
1635
|
-
}
|
|
1636
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1637
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1638
|
-
}
|
|
1639
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1640
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1641
|
-
}
|
|
1642
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1643
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1644
|
-
}
|
|
1645
|
-
return cleanValue;
|
|
1646
|
-
}, "sanitizeErrorCode");
|
|
1647
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1648
|
-
if (headerKey !== void 0) {
|
|
1649
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1650
|
-
}
|
|
1651
|
-
if (data.code !== void 0) {
|
|
1652
|
-
return sanitizeErrorCode(data.code);
|
|
1653
|
-
}
|
|
1654
|
-
if (data["__type"] !== void 0) {
|
|
1655
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1656
|
-
}
|
|
1657
|
-
}, "loadRestJsonErrorCode");
|
|
1658
1618
|
|
|
1659
1619
|
// src/commands/AssociateAdminAccountCommand.ts
|
|
1660
1620
|
var _AssociateAdminAccountCommand = class _AssociateAdminAccountCommand 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, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { FMSServiceException as __BaseException } from "../models/FMSServiceException";
|
|
@@ -1103,43 +1104,3 @@ function sharedHeaders(operation) {
|
|
|
1103
1104
|
"x-amz-target": `AWSFMS_20180101.${operation}`,
|
|
1104
1105
|
};
|
|
1105
1106
|
}
|
|
1106
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1107
|
-
if (encoded.length) {
|
|
1108
|
-
return JSON.parse(encoded);
|
|
1109
|
-
}
|
|
1110
|
-
return {};
|
|
1111
|
-
});
|
|
1112
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
1113
|
-
const value = await parseBody(errorBody, context);
|
|
1114
|
-
value.message = value.message ?? value.Message;
|
|
1115
|
-
return value;
|
|
1116
|
-
};
|
|
1117
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
1118
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1119
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
1120
|
-
let cleanValue = rawValue;
|
|
1121
|
-
if (typeof cleanValue === "number") {
|
|
1122
|
-
cleanValue = cleanValue.toString();
|
|
1123
|
-
}
|
|
1124
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1125
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1126
|
-
}
|
|
1127
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1128
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1129
|
-
}
|
|
1130
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1131
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1132
|
-
}
|
|
1133
|
-
return cleanValue;
|
|
1134
|
-
};
|
|
1135
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1136
|
-
if (headerKey !== undefined) {
|
|
1137
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1138
|
-
}
|
|
1139
|
-
if (data.code !== undefined) {
|
|
1140
|
-
return sanitizeErrorCode(data.code);
|
|
1141
|
-
}
|
|
1142
|
-
if (data["__type"] !== undefined) {
|
|
1143
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1144
|
-
}
|
|
1145
|
-
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-fms",
|
|
3
3
|
"description": "AWS SDK for JavaScript Fms 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-fms",
|
|
@@ -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/FMS.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
package/dist-cjs/FMSClient.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");
|
|
@@ -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");
|