@aws-sdk/client-securityhub 3.927.0 → 3.929.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 (132) hide show
  1. package/dist-cjs/index.js +13306 -6489
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SecurityHubClient.js +2 -0
  4. package/dist-es/commands/AcceptAdministratorInvitationCommand.js +3 -9
  5. package/dist-es/commands/AcceptInvitationCommand.js +3 -9
  6. package/dist-es/commands/BatchDeleteAutomationRulesCommand.js +3 -9
  7. package/dist-es/commands/BatchDisableStandardsCommand.js +3 -9
  8. package/dist-es/commands/BatchEnableStandardsCommand.js +3 -9
  9. package/dist-es/commands/BatchGetAutomationRulesCommand.js +3 -9
  10. package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +3 -9
  11. package/dist-es/commands/BatchGetSecurityControlsCommand.js +3 -9
  12. package/dist-es/commands/BatchGetStandardsControlAssociationsCommand.js +3 -9
  13. package/dist-es/commands/BatchImportFindingsCommand.js +3 -9
  14. package/dist-es/commands/BatchUpdateAutomationRulesCommand.js +3 -9
  15. package/dist-es/commands/BatchUpdateFindingsCommand.js +3 -9
  16. package/dist-es/commands/BatchUpdateFindingsV2Command.js +3 -9
  17. package/dist-es/commands/BatchUpdateStandardsControlAssociationsCommand.js +3 -9
  18. package/dist-es/commands/ConnectorRegistrationsV2Command.js +3 -9
  19. package/dist-es/commands/CreateActionTargetCommand.js +3 -9
  20. package/dist-es/commands/CreateAggregatorV2Command.js +3 -9
  21. package/dist-es/commands/CreateAutomationRuleCommand.js +3 -9
  22. package/dist-es/commands/CreateAutomationRuleV2Command.js +3 -9
  23. package/dist-es/commands/CreateConfigurationPolicyCommand.js +3 -9
  24. package/dist-es/commands/CreateConnectorV2Command.js +3 -10
  25. package/dist-es/commands/CreateFindingAggregatorCommand.js +3 -9
  26. package/dist-es/commands/CreateInsightCommand.js +3 -9
  27. package/dist-es/commands/CreateMembersCommand.js +3 -9
  28. package/dist-es/commands/CreateTicketV2Command.js +3 -9
  29. package/dist-es/commands/DeclineInvitationsCommand.js +3 -9
  30. package/dist-es/commands/DeleteActionTargetCommand.js +3 -9
  31. package/dist-es/commands/DeleteAggregatorV2Command.js +3 -9
  32. package/dist-es/commands/DeleteAutomationRuleV2Command.js +3 -9
  33. package/dist-es/commands/DeleteConfigurationPolicyCommand.js +3 -9
  34. package/dist-es/commands/DeleteConnectorV2Command.js +3 -9
  35. package/dist-es/commands/DeleteFindingAggregatorCommand.js +3 -9
  36. package/dist-es/commands/DeleteInsightCommand.js +3 -9
  37. package/dist-es/commands/DeleteInvitationsCommand.js +3 -9
  38. package/dist-es/commands/DeleteMembersCommand.js +3 -9
  39. package/dist-es/commands/DescribeActionTargetsCommand.js +3 -9
  40. package/dist-es/commands/DescribeHubCommand.js +3 -9
  41. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +3 -9
  42. package/dist-es/commands/DescribeProductsCommand.js +3 -9
  43. package/dist-es/commands/DescribeProductsV2Command.js +3 -9
  44. package/dist-es/commands/DescribeSecurityHubV2Command.js +3 -9
  45. package/dist-es/commands/DescribeStandardsCommand.js +3 -9
  46. package/dist-es/commands/DescribeStandardsControlsCommand.js +3 -9
  47. package/dist-es/commands/DisableImportFindingsForProductCommand.js +3 -9
  48. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +3 -9
  49. package/dist-es/commands/DisableSecurityHubCommand.js +3 -9
  50. package/dist-es/commands/DisableSecurityHubV2Command.js +3 -9
  51. package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +3 -9
  52. package/dist-es/commands/DisassociateFromMasterAccountCommand.js +3 -9
  53. package/dist-es/commands/DisassociateMembersCommand.js +3 -9
  54. package/dist-es/commands/EnableImportFindingsForProductCommand.js +3 -9
  55. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +3 -9
  56. package/dist-es/commands/EnableSecurityHubCommand.js +3 -9
  57. package/dist-es/commands/EnableSecurityHubV2Command.js +3 -9
  58. package/dist-es/commands/GetAdministratorAccountCommand.js +3 -9
  59. package/dist-es/commands/GetAggregatorV2Command.js +3 -9
  60. package/dist-es/commands/GetAutomationRuleV2Command.js +3 -9
  61. package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +3 -9
  62. package/dist-es/commands/GetConfigurationPolicyCommand.js +3 -9
  63. package/dist-es/commands/GetConnectorV2Command.js +3 -9
  64. package/dist-es/commands/GetEnabledStandardsCommand.js +3 -9
  65. package/dist-es/commands/GetFindingAggregatorCommand.js +3 -9
  66. package/dist-es/commands/GetFindingHistoryCommand.js +3 -9
  67. package/dist-es/commands/GetFindingStatisticsV2Command.js +3 -9
  68. package/dist-es/commands/GetFindingsCommand.js +3 -9
  69. package/dist-es/commands/GetFindingsV2Command.js +3 -9
  70. package/dist-es/commands/GetInsightResultsCommand.js +3 -9
  71. package/dist-es/commands/GetInsightsCommand.js +3 -9
  72. package/dist-es/commands/GetInvitationsCountCommand.js +3 -9
  73. package/dist-es/commands/GetMasterAccountCommand.js +3 -9
  74. package/dist-es/commands/GetMembersCommand.js +3 -9
  75. package/dist-es/commands/GetResourcesStatisticsV2Command.js +3 -9
  76. package/dist-es/commands/GetResourcesV2Command.js +3 -9
  77. package/dist-es/commands/GetSecurityControlDefinitionCommand.js +3 -9
  78. package/dist-es/commands/InviteMembersCommand.js +3 -9
  79. package/dist-es/commands/ListAggregatorsV2Command.js +3 -9
  80. package/dist-es/commands/ListAutomationRulesCommand.js +3 -9
  81. package/dist-es/commands/ListAutomationRulesV2Command.js +3 -9
  82. package/dist-es/commands/ListConfigurationPoliciesCommand.js +3 -9
  83. package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +3 -9
  84. package/dist-es/commands/ListConnectorsV2Command.js +3 -9
  85. package/dist-es/commands/ListEnabledProductsForImportCommand.js +3 -9
  86. package/dist-es/commands/ListFindingAggregatorsCommand.js +3 -9
  87. package/dist-es/commands/ListInvitationsCommand.js +3 -9
  88. package/dist-es/commands/ListMembersCommand.js +3 -9
  89. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +3 -9
  90. package/dist-es/commands/ListSecurityControlDefinitionsCommand.js +3 -9
  91. package/dist-es/commands/ListStandardsControlAssociationsCommand.js +3 -9
  92. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  93. package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +3 -9
  94. package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +3 -9
  95. package/dist-es/commands/TagResourceCommand.js +3 -9
  96. package/dist-es/commands/UntagResourceCommand.js +3 -9
  97. package/dist-es/commands/UpdateActionTargetCommand.js +3 -9
  98. package/dist-es/commands/UpdateAggregatorV2Command.js +3 -9
  99. package/dist-es/commands/UpdateAutomationRuleV2Command.js +3 -9
  100. package/dist-es/commands/UpdateConfigurationPolicyCommand.js +3 -9
  101. package/dist-es/commands/UpdateConnectorV2Command.js +3 -10
  102. package/dist-es/commands/UpdateFindingAggregatorCommand.js +3 -9
  103. package/dist-es/commands/UpdateFindingsCommand.js +3 -9
  104. package/dist-es/commands/UpdateInsightCommand.js +3 -9
  105. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +3 -9
  106. package/dist-es/commands/UpdateSecurityControlCommand.js +3 -9
  107. package/dist-es/commands/UpdateSecurityHubConfigurationCommand.js +3 -9
  108. package/dist-es/commands/UpdateStandardsControlCommand.js +3 -9
  109. package/dist-es/models/models_2.js +0 -17
  110. package/dist-es/models/models_3.js +0 -6
  111. package/dist-es/runtimeConfig.shared.js +2 -0
  112. package/dist-es/schemas/schemas_0.js +12861 -0
  113. package/dist-types/SecurityHubClient.d.ts +10 -1
  114. package/dist-types/models/models_2.d.ts +0 -12
  115. package/dist-types/models/models_3.d.ts +0 -4
  116. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  117. package/dist-types/runtimeConfig.d.ts +1 -0
  118. package/dist-types/runtimeConfig.native.d.ts +1 -0
  119. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  120. package/dist-types/schemas/schemas_0.d.ts +1364 -0
  121. package/dist-types/ts3.4/SecurityHubClient.d.ts +4 -0
  122. package/dist-types/ts3.4/models/models_2.d.ts +0 -9
  123. package/dist-types/ts3.4/models/models_3.d.ts +0 -3
  124. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  125. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  126. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  127. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  128. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1371 -0
  129. package/package.json +5 -6
  130. package/dist-es/protocols/Aws_restJson1.js +0 -5468
  131. package/dist-types/protocols/Aws_restJson1.d.ts +0 -947
  132. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1265
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput } from "./commands/AcceptAdministratorInvitationCommand";
11
11
  import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
