@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
@@ -27,14 +27,13 @@ declare const BatchUpdateFindingsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Used by Security Hub customers to update information about their investigation into a finding.
31
- * Requested by administrator accounts or member accounts. Administrator accounts can update findings for
32
- * their account and their member accounts. Member accounts can update findings for their
33
- * account.</p>
34
- * <p>Updates from <code>BatchUpdateFindings</code> don't affect the value of
35
- * <code>UpdatedAt</code> for a finding.</p>
36
- * <p>Administrator and member accounts can use <code>BatchUpdateFindings</code> to update the
37
- * following finding fields and objects.</p>
30
+ * <p>
31
+ * Used by Security Hub customers to update information about their investigation into one or more findings.
32
+ * Requested by administrator accounts or member accounts.
33
+ * Administrator accounts can update findings for their account and their member accounts.
34
+ * A member account can update findings only for their own account.
35
+ * Administrator and member accounts can use this operation to update the following fields and objects for one or more findings:
36
+ * </p>
38
37
  * <ul>
39
38
  * <li>
40
39
  * <p>
@@ -82,10 +81,15 @@ declare const BatchUpdateFindingsCommand_base: {
82
81
  * </p>
83
82
  * </li>
84
83
  * </ul>
85
- * <p>You can configure IAM policies to restrict access to fields and field values. For
86
- * example, you might not want member accounts to be able to suppress findings or change the
87
- * finding severity. See <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/finding-update-batchupdatefindings.html#batchupdatefindings-configure-access">Configuring access to BatchUpdateFindings</a> in the
88
- * <i>Security Hub User Guide</i>.</p>
84
+ * <p>
85
+ * If you use this operation to update a finding, your updates don’t affect the value for the <code>UpdatedAt</code> field of the finding.
86
+ * Also note that it can take several minutes for Security Hub to process your request and update each finding specified in the request.
87
+ * </p>
88
+ * <p>
89
+ * You can configure IAM policies to restrict access to fields and field values.
90
+ * For example, you might not want member accounts to be able to suppress findings or change the finding severity.
91
+ * For more information see <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/finding-update-batchupdatefindings.html#batchupdatefindings-configure-access">Configuring access to BatchUpdateFindings</a> in the <i>Security Hub User Guide</i>.
92
+ * </p>
89
93
  * @example
90
94
  * Use a bare-bones client and the command you need to make an API call.
91
95
  * ```javascript
@@ -0,0 +1,129 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BatchUpdateFindingsV2Request, BatchUpdateFindingsV2Response } from "../models/models_2";
4
+ import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchUpdateFindingsV2Command}.
14
+ */
15
+ export interface BatchUpdateFindingsV2CommandInput extends BatchUpdateFindingsV2Request {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchUpdateFindingsV2Command}.
21
+ */
22
+ export interface BatchUpdateFindingsV2CommandOutput extends BatchUpdateFindingsV2Response, __MetadataBearer {
23
+ }
24
+ declare const BatchUpdateFindingsV2Command_base: {
25
+ new (input: BatchUpdateFindingsV2CommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateFindingsV2CommandInput, BatchUpdateFindingsV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [BatchUpdateFindingsV2CommandInput]): import("@smithy/smithy-client").CommandImpl<BatchUpdateFindingsV2CommandInput, BatchUpdateFindingsV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Used by customers to update information about their investigation into a finding.
31
+ * Requested by delegated administrator accounts or member accounts.
32
+ * Delegated administrator accounts can update findings for their account and their member accounts.
33
+ * Member accounts can update findings for their account. <code>BatchUpdateFindings</code> and <code>BatchUpdateFindingV2</code> both use <code>securityhub:BatchUpdateFindings</code> in the <code>Action</code> element of an IAM policy statement.
34
+ * You must have permission to perform the <code>securityhub:BatchUpdateFindings</code> action.
35
+ * Updates from <code>BatchUpdateFindingsV2</code> don't affect the value of f<code>inding_info.modified_time</code>, <code>finding_info.modified_time_dt</code>, <code>time</code>, <code>time_dt for a finding</code>. This API is in private preview and subject to change.</p>
36
+ * @example
37
+ * Use a bare-bones client and the command you need to make an API call.
38
+ * ```javascript
39
+ * import { SecurityHubClient, BatchUpdateFindingsV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
40
+ * // const { SecurityHubClient, BatchUpdateFindingsV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
41
+ * const client = new SecurityHubClient(config);
42
+ * const input = { // BatchUpdateFindingsV2Request
43
+ * MetadataUids: [ // MetadataUidList
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * FindingIdentifiers: [ // OcsfFindingIdentifierList
47
+ * { // OcsfFindingIdentifier
48
+ * CloudAccountUid: "STRING_VALUE", // required
49
+ * FindingInfoUid: "STRING_VALUE", // required
50
+ * MetadataProductUid: "STRING_VALUE", // required
51
+ * },
52
+ * ],
53
+ * Comment: "STRING_VALUE",
54
+ * SeverityId: Number("int"),
55
+ * StatusId: Number("int"),
56
+ * };
57
+ * const command = new BatchUpdateFindingsV2Command(input);
58
+ * const response = await client.send(command);
59
+ * // { // BatchUpdateFindingsV2Response
60
+ * // ProcessedFindings: [ // BatchUpdateFindingsV2ProcessedFindingsList // required
61
+ * // { // BatchUpdateFindingsV2ProcessedFinding
62
+ * // FindingIdentifier: { // OcsfFindingIdentifier
63
+ * // CloudAccountUid: "STRING_VALUE", // required
64
+ * // FindingInfoUid: "STRING_VALUE", // required
65
+ * // MetadataProductUid: "STRING_VALUE", // required
66
+ * // },
67
+ * // MetadataUid: "STRING_VALUE",
68
+ * // },
69
+ * // ],
70
+ * // UnprocessedFindings: [ // BatchUpdateFindingsV2UnprocessedFindingsList // required
71
+ * // { // BatchUpdateFindingsV2UnprocessedFinding
72
+ * // FindingIdentifier: {
73
+ * // CloudAccountUid: "STRING_VALUE", // required
74
+ * // FindingInfoUid: "STRING_VALUE", // required
75
+ * // MetadataProductUid: "STRING_VALUE", // required
76
+ * // },
77
+ * // MetadataUid: "STRING_VALUE",
78
+ * // ErrorCode: "ResourceNotFoundException" || "ValidationException" || "InternalServerException" || "ConflictException",
79
+ * // ErrorMessage: "STRING_VALUE",
80
+ * // },
81
+ * // ],
82
+ * // };
83
+ *
84
+ * ```
85
+ *
86
+ * @param BatchUpdateFindingsV2CommandInput - {@link BatchUpdateFindingsV2CommandInput}
87
+ * @returns {@link BatchUpdateFindingsV2CommandOutput}
88
+ * @see {@link BatchUpdateFindingsV2CommandInput} for command's `input` shape.
89
+ * @see {@link BatchUpdateFindingsV2CommandOutput} for command's `response` shape.
90
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
91
+ *
92
+ * @throws {@link AccessDeniedException} (client fault)
93
+ * <p>You don't have permission to perform the action specified in the request.</p>
94
+ *
95
+ * @throws {@link ConflictException} (client fault)
96
+ * <p>The request causes conflict with the current state of the service resource.</p>
97
+ *
98
+ * @throws {@link InternalServerException} (server fault)
99
+ * <p>
100
+ * The request has failed due to an internal failure of the service.
101
+ * </p>
102
+ *
103
+ * @throws {@link ThrottlingException} (client fault)
104
+ * <p>
105
+ * The limit on the number of requests per second was exceeded.
106
+ * </p>
107
+ *
108
+ * @throws {@link ValidationException} (client fault)
109
+ * <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
110
+ *
111
+ * @throws {@link SecurityHubServiceException}
112
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
113
+ *
114
+ *
115
+ * @public
116
+ */
117
+ export declare class BatchUpdateFindingsV2Command extends BatchUpdateFindingsV2Command_base {
118
+ /** @internal type navigation helper, not in runtime. */
119
+ protected static __types: {
120
+ api: {
121
+ input: BatchUpdateFindingsV2Request;
122
+ output: BatchUpdateFindingsV2Response;
123
+ };
124
+ sdk: {
125
+ input: BatchUpdateFindingsV2CommandInput;
126
+ output: BatchUpdateFindingsV2CommandOutput;
127
+ };
128
+ };
129
+ }
@@ -0,0 +1,96 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectorRegistrationsV2Request, ConnectorRegistrationsV2Response } from "../models/models_2";
4
+ import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ConnectorRegistrationsV2Command}.
14
+ */
15
+ export interface ConnectorRegistrationsV2CommandInput extends ConnectorRegistrationsV2Request {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ConnectorRegistrationsV2Command}.
21
+ */
22
+ export interface ConnectorRegistrationsV2CommandOutput extends ConnectorRegistrationsV2Response, __MetadataBearer {
23
+ }
24
+ declare const ConnectorRegistrationsV2Command_base: {
25
+ new (input: ConnectorRegistrationsV2CommandInput): import("@smithy/smithy-client").CommandImpl<ConnectorRegistrationsV2CommandInput, ConnectorRegistrationsV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ConnectorRegistrationsV2CommandInput): import("@smithy/smithy-client").CommandImpl<ConnectorRegistrationsV2CommandInput, ConnectorRegistrationsV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to complete the authorization based on input parameters. This API is in preview release and subject to change.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityHubClient, ConnectorRegistrationsV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
35
+ * // const { SecurityHubClient, ConnectorRegistrationsV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
36
+ * const client = new SecurityHubClient(config);
37
+ * const input = { // ConnectorRegistrationsV2Request
38
+ * AuthCode: "STRING_VALUE", // required
39
+ * AuthState: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new ConnectorRegistrationsV2Command(input);
42
+ * const response = await client.send(command);
43
+ * // { // ConnectorRegistrationsV2Response
44
+ * // ConnectorArn: "STRING_VALUE",
45
+ * // ConnectorId: "STRING_VALUE", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param ConnectorRegistrationsV2CommandInput - {@link ConnectorRegistrationsV2CommandInput}
51
+ * @returns {@link ConnectorRegistrationsV2CommandOutput}
52
+ * @see {@link ConnectorRegistrationsV2CommandInput} for command's `input` shape.
53
+ * @see {@link ConnectorRegistrationsV2CommandOutput} for command's `response` shape.
54
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You don't have permission to perform the action specified in the request.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>The request causes conflict with the current state of the service resource.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>
64
+ * The request has failed due to an internal failure of the service.
65
+ * </p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The request was rejected because we can't find the specified resource.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>
72
+ * The limit on the number of requests per second was exceeded.
73
+ * </p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
77
+ *
78
+ * @throws {@link SecurityHubServiceException}
79
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
80
+ *
81
+ *
82
+ * @public
83
+ */
84
+ export declare class ConnectorRegistrationsV2Command extends ConnectorRegistrationsV2Command_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ConnectorRegistrationsV2Request;
89
+ output: ConnectorRegistrationsV2Response;
90
+ };
91
+ sdk: {
92
+ input: ConnectorRegistrationsV2CommandInput;
93
+ output: ConnectorRegistrationsV2CommandOutput;
94
+ };
95
+ };
96
+ }
@@ -0,0 +1,106 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateAggregatorV2Request, CreateAggregatorV2Response } from "../models/models_2";
4
+ import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAggregatorV2Command}.
14
+ */
15
+ export interface CreateAggregatorV2CommandInput extends CreateAggregatorV2Request {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAggregatorV2Command}.
21
+ */
22
+ export interface CreateAggregatorV2CommandOutput extends CreateAggregatorV2Response, __MetadataBearer {
23
+ }
24
+ declare const CreateAggregatorV2Command_base: {
25
+ new (input: CreateAggregatorV2CommandInput): import("@smithy/smithy-client").CommandImpl<CreateAggregatorV2CommandInput, CreateAggregatorV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAggregatorV2CommandInput): import("@smithy/smithy-client").CommandImpl<CreateAggregatorV2CommandInput, CreateAggregatorV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Enables aggregation across Amazon Web Services Regions. This API is in private preview and subject to change.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityHubClient, CreateAggregatorV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
35
+ * // const { SecurityHubClient, CreateAggregatorV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
36
+ * const client = new SecurityHubClient(config);
37
+ * const input = { // CreateAggregatorV2Request
38
+ * RegionLinkingMode: "STRING_VALUE", // required
39
+ * LinkedRegions: [ // StringList
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * Tags: { // TagMap
43
+ * "<keys>": "STRING_VALUE",
44
+ * },
45
+ * ClientToken: "STRING_VALUE",
46
+ * };
47
+ * const command = new CreateAggregatorV2Command(input);
48
+ * const response = await client.send(command);
49
+ * // { // CreateAggregatorV2Response
50
+ * // AggregatorV2Arn: "STRING_VALUE",
51
+ * // AggregationRegion: "STRING_VALUE",
52
+ * // RegionLinkingMode: "STRING_VALUE",
53
+ * // LinkedRegions: [ // StringList
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param CreateAggregatorV2CommandInput - {@link CreateAggregatorV2CommandInput}
61
+ * @returns {@link CreateAggregatorV2CommandOutput}
62
+ * @see {@link CreateAggregatorV2CommandInput} for command's `input` shape.
63
+ * @see {@link CreateAggregatorV2CommandOutput} for command's `response` shape.
64
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You don't have permission to perform the action specified in the request.</p>
68
+ *
69
+ * @throws {@link ConflictException} (client fault)
70
+ * <p>The request causes conflict with the current state of the service resource.</p>
71
+ *
72
+ * @throws {@link InternalServerException} (server fault)
73
+ * <p>
74
+ * The request has failed due to an internal failure of the service.
75
+ * </p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The request was rejected because we can't find the specified resource.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>
82
+ * The limit on the number of requests per second was exceeded.
83
+ * </p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
87
+ *
88
+ * @throws {@link SecurityHubServiceException}
89
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
90
+ *
91
+ *
92
+ * @public
93
+ */
94
+ export declare class CreateAggregatorV2Command extends CreateAggregatorV2Command_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: CreateAggregatorV2Request;
99
+ output: CreateAggregatorV2Response;
100
+ };
101
+ sdk: {
102
+ input: CreateAggregatorV2CommandInput;
103
+ output: CreateAggregatorV2CommandOutput;
104
+ };
105
+ };
106
+ }
@@ -49,31 +49,31 @@ declare const CreateAutomationRuleCommand_base: {
49
49
  * ProductArn: [ // StringFilterList
50
50
  * { // StringFilter
51
51
  * Value: "STRING_VALUE",
52
- * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
52
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
53
53
  * },
54
54
  * ],
55
55
  * AwsAccountId: [
56
56
  * {
57
57
  * Value: "STRING_VALUE",
58
- * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
58
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
59
59
  * },
60
60
  * ],
61
61
  * Id: [
62
62
  * {
63
63
  * Value: "STRING_VALUE",
64
- * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
64
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
65
65
  * },
66
66
  * ],
67
67
  * GeneratorId: [
68
68
  * {
69
69
  * Value: "STRING_VALUE",
70
- * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
70
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
71
71
  * },
72
72
  * ],
73
73
  * Type: [
74
74
  * {
75
75
  * Value: "STRING_VALUE",
76
- * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
76
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
77
77
  * },
78
78
  * ],
79
79
  * FirstObservedAt: [ // DateFilterList
@@ -0,0 +1,174 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateAutomationRuleV2Request, CreateAutomationRuleV2Response } from "../models/models_2";
4
+ import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAutomationRuleV2Command}.
14
+ */
15
+ export interface CreateAutomationRuleV2CommandInput extends CreateAutomationRuleV2Request {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAutomationRuleV2Command}.
21
+ */
22
+ export interface CreateAutomationRuleV2CommandOutput extends CreateAutomationRuleV2Response, __MetadataBearer {
23
+ }
24
+ declare const CreateAutomationRuleV2Command_base: {
25
+ new (input: CreateAutomationRuleV2CommandInput): import("@smithy/smithy-client").CommandImpl<CreateAutomationRuleV2CommandInput, CreateAutomationRuleV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAutomationRuleV2CommandInput): import("@smithy/smithy-client").CommandImpl<CreateAutomationRuleV2CommandInput, CreateAutomationRuleV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a V2 automation rule. This API is in private preview and subject to change.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityHubClient, CreateAutomationRuleV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
35
+ * // const { SecurityHubClient, CreateAutomationRuleV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
36
+ * const client = new SecurityHubClient(config);
37
+ * const input = { // CreateAutomationRuleV2Request
38
+ * RuleName: "STRING_VALUE", // required
39
+ * RuleStatus: "ENABLED" || "DISABLED",
40
+ * Description: "STRING_VALUE", // required
41
+ * RuleOrder: Number("float"), // required
42
+ * Criteria: { // Criteria Union: only one key present
43
+ * OcsfFindingCriteria: { // OcsfFindingFilters
44
+ * CompositeFilters: [ // CompositeFilterList
45
+ * { // CompositeFilter
46
+ * StringFilters: [ // OcsfStringFilterList
47
+ * { // OcsfStringFilter
48
+ * FieldName: "metadata.uid" || "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.category" || "compliance.assessments.name" || "compliance.control" || "compliance.status" || "compliance.standards" || "finding_info.desc" || "finding_info.src_url" || "finding_info.title" || "finding_info.types" || "finding_info.uid" || "finding_info.related_events.uid" || "finding_info.related_events.product.uid" || "finding_info.related_events.title" || "metadata.product.name" || "metadata.product.uid" || "metadata.product.vendor_name" || "remediation.desc" || "remediation.references" || "resources.cloud_partition" || "resources.region" || "resources.type" || "resources.uid" || "severity" || "status" || "comment" || "vulnerabilities.fix_coverage" || "class_name",
49
+ * Filter: { // StringFilter
50
+ * Value: "STRING_VALUE",
51
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
52
+ * },
53
+ * },
54
+ * ],
55
+ * DateFilters: [ // OcsfDateFilterList
56
+ * { // OcsfDateFilter
57
+ * FieldName: "finding_info.created_time_dt" || "finding_info.first_seen_time_dt" || "finding_info.last_seen_time_dt" || "finding_info.modified_time_dt",
58
+ * Filter: { // DateFilter
59
+ * Start: "STRING_VALUE",
60
+ * End: "STRING_VALUE",
61
+ * DateRange: { // DateRange
62
+ * Value: Number("int"),
63
+ * Unit: "DAYS",
64
+ * },
65
+ * },
66
+ * },
67
+ * ],
68
+ * BooleanFilters: [ // OcsfBooleanFilterList
69
+ * { // OcsfBooleanFilter
70
+ * FieldName: "compliance.assessments.meets_criteria" || "vulnerabilities.is_exploit_available" || "vulnerabilities.is_fix_available",
71
+ * Filter: { // BooleanFilter
72
+ * Value: true || false,
73
+ * },
74
+ * },
75
+ * ],
76
+ * NumberFilters: [ // OcsfNumberFilterList
77
+ * { // OcsfNumberFilter
78
+ * FieldName: "activity_id" || "compliance.status_id" || "confidence_score" || "severity_id" || "status_id" || "finding_info.related_events_count",
79
+ * Filter: { // NumberFilter
80
+ * Gte: Number("double"),
81
+ * Lte: Number("double"),
82
+ * Eq: Number("double"),
83
+ * Gt: Number("double"),
84
+ * Lt: Number("double"),
85
+ * },
86
+ * },
87
+ * ],
88
+ * MapFilters: [ // OcsfMapFilterList
89
+ * { // OcsfMapFilter
90
+ * FieldName: "resources.tags",
91
+ * Filter: { // MapFilter
92
+ * Key: "STRING_VALUE",
93
+ * Value: "STRING_VALUE",
94
+ * Comparison: "EQUALS" || "NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
95
+ * },
96
+ * },
97
+ * ],
98
+ * Operator: "AND" || "OR",
99
+ * },
100
+ * ],
101
+ * CompositeOperator: "AND" || "OR",
102
+ * },
103
+ * },
104
+ * Actions: [ // AutomationRulesActionListV2 // required
105
+ * { // AutomationRulesActionV2
106
+ * Type: "FINDING_FIELDS_UPDATE" || "EXTERNAL_INTEGRATION", // required
107
+ * FindingFieldsUpdate: { // AutomationRulesFindingFieldsUpdateV2
108
+ * SeverityId: Number("int"),
109
+ * Comment: "STRING_VALUE",
110
+ * StatusId: Number("int"),
111
+ * },
112
+ * ExternalIntegrationConfiguration: { // ExternalIntegrationConfiguration
113
+ * ConnectorArn: "STRING_VALUE",
114
+ * },
115
+ * },
116
+ * ],
117
+ * Tags: { // TagMap
118
+ * "<keys>": "STRING_VALUE",
119
+ * },
120
+ * ClientToken: "STRING_VALUE",
121
+ * };
122
+ * const command = new CreateAutomationRuleV2Command(input);
123
+ * const response = await client.send(command);
124
+ * // { // CreateAutomationRuleV2Response
125
+ * // RuleArn: "STRING_VALUE",
126
+ * // RuleId: "STRING_VALUE",
127
+ * // };
128
+ *
129
+ * ```
130
+ *
131
+ * @param CreateAutomationRuleV2CommandInput - {@link CreateAutomationRuleV2CommandInput}
132
+ * @returns {@link CreateAutomationRuleV2CommandOutput}
133
+ * @see {@link CreateAutomationRuleV2CommandInput} for command's `input` shape.
134
+ * @see {@link CreateAutomationRuleV2CommandOutput} for command's `response` shape.
135
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
136
+ *
137
+ * @throws {@link AccessDeniedException} (client fault)
138
+ * <p>You don't have permission to perform the action specified in the request.</p>
139
+ *
140
+ * @throws {@link ConflictException} (client fault)
141
+ * <p>The request causes conflict with the current state of the service resource.</p>
142
+ *
143
+ * @throws {@link InternalServerException} (server fault)
144
+ * <p>
145
+ * The request has failed due to an internal failure of the service.
146
+ * </p>
147
+ *
148
+ * @throws {@link ThrottlingException} (client fault)
149
+ * <p>
150
+ * The limit on the number of requests per second was exceeded.
151
+ * </p>
152
+ *
153
+ * @throws {@link ValidationException} (client fault)
154
+ * <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
155
+ *
156
+ * @throws {@link SecurityHubServiceException}
157
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
158
+ *
159
+ *
160
+ * @public
161
+ */
162
+ export declare class CreateAutomationRuleV2Command extends CreateAutomationRuleV2Command_base {
163
+ /** @internal type navigation helper, not in runtime. */
164
+ protected static __types: {
165
+ api: {
166
+ input: CreateAutomationRuleV2Request;
167
+ output: CreateAutomationRuleV2Response;
168
+ };
169
+ sdk: {
170
+ input: CreateAutomationRuleV2CommandInput;
171
+ output: CreateAutomationRuleV2CommandOutput;
172
+ };
173
+ };
174
+ }