@aws-sdk/client-securityhub 3.948.0 → 3.953.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 (127) hide show
  1. package/dist-cjs/index.js +3387 -2320
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/AcceptAdministratorInvitationCommand.js +2 -2
  4. package/dist-es/commands/AcceptInvitationCommand.js +2 -2
  5. package/dist-es/commands/BatchDeleteAutomationRulesCommand.js +2 -2
  6. package/dist-es/commands/BatchDisableStandardsCommand.js +2 -2
  7. package/dist-es/commands/BatchEnableStandardsCommand.js +2 -2
  8. package/dist-es/commands/BatchGetAutomationRulesCommand.js +2 -2
  9. package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +2 -2
  10. package/dist-es/commands/BatchGetSecurityControlsCommand.js +2 -2
  11. package/dist-es/commands/BatchGetStandardsControlAssociationsCommand.js +2 -2
  12. package/dist-es/commands/BatchImportFindingsCommand.js +2 -2
  13. package/dist-es/commands/BatchUpdateAutomationRulesCommand.js +2 -2
  14. package/dist-es/commands/BatchUpdateFindingsCommand.js +2 -2
  15. package/dist-es/commands/BatchUpdateFindingsV2Command.js +2 -2
  16. package/dist-es/commands/BatchUpdateStandardsControlAssociationsCommand.js +2 -2
  17. package/dist-es/commands/CreateActionTargetCommand.js +2 -2
  18. package/dist-es/commands/CreateAggregatorV2Command.js +2 -2
  19. package/dist-es/commands/CreateAutomationRuleCommand.js +2 -2
  20. package/dist-es/commands/CreateAutomationRuleV2Command.js +2 -2
  21. package/dist-es/commands/CreateConfigurationPolicyCommand.js +2 -2
  22. package/dist-es/commands/CreateConnectorV2Command.js +2 -2
  23. package/dist-es/commands/CreateFindingAggregatorCommand.js +2 -2
  24. package/dist-es/commands/CreateInsightCommand.js +2 -2
  25. package/dist-es/commands/CreateMembersCommand.js +2 -2
  26. package/dist-es/commands/CreateTicketV2Command.js +2 -2
  27. package/dist-es/commands/DeclineInvitationsCommand.js +2 -2
  28. package/dist-es/commands/DeleteActionTargetCommand.js +2 -2
  29. package/dist-es/commands/DeleteAggregatorV2Command.js +2 -2
  30. package/dist-es/commands/DeleteAutomationRuleV2Command.js +2 -2
  31. package/dist-es/commands/DeleteConfigurationPolicyCommand.js +2 -2
  32. package/dist-es/commands/DeleteConnectorV2Command.js +2 -2
  33. package/dist-es/commands/DeleteFindingAggregatorCommand.js +2 -2
  34. package/dist-es/commands/DeleteInsightCommand.js +2 -2
  35. package/dist-es/commands/DeleteInvitationsCommand.js +2 -2
  36. package/dist-es/commands/DeleteMembersCommand.js +2 -2
  37. package/dist-es/commands/DescribeActionTargetsCommand.js +2 -2
  38. package/dist-es/commands/DescribeHubCommand.js +2 -2
  39. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +2 -2
  40. package/dist-es/commands/DescribeProductsCommand.js +2 -2
  41. package/dist-es/commands/DescribeProductsV2Command.js +2 -2
  42. package/dist-es/commands/DescribeSecurityHubV2Command.js +2 -2
  43. package/dist-es/commands/DescribeStandardsCommand.js +2 -2
  44. package/dist-es/commands/DescribeStandardsControlsCommand.js +2 -2
  45. package/dist-es/commands/DisableImportFindingsForProductCommand.js +2 -2
  46. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +2 -2
  47. package/dist-es/commands/DisableSecurityHubCommand.js +2 -2
  48. package/dist-es/commands/DisableSecurityHubV2Command.js +2 -2
  49. package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +2 -2
  50. package/dist-es/commands/DisassociateFromMasterAccountCommand.js +2 -2
  51. package/dist-es/commands/DisassociateMembersCommand.js +2 -2
  52. package/dist-es/commands/EnableImportFindingsForProductCommand.js +2 -2
  53. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +2 -2
  54. package/dist-es/commands/EnableSecurityHubCommand.js +2 -2
  55. package/dist-es/commands/EnableSecurityHubV2Command.js +2 -2
  56. package/dist-es/commands/GetAdministratorAccountCommand.js +2 -2
  57. package/dist-es/commands/GetAggregatorV2Command.js +2 -2
  58. package/dist-es/commands/GetAutomationRuleV2Command.js +2 -2
  59. package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +2 -2
  60. package/dist-es/commands/GetConfigurationPolicyCommand.js +2 -2
  61. package/dist-es/commands/GetConnectorV2Command.js +2 -2
  62. package/dist-es/commands/GetEnabledStandardsCommand.js +2 -2
  63. package/dist-es/commands/GetFindingAggregatorCommand.js +2 -2
  64. package/dist-es/commands/GetFindingHistoryCommand.js +2 -2
  65. package/dist-es/commands/GetFindingStatisticsV2Command.js +2 -2
  66. package/dist-es/commands/GetFindingsCommand.js +2 -2
  67. package/dist-es/commands/GetFindingsTrendsV2Command.js +2 -2
  68. package/dist-es/commands/GetFindingsV2Command.js +2 -2
  69. package/dist-es/commands/GetInsightResultsCommand.js +2 -2
  70. package/dist-es/commands/GetInsightsCommand.js +2 -2
  71. package/dist-es/commands/GetInvitationsCountCommand.js +2 -2
  72. package/dist-es/commands/GetMasterAccountCommand.js +2 -2
  73. package/dist-es/commands/GetMembersCommand.js +2 -2
  74. package/dist-es/commands/GetResourcesStatisticsV2Command.js +2 -2
  75. package/dist-es/commands/GetResourcesTrendsV2Command.js +2 -2
  76. package/dist-es/commands/GetResourcesV2Command.js +2 -2
  77. package/dist-es/commands/GetSecurityControlDefinitionCommand.js +2 -2
  78. package/dist-es/commands/InviteMembersCommand.js +2 -2
  79. package/dist-es/commands/ListAggregatorsV2Command.js +2 -2
  80. package/dist-es/commands/ListAutomationRulesCommand.js +2 -2
  81. package/dist-es/commands/ListAutomationRulesV2Command.js +2 -2
  82. package/dist-es/commands/ListConfigurationPoliciesCommand.js +2 -2
  83. package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +2 -2
  84. package/dist-es/commands/ListConnectorsV2Command.js +2 -2
  85. package/dist-es/commands/ListEnabledProductsForImportCommand.js +2 -2
  86. package/dist-es/commands/ListFindingAggregatorsCommand.js +2 -2
  87. package/dist-es/commands/ListInvitationsCommand.js +2 -2
  88. package/dist-es/commands/ListMembersCommand.js +2 -2
  89. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +2 -2
  90. package/dist-es/commands/ListSecurityControlDefinitionsCommand.js +2 -2
  91. package/dist-es/commands/ListStandardsControlAssociationsCommand.js +2 -2
  92. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  93. package/dist-es/commands/RegisterConnectorV2Command.js +2 -2
  94. package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +2 -2
  95. package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +2 -2
  96. package/dist-es/commands/TagResourceCommand.js +2 -2
  97. package/dist-es/commands/UntagResourceCommand.js +2 -2
  98. package/dist-es/commands/UpdateActionTargetCommand.js +2 -2
  99. package/dist-es/commands/UpdateAggregatorV2Command.js +2 -2
  100. package/dist-es/commands/UpdateAutomationRuleV2Command.js +2 -2
  101. package/dist-es/commands/UpdateConfigurationPolicyCommand.js +2 -2
  102. package/dist-es/commands/UpdateConnectorV2Command.js +2 -2
  103. package/dist-es/commands/UpdateFindingAggregatorCommand.js +2 -2
  104. package/dist-es/commands/UpdateFindingsCommand.js +2 -2
  105. package/dist-es/commands/UpdateInsightCommand.js +2 -2
  106. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +2 -2
  107. package/dist-es/commands/UpdateSecurityControlCommand.js +2 -2
  108. package/dist-es/commands/UpdateSecurityHubConfigurationCommand.js +2 -2
  109. package/dist-es/commands/UpdateStandardsControlCommand.js +2 -2
  110. package/dist-es/index.js +1 -0
  111. package/dist-es/runtimeConfig.shared.js +6 -1
  112. package/dist-es/schemas/schemas_0.js +2312 -2322
  113. package/dist-types/SecurityHubClient.d.ts +1 -10
  114. package/dist-types/index.d.ts +1 -0
  115. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  116. package/dist-types/runtimeConfig.d.ts +6 -2
  117. package/dist-types/runtimeConfig.native.d.ts +6 -2
  118. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  119. package/dist-types/schemas/schemas_0.d.ts +1078 -1388
  120. package/dist-types/ts3.4/SecurityHubClient.d.ts +0 -4
  121. package/dist-types/ts3.4/index.d.ts +1 -0
  122. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  123. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  124. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  125. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  126. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1077 -1389
  127. package/package.json +34 -34
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  StreamCollector as __StreamCollector,
@@ -723,7 +720,6 @@ export interface ClientDefaults
723
720
  retryMode?: string | __Provider<string>;
