@aws-sdk/client-securityhub 3.454.0 → 3.459.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.
Files changed (109) hide show
  1. package/README.md +163 -67
  2. package/dist-cjs/SecurityHub.js +24 -0
  3. package/dist-cjs/commands/BatchGetConfigurationPolicyAssociationsCommand.js +51 -0
  4. package/dist-cjs/commands/CreateConfigurationPolicyCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteConfigurationPolicyCommand.js +51 -0
  6. package/dist-cjs/commands/GetConfigurationPolicyAssociationCommand.js +51 -0
  7. package/dist-cjs/commands/GetConfigurationPolicyCommand.js +51 -0
  8. package/dist-cjs/commands/GetSecurityControlDefinitionCommand.js +51 -0
  9. package/dist-cjs/commands/ListConfigurationPoliciesCommand.js +51 -0
  10. package/dist-cjs/commands/ListConfigurationPolicyAssociationsCommand.js +51 -0
  11. package/dist-cjs/commands/StartConfigurationPolicyAssociationCommand.js +51 -0
  12. package/dist-cjs/commands/StartConfigurationPolicyDisassociationCommand.js +51 -0
  13. package/dist-cjs/commands/UpdateConfigurationPolicyCommand.js +51 -0
  14. package/dist-cjs/commands/UpdateSecurityControlCommand.js +51 -0
  15. package/dist-cjs/commands/index.js +12 -0
  16. package/dist-cjs/models/models_0.js +10 -1
  17. package/dist-cjs/models/models_2.js +104 -1
  18. package/dist-cjs/pagination/ListConfigurationPoliciesPaginator.js +29 -0
  19. package/dist-cjs/pagination/ListConfigurationPolicyAssociationsPaginator.js +29 -0
  20. package/dist-cjs/pagination/index.js +2 -0
  21. package/dist-cjs/protocols/Aws_restJson1.js +1283 -31
  22. package/dist-es/SecurityHub.js +24 -0
  23. package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +47 -0
  24. package/dist-es/commands/CreateConfigurationPolicyCommand.js +47 -0
  25. package/dist-es/commands/DeleteConfigurationPolicyCommand.js +47 -0
  26. package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +47 -0
  27. package/dist-es/commands/GetConfigurationPolicyCommand.js +47 -0
  28. package/dist-es/commands/GetSecurityControlDefinitionCommand.js +47 -0
  29. package/dist-es/commands/ListConfigurationPoliciesCommand.js +47 -0
  30. package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +47 -0
  31. package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +47 -0
  32. package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +47 -0
  33. package/dist-es/commands/UpdateConfigurationPolicyCommand.js +47 -0
  34. package/dist-es/commands/UpdateSecurityControlCommand.js +47 -0
  35. package/dist-es/commands/index.js +12 -0
  36. package/dist-es/models/models_0.js +9 -0
  37. package/dist-es/models/models_2.js +102 -0
  38. package/dist-es/pagination/ListConfigurationPoliciesPaginator.js +25 -0
  39. package/dist-es/pagination/ListConfigurationPolicyAssociationsPaginator.js +25 -0
  40. package/dist-es/pagination/index.js +2 -0
  41. package/dist-es/protocols/Aws_restJson1.js +1258 -31
  42. package/dist-types/SecurityHub.d.ts +84 -0
  43. package/dist-types/SecurityHubClient.d.ts +14 -2
  44. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +3 -0
  45. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +3 -0
  46. package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +7 -0
  47. package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +128 -0
  48. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +45 -2
  49. package/dist-types/commands/BatchImportFindingsCommand.d.ts +13 -3
  50. package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +7 -0
  51. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +3 -0
  52. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +7 -0
  53. package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +189 -0
  54. package/dist-types/commands/CreateInsightCommand.d.ts +17 -0
  55. package/dist-types/commands/CreateMembersCommand.d.ts +3 -0
  56. package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +98 -0
  57. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +7 -2
  58. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
  59. package/dist-types/commands/DisableSecurityHubCommand.d.ts +3 -0
  60. package/dist-types/commands/DisassociateMembersCommand.d.ts +3 -0
  61. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
  62. package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +107 -0
  63. package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +143 -0
  64. package/dist-types/commands/GetFindingsCommand.d.ts +30 -3
  65. package/dist-types/commands/GetInsightsCommand.d.ts +17 -0
  66. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +193 -0
  67. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +104 -0
  68. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +110 -0
  69. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +65 -0
  70. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +108 -0
  71. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +102 -0
  72. package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +191 -0
  73. package/dist-types/commands/UpdateFindingsCommand.d.ts +17 -0
  74. package/dist-types/commands/UpdateInsightCommand.d.ts +17 -0
  75. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +16 -2
  76. package/dist-types/commands/UpdateSecurityControlCommand.d.ts +141 -0
  77. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +3 -0
  78. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +3 -0
  79. package/dist-types/commands/index.d.ts +12 -0
  80. package/dist-types/models/models_0.d.ts +101 -193
  81. package/dist-types/models/models_1.d.ts +221 -86
  82. package/dist-types/models/models_2.d.ts +2377 -394
  83. package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +7 -0
  84. package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +7 -0
  85. package/dist-types/pagination/index.d.ts +2 -0
  86. package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
  87. package/dist-types/ts3.4/SecurityHub.d.ts +234 -0
  88. package/dist-types/ts3.4/SecurityHubClient.d.ts +72 -0
  89. package/dist-types/ts3.4/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +42 -0
  90. package/dist-types/ts3.4/commands/CreateConfigurationPolicyCommand.d.ts +42 -0
  91. package/dist-types/ts3.4/commands/DeleteConfigurationPolicyCommand.d.ts +42 -0
  92. package/dist-types/ts3.4/commands/GetConfigurationPolicyAssociationCommand.d.ts +42 -0
  93. package/dist-types/ts3.4/commands/GetConfigurationPolicyCommand.d.ts +42 -0
  94. package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +42 -0
  95. package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +42 -0
  96. package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +42 -0
  97. package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +42 -0
  98. package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +42 -0
  99. package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +42 -0
  100. package/dist-types/ts3.4/commands/UpdateSecurityControlCommand.d.ts +42 -0
  101. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  102. package/dist-types/ts3.4/models/models_0.d.ts +23 -26
  103. package/dist-types/ts3.4/models/models_1.d.ts +37 -15
  104. package/dist-types/ts3.4/models/models_2.d.ts +602 -17
  105. package/dist-types/ts3.4/pagination/ListConfigurationPoliciesPaginator.d.ts +11 -0
  106. package/dist-types/ts3.4/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +11 -0
  107. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  108. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
  109. package/package.json +3 -3
@@ -1,7 +1,8 @@
1
+ import { awsExpectUnion as __expectUnion } 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, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
4
  import { AccessDeniedException, InternalException, InvalidAccessException, InvalidInputException, LimitExceededException, ResourceNotFoundException, } from "../models/models_0";
4
- import { ResourceConflictException, } from "../models/models_2";
5
+ import { ParameterValue, Policy, ResourceConflictException, ResourceInUseException, } from "../models/models_2";
5
6
  import { SecurityHubServiceException as __BaseException } from "../models/SecurityHubServiceException";
6
7
  export const se_AcceptAdministratorInvitationCommand = async (input, context) => {
7
8
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -125,6 +126,26 @@ export const se_BatchGetAutomationRulesCommand = async (input, context) => {
125
126
  body,
126
127
  });
127
128
  };
129
+ export const se_BatchGetConfigurationPolicyAssociationsCommand = async (input, context) => {
130
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
131
+ const headers = {
132
+ "content-type": "application/json",
133
+ };
134
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configurationPolicyAssociation/batchget";
135
+ let body;
136
+ body = JSON.stringify(take(input, {
137
+ ConfigurationPolicyAssociationIdentifiers: (_) => _json(_),
138
+ }));
139
+ return new __HttpRequest({
140
+ protocol,
141
+ hostname,
142
+ port,
143
+ method: "POST",
144
+ headers,
145
+ path: resolvedPath,
146
+ body,
147
+ });
148
+ };
128
149
  export const se_BatchGetSecurityControlsCommand = async (input, context) => {
129
150
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
130
151
  const headers = {
@@ -303,6 +324,29 @@ export const se_CreateAutomationRuleCommand = async (input, context) => {
303
324
  body,
304
325
  });
305
326
  };
327
+ export const se_CreateConfigurationPolicyCommand = async (input, context) => {
328
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
329
+ const headers = {
330
+ "content-type": "application/json",
331
+ };
332
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configurationPolicy/create";
333
+ let body;
334
+ body = JSON.stringify(take(input, {
335
+ ConfigurationPolicy: (_) => se_Policy(_, context),
336
+ Description: [],
337
+ Name: [],
338
+ Tags: (_) => _json(_),
339
+ }));
340
+ return new __HttpRequest({
341
+ protocol,
342
+ hostname,
343
+ port,
344
+ method: "POST",
345
+ headers,
346
+ path: resolvedPath,
347
+ body,
348
+ });
349
+ };
306
350
  export const se_CreateFindingAggregatorCommand = async (input, context) => {
307
351
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
308
352
  const headers = {
@@ -402,6 +446,22 @@ export const se_DeleteActionTargetCommand = async (input, context) => {
402
446
  body,
403
447
  });
404
448
  };
449
+ export const se_DeleteConfigurationPolicyCommand = async (input, context) => {
450
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
451
+ const headers = {};
452
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configurationPolicy/{Identifier}";
453
+ resolvedPath = __resolvedPath(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
454
+ let body;
455
+ return new __HttpRequest({
456
+ protocol,
457
+ hostname,
458
+ port,
459
+ method: "DELETE",
460
+ headers,
461
+ path: resolvedPath,
462
+ body,
463
+ });
464
+ };
405
465
  export const se_DeleteFindingAggregatorCommand = async (input, context) => {
406
466
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
407
467
  const headers = {};
@@ -788,6 +848,42 @@ export const se_GetAdministratorAccountCommand = async (input, context) => {
788
848
  body,
789
849
  });
790
850
  };
