@aws-sdk/client-securityhub 3.828.0 → 3.831.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 (200) hide show
  1. package/README.md +208 -0
  2. package/dist-cjs/index.js +1956 -51
  3. package/dist-es/SecurityHub.js +52 -0
  4. package/dist-es/commands/BatchUpdateFindingsV2Command.js +22 -0
  5. package/dist-es/commands/ConnectorRegistrationsV2Command.js +22 -0
  6. package/dist-es/commands/CreateAggregatorV2Command.js +22 -0
  7. package/dist-es/commands/CreateAutomationRuleV2Command.js +22 -0
  8. package/dist-es/commands/CreateConnectorV2Command.js +23 -0
  9. package/dist-es/commands/CreateTicketV2Command.js +22 -0
  10. package/dist-es/commands/DeleteAggregatorV2Command.js +22 -0
  11. package/dist-es/commands/DeleteAutomationRuleV2Command.js +22 -0
  12. package/dist-es/commands/DeleteConnectorV2Command.js +22 -0
  13. package/dist-es/commands/DescribeProductsV2Command.js +22 -0
  14. package/dist-es/commands/DescribeSecurityHubV2Command.js +22 -0
  15. package/dist-es/commands/DisableSecurityHubV2Command.js +22 -0
  16. package/dist-es/commands/EnableSecurityHubV2Command.js +22 -0
  17. package/dist-es/commands/GetAggregatorV2Command.js +22 -0
  18. package/dist-es/commands/GetAutomationRuleV2Command.js +22 -0
  19. package/dist-es/commands/GetConnectorV2Command.js +22 -0
  20. package/dist-es/commands/GetFindingStatisticsV2Command.js +22 -0
  21. package/dist-es/commands/GetFindingsV2Command.js +22 -0
  22. package/dist-es/commands/GetResourcesStatisticsV2Command.js +22 -0
  23. package/dist-es/commands/GetResourcesV2Command.js +22 -0
  24. package/dist-es/commands/ListAggregatorsV2Command.js +22 -0
  25. package/dist-es/commands/ListAutomationRulesV2Command.js +22 -0
  26. package/dist-es/commands/ListConnectorsV2Command.js +22 -0
  27. package/dist-es/commands/UpdateAggregatorV2Command.js +22 -0
  28. package/dist-es/commands/UpdateAutomationRuleV2Command.js +22 -0
  29. package/dist-es/commands/UpdateConnectorV2Command.js +23 -0
  30. package/dist-es/commands/index.js +26 -0
  31. package/dist-es/models/index.js +1 -0
  32. package/dist-es/models/models_0.js +13 -0
  33. package/dist-es/models/models_2.js +193 -19
  34. package/dist-es/models/models_3.js +101 -0
  35. package/dist-es/pagination/DescribeProductsV2Paginator.js +4 -0
  36. package/dist-es/pagination/GetFindingsV2Paginator.js +4 -0
  37. package/dist-es/pagination/GetResourcesV2Paginator.js +4 -0
  38. package/dist-es/pagination/ListAggregatorsV2Paginator.js +4 -0
  39. package/dist-es/pagination/index.js +4 -0
  40. package/dist-es/protocols/Aws_restJson1.js +1071 -32
  41. package/dist-types/SecurityHub.d.ts +192 -0
  42. package/dist-types/SecurityHubClient.d.ts +28 -2
  43. package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +5 -5
  44. package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +5 -5
  45. package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +16 -12
  46. package/dist-types/commands/BatchUpdateFindingsV2Command.d.ts +129 -0
  47. package/dist-types/commands/ConnectorRegistrationsV2Command.d.ts +96 -0
  48. package/dist-types/commands/CreateAggregatorV2Command.d.ts +106 -0
  49. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +5 -5
  50. package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +174 -0
  51. package/dist-types/commands/CreateConnectorV2Command.d.ts +112 -0
  52. package/dist-types/commands/CreateInsightCommand.d.ts +5 -5
  53. package/dist-types/commands/CreateTicketV2Command.d.ts +97 -0
  54. package/dist-types/commands/DeleteAggregatorV2Command.d.ts +92 -0
  55. package/dist-types/commands/DeleteAutomationRuleV2Command.d.ts +92 -0
  56. package/dist-types/commands/DeleteConnectorV2Command.d.ts +92 -0
  57. package/dist-types/commands/DescribeProductsV2Command.d.ts +107 -0
  58. package/dist-types/commands/DescribeSecurityHubV2Command.d.ts +87 -0
  59. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +1 -0
  60. package/dist-types/commands/DisableSecurityHubV2Command.d.ts +84 -0
  61. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +6 -2
  62. package/dist-types/commands/EnableSecurityHubV2Command.d.ts +90 -0
  63. package/dist-types/commands/GetAggregatorV2Command.d.ts +99 -0
  64. package/dist-types/commands/GetAutomationRuleV2Command.d.ts +176 -0
  65. package/dist-types/commands/GetConnectorV2Command.d.ts +119 -0
  66. package/dist-types/commands/GetFindingHistoryCommand.d.ts +8 -2
  67. package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +169 -0
  68. package/dist-types/commands/GetFindingsCommand.d.ts +7 -6
  69. package/dist-types/commands/GetFindingsV2Command.d.ts +163 -0
  70. package/dist-types/commands/GetInsightResultsCommand.d.ts +1 -1
  71. package/dist-types/commands/GetInsightsCommand.d.ts +6 -6
  72. package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
  73. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
  74. package/dist-types/commands/GetMembersCommand.d.ts +1 -1
  75. package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +162 -0
  76. package/dist-types/commands/GetResourcesV2Command.d.ts +190 -0
  77. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
  78. package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
  79. package/dist-types/commands/ListAggregatorsV2Command.d.ts +100 -0
  80. package/dist-types/commands/ListAutomationRulesCommand.d.ts +1 -1
  81. package/dist-types/commands/ListAutomationRulesV2Command.d.ts +109 -0
  82. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
  83. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
  84. package/dist-types/commands/ListConnectorsV2Command.d.ts +110 -0
  85. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
  86. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +1 -1
  87. package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
  88. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  89. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +3 -1
  90. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
  91. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
  92. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  93. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
  94. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
  95. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  96. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  97. package/dist-types/commands/UpdateActionTargetCommand.d.ts +1 -1
  98. package/dist-types/commands/UpdateAggregatorV2Command.d.ts +103 -0
  99. package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +171 -0
  100. package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +1 -1
  101. package/dist-types/commands/UpdateConnectorV2Command.d.ts +99 -0
  102. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
  103. package/dist-types/commands/UpdateFindingsCommand.d.ts +6 -6
  104. package/dist-types/commands/UpdateInsightCommand.d.ts +6 -6
  105. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  106. package/dist-types/commands/UpdateSecurityControlCommand.d.ts +1 -1
  107. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
  108. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +1 -1
  109. package/dist-types/commands/index.d.ts +26 -0
  110. package/dist-types/endpoint/EndpointParameters.d.ts +7 -7
  111. package/dist-types/models/index.d.ts +1 -0
  112. package/dist-types/models/models_0.d.ts +166 -320
  113. package/dist-types/models/models_1.d.ts +319 -343
  114. package/dist-types/models/models_2.d.ts +2465 -2269
  115. package/dist-types/models/models_3.d.ts +2386 -0
  116. package/dist-types/pagination/DescribeProductsV2Paginator.d.ts +7 -0
  117. package/dist-types/pagination/GetFindingsV2Paginator.d.ts +7 -0
  118. package/dist-types/pagination/GetResourcesV2Paginator.d.ts +7 -0
  119. package/dist-types/pagination/ListAggregatorsV2Paginator.d.ts +7 -0
  120. package/dist-types/pagination/index.d.ts +4 -0
  121. package/dist-types/protocols/Aws_restJson1.d.ts +234 -0
  122. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  123. package/dist-types/runtimeConfig.native.d.ts +2 -2
  124. package/dist-types/ts3.4/SecurityHub.d.ts +452 -0
  125. package/dist-types/ts3.4/SecurityHubClient.d.ts +156 -0
  126. package/dist-types/ts3.4/commands/BatchUpdateFindingsV2Command.d.ts +51 -0
  127. package/dist-types/ts3.4/commands/ConnectorRegistrationsV2Command.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/CreateAggregatorV2Command.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/CreateAutomationRuleV2Command.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/CreateConnectorV2Command.d.ts +51 -0
  131. package/dist-types/ts3.4/commands/CreateTicketV2Command.d.ts +50 -0
  132. package/dist-types/ts3.4/commands/DeleteAggregatorV2Command.d.ts +51 -0
  133. package/dist-types/ts3.4/commands/DeleteAutomationRuleV2Command.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/DeleteConnectorV2Command.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/DescribeProductsV2Command.d.ts +51 -0
  136. package/dist-types/ts3.4/commands/DescribeSecurityHubV2Command.d.ts +51 -0
  137. package/dist-types/ts3.4/commands/DisableSecurityHubV2Command.d.ts +51 -0
  138. package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/EnableSecurityHubV2Command.d.ts +51 -0
  140. package/dist-types/ts3.4/commands/GetAggregatorV2Command.d.ts +50 -0
  141. package/dist-types/ts3.4/commands/GetAutomationRuleV2Command.d.ts +51 -0
  142. package/dist-types/ts3.4/commands/GetConnectorV2Command.d.ts +50 -0
  143. package/dist-types/ts3.4/commands/GetFindingStatisticsV2Command.d.ts +51 -0
  144. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +2 -1
  145. package/dist-types/ts3.4/commands/GetFindingsV2Command.d.ts +50 -0
  146. package/dist-types/ts3.4/commands/GetInsightResultsCommand.d.ts +1 -1
  147. package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +1 -1
  148. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
  149. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
  150. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
  151. package/dist-types/ts3.4/commands/GetResourcesStatisticsV2Command.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/GetResourcesV2Command.d.ts +50 -0
  153. package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
  154. package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +1 -1
  155. package/dist-types/ts3.4/commands/ListAggregatorsV2Command.d.ts +51 -0
  156. package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +1 -1
  157. package/dist-types/ts3.4/commands/ListAutomationRulesV2Command.d.ts +51 -0
  158. package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
  159. package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/ListConnectorsV2Command.d.ts +50 -0
  161. package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +1 -1
  163. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
  164. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  165. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  166. package/dist-types/ts3.4/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
  167. package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
  168. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
  170. package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
  171. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  172. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/UpdateActionTargetCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/UpdateAggregatorV2Command.d.ts +51 -0
  175. package/dist-types/ts3.4/commands/UpdateAutomationRuleV2Command.d.ts +51 -0
  176. package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/UpdateConnectorV2Command.d.ts +51 -0
  178. package/dist-types/ts3.4/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
  179. package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +1 -1
  180. package/dist-types/ts3.4/commands/UpdateInsightCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/UpdateSecurityControlCommand.d.ts +1 -1
  183. package/dist-types/ts3.4/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
  184. package/dist-types/ts3.4/commands/UpdateStandardsControlCommand.d.ts +1 -1
  185. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  186. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +7 -7
  187. package/dist-types/ts3.4/models/index.d.ts +1 -0
  188. package/dist-types/ts3.4/models/models_0.d.ts +50 -57
  189. package/dist-types/ts3.4/models/models_1.d.ts +57 -66
  190. package/dist-types/ts3.4/models/models_2.d.ts +522 -310
  191. package/dist-types/ts3.4/models/models_3.d.ts +626 -0
  192. package/dist-types/ts3.4/pagination/DescribeProductsV2Paginator.d.ts +11 -0
  193. package/dist-types/ts3.4/pagination/GetFindingsV2Paginator.d.ts +11 -0
  194. package/dist-types/ts3.4/pagination/GetResourcesV2Paginator.d.ts +11 -0
  195. package/dist-types/ts3.4/pagination/ListAggregatorsV2Paginator.d.ts +11 -0
  196. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  197. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +312 -0
  198. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
  199. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
  200. package/package.json +5 -3
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListAggregatorsV2Command, se_ListAggregatorsV2Command } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListAggregatorsV2Command extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SecurityHubAPIService", "ListAggregatorsV2", {})
17
+ .n("SecurityHubClient", "ListAggregatorsV2Command")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListAggregatorsV2Command)
20
+ .de(de_ListAggregatorsV2Command)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListAutomationRulesV2Command, se_ListAutomationRulesV2Command } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListAutomationRulesV2Command extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SecurityHubAPIService", "ListAutomationRulesV2", {})
17
+ .n("SecurityHubClient", "ListAutomationRulesV2Command")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListAutomationRulesV2Command)
20
+ .de(de_ListAutomationRulesV2Command)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListConnectorsV2Command, se_ListConnectorsV2Command } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListConnectorsV2Command extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SecurityHubAPIService", "ListConnectorsV2", {})
17
+ .n("SecurityHubClient", "ListConnectorsV2Command")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListConnectorsV2Command)
20
+ .de(de_ListConnectorsV2Command)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateAggregatorV2Command, se_UpdateAggregatorV2Command } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateAggregatorV2Command extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SecurityHubAPIService", "UpdateAggregatorV2", {})
17
+ .n("SecurityHubClient", "UpdateAggregatorV2Command")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateAggregatorV2Command)
20
+ .de(de_UpdateAggregatorV2Command)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateAutomationRuleV2Command, se_UpdateAutomationRuleV2Command } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateAutomationRuleV2Command extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SecurityHubAPIService", "UpdateAutomationRuleV2", {})
17
+ .n("SecurityHubClient", "UpdateAutomationRuleV2Command")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateAutomationRuleV2Command)
20
+ .de(de_UpdateAutomationRuleV2Command)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateConnectorV2RequestFilterSensitiveLog, } from "../models/models_3";
6
+ import { de_UpdateConnectorV2Command, se_UpdateConnectorV2Command } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class UpdateConnectorV2Command extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("SecurityHubAPIService", "UpdateConnectorV2", {})
18
+ .n("SecurityHubClient", "UpdateConnectorV2Command")
19
+ .f(UpdateConnectorV2RequestFilterSensitiveLog, void 0)
20
+ .ser(se_UpdateConnectorV2Command)
21
+ .de(de_UpdateConnectorV2Command)
22
+ .build() {
23
+ }
@@ -10,16 +10,25 @@ export * from "./BatchGetStandardsControlAssociationsCommand";
10
10
  export * from "./BatchImportFindingsCommand";