724
721
  logger?: __Logger;
725
722
  extensions?: RuntimeExtension[];
726
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
727
723
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
728
724
  }
729
725
  export type SecurityHubClientConfigType = Partial<
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { SecurityHubExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
26
26
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
27
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
28
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
- apiVersion: string;
30
29
  cacheMiddleware?: boolean | undefined;
30
+ protocol:
31
+ | import("@smithy/types").ClientProtocol<any, any>
32
+ | import("@smithy/types").ClientProtocolCtor<any, any>
33
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
34
+ protocolSettings: {
35
+ defaultNamespace?: string;
36
+ [setting: string]: unknown;
37
+ };
38
+ apiVersion: string;
31
39
  urlParser: import("@smithy/types").UrlParser;
32
40
  base64Decoder: import("@smithy/types").Decoder;
33
41
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
38
46
  profile?: string;
39
47
  logger: import("@smithy/types").Logger;
40
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- protocol: import("@smithy/types").ClientProtocol<
42
- import("@smithy/types").HttpRequest,
43
- import("@smithy/types").HttpResponse
44
- >;
45
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
46
50
  userAgentAppId?:
47
51
  | string
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
26
26
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
27
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
29
- apiVersion: string;
30
29
  cacheMiddleware?: boolean | undefined;
30
+ protocol:
31
+ | import("@smithy/types").ClientProtocol<any, any>
32
+ | import("@smithy/types").ClientProtocolCtor<any, any>
33
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
34
+ protocolSettings: {
35
+ defaultNamespace?: string;
36
+ [setting: string]: unknown;
37
+ };
38
+ apiVersion: string;
31
39
  urlParser: import("@smithy/types").UrlParser;
32
40
  base64Decoder: import("@smithy/types").Decoder;
33
41
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
38
46
  profile?: string;
39
47
  logger: import("@smithy/types").Logger;
40
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- protocol: import("@smithy/types").ClientProtocol<
42
- import("@smithy/types").HttpRequest,
43
- import("@smithy/types").HttpResponse
44
- >;
45
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
46
50
  retryStrategy?:
47
51
  | import("@smithy/types").RetryStrategy
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
8
8
  | Record<string, unknown>
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
- apiVersion: string;
12
11
  cacheMiddleware?: boolean;
12
+ protocol:
13
+ | import("@smithy/types").ClientProtocol<any, any>
14
+ | import("@smithy/types").ClientProtocolCtor<any, any>
15
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
16
+ protocolSettings: {
17
+ defaultNamespace?: string;
18
+ [setting: string]: unknown;
19
+ };
20
+ apiVersion: string;
13
21
  urlParser: import("@smithy/types").UrlParser;
14
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
23
  streamCollector: import("@smithy/types").StreamCollector;
@@ -37,10 +45,6 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
37
45
  retryMode: string | import("@smithy/types").Provider<string>;
38
46
  logger: import("@smithy/types").Logger;
39
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
- protocol: import("@smithy/types").ClientProtocol<
41
- import("@smithy/types").HttpRequest,
42
- import("@smithy/types").HttpResponse
43
- >;
44
48
  defaultsMode:
45
49
  | import("@smithy/smithy-client").DefaultsMode
46
50
  | import("@smithy/types").Provider<
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import { SecurityHubClientConfig } from "./SecurityHubClient";
2
3
  export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
3
4
  apiVersion: string;
@@ -14,10 +15,14 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SecurityHubHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<
18
- import("@smithy/types").HttpRequest,
19
- import("@smithy/types").HttpResponse
20
- >;
18
+ protocol:
19
+ | import("@smithy/types").ClientProtocol<any, any>
20
+ | import("@smithy/types").ClientProtocolCtor<any, any>
21
+ | typeof AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ [setting: string]: unknown;
24
+ defaultNamespace?: string;
25
+ };
21
26
  serviceId: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  utf8Decoder: import("@smithy/types").Decoder;