@@ -246,6 +246,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
246
246
  * Optional extensions
247
247
  */
248
248
  extensions?: RuntimeExtension[];
249
+ /**
250
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
251
+ * may be overridden. A default will always be set by the client.
252
+ * Available options depend on the service's supported protocols and will not be validated by
253
+ * the client.
254
+ * @alpha
255
+ *
256
+ */
257
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
249
258
  /**
250
259
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
251
260
  */
@@ -9139,15 +9139,3 @@ export declare const GroupByField: {
9139
9139
  * @public
9140
9140
  */
9141
9141
  export type GroupByField = (typeof GroupByField)[keyof typeof GroupByField];
9142
- /**
9143
- * @internal
9144
- */
9145
- export declare const ServiceNowProviderConfigurationFilterSensitiveLog: (obj: ServiceNowProviderConfiguration) => any;
9146
- /**
9147
- * @internal
9148
- */
9149
- export declare const ProviderConfigurationFilterSensitiveLog: (obj: ProviderConfiguration) => any;
9150
- /**
9151
- * @internal
9152
- */
9153
- export declare const CreateConnectorV2RequestFilterSensitiveLog: (obj: CreateConnectorV2Request) => any;
@@ -2545,7 +2545,3 @@ export interface GetResourcesStatisticsV2Request {
2545
2545
  */
2546
2546
  MaxStatisticResults?: number | undefined;
2547
2547
  }
2548
- /**
2549
- * @internal
2550
- */
2551
- export declare const UpdateConnectorV2RequestFilterSensitiveLog: (obj: UpdateConnectorV2Request) => any;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SecurityHubHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  serviceId: string;
18
19
  urlParser: import("@smithy/types").UrlParser;
19
20
  utf8Decoder: import("@smithy/types").Decoder;