@aws-sdk/client-securityhub 3.830.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 (194) 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/models/index.d.ts +1 -0
  111. package/dist-types/models/models_0.d.ts +166 -320
  112. package/dist-types/models/models_1.d.ts +319 -343
  113. package/dist-types/models/models_2.d.ts +2465 -2269
  114. package/dist-types/models/models_3.d.ts +2386 -0
  115. package/dist-types/pagination/DescribeProductsV2Paginator.d.ts +7 -0
  116. package/dist-types/pagination/GetFindingsV2Paginator.d.ts +7 -0
  117. package/dist-types/pagination/GetResourcesV2Paginator.d.ts +7 -0
  118. package/dist-types/pagination/ListAggregatorsV2Paginator.d.ts +7 -0
  119. package/dist-types/pagination/index.d.ts +4 -0
  120. package/dist-types/protocols/Aws_restJson1.d.ts +234 -0
  121. package/dist-types/ts3.4/SecurityHub.d.ts +452 -0
  122. package/dist-types/ts3.4/SecurityHubClient.d.ts +156 -0
  123. package/dist-types/ts3.4/commands/BatchUpdateFindingsV2Command.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/ConnectorRegistrationsV2Command.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/CreateAggregatorV2Command.d.ts +51 -0
  126. package/dist-types/ts3.4/commands/CreateAutomationRuleV2Command.d.ts +51 -0
  127. package/dist-types/ts3.4/commands/CreateConnectorV2Command.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/CreateTicketV2Command.d.ts +50 -0
  129. package/dist-types/ts3.4/commands/DeleteAggregatorV2Command.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/DeleteAutomationRuleV2Command.d.ts +51 -0
  131. package/dist-types/ts3.4/commands/DeleteConnectorV2Command.d.ts +51 -0
  132. package/dist-types/ts3.4/commands/DescribeProductsV2Command.d.ts +51 -0
  133. package/dist-types/ts3.4/commands/DescribeSecurityHubV2Command.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/DisableSecurityHubV2Command.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/EnableSecurityHubV2Command.d.ts +51 -0
  137. package/dist-types/ts3.4/commands/GetAggregatorV2Command.d.ts +50 -0
  138. package/dist-types/ts3.4/commands/GetAutomationRuleV2Command.d.ts +51 -0
  139. package/dist-types/ts3.4/commands/GetConnectorV2Command.d.ts +50 -0
  140. package/dist-types/ts3.4/commands/GetFindingStatisticsV2Command.d.ts +51 -0
  141. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +2 -1
  142. package/dist-types/ts3.4/commands/GetFindingsV2Command.d.ts +50 -0
  143. package/dist-types/ts3.4/commands/GetInsightResultsCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +1 -1
  145. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
  146. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
  147. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
  148. package/dist-types/ts3.4/commands/GetResourcesStatisticsV2Command.d.ts +51 -0
  149. package/dist-types/ts3.4/commands/GetResourcesV2Command.d.ts +50 -0
  150. package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
  151. package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +1 -1
  152. package/dist-types/ts3.4/commands/ListAggregatorsV2Command.d.ts +51 -0
  153. package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +1 -1
  154. package/dist-types/ts3.4/commands/ListAutomationRulesV2Command.d.ts +51 -0
  155. package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
  156. package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
  157. package/dist-types/ts3.4/commands/ListConnectorsV2Command.d.ts +50 -0
  158. package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
  159. package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
  161. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  163. package/dist-types/ts3.4/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
  164. package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
  165. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  166. package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
  167. package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
  168. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  170. package/dist-types/ts3.4/commands/UpdateActionTargetCommand.d.ts +1 -1
  171. package/dist-types/ts3.4/commands/UpdateAggregatorV2Command.d.ts +51 -0
  172. package/dist-types/ts3.4/commands/UpdateAutomationRuleV2Command.d.ts +51 -0
  173. package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/UpdateConnectorV2Command.d.ts +51 -0
  175. package/dist-types/ts3.4/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/UpdateInsightCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  179. package/dist-types/ts3.4/commands/UpdateSecurityControlCommand.d.ts +1 -1
  180. package/dist-types/ts3.4/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/UpdateStandardsControlCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  183. package/dist-types/ts3.4/models/index.d.ts +1 -0
  184. package/dist-types/ts3.4/models/models_0.d.ts +50 -57
  185. package/dist-types/ts3.4/models/models_1.d.ts +57 -66
  186. package/dist-types/ts3.4/models/models_2.d.ts +522 -310
  187. package/dist-types/ts3.4/models/models_3.d.ts +626 -0
  188. package/dist-types/ts3.4/pagination/DescribeProductsV2Paginator.d.ts +11 -0
  189. package/dist-types/ts3.4/pagination/GetFindingsV2Paginator.d.ts +11 -0
  190. package/dist-types/ts3.4/pagination/GetResourcesV2Paginator.d.ts +11 -0
  191. package/dist-types/ts3.4/pagination/ListAggregatorsV2Paginator.d.ts +11 -0
  192. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  193. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +312 -0
  194. package/package.json +4 -2