11
11
  export * from "./BatchUpdateAutomationRulesCommand";
12
12
  export * from "./BatchUpdateFindingsCommand";
13
+ export * from "./BatchUpdateFindingsV2Command";
13
14
  export * from "./BatchUpdateStandardsControlAssociationsCommand";
15
+ export * from "./ConnectorRegistrationsV2Command";
14
16
  export * from "./CreateActionTargetCommand";
17
+ export * from "./CreateAggregatorV2Command";
15
18
  export * from "./CreateAutomationRuleCommand";
19
+ export * from "./CreateAutomationRuleV2Command";
16
20
  export * from "./CreateConfigurationPolicyCommand";
21
+ export * from "./CreateConnectorV2Command";
17
22
  export * from "./CreateFindingAggregatorCommand";
18
23
  export * from "./CreateInsightCommand";
19
24
  export * from "./CreateMembersCommand";
25
+ export * from "./CreateTicketV2Command";
20
26
  export * from "./DeclineInvitationsCommand";
21
27
  export * from "./DeleteActionTargetCommand";
28
+ export * from "./DeleteAggregatorV2Command";
29
+ export * from "./DeleteAutomationRuleV2Command";
22
30
  export * from "./DeleteConfigurationPolicyCommand";
31
+ export * from "./DeleteConnectorV2Command";
23
32
  export * from "./DeleteFindingAggregatorCommand";