851
+ export const se_GetConfigurationPolicyCommand = async (input, context) => {
852
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
853
+ const headers = {};
854
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configurationPolicy/get/{Identifier}";
855
+ resolvedPath = __resolvedPath(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
856
+ let body;
857
+ return new __HttpRequest({
858
+ protocol,
859
+ hostname,
860
+ port,
861
+ method: "GET",
862
+ headers,
863
+ path: resolvedPath,
864
+ body,
865
+ });
866
+ };
867
+ export const se_GetConfigurationPolicyAssociationCommand = async (input, context) => {
868
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
869
+ const headers = {
870
+ "content-type": "application/json",
871
+ };
872
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configurationPolicyAssociation/get";
873
+ let body;
874
+ body = JSON.stringify(take(input, {
875
+ Target: (_) => _json(_),
876
+ }));
877
+ return new __HttpRequest({
878
+ protocol,
879
+ hostname,
880
+ port,
881
+ method: "POST",
882
+ headers,
883
+ path: resolvedPath,
884
+ body,
885
+ });
886
+ };
791
887
  export const se_GetEnabledStandardsCommand = async (input, context) => {
792
888
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
793
889
  const headers = {
@@ -968,6 +1064,25 @@ export const se_GetMembersCommand = async (input, context) => {
968
1064
  body,
969
1065
  });
970
1066
  };
1067
+ export const se_GetSecurityControlDefinitionCommand = async (input, context) => {
1068
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1069
+ const headers = {};
1070
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/securityControl/definition";
1071
+ const query = map({
1072
+ SecurityControlId: [, __expectNonNull(input.SecurityControlId, `SecurityControlId`)],
1073
+ });
1074
+ let body;
1075
+ return new __HttpRequest({
1076
+ protocol,
1077
+ hostname,
1078
+ port,
1079
+ method: "GET",
1080
+ headers,
1081
+ path: resolvedPath,
1082
+ query,
1083
+ body,
1084
+ });
1085
+ };
971
1086
  export const se_InviteMembersCommand = async (input, context) => {
972
1087
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
973
1088
  const headers = {
@@ -1008,6 +1123,48 @@ export const se_ListAutomationRulesCommand = async (input, context) => {
1008
1123
  body,
1009
1124
  });
1010
1125
  };
1126
+ export const se_ListConfigurationPoliciesCommand = async (input, context) => {
1127
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1128
+ const headers = {};
1129
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configurationPolicy/list";
1130
+ const query = map({
1131
+ NextToken: [, input.NextToken],
1132
+ MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1133
+ });
1134
+ let body;
1135
+ return new __HttpRequest({
1136
+ protocol,
1137
+ hostname,
1138
+ port,
1139
+ method: "GET",
1140
+ headers,
1141
+ path: resolvedPath,
1142
+ query,
1143
+ body,
1144
+ });
1145
+ };
1146
+ export const se_ListConfigurationPolicyAssociationsCommand = async (input, context) => {
1147
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1148
+ const headers = {
1149
+ "content-type": "application/json",
1150
+ };
1151
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configurationPolicyAssociation/list";
1152
+ let body;
1153
+ body = JSON.stringify(take(input, {
1154
+ Filters: (_) => _json(_),
1155
+ MaxResults: [],
1156
+ NextToken: [],
1157
+ }));
1158
+ return new __HttpRequest({
1159
+ protocol,
1160
+ hostname,
1161
+ port,
1162
+ method: "POST",
1163
+ headers,
1164
+ path: resolvedPath,
1165
+ body,
1166
+ });
1167
+ };
1011
1168
  export const se_ListEnabledProductsForImportCommand = async (input, context) => {
1012
1169
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1013
1170
  const headers = {};
@@ -1167,6 +1324,49 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
1167
1324
  body,
1168
1325
  });
1169
1326
  };
1327
+ export const se_StartConfigurationPolicyAssociationCommand = async (input, context) => {
1328
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1329
+ const headers = {
1330
+ "content-type": "application/json",
1331
+ };
1332
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configurationPolicyAssociation/associate";
1333
+ let body;
1334
+ body = JSON.stringify(take(input, {
1335
+ ConfigurationPolicyIdentifier: [],
1336
+ Target: (_) => _json(_),
1337
+ }));
1338
+ return new __HttpRequest({
1339
+ protocol,
1340
+ hostname,
1341
+ port,
1342
+ method: "POST",
1343
+ headers,
1344
+ path: resolvedPath,
1345
+ body,
1346
+ });
1347
+ };
1348
+ export const se_StartConfigurationPolicyDisassociationCommand = async (input, context) => {
1349
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1350
+ const headers = {
1351
+ "content-type": "application/json",
1352
+ };
1353
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1354
+ "/configurationPolicyAssociation/disassociate";
1355
+ let body;
1356
+ body = JSON.stringify(take(input, {
1357
+ ConfigurationPolicyIdentifier: [],
1358
+ Target: (_) => _json(_),
1359
+ }));
1360
+ return new __HttpRequest({
1361
+ protocol,
1362
+ hostname,
1363
+ port,
1364
+ method: "POST",
1365
+ headers,
1366
+ path: resolvedPath,
1367
+ body,
1368
+ });
1369
+ };
1170
1370
  export const se_TagResourceCommand = async (input, context) => {
1171
1371
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1172
1372
  const headers = {
@@ -1233,6 +1433,30 @@ export const se_UpdateActionTargetCommand = async (input, context) => {
1233
1433
  body,
1234
1434
  });
1235
1435
  };
1436
+ export const se_UpdateConfigurationPolicyCommand = async (input, context) => {
1437
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1438
+ const headers = {
1439
+ "content-type": "application/json",
1440
+ };
1441
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configurationPolicy/{Identifier}";
1442
+ resolvedPath = __resolvedPath(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
1443
+ let body;
1444
+ body = JSON.stringify(take(input, {
1445
+ ConfigurationPolicy: (_) => se_Policy(_, context),
1446
+ Description: [],
1447
+ Name: [],
1448
+ UpdatedReason: [],
1449
+ }));
1450
+ return new __HttpRequest({
1451
+ protocol,
1452
+ hostname,
1453
+ port,
1454
+ method: "PATCH",
1455
+ headers,
1456
+ path: resolvedPath,
1457
+ body,
1458
+ });
1459
+ };
1236
1460
  export const se_UpdateFindingAggregatorCommand = async (input, context) => {
1237
1461
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1238
1462
  const headers = {
@@ -1310,6 +1534,7 @@ export const se_UpdateOrganizationConfigurationCommand = async (input, context)
1310
1534
  body = JSON.stringify(take(input, {
1311
1535
  AutoEnable: [],
1312
1536
  AutoEnableStandards: [],
1537
+ OrganizationConfiguration: (_) => _json(_),
1313
1538
  }));
1314
1539
  return new __HttpRequest({
1315
1540
  protocol,
@@ -1321,6 +1546,28 @@ export const se_UpdateOrganizationConfigurationCommand = async (input, context)
1321
1546
  body,
1322
1547
  });
1323
1548
  };
1549
+ export const se_UpdateSecurityControlCommand = async (input, context) => {
1550
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1551
+ const headers = {
1552
+ "content-type": "application/json",
1553
+ };
1554
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/securityControl/update";
1555
+ let body;
1556
+ body = JSON.stringify(take(input, {
1557
+ LastUpdateReason: [],
1558
+ Parameters: (_) => se_Parameters(_, context),
1559
+ SecurityControlId: [],
1560
+ }));
1561
+ return new __HttpRequest({
1562
+ protocol,
1563
+ hostname,
1564
+ port,
1565
+ method: "PATCH",
1566
+ headers,
1567
+ path: resolvedPath,
1568
+ body,
1569
+ });
1570
+ };
1324
1571
  export const se_UpdateSecurityHubConfigurationCommand = async (input, context) => {
1325
1572
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1326
1573
  const headers = {
@@ -1513,6 +1760,9 @@ const de_BatchDisableStandardsCommandError = async (output, context) => {
1513
1760
  };
1514
1761
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1515
1762
  switch (errorCode) {
1763
+ case "AccessDeniedException":
1764
+ case "com.amazonaws.securityhub#AccessDeniedException":
1765
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1516
1766
  case "InternalException":
1517
1767
  case "com.amazonaws.securityhub#InternalException":
1518
1768
  throw await de_InternalExceptionRes(parsedOutput, context);
@@ -1555,6 +1805,9 @@ const de_BatchEnableStandardsCommandError = async (output, context) => {
1555
1805
  };
1556
1806
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1557
1807
  switch (errorCode) {
1808
+ case "AccessDeniedException":
1809
+ case "com.amazonaws.securityhub#AccessDeniedException":
1810
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1558
1811
  case "InternalException":
1559
1812
  case "com.amazonaws.securityhub#InternalException":
1560
1813
  throw await de_InternalExceptionRes(parsedOutput, context);
@@ -1625,6 +1878,55 @@ const de_BatchGetAutomationRulesCommandError = async (output, context) => {
1625
1878
  });
1626
1879
  }
1627
1880
  };
1881
+ export const de_BatchGetConfigurationPolicyAssociationsCommand = async (output, context) => {
1882
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1883
+ return de_BatchGetConfigurationPolicyAssociationsCommandError(output, context);
1884
+ }
1885
+ const contents = map({
1886
+ $metadata: deserializeMetadata(output),
1887
+ });
1888
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1889
+ const doc = take(data, {
1890
+ ConfigurationPolicyAssociations: (_) => de_ConfigurationPolicyAssociationList(_, context),
1891
+ UnprocessedConfigurationPolicyAssociations: _json,
1892
+ });
1893
+ Object.assign(contents, doc);
1894
+ return contents;
1895
+ };
1896
+ const de_BatchGetConfigurationPolicyAssociationsCommandError = async (output, context) => {
1897
+ const parsedOutput = {
1898
+ ...output,
1899
+ body: await parseErrorBody(output.body, context),
1900
+ };
1901
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1902
+ switch (errorCode) {
1903
+ case "AccessDeniedException":
1904
+ case "com.amazonaws.securityhub#AccessDeniedException":
1905
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1906
+ case "InternalException":
1907
+ case "com.amazonaws.securityhub#InternalException":
1908
+ throw await de_InternalExceptionRes(parsedOutput, context);
1909
+ case "InvalidAccessException":
1910
+ case "com.amazonaws.securityhub#InvalidAccessException":
1911
+ throw await de_InvalidAccessExceptionRes(parsedOutput, context);
1912
+ case "InvalidInputException":
1913
+ case "com.amazonaws.securityhub#InvalidInputException":
1914
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1915
+ case "LimitExceededException":
1916
+ case "com.amazonaws.securityhub#LimitExceededException":
1917
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1918
+ case "ResourceNotFoundException":
1919
+ case "com.amazonaws.securityhub#ResourceNotFoundException":
1920
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1921
+ default:
1922
+ const parsedBody = parsedOutput.body;
1923
+ return throwDefaultError({
1924
+ output,
1925
+ parsedBody,
1926
+ errorCode,
1927
+ });
1928
+ }
1929
+ };
1628
1930
  export const de_BatchGetSecurityControlsCommand = async (output, context) => {
1629
1931
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1630
1932
  return de_BatchGetSecurityControlsCommandError(output, context);
@@ -1634,7 +1936,7 @@ export const de_BatchGetSecurityControlsCommand = async (output, context) => {
1634
1936
  });
1635
1937
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1636
1938
  const doc = take(data, {
1637
- SecurityControls: _json,
1939
+ SecurityControls: (_) => de_SecurityControls(_, context),
1638
1940
  UnprocessedIds: _json,
1639
1941
  });
1640
1942
  Object.assign(contents, doc);
@@ -1865,8 +2167,11 @@ const de_BatchUpdateStandardsControlAssociationsCommandError = async (output, co
1865
2167
  };
1866
2168
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1867
2169
  switch (errorCode) {
1868
- case "InternalException":
1869
- case "com.amazonaws.securityhub#InternalException":
2170
+ case "AccessDeniedException":
2171
+ case "com.amazonaws.securityhub#AccessDeniedException":
2172
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2173
+ case "InternalException":
2174
+ case "com.amazonaws.securityhub#InternalException":
1870
2175
  throw await de_InternalExceptionRes(parsedOutput, context);
1871
2176
  case "InvalidAccessException":
1872
2177
  case "com.amazonaws.securityhub#InvalidAccessException":
@@ -1976,6 +2281,60 @@ const de_CreateAutomationRuleCommandError = async (output, context) => {
1976
2281
  });
1977
2282
  }
1978
2283
  };
