@aws-sdk/client-securityhub 3.940.0 → 3.946.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 (182) hide show
  1. package/README.md +8 -8
  2. package/dist-cjs/index.js +252 -763
  3. package/dist-cjs/runtimeConfig.browser.js +2 -2
  4. package/dist-cjs/runtimeConfig.js +3 -4
  5. package/dist-es/SecurityHub.js +2 -2
  6. package/dist-es/SecurityHubClient.js +2 -2
  7. package/dist-es/commands/{ConnectorRegistrationsV2Command.js → RegisterConnectorV2Command.js} +5 -5
  8. package/dist-es/commands/index.js +1 -1
  9. package/dist-es/models/enums.js +9 -0
  10. package/dist-es/models/errors.js +16 -0
  11. package/dist-es/runtimeConfig.browser.js +2 -2
  12. package/dist-es/runtimeConfig.js +2 -3
  13. package/dist-es/schemas/schemas_0.js +212 -750
  14. package/dist-types/SecurityHub.d.ts +8 -8
  15. package/dist-types/SecurityHubClient.d.ts +13 -13
  16. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  17. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  18. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +3 -3
  19. package/dist-types/commands/AcceptInvitationCommand.d.ts +3 -3
  20. package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +3 -3
  21. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +3 -3
  22. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +3 -3
  23. package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +3 -3
  24. package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +3 -3
  25. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +3 -3
  26. package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +3 -3
  27. package/dist-types/commands/BatchImportFindingsCommand.d.ts +3 -3
  28. package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +3 -3
  29. package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +3 -3
  30. package/dist-types/commands/BatchUpdateFindingsV2Command.d.ts +4 -4
  31. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +3 -3
  32. package/dist-types/commands/CreateActionTargetCommand.d.ts +3 -3
  33. package/dist-types/commands/CreateAggregatorV2Command.d.ts +7 -4
  34. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -3
  35. package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +12 -9
  36. package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +3 -3
  37. package/dist-types/commands/CreateConnectorV2Command.d.ts +10 -7
  38. package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +3 -3
  39. package/dist-types/commands/CreateInsightCommand.d.ts +3 -3
  40. package/dist-types/commands/CreateMembersCommand.d.ts +3 -3
  41. package/dist-types/commands/CreateTicketV2Command.d.ts +5 -4
  42. package/dist-types/commands/DeclineInvitationsCommand.d.ts +3 -3
  43. package/dist-types/commands/DeleteActionTargetCommand.d.ts +3 -3
  44. package/dist-types/commands/DeleteAggregatorV2Command.d.ts +4 -4
  45. package/dist-types/commands/DeleteAutomationRuleV2Command.d.ts +4 -4
  46. package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +3 -3
  47. package/dist-types/commands/DeleteConnectorV2Command.d.ts +4 -4
  48. package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +3 -3
  49. package/dist-types/commands/DeleteInsightCommand.d.ts +3 -3
  50. package/dist-types/commands/DeleteInvitationsCommand.d.ts +3 -3
  51. package/dist-types/commands/DeleteMembersCommand.d.ts +3 -3
  52. package/dist-types/commands/DescribeActionTargetsCommand.d.ts +3 -3
  53. package/dist-types/commands/DescribeHubCommand.d.ts +3 -3
  54. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -3
  55. package/dist-types/commands/DescribeProductsCommand.d.ts +3 -3
  56. package/dist-types/commands/DescribeProductsV2Command.d.ts +4 -4
  57. package/dist-types/commands/DescribeSecurityHubV2Command.d.ts +4 -4
  58. package/dist-types/commands/DescribeStandardsCommand.d.ts +3 -3
  59. package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +3 -3
  60. package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +3 -3
  61. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -3
  62. package/dist-types/commands/DisableSecurityHubCommand.d.ts +3 -3
  63. package/dist-types/commands/DisableSecurityHubV2Command.d.ts +4 -4
  64. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +3 -3
  65. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +3 -3
  66. package/dist-types/commands/DisassociateMembersCommand.d.ts +3 -3
  67. package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +3 -3
  68. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -3
  69. package/dist-types/commands/EnableSecurityHubCommand.d.ts +3 -3
  70. package/dist-types/commands/EnableSecurityHubV2Command.d.ts +4 -4
  71. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +3 -3
  72. package/dist-types/commands/GetAggregatorV2Command.d.ts +4 -4
  73. package/dist-types/commands/GetAutomationRuleV2Command.d.ts +9 -9
  74. package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +3 -3
  75. package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +3 -3
  76. package/dist-types/commands/GetConnectorV2Command.d.ts +5 -5
  77. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +3 -3
  78. package/dist-types/commands/GetFindingAggregatorCommand.d.ts +3 -3
  79. package/dist-types/commands/GetFindingHistoryCommand.d.ts +3 -3
  80. package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +10 -10
  81. package/dist-types/commands/GetFindingsCommand.d.ts +3 -3
  82. package/dist-types/commands/GetFindingsTrendsV2Command.d.ts +5 -5
  83. package/dist-types/commands/GetFindingsV2Command.d.ts +9 -9
  84. package/dist-types/commands/GetInsightResultsCommand.d.ts +3 -3
  85. package/dist-types/commands/GetInsightsCommand.d.ts +3 -3
  86. package/dist-types/commands/GetInvitationsCountCommand.d.ts +3 -3
  87. package/dist-types/commands/GetMasterAccountCommand.d.ts +3 -3
  88. package/dist-types/commands/GetMembersCommand.d.ts +3 -3
  89. package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +5 -5
  90. package/dist-types/commands/GetResourcesTrendsV2Command.d.ts +5 -5
  91. package/dist-types/commands/GetResourcesV2Command.d.ts +5 -5
  92. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +3 -3
  93. package/dist-types/commands/InviteMembersCommand.d.ts +3 -3
  94. package/dist-types/commands/ListAggregatorsV2Command.d.ts +4 -4
  95. package/dist-types/commands/ListAutomationRulesCommand.d.ts +3 -3
  96. package/dist-types/commands/ListAutomationRulesV2Command.d.ts +4 -4
  97. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +3 -3
  98. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +3 -3
  99. package/dist-types/commands/ListConnectorsV2Command.d.ts +4 -4
  100. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +3 -3
  101. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +3 -3
  102. package/dist-types/commands/ListInvitationsCommand.d.ts +3 -3
  103. package/dist-types/commands/ListMembersCommand.d.ts +3 -3
  104. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +3 -3
  105. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +3 -3
  106. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +3 -4
  107. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -3
  108. package/dist-types/commands/RegisterConnectorV2Command.d.ts +98 -0
  109. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +3 -3
  110. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +3 -3
  111. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  112. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  113. package/dist-types/commands/UpdateActionTargetCommand.d.ts +3 -3
  114. package/dist-types/commands/UpdateAggregatorV2Command.d.ts +4 -4
  115. package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +8 -8
  116. package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +3 -3
  117. package/dist-types/commands/UpdateConnectorV2Command.d.ts +8 -6
  118. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +3 -3
  119. package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -3
  120. package/dist-types/commands/UpdateInsightCommand.d.ts +3 -3
  121. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +3 -3
  122. package/dist-types/commands/UpdateSecurityControlCommand.d.ts +3 -3
  123. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +3 -3
  124. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +3 -3
  125. package/dist-types/commands/index.d.ts +1 -1
  126. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  127. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  128. package/dist-types/extensionConfiguration.d.ts +4 -4
  129. package/dist-types/models/SecurityHubServiceException.d.ts +1 -1
  130. package/dist-types/models/enums.d.ts +17 -0
  131. package/dist-types/models/errors.d.ts +15 -1
  132. package/dist-types/models/models_0.d.ts +5 -5
  133. package/dist-types/models/models_1.d.ts +1 -1
  134. package/dist-types/models/models_2.d.ts +47 -45
  135. package/dist-types/models/models_3.d.ts +52 -31
  136. package/dist-types/pagination/DescribeActionTargetsPaginator.d.ts +1 -1
  137. package/dist-types/pagination/DescribeProductsPaginator.d.ts +1 -1
  138. package/dist-types/pagination/DescribeProductsV2Paginator.d.ts +1 -1
  139. package/dist-types/pagination/DescribeStandardsControlsPaginator.d.ts +1 -1
  140. package/dist-types/pagination/DescribeStandardsPaginator.d.ts +1 -1
  141. package/dist-types/pagination/GetEnabledStandardsPaginator.d.ts +1 -1
  142. package/dist-types/pagination/GetFindingHistoryPaginator.d.ts +1 -1
  143. package/dist-types/pagination/GetFindingsPaginator.d.ts +1 -1
  144. package/dist-types/pagination/GetFindingsTrendsV2Paginator.d.ts +1 -1
  145. package/dist-types/pagination/GetFindingsV2Paginator.d.ts +1 -1
  146. package/dist-types/pagination/GetInsightsPaginator.d.ts +1 -1
  147. package/dist-types/pagination/GetResourcesTrendsV2Paginator.d.ts +1 -1
  148. package/dist-types/pagination/GetResourcesV2Paginator.d.ts +1 -1
  149. package/dist-types/pagination/Interfaces.d.ts +1 -1
  150. package/dist-types/pagination/ListAggregatorsV2Paginator.d.ts +1 -1
  151. package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +1 -1
  152. package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +1 -1
  153. package/dist-types/pagination/ListEnabledProductsForImportPaginator.d.ts +1 -1
  154. package/dist-types/pagination/ListFindingAggregatorsPaginator.d.ts +1 -1
  155. package/dist-types/pagination/ListInvitationsPaginator.d.ts +1 -1
  156. package/dist-types/pagination/ListMembersPaginator.d.ts +1 -1
  157. package/dist-types/pagination/ListOrganizationAdminAccountsPaginator.d.ts +1 -1
  158. package/dist-types/pagination/ListSecurityControlDefinitionsPaginator.d.ts +1 -1
  159. package/dist-types/pagination/ListStandardsControlAssociationsPaginator.d.ts +1 -1
  160. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  161. package/dist-types/runtimeConfig.d.ts +1 -1
  162. package/dist-types/runtimeConfig.native.d.ts +1 -1
  163. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  164. package/dist-types/runtimeExtensions.d.ts +1 -1
  165. package/dist-types/schemas/schemas_0.d.ts +6 -5
  166. package/dist-types/ts3.4/SecurityHub.d.ts +17 -17
  167. package/dist-types/ts3.4/SecurityHubClient.d.ts +9 -9
  168. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +4 -2
  170. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -4
  171. package/dist-types/ts3.4/commands/RegisterConnectorV2Command.d.ts +51 -0
  172. package/dist-types/ts3.4/commands/index.d.ts +1 -1
  173. package/dist-types/ts3.4/models/SecurityHubServiceException.d.ts +1 -1
  174. package/dist-types/ts3.4/models/enums.d.ts +11 -0
  175. package/dist-types/ts3.4/models/errors.d.ts +9 -0
  176. package/dist-types/ts3.4/models/models_1.d.ts +3 -3
  177. package/dist-types/ts3.4/models/models_2.d.ts +31 -28
  178. package/dist-types/ts3.4/models/models_3.d.ts +24 -15
  179. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -5
  180. package/package.json +13 -12
  181. package/dist-types/commands/ConnectorRegistrationsV2Command.d.ts +0 -98
  182. package/dist-types/ts3.4/commands/ConnectorRegistrationsV2Command.d.ts +0 -51
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securityhub",
3
3
  "description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