24
33
  export * from "./DeleteInsightCommand";
25
34
  export * from "./DeleteInvitationsCommand";
@@ -28,34 +37,48 @@ export * from "./DescribeActionTargetsCommand";
28
37
  export * from "./DescribeHubCommand";
29
38
  export * from "./DescribeOrganizationConfigurationCommand";
30
39
  export * from "./DescribeProductsCommand";
40
+ export * from "./DescribeProductsV2Command";
41
+ export * from "./DescribeSecurityHubV2Command";
31
42
  export * from "./DescribeStandardsCommand";
32
43
  export * from "./DescribeStandardsControlsCommand";
33
44
  export * from "./DisableImportFindingsForProductCommand";
34
45
  export * from "./DisableOrganizationAdminAccountCommand";
35
46
  export * from "./DisableSecurityHubCommand";
47
+ export * from "./DisableSecurityHubV2Command";
36
48
  export * from "./DisassociateFromAdministratorAccountCommand";
37
49
  export * from "./DisassociateFromMasterAccountCommand";
38
50
  export * from "./DisassociateMembersCommand";
39
51
  export * from "./EnableImportFindingsForProductCommand";
40
52
  export * from "./EnableOrganizationAdminAccountCommand";
41
53
  export * from "./EnableSecurityHubCommand";