2284
+ export const de_CreateConfigurationPolicyCommand = async (output, context) => {
2285
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2286
+ return de_CreateConfigurationPolicyCommandError(output, context);
2287
+ }
2288
+ const contents = map({
2289
+ $metadata: deserializeMetadata(output),
2290
+ });
2291
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2292
+ const doc = take(data, {
2293
+ Arn: __expectString,
2294
+ ConfigurationPolicy: (_) => de_Policy(__expectUnion(_), context),
2295
+ CreatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2296
+ Description: __expectString,
2297
+ Id: __expectString,
2298
+ Name: __expectString,
2299
+ UpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2300
+ });
2301
+ Object.assign(contents, doc);
2302
+ return contents;
2303
+ };
2304
+ const de_CreateConfigurationPolicyCommandError = async (output, context) => {
2305
+ const parsedOutput = {
2306
+ ...output,
2307
+ body: await parseErrorBody(output.body, context),
2308
+ };
2309
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2310
+ switch (errorCode) {
2311
+ case "AccessDeniedException":
2312
+ case "com.amazonaws.securityhub#AccessDeniedException":
2313
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2314
+ case "InternalException":
2315
+ case "com.amazonaws.securityhub#InternalException":
2316
+ throw await de_InternalExceptionRes(parsedOutput, context);
2317
+ case "InvalidAccessException":
2318
+ case "com.amazonaws.securityhub#InvalidAccessException":
2319
+ throw await de_InvalidAccessExceptionRes(parsedOutput, context);
2320
+ case "InvalidInputException":
2321
+ case "com.amazonaws.securityhub#InvalidInputException":
2322
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2323
+ case "LimitExceededException":
2324
+ case "com.amazonaws.securityhub#LimitExceededException":
2325
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2326
+ case "ResourceConflictException":
2327
+ case "com.amazonaws.securityhub#ResourceConflictException":
2328
+ throw await de_ResourceConflictExceptionRes(parsedOutput, context);
2329
+ default:
2330
+ const parsedBody = parsedOutput.body;
2331
+ return throwDefaultError({
2332
+ output,
2333
+ parsedBody,
2334
+ errorCode,
2335
+ });
2336
+ }
2337
+ };
1979
2338
  export const de_CreateFindingAggregatorCommand = async (output, context) => {
1980
2339
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1981
2340
  return de_CreateFindingAggregatorCommandError(output, context);
@@ -2090,6 +2449,9 @@ const de_CreateMembersCommandError = async (output, context) => {
2090
2449
  };
2091
2450
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2092
2451
  switch (errorCode) {
2452
+ case "AccessDeniedException":
2453
+ case "com.amazonaws.securityhub#AccessDeniedException":
2454
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2093
2455
  case "InternalException":
2094
2456
  case "com.amazonaws.securityhub#InternalException":
2095
2457
  throw await de_InternalExceptionRes(parsedOutput, context);
@@ -2198,6 +2560,53 @@ const de_DeleteActionTargetCommandError = async (output, context) => {
2198
2560
  });
2199
2561
  }
2200
2562
  };
2563
+ export const de_DeleteConfigurationPolicyCommand = async (output, context) => {
2564
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2565
+ return de_DeleteConfigurationPolicyCommandError(output, context);
2566
+ }
2567
+ const contents = map({
2568
+ $metadata: deserializeMetadata(output),
2569
+ });
2570
+ await collectBody(output.body, context);
2571
+ return contents;
2572
+ };
2573
+ const de_DeleteConfigurationPolicyCommandError = async (output, context) => {
2574
+ const parsedOutput = {
2575
+ ...output,
2576
+ body: await parseErrorBody(output.body, context),
2577
+ };
2578
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2579
+ switch (errorCode) {
2580
+ case "AccessDeniedException":
2581
+ case "com.amazonaws.securityhub#AccessDeniedException":
2582
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2583
+ case "InternalException":
2584
+ case "com.amazonaws.securityhub#InternalException":
2585
+ throw await de_InternalExceptionRes(parsedOutput, context);
2586
+ case "InvalidAccessException":
2587
+ case "com.amazonaws.securityhub#InvalidAccessException":
2588
+ throw await de_InvalidAccessExceptionRes(parsedOutput, context);
2589
+ case "InvalidInputException":
2590
+ case "com.amazonaws.securityhub#InvalidInputException":
2591
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2592
+ case "LimitExceededException":
2593
+ case "com.amazonaws.securityhub#LimitExceededException":
2594
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2595
+ case "ResourceConflictException":
2596
+ case "com.amazonaws.securityhub#ResourceConflictException":
2597
+ throw await de_ResourceConflictExceptionRes(parsedOutput, context);
2598
+ case "ResourceNotFoundException":
2599
+ case "com.amazonaws.securityhub#ResourceNotFoundException":
2600
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2601
+ default:
2602
+ const parsedBody = parsedOutput.body;
2603
+ return throwDefaultError({
2604
+ output,
2605
+ parsedBody,
2606
+ errorCode,
2607
+ });
2608
+ }
2609
+ };
2201
2610
  export const de_DeleteFindingAggregatorCommand = async (output, context) => {
2202
2611
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2203
2612
  return de_DeleteFindingAggregatorCommandError(output, context);
@@ -2480,6 +2889,7 @@ export const de_DescribeOrganizationConfigurationCommand = async (output, contex
2480
2889
  AutoEnable: __expectBoolean,
2481
2890
  AutoEnableStandards: __expectString,
2482
2891
  MemberAccountLimitReached: __expectBoolean,
2892
+ OrganizationConfiguration: _json,
2483
2893
  });
2484
2894
  Object.assign(contents, doc);
2485
2895
  return contents;
@@ -2696,6 +3106,9 @@ const de_DisableOrganizationAdminAccountCommandError = async (output, context) =
2696
3106
  };
2697
3107
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2698
3108
  switch (errorCode) {
3109
+ case "AccessDeniedException":
3110
+ case "com.amazonaws.securityhub#AccessDeniedException":
3111
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2699
3112
  case "InternalException":
2700
3113
  case "com.amazonaws.securityhub#InternalException":
2701
3114
  throw await de_InternalExceptionRes(parsedOutput, context);
@@ -2734,6 +3147,9 @@ const de_DisableSecurityHubCommandError = async (output, context) => {
2734
3147
  };
2735
3148
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2736
3149
  switch (errorCode) {
3150
+ case "AccessDeniedException":
3151
+ case "com.amazonaws.securityhub#AccessDeniedException":
3152
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2737
3153
  case "InternalException":
2738
3154
  case "com.amazonaws.securityhub#InternalException":
2739
3155
  throw await de_InternalExceptionRes(parsedOutput, context);
@@ -2854,6 +3270,9 @@ const de_DisassociateMembersCommandError = async (output, context) => {
2854
3270
  };
2855
3271
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2856
3272
  switch (errorCode) {
3273
+ case "AccessDeniedException":
3274
+ case "com.amazonaws.securityhub#AccessDeniedException":
3275
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2857
3276
  case "InternalException":
2858
3277
  case "com.amazonaws.securityhub#InternalException":
2859
3278
  throw await de_InternalExceptionRes(parsedOutput, context);
@@ -2940,6 +3359,9 @@ const de_EnableOrganizationAdminAccountCommandError = async (output, context) =>
2940
3359
  };
2941
3360
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2942
3361
  switch (errorCode) {
3362
+ case "AccessDeniedException":
3363
+ case "com.amazonaws.securityhub#AccessDeniedException":
3364
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2943
3365
  case "InternalException":
2944
3366
  case "com.amazonaws.securityhub#InternalException":
2945
3367
  throw await de_InternalExceptionRes(parsedOutput, context);
@@ -3047,6 +3469,114 @@ const de_GetAdministratorAccountCommandError = async (output, context) => {
3047
3469
  });
3048
3470
  }
3049
3471
  };