@@ -0,0 +1,110 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListConnectorsV2Request, ListConnectorsV2Response } from "../models/models_3";
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 ListConnectorsV2Command}.
14
+ */
15
+ export interface ListConnectorsV2CommandInput extends ListConnectorsV2Request {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListConnectorsV2Command}.
21
+ */
22
+ export interface ListConnectorsV2CommandOutput extends ListConnectorsV2Response, __MetadataBearer {
23
+ }
24
+ declare const ListConnectorsV2Command_base: {
25
+ new (input: ListConnectorsV2CommandInput): import("@smithy/smithy-client").CommandImpl<ListConnectorsV2CommandInput, ListConnectorsV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListConnectorsV2CommandInput]): import("@smithy/smithy-client").CommandImpl<ListConnectorsV2CommandInput, ListConnectorsV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to retrieve a list of connectorsV2 and their metadata for the calling account. 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, ListConnectorsV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
35
+ * // const { SecurityHubClient, ListConnectorsV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
36
+ * const client = new SecurityHubClient(config);
37
+ * const input = { // ListConnectorsV2Request
38
+ * NextToken: "STRING_VALUE",
39
+ * MaxResults: Number("int"),
40
+ * ProviderName: "JIRA_CLOUD" || "SERVICENOW",
41
+ * ConnectorStatus: "CONNECTED" || "FAILED_TO_CONNECT" || "PENDING_CONFIGURATION" || "PENDING_AUTHORIZATION",
42
+ * };
43
+ * const command = new ListConnectorsV2Command(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListConnectorsV2Response
46
+ * // NextToken: "STRING_VALUE",
47
+ * // Connectors: [ // ConnectorSummaryList // required
48
+ * // { // ConnectorSummary
49
+ * // ConnectorArn: "STRING_VALUE",
50
+ * // ConnectorId: "STRING_VALUE", // required
51
+ * // Name: "STRING_VALUE", // required
52
+ * // Description: "STRING_VALUE",
53
+ * // ProviderSummary: { // ProviderSummary
54
+ * // ProviderName: "JIRA_CLOUD" || "SERVICENOW",
55
+ * // ConnectorStatus: "CONNECTED" || "FAILED_TO_CONNECT" || "PENDING_CONFIGURATION" || "PENDING_AUTHORIZATION",
56
+ * // },
57
+ * // CreatedAt: new Date("TIMESTAMP"), // required
58
+ * // },
59
+ * // ],
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param ListConnectorsV2CommandInput - {@link ListConnectorsV2CommandInput}
65
+ * @returns {@link ListConnectorsV2CommandOutput}
66
+ * @see {@link ListConnectorsV2CommandInput} for command's `input` shape.
67
+ * @see {@link ListConnectorsV2CommandOutput} for command's `response` shape.
68
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>You don't have permission to perform the action specified in the request.</p>
72
+ *
73
+ * @throws {@link ConflictException} (client fault)
74
+ * <p>The request causes conflict with the current state of the service resource.</p>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <p>
78
+ * The request has failed due to an internal failure of the service.
79
+ * </p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>The request was rejected because we can't find the specified resource.</p>
83
+ *
84
+ * @throws {@link ThrottlingException} (client fault)
85
+ * <p>
86
+ * The limit on the number of requests per second was exceeded.
87
+ * </p>
88
+ *
89
+ * @throws {@link ValidationException} (client fault)
90
+ * <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
91
+ *
92
+ * @throws {@link SecurityHubServiceException}
93
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
94
+ *
95
+ *
96
+ * @public
97
+ */
98
+ export declare class ListConnectorsV2Command extends ListConnectorsV2Command_base {
99
+ /** @internal type navigation helper, not in runtime. */
100
+ protected static __types: {
101
+ api: {
102
+ input: ListConnectorsV2Request;
103
+ output: ListConnectorsV2Response;
104
+ };
105
+ sdk: {
106
+ input: ListConnectorsV2CommandInput;
107
+ output: ListConnectorsV2CommandOutput;
108
+ };
109
+ };
110
+ }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListEnabledProductsForImportRequest, ListEnabledProductsForImportResponse } from "../models/models_2";
3
+ import { ListEnabledProductsForImportRequest, ListEnabledProductsForImportResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListFindingAggregatorsRequest, ListFindingAggregatorsResponse } from "../models/models_2";
3
+ import { ListFindingAggregatorsRequest, ListFindingAggregatorsResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListInvitationsRequest, ListInvitationsResponse } from "../models/models_2";
3
+ import { ListInvitationsRequest, ListInvitationsResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListMembersRequest, ListMembersResponse } from "../models/models_2";
3
+ import { ListMembersRequest, ListMembersResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListOrganizationAdminAccountsRequest, ListOrganizationAdminAccountsResponse } from "../models/models_2";
3
+ import { ListOrganizationAdminAccountsRequest, ListOrganizationAdminAccountsResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public
@@ -38,6 +38,7 @@ declare const ListOrganizationAdminAccountsCommand_base: {
38
38
  * const input = { // ListOrganizationAdminAccountsRequest
39
39
  * MaxResults: Number("int"),
40
40
  * NextToken: "STRING_VALUE",
41
+ * Feature: "SecurityHub" || "SecurityHubV2",
41
42
  * };
42
43
  * const command = new ListOrganizationAdminAccountsCommand(input);
43
44
  * const response = await client.send(command);
@@ -49,6 +50,7 @@ declare const ListOrganizationAdminAccountsCommand_base: {
49
50
  * // },
50
51
  * // ],
51
52
  * // NextToken: "STRING_VALUE",
53
+ * // Feature: "SecurityHub" || "SecurityHubV2",
52
54
  * // };
53
55
  *
54
56
  * ```
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListSecurityControlDefinitionsRequest, ListSecurityControlDefinitionsResponse } from "../models/models_2";
3
+ import { ListSecurityControlDefinitionsRequest, ListSecurityControlDefinitionsResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListStandardsControlAssociationsRequest, ListStandardsControlAssociationsResponse } from "../models/models_2";
3
+ import { ListStandardsControlAssociationsRequest, ListStandardsControlAssociationsResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_2";
3
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { StartConfigurationPolicyAssociationRequest, StartConfigurationPolicyAssociationResponse } from "../models/models_2";
3
+ import { StartConfigurationPolicyAssociationRequest, StartConfigurationPolicyAssociationResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { StartConfigurationPolicyDisassociationRequest, StartConfigurationPolicyDisassociationResponse } from "../models/models_2";
3
+ import { StartConfigurationPolicyDisassociationRequest, StartConfigurationPolicyDisassociationResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { TagResourceRequest, TagResourceResponse } from "../models/models_2";
3
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_2";
3
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UpdateActionTargetRequest, UpdateActionTargetResponse } from "../models/models_2";
3
+ import { UpdateActionTargetRequest, UpdateActionTargetResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public
@@ -0,0 +1,103 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateAggregatorV2Request, UpdateAggregatorV2Response } from "../models/models_3";
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 UpdateAggregatorV2Command}.
14
+ */
15
+ export interface UpdateAggregatorV2CommandInput extends UpdateAggregatorV2Request {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateAggregatorV2Command}.
21
+ */
22
+ export interface UpdateAggregatorV2CommandOutput extends UpdateAggregatorV2Response, __MetadataBearer {
23
+ }
24
+ declare const UpdateAggregatorV2Command_base: {
25
+ new (input: UpdateAggregatorV2CommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAggregatorV2CommandInput, UpdateAggregatorV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateAggregatorV2CommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAggregatorV2CommandInput, UpdateAggregatorV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Udpates the configuration for the Aggregator V2. 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, UpdateAggregatorV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
35
+ * // const { SecurityHubClient, UpdateAggregatorV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
36
+ * const client = new SecurityHubClient(config);
37
+ * const input = { // UpdateAggregatorV2Request
38
+ * AggregatorV2Arn: "STRING_VALUE", // required
39
+ * RegionLinkingMode: "STRING_VALUE", // required
40
+ * LinkedRegions: [ // StringList
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * };
44
+ * const command = new UpdateAggregatorV2Command(input);
45
+ * const response = await client.send(command);
46
+ * // { // UpdateAggregatorV2Response
47
+ * // AggregatorV2Arn: "STRING_VALUE",
48
+ * // AggregationRegion: "STRING_VALUE",
49
+ * // RegionLinkingMode: "STRING_VALUE",
50
+ * // LinkedRegions: [ // StringList
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param UpdateAggregatorV2CommandInput - {@link UpdateAggregatorV2CommandInput}
58
+ * @returns {@link UpdateAggregatorV2CommandOutput}
59
+ * @see {@link UpdateAggregatorV2CommandInput} for command's `input` shape.
60
+ * @see {@link UpdateAggregatorV2CommandOutput} for command's `response` shape.
61
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>You don't have permission to perform the action specified in the request.</p>
65
+ *
66
+ * @throws {@link ConflictException} (client fault)
67
+ * <p>The request causes conflict with the current state of the service resource.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>
71
+ * The request has failed due to an internal failure of the service.
72
+ * </p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>The request was rejected because we can't find the specified resource.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>
79
+ * The limit on the number of requests per second was exceeded.
80
+ * </p>
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
84
+ *
85
+ * @throws {@link SecurityHubServiceException}
86
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
87
+ *
88
+ *
89
+ * @public
90
+ */
91
+ export declare class UpdateAggregatorV2Command extends UpdateAggregatorV2Command_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: UpdateAggregatorV2Request;
96
+ output: UpdateAggregatorV2Response;
97
+ };
98
+ sdk: {
99
+ input: UpdateAggregatorV2CommandInput;
100
+ output: UpdateAggregatorV2CommandOutput;
101
+ };
102
+ };
103
+ }
@@ -0,0 +1,171 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateAutomationRuleV2Request, UpdateAutomationRuleV2Response } from "../models/models_3";
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 UpdateAutomationRuleV2Command}.
14
+ */
15
+ export interface UpdateAutomationRuleV2CommandInput extends UpdateAutomationRuleV2Request {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateAutomationRuleV2Command}.
21
+ */
22
+ export interface UpdateAutomationRuleV2CommandOutput extends UpdateAutomationRuleV2Response, __MetadataBearer {
23
+ }
24
+ declare const UpdateAutomationRuleV2Command_base: {
25
+ new (input: UpdateAutomationRuleV2CommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAutomationRuleV2CommandInput, UpdateAutomationRuleV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateAutomationRuleV2CommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAutomationRuleV2CommandInput, UpdateAutomationRuleV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates 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, UpdateAutomationRuleV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
35
+ * // const { SecurityHubClient, UpdateAutomationRuleV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
36
+ * const client = new SecurityHubClient(config);
37
+ * const input = { // UpdateAutomationRuleV2Request
38
+ * Identifier: "STRING_VALUE", // required
39
+ * RuleStatus: "ENABLED" || "DISABLED",
40
+ * RuleOrder: Number("float"),
41
+ * Description: "STRING_VALUE",
42
+ * RuleName: "STRING_VALUE",
43
+ * Criteria: { // Criteria Union: only one key present
44
+ * OcsfFindingCriteria: { // OcsfFindingFilters
45
+ * CompositeFilters: [ // CompositeFilterList
46
+ * { // CompositeFilter
47
+ * StringFilters: [ // OcsfStringFilterList
48
+ * { // OcsfStringFilter
49
+ * 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",
50
+ * Filter: { // StringFilter
51
+ * Value: "STRING_VALUE",
52
+ * Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
53
+ * },
54
+ * },
55
+ * ],
56
+ * DateFilters: [ // OcsfDateFilterList
57
+ * { // OcsfDateFilter
58
+ * FieldName: "finding_info.created_time_dt" || "finding_info.first_seen_time_dt" || "finding_info.last_seen_time_dt" || "finding_info.modified_time_dt",
59
+ * Filter: { // DateFilter
60
+ * Start: "STRING_VALUE",
61
+ * End: "STRING_VALUE",
62
+ * DateRange: { // DateRange
63
+ * Value: Number("int"),
64
+ * Unit: "DAYS",
65
+ * },
66
+ * },
67
+ * },
68
+ * ],
69
+ * BooleanFilters: [ // OcsfBooleanFilterList
70
+ * { // OcsfBooleanFilter
71
+ * FieldName: "compliance.assessments.meets_criteria" || "vulnerabilities.is_exploit_available" || "vulnerabilities.is_fix_available",
72
+ * Filter: { // BooleanFilter
73
+ * Value: true || false,
74
+ * },
75
+ * },
76
+ * ],
77
+ * NumberFilters: [ // OcsfNumberFilterList
78
+ * { // OcsfNumberFilter
79
+ * FieldName: "activity_id" || "compliance.status_id" || "confidence_score" || "severity_id" || "status_id" || "finding_info.related_events_count",
80
+ * Filter: { // NumberFilter
81
+ * Gte: Number("double"),
82
+ * Lte: Number("double"),
83
+ * Eq: Number("double"),
84
+ * Gt: Number("double"),
85
+ * Lt: Number("double"),
86
+ * },
87
+ * },
88
+ * ],
89
+ * MapFilters: [ // OcsfMapFilterList
90
+ * { // OcsfMapFilter
91
+ * FieldName: "resources.tags",
92
+ * Filter: { // MapFilter
93
+ * Key: "STRING_VALUE",
94
+ * Value: "STRING_VALUE",
95
+ * Comparison: "EQUALS" || "NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
96
+ * },
97
+ * },
98
+ * ],
99
+ * Operator: "AND" || "OR",
100
+ * },
101
+ * ],
102
+ * CompositeOperator: "AND" || "OR",
103
+ * },
104
+ * },
105
+ * Actions: [ // AutomationRulesActionListV2
106
+ * { // AutomationRulesActionV2
107
+ * Type: "FINDING_FIELDS_UPDATE" || "EXTERNAL_INTEGRATION", // required
108
+ * FindingFieldsUpdate: { // AutomationRulesFindingFieldsUpdateV2
109
+ * SeverityId: Number("int"),
110
+ * Comment: "STRING_VALUE",
111
+ * StatusId: Number("int"),
112
+ * },
113
+ * ExternalIntegrationConfiguration: { // ExternalIntegrationConfiguration
114
+ * ConnectorArn: "STRING_VALUE",
115
+ * },
116
+ * },
117
+ * ],
118
+ * };
119
+ * const command = new UpdateAutomationRuleV2Command(input);
120
+ * const response = await client.send(command);
121
+ * // {};
122
+ *
123
+ * ```
124
+ *
125
+ * @param UpdateAutomationRuleV2CommandInput - {@link UpdateAutomationRuleV2CommandInput}
126
+ * @returns {@link UpdateAutomationRuleV2CommandOutput}
127
+ * @see {@link UpdateAutomationRuleV2CommandInput} for command's `input` shape.
128
+ * @see {@link UpdateAutomationRuleV2CommandOutput} for command's `response` shape.
129
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
130
+ *
131
+ * @throws {@link AccessDeniedException} (client fault)
132
+ * <p>You don't have permission to perform the action specified in the request.</p>
133
+ *
134
+ * @throws {@link ConflictException} (client fault)
135
+ * <p>The request causes conflict with the current state of the service resource.</p>
136
+ *
137
+ * @throws {@link InternalServerException} (server fault)
138
+ * <p>
139
+ * The request has failed due to an internal failure of the service.
140
+ * </p>
141
+ *
142
+ * @throws {@link ResourceNotFoundException} (client fault)
143
+ * <p>The request was rejected because we can't find the specified resource.</p>
144
+ *
145
+ * @throws {@link ThrottlingException} (client fault)
146
+ * <p>
147
+ * The limit on the number of requests per second was exceeded.
148
+ * </p>
149
+ *
150
+ * @throws {@link ValidationException} (client fault)
151
+ * <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
152
+ *
153
+ * @throws {@link SecurityHubServiceException}
154
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
155
+ *
156
+ *
157
+ * @public
158
+ */
159
+ export declare class UpdateAutomationRuleV2Command extends UpdateAutomationRuleV2Command_base {
160
+ /** @internal type navigation helper, not in runtime. */
161
+ protected static __types: {
162
+ api: {
163
+ input: UpdateAutomationRuleV2Request;
164
+ output: {};
165
+ };
166
+ sdk: {
167
+ input: UpdateAutomationRuleV2CommandInput;
168
+ output: UpdateAutomationRuleV2CommandOutput;
169
+ };
170
+ };
171
+ }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UpdateConfigurationPolicyRequest, UpdateConfigurationPolicyResponse } from "../models/models_2";
3
+ import { UpdateConfigurationPolicyRequest, UpdateConfigurationPolicyResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateConnectorV2Request, UpdateConnectorV2Response } from "../models/models_3";
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 UpdateConnectorV2Command}.
14
+ */
15
+ export interface UpdateConnectorV2CommandInput extends UpdateConnectorV2Request {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateConnectorV2Command}.
21
+ */
22
+ export interface UpdateConnectorV2CommandOutput extends UpdateConnectorV2Response, __MetadataBearer {
23
+ }
24
+ declare const UpdateConnectorV2Command_base: {
25
+ new (input: UpdateConnectorV2CommandInput): import("@smithy/smithy-client").CommandImpl<UpdateConnectorV2CommandInput, UpdateConnectorV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateConnectorV2CommandInput): import("@smithy/smithy-client").CommandImpl<UpdateConnectorV2CommandInput, UpdateConnectorV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Grants permission to update a connectorV2 based on its id and 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, UpdateConnectorV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
35
+ * // const { SecurityHubClient, UpdateConnectorV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
36
+ * const client = new SecurityHubClient(config);
37
+ * const input = { // UpdateConnectorV2Request
38
+ * ConnectorId: "STRING_VALUE", // required
39
+ * ClientSecret: "STRING_VALUE",
40
+ * Description: "STRING_VALUE",
41
+ * Provider: { // ProviderUpdateConfiguration Union: only one key present
42
+ * JiraCloud: { // JiraCloudUpdateConfiguration
43
+ * ProjectKey: "STRING_VALUE", // required
44
+ * },
45
+ * },
46
+ * };
47
+ * const command = new UpdateConnectorV2Command(input);
48
+ * const response = await client.send(command);
49
+ * // {};
50
+ *
51
+ * ```
52
+ *
53
+ * @param UpdateConnectorV2CommandInput - {@link UpdateConnectorV2CommandInput}
54
+ * @returns {@link UpdateConnectorV2CommandOutput}
55
+ * @see {@link UpdateConnectorV2CommandInput} for command's `input` shape.
56
+ * @see {@link UpdateConnectorV2CommandOutput} for command's `response` shape.
57
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>You don't have permission to perform the action specified in the request.</p>
61
+ *
62
+ * @throws {@link ConflictException} (client fault)
63
+ * <p>The request causes conflict with the current state of the service resource.</p>
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * <p>
67
+ * The request has failed due to an internal failure of the service.
68
+ * </p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The request was rejected because we can't find the specified resource.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>
75
+ * The limit on the number of requests per second was exceeded.
76
+ * </p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
80
+ *
81
+ * @throws {@link SecurityHubServiceException}
82
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class UpdateConnectorV2Command extends UpdateConnectorV2Command_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: UpdateConnectorV2Request;
92
+ output: {};
93
+ };
94
+ sdk: {
95
+ input: UpdateConnectorV2CommandInput;
96
+ output: UpdateConnectorV2CommandOutput;
97
+ };
98
+ };
99
+ }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UpdateFindingAggregatorRequest, UpdateFindingAggregatorResponse } from "../models/models_2";
3
+ import { UpdateFindingAggregatorRequest, UpdateFindingAggregatorResponse } from "../models/models_3";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  /**
6
6
  * @public