54
+ export * from "./EnableSecurityHubV2Command";
42
55
  export * from "./GetAdministratorAccountCommand";
56
+ export * from "./GetAggregatorV2Command";
57
+ export * from "./GetAutomationRuleV2Command";
43
58
  export * from "./GetConfigurationPolicyAssociationCommand";
44
59
  export * from "./GetConfigurationPolicyCommand";
60
+ export * from "./GetConnectorV2Command";
45
61
  export * from "./GetEnabledStandardsCommand";
46
62
  export * from "./GetFindingAggregatorCommand";
47
63
  export * from "./GetFindingHistoryCommand";
64
+ export * from "./GetFindingStatisticsV2Command";
48
65
  export * from "./GetFindingsCommand";
66
+ export * from "./GetFindingsV2Command";
49
67
  export * from "./GetInsightResultsCommand";
50
68
  export * from "./GetInsightsCommand";
51
69
  export * from "./GetInvitationsCountCommand";
52
70
  export * from "./GetMasterAccountCommand";
53
71
  export * from "./GetMembersCommand";
72
+ export * from "./GetResourcesStatisticsV2Command";
73
+ export * from "./GetResourcesV2Command";
54
74
  export * from "./GetSecurityControlDefinitionCommand";
55
75
  export * from "./InviteMembersCommand";
76
+ export * from "./ListAggregatorsV2Command";
56
77
  export * from "./ListAutomationRulesCommand";
78
+ export * from "./ListAutomationRulesV2Command";
57
79
  export * from "./ListConfigurationPoliciesCommand";
58
80
  export * from "./ListConfigurationPolicyAssociationsCommand";
81
+ export * from "./ListConnectorsV2Command";
59
82
  export * from "./ListEnabledProductsForImportCommand";
60
83
  export * from "./ListFindingAggregatorsCommand";
61
84
  export * from "./ListInvitationsCommand";
@@ -69,7 +92,10 @@ export * from "./StartConfigurationPolicyDisassociationCommand";
69
92
  export * from "./TagResourceCommand";
70
93
  export * from "./UntagResourceCommand";
71
94
  export * from "./UpdateActionTargetCommand";
95
+ export * from "./UpdateAggregatorV2Command";
96
+ export * from "./UpdateAutomationRuleV2Command";
72
97
  export * from "./UpdateConfigurationPolicyCommand";
98
+ export * from "./UpdateConnectorV2Command";
73
99
  export * from "./UpdateFindingAggregatorCommand";
74
100
  export * from "./UpdateFindingsCommand";
75
101
  export * from "./UpdateInsightCommand";
@@ -1,3 +1,4 @@
1
1
  export * from "./models_0";
2
2
  export * from "./models_1";
3
3
  export * from "./models_2";
4
+ export * from "./models_3";
@@ -125,6 +125,10 @@ export const AdminStatus = {
125
125
  DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
126
126
  ENABLED: "ENABLED",
127
127
  };