3472
+ export const de_GetConfigurationPolicyCommand = async (output, context) => {
3473
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3474
+ return de_GetConfigurationPolicyCommandError(output, context);
3475
+ }
3476
+ const contents = map({
3477
+ $metadata: deserializeMetadata(output),
3478
+ });
3479
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3480
+ const doc = take(data, {
3481
+ Arn: __expectString,
3482
+ ConfigurationPolicy: (_) => de_Policy(__expectUnion(_), context),
3483
+ CreatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
3484
+ Description: __expectString,
3485
+ Id: __expectString,
3486
+ Name: __expectString,
3487
+ UpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
3488
+ });
3489
+ Object.assign(contents, doc);
3490
+ return contents;
3491
+ };
3492
+ const de_GetConfigurationPolicyCommandError = async (output, context) => {
3493
+ const parsedOutput = {
3494
+ ...output,
3495
+ body: await parseErrorBody(output.body, context),
3496
+ };
3497
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3498
+ switch (errorCode) {
3499
+ case "AccessDeniedException":
3500
+ case "com.amazonaws.securityhub#AccessDeniedException":
3501
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3502
+ case "InternalException":
3503
+ case "com.amazonaws.securityhub#InternalException":
3504
+ throw await de_InternalExceptionRes(parsedOutput, context);
3505
+ case "InvalidAccessException":
3506
+ case "com.amazonaws.securityhub#InvalidAccessException":
3507
+ throw await de_InvalidAccessExceptionRes(parsedOutput, context);
3508
+ case "InvalidInputException":
3509
+ case "com.amazonaws.securityhub#InvalidInputException":
3510
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
3511
+ case "LimitExceededException":
3512
+ case "com.amazonaws.securityhub#LimitExceededException":
3513
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
3514
+ case "ResourceNotFoundException":
3515
+ case "com.amazonaws.securityhub#ResourceNotFoundException":
3516
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3517
+ default:
3518
+ const parsedBody = parsedOutput.body;
3519
+ return throwDefaultError({
3520
+ output,
3521
+ parsedBody,
3522
+ errorCode,
3523
+ });
3524
+ }
3525
+ };
3526
+ export const de_GetConfigurationPolicyAssociationCommand = async (output, context) => {
3527
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3528
+ return de_GetConfigurationPolicyAssociationCommandError(output, context);
3529
+ }
3530
+ const contents = map({
3531
+ $metadata: deserializeMetadata(output),
3532
+ });
3533
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3534
+ const doc = take(data, {
3535
+ AssociationStatus: __expectString,
3536
+ AssociationStatusMessage: __expectString,
3537
+ AssociationType: __expectString,
3538
+ ConfigurationPolicyId: __expectString,
3539
+ TargetId: __expectString,
3540
+ TargetType: __expectString,
3541
+ UpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
3542
+ });
3543
+ Object.assign(contents, doc);
3544
+ return contents;
3545
+ };
3546
+ const de_GetConfigurationPolicyAssociationCommandError = async (output, context) => {
3547
+ const parsedOutput = {
3548
+ ...output,
3549
+ body: await parseErrorBody(output.body, context),
3550
+ };
3551
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3552
+ switch (errorCode) {
3553
+ case "AccessDeniedException":
3554
+ case "com.amazonaws.securityhub#AccessDeniedException":
3555
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3556
+ case "InternalException":
3557
+ case "com.amazonaws.securityhub#InternalException":
3558
+ throw await de_InternalExceptionRes(parsedOutput, context);
3559
+ case "InvalidAccessException":
3560
+ case "com.amazonaws.securityhub#InvalidAccessException":
3561
+ throw await de_InvalidAccessExceptionRes(parsedOutput, context);
3562
+ case "InvalidInputException":
3563
+ case "com.amazonaws.securityhub#InvalidInputException":
3564
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
3565
+ case "LimitExceededException":
3566
+ case "com.amazonaws.securityhub#LimitExceededException":
3567
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
3568
+ case "ResourceNotFoundException":
3569
+ case "com.amazonaws.securityhub#ResourceNotFoundException":
3570
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3571
+ default:
3572
+ const parsedBody = parsedOutput.body;
3573
+ return throwDefaultError({
3574
+ output,
3575
+ parsedBody,
3576
+ errorCode,
3577
+ });
3578
+ }
3579
+ };
3050
3580
  export const de_GetEnabledStandardsCommand = async (output, context) => {
3051
3581
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3052
3582
  return de_GetEnabledStandardsCommandError(output, context);
@@ -3451,6 +3981,51 @@ const de_GetMembersCommandError = async (output, context) => {
3451
3981
  });
3452
3982
  }
3453
3983
  };
3984
+ export const de_GetSecurityControlDefinitionCommand = async (output, context) => {
3985
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3986
+ return de_GetSecurityControlDefinitionCommandError(output, context);
3987
+ }
3988
+ const contents = map({
3989
+ $metadata: deserializeMetadata(output),
3990
+ });
3991
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3992
+ const doc = take(data, {
3993
+ SecurityControlDefinition: (_) => de_SecurityControlDefinition(_, context),
3994
+ });
3995
+ Object.assign(contents, doc);
3996
+ return contents;
3997
+ };
3998
+ const de_GetSecurityControlDefinitionCommandError = async (output, context) => {
3999
+ const parsedOutput = {
4000
+ ...output,
4001
+ body: await parseErrorBody(output.body, context),
4002
+ };
4003
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4004
+ switch (errorCode) {
4005
+ case "InternalException":
4006
+ case "com.amazonaws.securityhub#InternalException":
4007
+ throw await de_InternalExceptionRes(parsedOutput, context);
4008
+ case "InvalidAccessException":
4009
+ case "com.amazonaws.securityhub#InvalidAccessException":
4010
+ throw await de_InvalidAccessExceptionRes(parsedOutput, context);
4011
+ case "InvalidInputException":
4012
+ case "com.amazonaws.securityhub#InvalidInputException":
4013
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
4014
+ case "LimitExceededException":
4015
+ case "com.amazonaws.securityhub#LimitExceededException":
4016
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
4017
+ case "ResourceNotFoundException":
4018
+ case "com.amazonaws.securityhub#ResourceNotFoundException":
4019
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4020
+ default:
4021
+ const parsedBody = parsedOutput.body;
4022
+ return throwDefaultError({
4023
+ output,
4024
+ parsedBody,
4025
+ errorCode,
4026
+ });
4027
+ }
4028
+ };
3454
4029
  export const de_InviteMembersCommand = async (output, context) => {
3455
4030
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3456
4031
  return de_InviteMembersCommandError(output, context);
@@ -3542,6 +4117,98 @@ const de_ListAutomationRulesCommandError = async (output, context) => {
3542
4117
  });
3543
4118
  }
3544
4119
  };
4120
+ export const de_ListConfigurationPoliciesCommand = async (output, context) => {
4121
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4122
+ return de_ListConfigurationPoliciesCommandError(output, context);
4123
+ }
4124
+ const contents = map({
4125
+ $metadata: deserializeMetadata(output),
4126
+ });
4127
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
4128
+ const doc = take(data, {
4129
+ ConfigurationPolicySummaries: (_) => de_ConfigurationPolicySummaryList(_, context),
4130
+ NextToken: __expectString,
4131
+ });
4132
+ Object.assign(contents, doc);
4133
+ return contents;
4134
+ };
4135
+ const de_ListConfigurationPoliciesCommandError = async (output, context) => {
4136
+ const parsedOutput = {
4137
+ ...output,
4138
+ body: await parseErrorBody(output.body, context),
4139
+ };
4140
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4141
+ switch (errorCode) {
4142
+ case "AccessDeniedException":
4143
+ case "com.amazonaws.securityhub#AccessDeniedException":
4144
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4145
+ case "InternalException":
4146
+ case "com.amazonaws.securityhub#InternalException":
4147
+ throw await de_InternalExceptionRes(parsedOutput, context);
4148
+ case "InvalidAccessException":
4149
+ case "com.amazonaws.securityhub#InvalidAccessException":
4150
+ throw await de_InvalidAccessExceptionRes(parsedOutput, context);
4151
+ case "InvalidInputException":
4152
+ case "com.amazonaws.securityhub#InvalidInputException":
4153
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
4154
+ case "LimitExceededException":
4155
+ case "com.amazonaws.securityhub#LimitExceededException":
4156
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
4157
+ default:
4158
+ const parsedBody = parsedOutput.body;
4159
+ return throwDefaultError({
4160
+ output,
4161
+ parsedBody,
4162
+ errorCode,
4163
+ });
4164
+ }
4165
+ };
4166
+ export const de_ListConfigurationPolicyAssociationsCommand = async (output, context) => {
4167
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4168
+ return de_ListConfigurationPolicyAssociationsCommandError(output, context);
4169
+ }
4170
+ const contents = map({
4171
+ $metadata: deserializeMetadata(output),
4172
+ });
4173
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
4174
+ const doc = take(data, {
4175
+ ConfigurationPolicyAssociationSummaries: (_) => de_ConfigurationPolicyAssociationSummaryList(_, context),
4176
+ NextToken: __expectString,
4177
+ });
4178
+ Object.assign(contents, doc);
4179
+ return contents;
4180
+ };
4181
+ const de_ListConfigurationPolicyAssociationsCommandError = async (output, context) => {
4182
+ const parsedOutput = {
4183
+ ...output,
4184
+ body: await parseErrorBody(output.body, context),
4185
+ };
4186
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4187
+ switch (errorCode) {
4188
+ case "AccessDeniedException":
4189
+ case "com.amazonaws.securityhub#AccessDeniedException":
4190
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4191
+ case "InternalException":
4192
+ case "com.amazonaws.securityhub#InternalException":
4193
+ throw await de_InternalExceptionRes(parsedOutput, context);
4194
+ case "InvalidAccessException":
4195
+ case "com.amazonaws.securityhub#InvalidAccessException":
4196
+ throw await de_InvalidAccessExceptionRes(parsedOutput, context);
4197
+ case "InvalidInputException":
4198
+ case "com.amazonaws.securityhub#InvalidInputException":
4199
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
4200
+ case "LimitExceededException":
4201
+ case "com.amazonaws.securityhub#LimitExceededException":
4202
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
4203
+ default:
4204
+ const parsedBody = parsedOutput.body;
4205
+ return throwDefaultError({
4206
+ output,
4207
+ parsedBody,
4208
+ errorCode,
4209
+ });
4210
+ }
4211
+ };
3545
4212
  export const de_ListEnabledProductsForImportCommand = async (output, context) => {
3546
4213
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3547
4214
  return de_ListEnabledProductsForImportCommandError(output, context);
@@ -3767,7 +4434,7 @@ export const de_ListSecurityControlDefinitionsCommand = async (output, context)
3767
4434
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3768
4435
  const doc = take(data, {
3769
4436
  NextToken: __expectString,
3770
- SecurityControlDefinitions: _json,
4437
+ SecurityControlDefinitions: (_) => de_SecurityControlDefinitions(_, context),
3771
4438
  });
3772
4439
  Object.assign(contents, doc);
3773
4440
  return contents;
@@ -3802,26 +4469,160 @@ const de_ListSecurityControlDefinitionsCommandError = async (output, context) =>
3802
4469
  };