4
- "version": "3.940.0",
4
+ "version": "3.946.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-securityhub",
@@ -11,7 +11,8 @@
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo securityhub"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo securityhub",
15
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "types": "./dist-types/index.d.ts",
@@ -20,38 +21,38 @@
20
21
  "dependencies": {
21
22
  "@aws-crypto/sha256-browser": "5.2.0",
22
23
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.940.0",
24
- "@aws-sdk/credential-provider-node": "3.940.0",
24
+ "@aws-sdk/core": "3.946.0",
25
+ "@aws-sdk/credential-provider-node": "3.946.0",
25
26
  "@aws-sdk/middleware-host-header": "3.936.0",
26
27
  "@aws-sdk/middleware-logger": "3.936.0",
27
28
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.940.0",
29
+ "@aws-sdk/middleware-user-agent": "3.946.0",
29
30
  "@aws-sdk/region-config-resolver": "3.936.0",
30
31
  "@aws-sdk/types": "3.936.0",
31
32
  "@aws-sdk/util-endpoints": "3.936.0",
32
33
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.940.0",
34
+ "@aws-sdk/util-user-agent-node": "3.946.0",
34
35
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.5",
36
+ "@smithy/core": "^3.18.7",
36
37
  "@smithy/fetch-http-handler": "^5.3.6",
37
38
  "@smithy/hash-node": "^4.2.5",
38
39
  "@smithy/invalid-dependency": "^4.2.5",
39
40
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.12",
41
- "@smithy/middleware-retry": "^4.4.12",
41
+ "@smithy/middleware-endpoint": "^4.3.14",
42
+ "@smithy/middleware-retry": "^4.4.14",
42
43
  "@smithy/middleware-serde": "^4.2.6",
43
44
  "@smithy/middleware-stack": "^4.2.5",
44
45
  "@smithy/node-config-provider": "^4.3.5",
45
46
  "@smithy/node-http-handler": "^4.4.5",
46
47
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.8",
48
+ "@smithy/smithy-client": "^4.9.10",
48
49
  "@smithy/types": "^4.9.0",
49
50
  "@smithy/url-parser": "^4.2.5",
50
51
  "@smithy/util-base64": "^4.3.0",
51
52
  "@smithy/util-body-length-browser": "^4.2.0",
52
53
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.11",
54
- "@smithy/util-defaults-mode-node": "^4.2.14",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.13",
55
+ "@smithy/util-defaults-mode-node": "^4.2.16",
55
56
  "@smithy/util-endpoints": "^3.2.5",
56
57
  "@smithy/util-middleware": "^4.2.5",
57
58
  "@smithy/util-retry": "^4.2.5",
@@ -1,98 +0,0 @@
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 public 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, ConnectorRegistrationsV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
35
- * // const { SecurityHubClient, ConnectorRegistrationsV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
36
- * // import type { SecurityHubClientConfig } from "@aws-sdk/client-securityhub";
37
- * const config = {}; // type is SecurityHubClientConfig
38
- * const client = new SecurityHubClient(config);
39
- * const input = { // ConnectorRegistrationsV2Request
40
- * AuthCode: "STRING_VALUE", // required
41
- * AuthState: "STRING_VALUE", // required
42
- * };
43
- * const command = new ConnectorRegistrationsV2Command(input);
44
- * const response = await client.send(command);
45
- * // { // ConnectorRegistrationsV2Response
46
- * // ConnectorArn: "STRING_VALUE",
47
- * // ConnectorId: "STRING_VALUE", // required
48
- * // };
49
- *
50
- * ```
51
- *
52
- * @param ConnectorRegistrationsV2CommandInput - {@link ConnectorRegistrationsV2CommandInput}
53
- * @returns {@link ConnectorRegistrationsV2CommandOutput}
54
- * @see {@link ConnectorRegistrationsV2CommandInput} for command's `input` shape.
55
- * @see {@link ConnectorRegistrationsV2CommandOutput} for command's `response` shape.
56
- * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
57
- *
58
- * @throws {@link AccessDeniedException} (client fault)
59
- * <p>You don't have permission to perform the action specified in the request.</p>
60
- *
61
- * @throws {@link ConflictException} (client fault)
62
- * <p>The request causes conflict with the current state of the service resource.</p>
63
- *
64
- * @throws {@link InternalServerException} (server fault)
65
- * <p>
66
- * The request has failed due to an internal failure of the service.
67
- * </p>
68
- *
69
- * @throws {@link ResourceNotFoundException} (client fault)
70
- * <p>The request was rejected because we can't find the specified resource.</p>
71
- *
72
- * @throws {@link ThrottlingException} (client fault)
73
- * <p>
74
- * The limit on the number of requests per second was exceeded.
75
- * </p>
76
- *
77
- * @throws {@link ValidationException} (client fault)
78
- * <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
79
- *
80
- * @throws {@link SecurityHubServiceException}
81
- * <p>Base exception class for all service exceptions from SecurityHub service.</p>
82
- *
83
- *
84
- * @public
85
- */
86
- export declare class ConnectorRegistrationsV2Command extends ConnectorRegistrationsV2Command_base {
87
- /** @internal type navigation helper, not in runtime. */
88
- protected static __types: {
89
- api: {
90
- input: ConnectorRegistrationsV2Request;
91
- output: ConnectorRegistrationsV2Response;
92
- };
93
- sdk: {
94
- input: ConnectorRegistrationsV2CommandInput;
95
- output: ConnectorRegistrationsV2CommandOutput;
96
- };
97
- };
98
- }
@@ -1,51 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ConnectorRegistrationsV2Request,
5
- ConnectorRegistrationsV2Response,
6
- } from "../models/models_2";
7
- import {
8
- SecurityHubClientResolvedConfig,
9
- ServiceInputTypes,
10
- ServiceOutputTypes,
11
- } from "../SecurityHubClient";
12
- export { __MetadataBearer };
13
- export { $Command };
14
- export interface ConnectorRegistrationsV2CommandInput
15
- extends ConnectorRegistrationsV2Request {}
16
- export interface ConnectorRegistrationsV2CommandOutput
17
- extends ConnectorRegistrationsV2Response,
18
- __MetadataBearer {}
19
- declare const ConnectorRegistrationsV2Command_base: {
20
- new (
21
- input: ConnectorRegistrationsV2CommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
23
- ConnectorRegistrationsV2CommandInput,
24
- ConnectorRegistrationsV2CommandOutput,
25
- SecurityHubClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
28
- >;
29
- new (
30
- input: ConnectorRegistrationsV2CommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
32
- ConnectorRegistrationsV2CommandInput,
33
- ConnectorRegistrationsV2CommandOutput,
34
- SecurityHubClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
37
- >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
- };
40
- export declare class ConnectorRegistrationsV2Command extends ConnectorRegistrationsV2Command_base {
41
- protected static __types: {
42
- api: {
43
- input: ConnectorRegistrationsV2Request;
44
- output: ConnectorRegistrationsV2Response;
45
- };
46
- sdk: {
47
- input: ConnectorRegistrationsV2CommandInput;
48
- output: ConnectorRegistrationsV2CommandOutput;
49
- };
50
- };
51
- }