128
+ export const AllowedOperators = {
129
+ AND: "AND",
130
+ OR: "OR",
131
+ };
128
132
  export const ConfigurationPolicyAssociationStatus = {
129
133
  FAILED: "FAILED",
130
134
  PENDING: "PENDING",
@@ -142,8 +146,13 @@ export const AutoEnableStandards = {
142
146
  DEFAULT: "DEFAULT",
143
147
  NONE: "NONE",
144
148
  };
149
+ export const AutomationRulesActionTypeV2 = {
150
+ EXTERNAL_INTEGRATION: "EXTERNAL_INTEGRATION",
151
+ FINDING_FIELDS_UPDATE: "FINDING_FIELDS_UPDATE",
152
+ };
145
153
  export const StringFilterComparison = {
146
154
  CONTAINS: "CONTAINS",
155
+ CONTAINS_WORD: "CONTAINS_WORD",
147
156
  EQUALS: "EQUALS",
148
157
  NOT_CONTAINS: "NOT_CONTAINS",
149
158
  NOT_EQUALS: "NOT_EQUALS",
@@ -163,3 +172,7 @@ export const RuleStatus = {
163
172
  DISABLED: "DISABLED",
164
173
  ENABLED: "ENABLED",
165
174
  };
175
+ export const RuleStatusV2 = {
176
+ DISABLED: "DISABLED",
177
+ ENABLED: "ENABLED",
178
+ };
@@ -1,3 +1,4 @@
1
+ import { SENSITIVE_STRING } from "@smithy/smithy-client";
1
2
  import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
2
3
  export const Partition = {
3
4
  AWS: "aws",
@@ -120,6 +121,132 @@ export const UnprocessedErrorCode = {
120
121
  LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
121
122
  NOT_FOUND: "NOT_FOUND",
122
123
  };
124
+ export const BatchUpdateFindingsV2UnprocessedFindingErrorCode = {
125
+ ConflictException: "ConflictException",
126
+ InternalServerException: "InternalServerException",
127
+ ResourceNotFoundException: "ResourceNotFoundException",
128
+ ValidationException: "ValidationException",
129
+ };
130
+ export class ConflictException extends __BaseException {
131
+ name = "ConflictException";
132
+ $fault = "client";
133
+ Message;
134
+ Code;
135
+ constructor(opts) {
136
+ super({
137
+ name: "ConflictException",
138
+ $fault: "client",
139
+ ...opts,
140
+ });
141
+ Object.setPrototypeOf(this, ConflictException.prototype);
142
+ this.Message = opts.Message;
143
+ this.Code = opts.Code;
144
+ }
145
+ }
146
+ export class InternalServerException extends __BaseException {
147
+ name = "InternalServerException";
148
+ $fault = "server";
149
+ Message;
150
+ Code;
151
+ constructor(opts) {
152
+ super({
153
+ name: "InternalServerException",
154
+ $fault: "server",
155
+ ...opts,
156
+ });
157
+ Object.setPrototypeOf(this, InternalServerException.prototype);
158
+ this.Message = opts.Message;
159
+ this.Code = opts.Code;
160
+ }
161
+ }
162
+ export class ThrottlingException extends __BaseException {
163
+ name = "ThrottlingException";
164
+ $fault = "client";
165
+ Message;
166
+ Code;
167
+ constructor(opts) {
168
+ super({
169
+ name: "ThrottlingException",
170
+ $fault: "client",
171
+ ...opts,
172
+ });
173
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
174
+ this.Message = opts.Message;
175
+ this.Code = opts.Code;
176
+ }
177
+ }
178
+ export class ValidationException extends __BaseException {
179
+ name = "ValidationException";
180
+ $fault = "client";
181
+ Message;
182
+ Code;
183
+ constructor(opts) {
184
+ super({
185
+ name: "ValidationException",
186
+ $fault: "client",
187
+ ...opts,
188
+ });
189
+ Object.setPrototypeOf(this, ValidationException.prototype);
190
+ this.Message = opts.Message;
191
+ this.Code = opts.Code;
192
+ }
193
+ }
194
+ export const OcsfBooleanField = {
195
+ COMPLIANCE_ASSESSMENTS_MEETS_CRITERIA: "compliance.assessments.meets_criteria",
196
+ VULNERABILITIES_IS_EXPLOIT_AVAILABLE: "vulnerabilities.is_exploit_available",
197
+ VULNERABILITIES_IS_FIX_AVAILABLE: "vulnerabilities.is_fix_available",
198
+ };
199
+ export const OcsfDateField = {
200
+ FINDING_INFO_CREATED_TIME_DT: "finding_info.created_time_dt",
201
+ FINDING_INFO_FIRST_SEEN_TIME_DT: "finding_info.first_seen_time_dt",
202
+ FINDING_INFO_LAST_SEEN_TIME_DT: "finding_info.last_seen_time_dt",
203
+ FINDING_INFO_MODIFIED_TIME_DT: "finding_info.modified_time_dt",
204
+ };
205
+ export const OcsfMapField = {
206
+ RESOURCES_TAGS: "resources.tags",
207
+ };
208
+ export const OcsfNumberField = {
209
+ ACTIVITY_ID: "activity_id",
210
+ COMPLIANCE_STATUS_ID: "compliance.status_id",
211
+ CONFIDENCE_SCORE: "confidence_score",
212
+ FINDING_INFO_RELATED_EVENTS_COUNT: "finding_info.related_events_count",
213
+ SEVERITY_ID: "severity_id",
214
+ STATUS_ID: "status_id",
215
+ };
216
+ export const OcsfStringField = {
217
+ ACTIVITY_NAME: "activity_name",
218
+ CLASS_NAME: "class_name",
219
+ CLOUD_ACCOUNT_UID: "cloud.account.uid",
220
+ CLOUD_PROVIDER: "cloud.provider",
221
+ CLOUD_REGION: "cloud.region",
222
+ COMMENT: "comment",
223
+ COMPLIANCE_ASSESSMENTS_CATEGORY: "compliance.assessments.category",
224
+ COMPLIANCE_ASSESSMENTS_NAME: "compliance.assessments.name",
225
+ COMPLIANCE_CONTROL: "compliance.control",
226
+ COMPLIANCE_STANDARDS: "compliance.standards",
227
+ COMPLIANCE_STATUS: "compliance.status",
228
+ FINDING_INFO_DESC: "finding_info.desc",
229
+ FINDING_INFO_RELATED_EVENTS_PRODUCT_UID: "finding_info.related_events.product.uid",
230
+ FINDING_INFO_RELATED_EVENTS_TITLE: "finding_info.related_events.title",
231
+ FINDING_INFO_RELATED_EVENTS_UID: "finding_info.related_events.uid",
232
+ FINDING_INFO_SRC_URL: "finding_info.src_url",
233
+ FINDING_INFO_TITLE: "finding_info.title",
234
+ FINDING_INFO_TYPES: "finding_info.types",
235
+ FINDING_INFO_UID: "finding_info.uid",
236
+ METADATA_PRODUCT_NAME: "metadata.product.name",
237
+ METADATA_PRODUCT_UID: "metadata.product.uid",
238
+ METADATA_PRODUCT_VENDOR_NAME: "metadata.product.vendor_name",
239
+ METADATA_UID: "metadata.uid",
240
+ REMEDIATION_DESC: "remediation.desc",
241
+ REMEDIATION_REFERENCES: "remediation.references",
242
+ RESOURCES_CLOUD_PARTITION: "resources.cloud_partition",
243
+ RESOURCES_REGION: "resources.region",
244
+ RESOURCES_TYPE: "resources.type",
245
+ RESOURCES_UID: "resources.uid",
246
+ SEVERITY: "severity",
247
+ STATUS: "status",
248
+ VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage",
249
+ };
123
250
  export var ConfigurationOptions;
124
251
  (function (ConfigurationOptions) {
125
252
  ConfigurationOptions.visit = (value, visitor) => {
@@ -142,6 +269,20 @@ export var ConfigurationOptions;
142
269
  return visitor._(value.$unknown[0], value.$unknown[1]);
143
270
  };
144
271
  })(ConfigurationOptions || (ConfigurationOptions = {}));
272
+ export const ConnectorAuthStatus = {
273
+ ACTIVE: "ACTIVE",
274
+ FAILED: "FAILED",
275
+ };
276
+ export const ConnectorProviderName = {
277
+ JIRA_CLOUD: "JIRA_CLOUD",
278
+ SERVICENOW: "SERVICENOW",
279
+ };
280
+ export const ConnectorStatus = {
281
+ CONNECTED: "CONNECTED",
282
+ FAILED_TO_CONNECT: "FAILED_TO_CONNECT",
283
+ PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
284
+ PENDING_CONFIGURATION: "PENDING_CONFIGURATION",
285
+ };
145
286
  export const ControlFindingGenerator = {
146
287
  SECURITY_CONTROL: "SECURITY_CONTROL",
147
288
  STANDARD_CONTROL: "STANDARD_CONTROL",
@@ -162,6 +303,14 @@ export class ResourceConflictException extends __BaseException {
162
303
  this.Code = opts.Code;
163
304
  }
164
305
  }
306
+ export var Criteria;
307
+ (function (Criteria) {
308
+ Criteria.visit = (value, visitor) => {
309
+ if (value.OcsfFindingCriteria !== undefined)
310
+ return visitor.OcsfFindingCriteria(value.OcsfFindingCriteria);
311
+ return visitor._(value.$unknown[0], value.$unknown[1]);
312
+ };
313
+ })(Criteria || (Criteria = {}));
165
314
  export var Policy;
166
315
  (function (Policy) {
167
316
  Policy.visit = (value, visitor) => {
@@ -170,6 +319,16 @@ export var Policy;
170
319
  return visitor._(value.$unknown[0], value.$unknown[1]);
171
320
  };
172
321
  })(Policy || (Policy = {}));
322
+ export var ProviderConfiguration;
323
+ (function (ProviderConfiguration) {
324
+ ProviderConfiguration.visit = (value, visitor) => {
325
+ if (value.JiraCloud !== undefined)
326
+ return visitor.JiraCloud(value.JiraCloud);
327
+ if (value.ServiceNow !== undefined)
328
+ return visitor.ServiceNow(value.ServiceNow);
329
+ return visitor._(value.$unknown[0], value.$unknown[1]);
330
+ };
331
+ })(ProviderConfiguration || (ProviderConfiguration = {}));
173
332
  export const SecurityControlProperty = {
174
333
  Parameters: "Parameters",
175
334
  };
@@ -187,31 +346,46 @@ export const IntegrationType = {
187
346
  SEND_FINDINGS_TO_SECURITY_HUB: "SEND_FINDINGS_TO_SECURITY_HUB",
188
347
  UPDATE_FINDINGS_IN_SECURITY_HUB: "UPDATE_FINDINGS_IN_SECURITY_HUB",
189
348
  };
349
+ export const IntegrationV2Type = {
350
+ RECEIVE_FINDINGS_FROM_SECURITY_HUB: "RECEIVE_FINDINGS_FROM_SECURITY_HUB",
351
+ SEND_FINDINGS_TO_SECURITY_HUB: "SEND_FINDINGS_TO_SECURITY_HUB",
352
+ UPDATE_FINDINGS_IN_SECURITY_HUB: "UPDATE_FINDINGS_IN_SECURITY_HUB",
353
+ };
354
+ export const SecurityHubFeature = {
355
+ SECURITY_HUB: "SecurityHub",
356
+ SECURITY_HUB_V2: "SecurityHubV2",
357
+ };
190
358
  export const FindingHistoryUpdateSourceType = {
191
359
  BATCH_IMPORT_FINDINGS: "BATCH_IMPORT_FINDINGS",
192
360
  BATCH_UPDATE_FINDINGS: "BATCH_UPDATE_FINDINGS",
193
361
  };
362
+ export var ProviderDetail;
363
+ (function (ProviderDetail) {
364
+ ProviderDetail.visit = (value, visitor) => {
365
+ if (value.JiraCloud !== undefined)
366
+ return visitor.JiraCloud(value.JiraCloud);
367
+ if (value.ServiceNow !== undefined)
368
+ return visitor.ServiceNow(value.ServiceNow);
369
+ return visitor._(value.$unknown[0], value.$unknown[1]);
370
+ };
371
+ })(ProviderDetail || (ProviderDetail = {}));
194
372
  export const SortOrder = {
195
373
  ASCENDING: "asc",
196
374
  DESCENDING: "desc",
197
375
  };
198
- export const RegionAvailabilityStatus = {
199
- AVAILABLE: "AVAILABLE",
200
- UNAVAILABLE: "UNAVAILABLE",
376
+ export const ServiceNowProviderConfigurationFilterSensitiveLog = (obj) => ({
377
+ ...obj,
378
+ ...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
379
+ });
380
+ export const ProviderConfigurationFilterSensitiveLog = (obj) => {
381
+ if (obj.JiraCloud !== undefined)
382
+ return { JiraCloud: obj.JiraCloud };
383
+ if (obj.ServiceNow !== undefined)
384
+ return { ServiceNow: ServiceNowProviderConfigurationFilterSensitiveLog(obj.ServiceNow) };
385
+ if (obj.$unknown !== undefined)
386
+ return { [obj.$unknown[0]]: "UNKNOWN" };
201
387
  };
202
- export class ResourceInUseException extends __BaseException {
203
- name = "ResourceInUseException";
204
- $fault = "client";
205
- Message;
206
- Code;
207
- constructor(opts) {
208
- super({
209
- name: "ResourceInUseException",
210
- $fault: "client",
211
- ...opts,
212
- });
213
- Object.setPrototypeOf(this, ResourceInUseException.prototype);
214
- this.Message = opts.Message;
215
- this.Code = opts.Code;
216
- }
217
- }
388
+ export const CreateConnectorV2RequestFilterSensitiveLog = (obj) => ({
389
+ ...obj,
390
+ ...(obj.Provider && { Provider: ProviderConfigurationFilterSensitiveLog(obj.Provider) }),
391
+ });
@@ -0,0 +1,101 @@
1
+ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
3
+ export const GroupByField = {
4
+ ACTIVITY_NAME: "activity_name",
5
+ CLASS_NAME: "class_name",
6
+ CLOUD_ACCOUNT_UID: "cloud.account.uid",
7
+ CLOUD_PROVIDER: "cloud.provider",
8
+ CLOUD_REGION: "cloud.region",
9
+ COMPLIANCE_ASSESSMENTS_NAME: "compliance.assessments.name",
10
+ COMPLIANCE_CONTROL: "compliance.control",
11
+ COMPLIANCE_STATUS: "compliance.status",
12
+ FINDING_INFO_TITLE: "finding_info.title",
13
+ FINDING_INFO_TYPES: "finding_info.types",
14
+ METADATA_PRODUCT_NAME: "metadata.product.name",
15
+ METADATA_PRODUCT_UID: "metadata.product.uid",
16
+ RESOURCES_TYPE: "resources.type",
17
+ RESOURCES_UID: "resources.uid",
18
+ SEVERITY: "severity",
19
+ STATUS: "status",
20
+ VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage",
21
+ };
22
+ export const ResourcesDateField = {
23
+ RESOURCE_CREATION_TIME_DT: "resource_creation_time_dt",
24
+ RESOURCE_DETAIL_CAPTURE_TIME_DT: "resource_detail_capture_time_dt",
25
+ };
26
+ export const ResourcesMapField = {
27
+ TAG: "tags",
28
+ };
29
+ export const ResourcesNumberField = {
30
+ SEVERITY_CRITICAL: "findings_summary.severities.critical",
31
+ SEVERITY_FATAL: "findings_summary.severities.fatal",
32
+ SEVERITY_HIGH: "findings_summary.severities.high",
33
+ SEVERITY_INFORMATIONAL: "findings_summary.severities.informational",
34
+ SEVERITY_LOW: "findings_summary.severities.low",
35
+ SEVERITY_MEDIUM: "findings_summary.severities.medium",
36
+ SEVERITY_OTHER: "findings_summary.severities.other",
37
+ SEVERITY_UNKNOWN: "findings_summary.severities.unknown",
38
+ TOTAL_FINDINGS: "findings_summary.total_findings",
39
+ };
40
+ export const ResourcesStringField = {
41
+ ACCOUNT_ID: "account_id",
42
+ FINDING_TYPE: "findings_summary.finding_type",
43
+ PRODUCT_NAME: "findings_summary.product_name",
44
+ REGION: "region",
45
+ RESOURCE_ARN: "resource_arn",
46
+ RESOURCE_CATEGORY: "resource_category",
47
+ RESOURCE_ID: "resource_id",
48
+ RESOURCE_NAME: "resource_name",
49
+ RESOURCE_TYPE: "resource_type",
50
+ };
51
+ export const ResourceGroupByField = {
52
+ ACCOUNT_ID: "account_id",
53
+ FINDING_TYPE: "findings_summary.finding_type",
54
+ REGION: "region",
55
+ RESOURCE_CATEGORY: "resource_category",
56
+ RESOURCE_NAME: "resource_name",
57
+ RESOURCE_TYPE: "resource_type",
58
+ };
59
+ export const ResourceCategory = {
60
+ AI_ML: "AI/ML",
61
+ CODE: "Code",
62
+ COMPUTE: "Compute",
63
+ DATABASE: "Database",
64
+ IDENTITY: "Identity",
65
+ NETWORK: "Network",
66
+ OTHER: "Other",
67
+ STORAGE: "Storage",
68
+ };
69
+ export const RegionAvailabilityStatus = {
70
+ AVAILABLE: "AVAILABLE",
71
+ UNAVAILABLE: "UNAVAILABLE",
72
+ };
73
+ export var ProviderUpdateConfiguration;
74
+ (function (ProviderUpdateConfiguration) {
75
+ ProviderUpdateConfiguration.visit = (value, visitor) => {
76
+ if (value.JiraCloud !== undefined)
77
+ return visitor.JiraCloud(value.JiraCloud);
78
+ return visitor._(value.$unknown[0], value.$unknown[1]);
79
+ };
80
+ })(ProviderUpdateConfiguration || (ProviderUpdateConfiguration = {}));
81
+ export class ResourceInUseException extends __BaseException {
82
+ name = "ResourceInUseException";
83
+ $fault = "client";
84
+ Message;
85
+ Code;
86
+ constructor(opts) {
87
+ super({
88
+ name: "ResourceInUseException",
89
+ $fault: "client",
90
+ ...opts,
91
+ });
92
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
93
+ this.Message = opts.Message;
94
+ this.Code = opts.Code;
95
+ }
96
+ }
97
+ export const UpdateConnectorV2RequestFilterSensitiveLog = (obj) => ({
98
+ ...obj,
99
+ ...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
100
+ ...(obj.Provider && { Provider: obj.Provider }),
101
+ });
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { DescribeProductsV2Command, } from "../commands/DescribeProductsV2Command";
3
+ import { SecurityHubClient } from "../SecurityHubClient";
4
+ export const paginateDescribeProductsV2 = createPaginator(SecurityHubClient, DescribeProductsV2Command, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { GetFindingsV2Command, } from "../commands/GetFindingsV2Command";
3
+ import { SecurityHubClient } from "../SecurityHubClient";
4
+ export const paginateGetFindingsV2 = createPaginator(SecurityHubClient, GetFindingsV2Command, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { GetResourcesV2Command, } from "../commands/GetResourcesV2Command";
3
+ import { SecurityHubClient } from "../SecurityHubClient";
4
+ export const paginateGetResourcesV2 = createPaginator(SecurityHubClient, GetResourcesV2Command, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListAggregatorsV2Command, } from "../commands/ListAggregatorsV2Command";
3
+ import { SecurityHubClient } from "../SecurityHubClient";
4
+ export const paginateListAggregatorsV2 = createPaginator(SecurityHubClient, ListAggregatorsV2Command, "NextToken", "NextToken", "MaxResults");
@@ -1,12 +1,16 @@
1
1
  export * from "./DescribeActionTargetsPaginator";
2
2
  export * from "./DescribeProductsPaginator";
3
+ export * from "./DescribeProductsV2Paginator";
3
4
  export * from "./DescribeStandardsControlsPaginator";
4
5
  export * from "./DescribeStandardsPaginator";
5
6
  export * from "./GetEnabledStandardsPaginator";
6
7
  export * from "./GetFindingHistoryPaginator";
7
8
  export * from "./GetFindingsPaginator";
9
+ export * from "./GetFindingsV2Paginator";
8
10
  export * from "./GetInsightsPaginator";
9
11
  export * from "./Interfaces";
12
+ export * from "./GetResourcesV2Paginator";
13
+ export * from "./ListAggregatorsV2Paginator";
10
14
  export * from "./ListConfigurationPoliciesPaginator";
11
15
  export * from "./ListConfigurationPolicyAssociationsPaginator";
12
16
  export * from "./ListEnabledProductsForImportPaginator";