3803
4470
  export const de_ListStandardsControlAssociationsCommand = async (output, context) => {
3804
4471
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3805
- return de_ListStandardsControlAssociationsCommandError(output, context);
4472
+ return de_ListStandardsControlAssociationsCommandError(output, context);
4473
+ }
4474
+ const contents = map({
4475
+ $metadata: deserializeMetadata(output),
4476
+ });
4477
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
4478
+ const doc = take(data, {
4479
+ NextToken: __expectString,
4480
+ StandardsControlAssociationSummaries: (_) => de_StandardsControlAssociationSummaries(_, context),
4481
+ });
4482
+ Object.assign(contents, doc);
4483
+ return contents;
4484
+ };
4485
+ const de_ListStandardsControlAssociationsCommandError = async (output, context) => {
4486
+ const parsedOutput = {
4487
+ ...output,
4488
+ body: await parseErrorBody(output.body, context),
4489
+ };
4490
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4491
+ switch (errorCode) {
4492
+ case "InternalException":
4493
+ case "com.amazonaws.securityhub#InternalException":
4494
+ throw await de_InternalExceptionRes(parsedOutput, context);
4495
+ case "InvalidAccessException":
4496
+ case "com.amazonaws.securityhub#InvalidAccessException":
4497
+ throw await de_InvalidAccessExceptionRes(parsedOutput, context);
4498
+ case "InvalidInputException":
4499
+ case "com.amazonaws.securityhub#InvalidInputException":
4500
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
4501
+ case "LimitExceededException":
4502
+ case "com.amazonaws.securityhub#LimitExceededException":
4503
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
4504
+ default:
4505
+ const parsedBody = parsedOutput.body;
4506
+ return throwDefaultError({
4507
+ output,
4508
+ parsedBody,
4509
+ errorCode,
4510
+ });
4511
+ }
4512
+ };
4513
+ export const de_ListTagsForResourceCommand = async (output, context) => {
4514
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4515
+ return de_ListTagsForResourceCommandError(output, context);
4516
+ }
4517
+ const contents = map({
4518
+ $metadata: deserializeMetadata(output),
4519
+ });
4520
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
4521
+ const doc = take(data, {
4522
+ Tags: _json,
4523
+ });
4524
+ Object.assign(contents, doc);
4525
+ return contents;
4526
+ };
4527
+ const de_ListTagsForResourceCommandError = async (output, context) => {
4528
+ const parsedOutput = {
4529
+ ...output,
4530
+ body: await parseErrorBody(output.body, context),
4531
+ };
4532
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4533
+ switch (errorCode) {
4534
+ case "InternalException":
4535
+ case "com.amazonaws.securityhub#InternalException":
4536
+ throw await de_InternalExceptionRes(parsedOutput, context);
4537
+ case "InvalidInputException":
4538
+ case "com.amazonaws.securityhub#InvalidInputException":
4539
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
4540
+ case "ResourceNotFoundException":
4541
+ case "com.amazonaws.securityhub#ResourceNotFoundException":
4542
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4543
+ default:
4544
+ const parsedBody = parsedOutput.body;
4545
+ return throwDefaultError({
4546
+ output,
4547
+ parsedBody,
4548
+ errorCode,
4549
+ });
4550
+ }
4551
+ };
4552
+ export const de_StartConfigurationPolicyAssociationCommand = async (output, context) => {
4553
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4554
+ return de_StartConfigurationPolicyAssociationCommandError(output, context);
4555
+ }
4556
+ const contents = map({
4557
+ $metadata: deserializeMetadata(output),
4558
+ });
4559
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
4560
+ const doc = take(data, {
4561
+ AssociationStatus: __expectString,
4562
+ AssociationStatusMessage: __expectString,
4563
+ AssociationType: __expectString,
4564
+ ConfigurationPolicyId: __expectString,
4565
+ TargetId: __expectString,
4566
+ TargetType: __expectString,
4567
+ UpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
4568
+ });
4569
+ Object.assign(contents, doc);
4570
+ return contents;
4571
+ };
4572
+ const de_StartConfigurationPolicyAssociationCommandError = async (output, context) => {
4573
+ const parsedOutput = {
4574
+ ...output,
4575
+ body: await parseErrorBody(output.body, context),
4576
+ };
4577
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4578
+ switch (errorCode) {
4579
+ case "AccessDeniedException":
4580
+ case "com.amazonaws.securityhub#AccessDeniedException":
4581
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4582
+ case "InternalException":
4583
+ case "com.amazonaws.securityhub#InternalException":
4584
+ throw await de_InternalExceptionRes(parsedOutput, context);
4585
+ case "InvalidAccessException":
4586
+ case "com.amazonaws.securityhub#InvalidAccessException":
4587
+ throw await de_InvalidAccessExceptionRes(parsedOutput, context);
4588
+ case "InvalidInputException":
4589
+ case "com.amazonaws.securityhub#InvalidInputException":
4590
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
4591
+ case "LimitExceededException":
4592
+ case "com.amazonaws.securityhub#LimitExceededException":
4593
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
4594
+ case "ResourceNotFoundException":
4595
+ case "com.amazonaws.securityhub#ResourceNotFoundException":
4596
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4597
+ default:
4598
+ const parsedBody = parsedOutput.body;
4599
+ return throwDefaultError({
4600
+ output,
4601
+ parsedBody,
4602
+ errorCode,
4603
+ });
4604
+ }
4605
+ };
4606
+ export const de_StartConfigurationPolicyDisassociationCommand = async (output, context) => {
4607
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4608
+ return de_StartConfigurationPolicyDisassociationCommandError(output, context);
3806
4609
  }
3807
4610
  const contents = map({
3808
4611
  $metadata: deserializeMetadata(output),
3809
4612
  });
3810
- const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3811
- const doc = take(data, {
3812
- NextToken: __expectString,
3813
- StandardsControlAssociationSummaries: (_) => de_StandardsControlAssociationSummaries(_, context),
3814
- });
3815
- Object.assign(contents, doc);
4613
+ await collectBody(output.body, context);
3816
4614
  return contents;
3817
4615
  };
3818
- const de_ListStandardsControlAssociationsCommandError = async (output, context) => {
4616
+ const de_StartConfigurationPolicyDisassociationCommandError = async (output, context) => {
3819
4617
  const parsedOutput = {
3820
4618
  ...output,
3821
4619
  body: await parseErrorBody(output.body, context),
3822
4620
  };
3823
4621
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3824
4622
  switch (errorCode) {
4623
+ case "AccessDeniedException":
4624
+ case "com.amazonaws.securityhub#AccessDeniedException":
4625
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3825
4626
  case "InternalException":
3826
4627
  case "com.amazonaws.securityhub#InternalException":
3827
4628
  throw await de_InternalExceptionRes(parsedOutput, context);
@@ -3834,6 +4635,9 @@ const de_ListStandardsControlAssociationsCommandError = async (output, context)
3834
4635
  case "LimitExceededException":
3835
4636
  case "com.amazonaws.securityhub#LimitExceededException":
3836
4637
  throw await de_LimitExceededExceptionRes(parsedOutput, context);
4638
+ case "ResourceNotFoundException":
4639
+ case "com.amazonaws.securityhub#ResourceNotFoundException":
4640
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3837
4641
  default:
3838
4642
  const parsedBody = parsedOutput.body;
3839
4643
  return throwDefaultError({
@@ -3843,21 +4647,17 @@ const de_ListStandardsControlAssociationsCommandError = async (output, context)
3843
4647
  });
3844
4648
  }
3845
4649
  };
3846
- export const de_ListTagsForResourceCommand = async (output, context) => {
4650
+ export const de_TagResourceCommand = async (output, context) => {
3847
4651
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3848
- return de_ListTagsForResourceCommandError(output, context);
4652
+ return de_TagResourceCommandError(output, context);
3849
4653
  }
3850
4654
  const contents = map({
3851
4655
  $metadata: deserializeMetadata(output),
3852
4656
  });
3853
- const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3854
- const doc = take(data, {
3855
- Tags: _json,
3856
- });
3857
- Object.assign(contents, doc);
4657
+ await collectBody(output.body, context);
3858
4658
  return contents;
3859
4659
  };
3860
- const de_ListTagsForResourceCommandError = async (output, context) => {
4660
+ const de_TagResourceCommandError = async (output, context) => {
3861
4661
  const parsedOutput = {
3862
4662
  ...output,
3863
4663
  body: await parseErrorBody(output.body, context),
@@ -3882,9 +4682,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
3882
4682
  });
3883
4683
  }
3884
4684
  };
3885
- export const de_TagResourceCommand = async (output, context) => {
4685
+ export const de_UntagResourceCommand = async (output, context) => {
3886
4686
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3887
- return de_TagResourceCommandError(output, context);
4687
+ return de_UntagResourceCommandError(output, context);
3888
4688
  }
3889
4689
  const contents = map({
3890
4690
  $metadata: deserializeMetadata(output),
@@ -3892,7 +4692,7 @@ export const de_TagResourceCommand = async (output, context) => {
3892
4692
  await collectBody(output.body, context);
3893
4693
  return contents;
3894
4694
  };
3895
- const de_TagResourceCommandError = async (output, context) => {
4695
+ const de_UntagResourceCommandError = async (output, context) => {
3896
4696
  const parsedOutput = {
3897
4697
  ...output,
3898
4698
  body: await parseErrorBody(output.body, context),
@@ -3917,9 +4717,9 @@ const de_TagResourceCommandError = async (output, context) => {
3917
4717
  });
3918
4718
  }
3919
4719
  };
3920
- export const de_UntagResourceCommand = async (output, context) => {
4720
+ export const de_UpdateActionTargetCommand = async (output, context) => {
3921
4721
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3922
- return de_UntagResourceCommandError(output, context);
4722
+ return de_UpdateActionTargetCommandError(output, context);
3923
4723
  }
3924
4724
  const contents = map({
3925
4725
  $metadata: deserializeMetadata(output),
@@ -3927,7 +4727,7 @@ export const de_UntagResourceCommand = async (output, context) => {
3927
4727
  await collectBody(output.body, context);
3928
4728
  return contents;
3929
4729
  };
3930
- const de_UntagResourceCommandError = async (output, context) => {
4730
+ const de_UpdateActionTargetCommandError = async (output, context) => {
3931
4731
  const parsedOutput = {
3932
4732
  ...output,
3933
4733
  body: await parseErrorBody(output.body, context),
@@ -3937,6 +4737,9 @@ const de_UntagResourceCommandError = async (output, context) => {
3937
4737
  case "InternalException":
3938
4738
  case "com.amazonaws.securityhub#InternalException":
3939
4739
  throw await de_InternalExceptionRes(parsedOutput, context);
4740
+ case "InvalidAccessException":
4741
+ case "com.amazonaws.securityhub#InvalidAccessException":
4742
+ throw await de_InvalidAccessExceptionRes(parsedOutput, context);
3940
4743
  case "InvalidInputException":
3941
4744
  case "com.amazonaws.securityhub#InvalidInputException":
3942
4745
  throw await de_InvalidInputExceptionRes(parsedOutput, context);
@@ -3952,23 +4755,36 @@ const de_UntagResourceCommandError = async (output, context) => {
3952
4755
  });
3953
4756
  }
3954
4757
  };
3955
- export const de_UpdateActionTargetCommand = async (output, context) => {
4758
+ export const de_UpdateConfigurationPolicyCommand = async (output, context) => {
3956
4759
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3957
- return de_UpdateActionTargetCommandError(output, context);
4760
+ return de_UpdateConfigurationPolicyCommandError(output, context);
3958
4761
  }
3959
4762
  const contents = map({
3960
4763
  $metadata: deserializeMetadata(output),
3961
4764
  });
3962
- await collectBody(output.body, context);
4765
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
4766
+ const doc = take(data, {
4767
+ Arn: __expectString,
4768
+ ConfigurationPolicy: (_) => de_Policy(__expectUnion(_), context),
4769
+ CreatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
4770
+ Description: __expectString,
4771
+ Id: __expectString,
4772
+ Name: __expectString,
4773
+ UpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
4774
+ });
4775
+ Object.assign(contents, doc);
3963
4776
  return contents;
3964
4777
  };
3965
- const de_UpdateActionTargetCommandError = async (output, context) => {
4778
+ const de_UpdateConfigurationPolicyCommandError = async (output, context) => {
3966
4779
  const parsedOutput = {
3967
4780
  ...output,
3968
4781
  body: await parseErrorBody(output.body, context),
3969
4782
  };
3970
4783
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3971
4784
  switch (errorCode) {
4785
+ case "AccessDeniedException":
4786
+ case "com.amazonaws.securityhub#AccessDeniedException":
4787
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3972
4788
  case "InternalException":
3973
4789
  case "com.amazonaws.securityhub#InternalException":
3974
4790
  throw await de_InternalExceptionRes(parsedOutput, context);
@@ -3978,6 +4794,12 @@ const de_UpdateActionTargetCommandError = async (output, context) => {
3978
4794
  case "InvalidInputException":
3979
4795
  case "com.amazonaws.securityhub#InvalidInputException":
3980
4796
  throw await de_InvalidInputExceptionRes(parsedOutput, context);
4797
+ case "LimitExceededException":
4798
+ case "com.amazonaws.securityhub#LimitExceededException":
4799
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
4800
+ case "ResourceConflictException":
4801
+ case "com.amazonaws.securityhub#ResourceConflictException":
4802
+ throw await de_ResourceConflictExceptionRes(parsedOutput, context);
3981
4803
  case "ResourceNotFoundException":
3982
4804
  case "com.amazonaws.securityhub#ResourceNotFoundException":
3983
4805
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -4140,6 +4962,56 @@ const de_UpdateOrganizationConfigurationCommandError = async (output, context) =
4140
4962
  };
4141
4963
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4142
4964
  switch (errorCode) {
4965
+ case "AccessDeniedException":
4966
+ case "com.amazonaws.securityhub#AccessDeniedException":
4967
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4968
+ case "InternalException":
4969
+ case "com.amazonaws.securityhub#InternalException":
4970
+ throw await de_InternalExceptionRes(parsedOutput, context);
4971
+ case "InvalidAccessException":
4972
+ case "com.amazonaws.securityhub#InvalidAccessException":
4973
+ throw await de_InvalidAccessExceptionRes(parsedOutput, context);
4974
+ case "InvalidInputException":
4975
+ case "com.amazonaws.securityhub#InvalidInputException":
4976
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
4977
+ case "LimitExceededException":
4978
+ case "com.amazonaws.securityhub#LimitExceededException":
4979
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
4980
+ case "ResourceConflictException":
4981
+ case "com.amazonaws.securityhub#ResourceConflictException":
4982
+ throw await de_ResourceConflictExceptionRes(parsedOutput, context);
4983
+ case "ResourceNotFoundException":
4984
+ case "com.amazonaws.securityhub#ResourceNotFoundException":
4985
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4986
+ default:
4987
+ const parsedBody = parsedOutput.body;
4988
+ return throwDefaultError({
4989
+ output,
4990
+ parsedBody,
4991
+ errorCode,
4992
+ });
4993
+ }
4994
+ };
4995
+ export const de_UpdateSecurityControlCommand = async (output, context) => {
4996
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4997
+ return de_UpdateSecurityControlCommandError(output, context);
4998
+ }
4999
+ const contents = map({
5000
+ $metadata: deserializeMetadata(output),
5001
+ });
5002
+ await collectBody(output.body, context);
5003
+ return contents;
5004
+ };
5005
+ const de_UpdateSecurityControlCommandError = async (output, context) => {
5006
+ const parsedOutput = {
5007
+ ...output,
5008
+ body: await parseErrorBody(output.body, context),
5009
+ };
5010
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5011
+ switch (errorCode) {
5012
+ case "AccessDeniedException":
5013
+ case "com.amazonaws.securityhub#AccessDeniedException":
5014
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4143
5015
  case "InternalException":
4144
5016
  case "com.amazonaws.securityhub#InternalException":
4145
5017
  throw await de_InternalExceptionRes(parsedOutput, context);
@@ -4152,6 +5024,12 @@ const de_UpdateOrganizationConfigurationCommandError = async (output, context) =
4152
5024
  case "LimitExceededException":
4153
5025
  case "com.amazonaws.securityhub#LimitExceededException":
4154
5026
  throw await de_LimitExceededExceptionRes(parsedOutput, context);
5027
+ case "ResourceInUseException":
5028
+ case "com.amazonaws.securityhub#ResourceInUseException":
5029
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
5030
+ case "ResourceNotFoundException":
5031
+ case "com.amazonaws.securityhub#ResourceNotFoundException":
5032
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4155
5033
  default:
4156
5034
  const parsedBody = parsedOutput.body;
4157
5035
  return throwDefaultError({
@@ -4178,6 +5056,9 @@ const de_UpdateSecurityHubConfigurationCommandError = async (output, context) =>
4178
5056
  };
4179
5057
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4180
5058
  switch (errorCode) {
5059
+ case "AccessDeniedException":
5060
+ case "com.amazonaws.securityhub#AccessDeniedException":
5061
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4181
5062
  case "InternalException":
4182
5063
  case "com.amazonaws.securityhub#InternalException":
4183
5064
  throw await de_InternalExceptionRes(parsedOutput, context);
@@ -4219,6 +5100,9 @@ const de_UpdateStandardsControlCommandError = async (output, context) => {
4219
5100
  };
4220
5101
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4221
5102
  switch (errorCode) {
5103
+ case "AccessDeniedException":
5104
+ case "com.amazonaws.securityhub#AccessDeniedException":
5105
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4222
5106
  case "InternalException":
4223
5107
  case "com.amazonaws.securityhub#InternalException":
4224
5108
  throw await de_InternalExceptionRes(parsedOutput, context);
@@ -4325,6 +5209,20 @@ const de_ResourceConflictExceptionRes = async (parsedOutput, context) => {
4325
5209
  });
4326
5210
  return __decorateServiceException(exception, parsedOutput.body);
4327
5211
  };
5212
+ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
5213
+ const contents = map({});
5214
+ const data = parsedOutput.body;
5215
+ const doc = take(data, {
5216
+ Code: __expectString,
5217
+ Message: __expectString,
5218
+ });
5219
+ Object.assign(contents, doc);
5220
+ const exception = new ResourceInUseException({
5221
+ $metadata: deserializeMetadata(parsedOutput),
5222
+ ...contents,
5223
+ });
5224
+ return __decorateServiceException(exception, parsedOutput.body);
5225
+ };
4328
5226
  const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
4329
5227
  const contents = map({});
4330
5228
  const data = parsedOutput.body;
@@ -4386,6 +5284,7 @@ const se_AutomationRulesFindingFieldsUpdate = (input, context) => {
4386
5284
  const se_AutomationRulesFindingFilters = (input, context) => {
4387
5285
  return take(input, {
4388
5286
  AwsAccountId: _json,
5287
+ AwsAccountName: _json,
4389
5288
  CompanyName: _json,
4390
5289
  ComplianceAssociatedStandardsId: _json,
4391
5290
  ComplianceSecurityControlId: _json,
@@ -4406,6 +5305,8 @@ const se_AutomationRulesFindingFilters = (input, context) => {
4406
5305
  RecordState: _json,
4407
5306
  RelatedFindingsId: _json,
4408
5307
  RelatedFindingsProductArn: _json,
5308
+ ResourceApplicationArn: _json,
5309
+ ResourceApplicationName: _json,
4409
5310
  ResourceDetailsOther: _json,
4410
5311
  ResourceId: _json,
4411
5312
  ResourcePartition: _json,
@@ -4702,6 +5603,7 @@ const se_AwsSecurityFinding = (input, context) => {
4702
5603
  return take(input, {
4703
5604
  Action: (_) => se_Action(_, context),
4704
5605
  AwsAccountId: [],
5606
+ AwsAccountName: [],
4705
5607
  CompanyName: [],
4706
5608
  Compliance: _json,
4707
5609
  Confidence: [],
@@ -4720,6 +5622,7 @@ const se_AwsSecurityFinding = (input, context) => {
4720
5622
  Note: _json,
4721
5623
  PatchSummary: _json,
4722
5624
  Process: _json,
5625
+ ProcessedAt: [],
4723
5626
  ProductArn: [],
4724
5627
  ProductFields: _json,
4725
5628
  ProductName: [],
@@ -4747,9 +5650,12 @@ const se_AwsSecurityFinding = (input, context) => {
4747
5650
  const se_AwsSecurityFindingFilters = (input, context) => {
4748
5651
  return take(input, {
4749
5652
  AwsAccountId: _json,
5653
+ AwsAccountName: _json,
4750
5654
  CompanyName: _json,
4751
5655
  ComplianceAssociatedStandardsId: _json,
4752
5656
  ComplianceSecurityControlId: _json,
5657
+ ComplianceSecurityControlParametersName: _json,
5658
+ ComplianceSecurityControlParametersValue: _json,
4753
5659
  ComplianceStatus: _json,
4754
5660
  Confidence: (_) => se_NumberFilterList(_, context),
4755
5661
  CreatedAt: _json,
@@ -4799,6 +5705,8 @@ const se_AwsSecurityFindingFilters = (input, context) => {
4799
5705
  Region: _json,
4800
5706
  RelatedFindingsId: _json,
4801
5707
  RelatedFindingsProductArn: _json,
5708
+ ResourceApplicationArn: _json,
5709
+ ResourceApplicationName: _json,
4802
5710
  ResourceAwsEc2InstanceIamInstanceProfileArn: _json,
4803
5711
  ResourceAwsEc2InstanceImageId: _json,
4804
5712
  ResourceAwsEc2InstanceIpV4Addresses: _json,
@@ -4841,6 +5749,8 @@ const se_AwsSecurityFindingFilters = (input, context) => {
4841
5749
  UpdatedAt: _json,
4842
5750
  UserDefinedFields: _json,
4843
5751
  VerificationState: _json,
5752
+ VulnerabilitiesExploitAvailable: _json,
5753
+ VulnerabilitiesFixAvailable: _json,
4844
5754
  WorkflowState: _json,
4845
5755
  WorkflowStatus: _json,
4846
5756
  });
@@ -4887,7 +5797,9 @@ const se_NetworkConnectionAction = (input, context) => {
4887
5797
  const se_NumberFilter = (input, context) => {
4888
5798
  return take(input, {
4889
5799
  Eq: __serializeFloat,
5800
+ Gt: __serializeFloat,
4890
5801
  Gte: __serializeFloat,
5802
+ Lt: __serializeFloat,
4891
5803
  Lte: __serializeFloat,
4892
5804
  });
4893
5805
  };
@@ -4898,6 +5810,40 @@ const se_NumberFilterList = (input, context) => {
4898
5810
  return se_NumberFilter(entry, context);
4899
5811
  });
4900
5812
  };
5813
+ const se_ParameterConfiguration = (input, context) => {
5814
+ return take(input, {
5815
+ Value: (_) => se_ParameterValue(_, context),
5816
+ ValueType: [],
5817
+ });
5818
+ };
5819
+ const se_Parameters = (input, context) => {
5820
+ return Object.entries(input).reduce((acc, [key, value]) => {
5821
+ if (value === null) {
5822
+ return acc;
5823
+ }
5824
+ acc[key] = se_ParameterConfiguration(value, context);
5825
+ return acc;
5826
+ }, {});
5827
+ };
5828
+ const se_ParameterValue = (input, context) => {
5829
+ return ParameterValue.visit(input, {
5830
+ Boolean: (value) => ({ Boolean: value }),
5831
+ Double: (value) => ({ Double: __serializeFloat(value) }),
5832
+ Enum: (value) => ({ Enum: value }),
5833
+ EnumList: (value) => ({ EnumList: _json(value) }),
5834
+ Integer: (value) => ({ Integer: value }),
5835
+ IntegerList: (value) => ({ IntegerList: _json(value) }),
5836
+ String: (value) => ({ String: value }),
5837
+ StringList: (value) => ({ StringList: _json(value) }),
5838
+ _: (name, value) => ({ name: value }),
5839
+ });
5840
+ };
5841
+ const se_Policy = (input, context) => {
5842
+ return Policy.visit(input, {
5843
+ SecurityHub: (value) => ({ SecurityHub: se_SecurityHubPolicy(value, context) }),
5844
+ _: (name, value) => ({ name: value }),
5845
+ });
5846
+ };
4901
5847
  const se_PortProbeAction = (input, context) => {
4902
5848
  return take(input, {
4903
5849
  Blocked: [],
@@ -4920,6 +5866,8 @@ const se_PortProbeDetailList = (input, context) => {
4920
5866
  };
4921
5867
  const se_Resource = (input, context) => {
4922
5868
  return take(input, {
5869
+ ApplicationArn: [],
5870
+ ApplicationName: [],
4923
5871
  DataClassification: _json,
4924
5872
  Details: (_) => se_ResourceDetails(_, context),
4925
5873
  Id: [],
@@ -5038,6 +5986,33 @@ const se_ResourceList = (input, context) => {
5038
5986
  return se_Resource(entry, context);
5039
5987
  });
5040
5988
  };
5989
+ const se_SecurityControlCustomParameter = (input, context) => {
5990
+ return take(input, {
5991
+ Parameters: (_) => se_Parameters(_, context),
5992
+ SecurityControlId: [],
5993
+ });
5994
+ };
5995
+ const se_SecurityControlCustomParametersList = (input, context) => {
5996
+ return input
5997
+ .filter((e) => e != null)
5998
+ .map((entry) => {
5999
+ return se_SecurityControlCustomParameter(entry, context);
6000
+ });
6001
+ };
6002
+ const se_SecurityControlsConfiguration = (input, context) => {
6003
+ return take(input, {
6004
+ DisabledSecurityControlIdentifiers: _json,
6005
+ EnabledSecurityControlIdentifiers: _json,
6006
+ SecurityControlCustomParameters: (_) => se_SecurityControlCustomParametersList(_, context),
6007
+ });
6008
+ };
6009
+ const se_SecurityHubPolicy = (input, context) => {
6010
+ return take(input, {
6011
+ EnabledStandardIdentifiers: _json,
6012
+ SecurityControlsConfiguration: (_) => se_SecurityControlsConfiguration(_, context),
6013
+ ServiceEnabled: [],
6014
+ });
6015
+ };
5041
6016
  const se_Severity = (input, context) => {
5042
6017
  return take(input, {
5043
6018
  Label: [],
@@ -5164,6 +6139,7 @@ const de_AutomationRulesFindingFieldsUpdate = (output, context) => {
5164
6139
  const de_AutomationRulesFindingFilters = (output, context) => {
5165
6140
  return take(output, {
5166
6141
  AwsAccountId: _json,
6142
+ AwsAccountName: _json,
5167
6143
  CompanyName: _json,
5168
6144
  ComplianceAssociatedStandardsId: _json,
5169
6145
  ComplianceSecurityControlId: _json,
@@ -5184,6 +6160,8 @@ const de_AutomationRulesFindingFilters = (output, context) => {
5184
6160
  RecordState: _json,
5185
6161
  RelatedFindingsId: _json,
5186
6162
  RelatedFindingsProductArn: _json,
6163
+ ResourceApplicationArn: _json,
6164
+ ResourceApplicationName: _json,
5187
6165
  ResourceDetailsOther: _json,
5188
6166
  ResourceId: _json,
5189
6167
  ResourcePartition: _json,
@@ -5502,6 +6480,7 @@ const de_AwsSecurityFinding = (output, context) => {
5502
6480
  return take(output, {
5503
6481
  Action: (_) => de_Action(_, context),
5504
6482
  AwsAccountId: __expectString,
6483
+ AwsAccountName: __expectString,
5505
6484
  CompanyName: __expectString,
5506
6485
  Compliance: _json,
5507
6486
  Confidence: __expectInt32,
@@ -5520,6 +6499,7 @@ const de_AwsSecurityFinding = (output, context) => {
5520
6499
  Note: _json,
5521
6500
  PatchSummary: _json,
5522
6501
  Process: _json,
6502
+ ProcessedAt: __expectString,
5523
6503
  ProductArn: __expectString,
5524
6504
  ProductFields: _json,
5525
6505
  ProductName: __expectString,
@@ -5547,9 +6527,12 @@ const de_AwsSecurityFinding = (output, context) => {
5547
6527
  const de_AwsSecurityFindingFilters = (output, context) => {
5548
6528
  return take(output, {
5549
6529
  AwsAccountId: _json,
6530
+ AwsAccountName: _json,
5550
6531
  CompanyName: _json,
5551
6532
  ComplianceAssociatedStandardsId: _json,
5552
6533
  ComplianceSecurityControlId: _json,
6534
+ ComplianceSecurityControlParametersName: _json,
6535
+ ComplianceSecurityControlParametersValue: _json,
5553
6536
  ComplianceStatus: _json,
5554
6537
  Confidence: (_) => de_NumberFilterList(_, context),
5555
6538
  CreatedAt: _json,
@@ -5599,6 +6582,8 @@ const de_AwsSecurityFindingFilters = (output, context) => {
5599
6582
  Region: _json,
5600
6583
  RelatedFindingsId: _json,
5601
6584
  RelatedFindingsProductArn: _json,
6585
+ ResourceApplicationArn: _json,
6586
+ ResourceApplicationName: _json,
5602
6587
  ResourceAwsEc2InstanceIamInstanceProfileArn: _json,
5603
6588
  ResourceAwsEc2InstanceImageId: _json,
5604
6589
  ResourceAwsEc2InstanceIpV4Addresses: _json,
@@ -5641,6 +6626,8 @@ const de_AwsSecurityFindingFilters = (output, context) => {
5641
6626
  UpdatedAt: _json,
5642
6627
  UserDefinedFields: _json,
5643
6628
  VerificationState: _json,
6629
+ VulnerabilitiesExploitAvailable: _json,
6630
+ VulnerabilitiesFixAvailable: _json,
5644
6631
  WorkflowState: _json,
5645
6632
  WorkflowStatus: _json,
5646
6633
  });
@@ -5653,6 +6640,94 @@ const de_AwsSecurityFindingList = (output, context) => {
5653
6640
  });
5654
6641
  return retVal;
5655
6642
  };
6643
+ const de_ConfigurationOptions = (output, context) => {
6644
+ if (output.Boolean != null) {
6645
+ return {
6646
+ Boolean: _json(output.Boolean),
6647
+ };
6648
+ }
6649
+ if (output.Double != null) {
6650
+ return {
6651
+ Double: de_DoubleConfigurationOptions(output.Double, context),
6652
+ };
6653
+ }
6654
+ if (output.Enum != null) {
6655
+ return {
6656
+ Enum: _json(output.Enum),
6657
+ };
6658
+ }
6659
+ if (output.EnumList != null) {
6660
+ return {
6661
+ EnumList: _json(output.EnumList),
6662
+ };
6663
+ }
6664
+ if (output.Integer != null) {
6665
+ return {
6666
+ Integer: _json(output.Integer),
6667
+ };
6668
+ }
6669
+ if (output.IntegerList != null) {
6670
+ return {
6671
+ IntegerList: _json(output.IntegerList),
6672
+ };
6673
+ }
6674
+ if (output.String != null) {
6675
+ return {
6676
+ String: _json(output.String),
6677
+ };
6678
+ }
6679
+ if (output.StringList != null) {
6680
+ return {
6681
+ StringList: _json(output.StringList),
6682
+ };
6683
+ }
6684
+ return { $unknown: Object.entries(output)[0] };
6685
+ };
6686
+ const de_ConfigurationPolicyAssociationList = (output, context) => {
6687
+ const retVal = (output || [])
6688
+ .filter((e) => e != null)
6689
+ .map((entry) => {
6690
+ return de_ConfigurationPolicyAssociationSummary(entry, context);
6691
+ });
6692
+ return retVal;
6693
+ };
6694
+ const de_ConfigurationPolicyAssociationSummary = (output, context) => {
6695
+ return take(output, {
6696
+ AssociationStatus: __expectString,
6697
+ AssociationStatusMessage: __expectString,
6698
+ AssociationType: __expectString,
6699
+ ConfigurationPolicyId: __expectString,
6700
+ TargetId: __expectString,
6701
+ TargetType: __expectString,
6702
+ UpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
6703
+ });
6704
+ };
6705
+ const de_ConfigurationPolicyAssociationSummaryList = (output, context) => {
6706
+ const retVal = (output || [])
6707
+ .filter((e) => e != null)
6708
+ .map((entry) => {
6709
+ return de_ConfigurationPolicyAssociationSummary(entry, context);
6710
+ });
6711
+ return retVal;
6712
+ };
6713
+ const de_ConfigurationPolicySummary = (output, context) => {
6714
+ return take(output, {
6715
+ Arn: __expectString,
6716
+ Description: __expectString,
6717
+ Id: __expectString,
6718
+ Name: __expectString,
6719
+ ServiceEnabled: __expectBoolean,
6720
+ UpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
6721
+ });
6722
+ };
6723
+ const de_ConfigurationPolicySummaryList = (output, context) => {
6724
+ const retVal = (output || [])
6725
+ .filter((e) => e != null)
6726
+ .map((entry) => {
6727
+ return de_ConfigurationPolicySummary(entry, context);
6728
+ });
6729
+ return retVal;
6730
+ };
5656
6731
  const de_Cvss = (output, context) => {
5657
6732
  return take(output, {
5658
6733
  Adjustments: _json,
@@ -5670,6 +6745,13 @@ const de_CvssList = (output, context) => {
5670
6745
  });
5671
6746
  return retVal;
5672
6747
  };
6748
+ const de_DoubleConfigurationOptions = (output, context) => {
6749
+ return take(output, {
6750
+ DefaultValue: __limitedParseDouble,
6751
+ Max: __limitedParseDouble,
6752
+ Min: __limitedParseDouble,
6753
+ });
6754
+ };
5673
6755
  const de_FindingHistoryRecord = (output, context) => {
5674
6756
  return take(output, {
5675
6757
  FindingCreated: __expectBoolean,
@@ -5758,7 +6840,9 @@ const de_NetworkConnectionAction = (output, context) => {
5758
6840
  const de_NumberFilter = (output, context) => {
5759
6841
  return take(output, {
5760
6842
  Eq: __limitedParseDouble,
6843
+ Gt: __limitedParseDouble,
5761
6844
  Gte: __limitedParseDouble,
6845
+ Lt: __limitedParseDouble,
5762
6846
  Lte: __limitedParseDouble,
5763
6847
  });
5764
6848
  };
@@ -5770,6 +6854,77 @@ const de_NumberFilterList = (output, context) => {
5770
6854
  });
5771
6855
  return retVal;
5772
6856
  };
6857
+ const de_ParameterConfiguration = (output, context) => {
6858
+ return take(output, {
6859
+ Value: (_) => de_ParameterValue(__expectUnion(_), context),
6860
+ ValueType: __expectString,
6861
+ });
6862
+ };
6863
+ const de_ParameterDefinition = (output, context) => {
6864
+ return take(output, {
6865
+ ConfigurationOptions: (_) => de_ConfigurationOptions(__expectUnion(_), context),
6866
+ Description: __expectString,
6867
+ });
6868
+ };
6869
+ const de_ParameterDefinitions = (output, context) => {
6870
+ return Object.entries(output).reduce((acc, [key, value]) => {
6871
+ if (value === null) {
6872
+ return acc;
6873
+ }
6874
+ acc[key] = de_ParameterDefinition(value, context);
6875
+ return acc;
6876
+ }, {});
6877
+ };
6878
+ const de_Parameters = (output, context) => {
6879
+ return Object.entries(output).reduce((acc, [key, value]) => {
6880
+ if (value === null) {
6881
+ return acc;
6882
+ }
6883
+ acc[key] = de_ParameterConfiguration(value, context);
6884
+ return acc;
6885
+ }, {});
6886
+ };
6887
+ const de_ParameterValue = (output, context) => {
6888
+ if (__expectBoolean(output.Boolean) !== undefined) {
6889
+ return { Boolean: __expectBoolean(output.Boolean) };
6890
+ }
6891
+ if (__limitedParseDouble(output.Double) !== undefined) {
6892
+ return { Double: __limitedParseDouble(output.Double) };
6893
+ }
6894
+ if (__expectString(output.Enum) !== undefined) {
6895
+ return { Enum: __expectString(output.Enum) };
6896
+ }
6897
+ if (output.EnumList != null) {
6898
+ return {
6899
+ EnumList: _json(output.EnumList),
6900
+ };
6901
+ }
6902
+ if (__expectInt32(output.Integer) !== undefined) {
6903
+ return { Integer: __expectInt32(output.Integer) };
6904
+ }
6905
+ if (output.IntegerList != null) {
6906
+ return {
6907
+ IntegerList: _json(output.IntegerList),
6908
+ };
6909
+ }
6910
+ if (__expectString(output.String) !== undefined) {
6911
+ return { String: __expectString(output.String) };
6912
+ }
6913
+ if (output.StringList != null) {
6914
+ return {
6915
+ StringList: _json(output.StringList),
6916
+ };
6917
+ }
6918
+ return { $unknown: Object.entries(output)[0] };
6919
+ };
6920
+ const de_Policy = (output, context) => {
6921
+ if (output.SecurityHub != null) {
6922
+ return {
6923
+ SecurityHub: de_SecurityHubPolicy(output.SecurityHub, context),
6924
+ };
6925
+ }
6926
+ return { $unknown: Object.entries(output)[0] };
6927
+ };
5773
6928
  const de_PortProbeAction = (output, context) => {
5774
6929
  return take(output, {
5775
6930
  Blocked: __expectBoolean,
@@ -5793,6 +6948,8 @@ const de_PortProbeDetailList = (output, context) => {
5793
6948
  };
5794
6949
  const de_Resource = (output, context) => {
5795
6950
  return take(output, {
6951
+ ApplicationArn: __expectString,
6952
+ ApplicationName: __expectString,
5796
6953
  DataClassification: _json,
5797
6954
  Details: (_) => de_ResourceDetails(_, context),
5798
6955
  Id: __expectString,
@@ -5912,6 +7069,76 @@ const de_ResourceList = (output, context) => {
5912
7069
  });
5913
7070
  return retVal;
5914
7071
  };
7072
+ const de_SecurityControl = (output, context) => {
7073
+ return take(output, {
7074
+ Description: __expectString,
7075
+ LastUpdateReason: __expectString,
7076
+ Parameters: (_) => de_Parameters(_, context),
7077
+ RemediationUrl: __expectString,
7078
+ SecurityControlArn: __expectString,
7079
+ SecurityControlId: __expectString,
7080
+ SecurityControlStatus: __expectString,
7081
+ SeverityRating: __expectString,
7082
+ Title: __expectString,
7083
+ UpdateStatus: __expectString,
7084
+ });
7085
+ };
7086
+ const de_SecurityControlCustomParameter = (output, context) => {
7087
+ return take(output, {
7088
+ Parameters: (_) => de_Parameters(_, context),
7089
+ SecurityControlId: __expectString,
7090
+ });
7091
+ };
7092
+ const de_SecurityControlCustomParametersList = (output, context) => {
7093
+ const retVal = (output || [])
7094
+ .filter((e) => e != null)
7095
+ .map((entry) => {
7096
+ return de_SecurityControlCustomParameter(entry, context);
7097
+ });
7098
+ return retVal;
7099
+ };
7100
+ const de_SecurityControlDefinition = (output, context) => {
7101
+ return take(output, {
7102
+ CurrentRegionAvailability: __expectString,
7103
+ CustomizableProperties: _json,
7104
+ Description: __expectString,
7105
+ ParameterDefinitions: (_) => de_ParameterDefinitions(_, context),
7106
+ RemediationUrl: __expectString,
7107
+ SecurityControlId: __expectString,
7108
+ SeverityRating: __expectString,
7109
+ Title: __expectString,
7110
+ });
7111
+ };
7112
+ const de_SecurityControlDefinitions = (output, context) => {
7113
+ const retVal = (output || [])
7114
+ .filter((e) => e != null)
7115
+ .map((entry) => {
7116
+ return de_SecurityControlDefinition(entry, context);
7117
+ });
7118
+ return retVal;
7119
+ };
7120
+ const de_SecurityControls = (output, context) => {
7121
+ const retVal = (output || [])
7122
+ .filter((e) => e != null)
7123
+ .map((entry) => {
7124
+ return de_SecurityControl(entry, context);
7125
+ });
7126
+ return retVal;
7127
+ };
7128
+ const de_SecurityControlsConfiguration = (output, context) => {
7129
+ return take(output, {
7130
+ DisabledSecurityControlIdentifiers: _json,
7131
+ EnabledSecurityControlIdentifiers: _json,
7132
+ SecurityControlCustomParameters: (_) => de_SecurityControlCustomParametersList(_, context),
7133
+ });
7134
+ };
7135
+ const de_SecurityHubPolicy = (output, context) => {
7136
+ return take(output, {
7137
+ EnabledStandardIdentifiers: _json,
7138
+ SecurityControlsConfiguration: (_) => de_SecurityControlsConfiguration(_, context),
7139
+ ServiceEnabled: __expectBoolean,
7140
+ });
7141
+ };
5915
7142
  const de_Severity = (output, context) => {
5916
7143
  return take(output, {
5917
7144
  Label: __expectString,