@aws-sdk/client-securityhub 3.928.0 → 3.930.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 +13276 -6559
  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 -101
  110. package/dist-es/models/models_3.js +0 -22
  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 +24 -18
  115. package/dist-types/models/models_3.d.ts +8 -6
  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 -15
  123. package/dist-types/ts3.4/models/models_3.d.ts +0 -8
  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 +33 -34
  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
  */
@@ -4369,13 +4369,16 @@ export declare namespace Target {
4369
4369
  RootId?: never;
4370
4370
  $unknown: [string, any];
4371
4371
  }
4372
+ /**
4373
+ * @deprecated unused in schema-serde mode.
4374
+ *
4375
+ */
4372
4376
  interface Visitor<T> {
4373
4377
  AccountId: (value: string) => T;
4374
4378
  OrganizationalUnitId: (value: string) => T;
4375
4379
  RootId: (value: string) => T;
4376
4380
  _: (name: string, value: any) => T;
4377
4381
  }
4378
- const visit: <T>(value: Target, visitor: Visitor<T>) => T;
4379
4382
  }
4380
4383
  /**
4381
4384
  * <p>
@@ -4703,6 +4706,10 @@ export declare namespace ParameterValue {
4703
4706
  EnumList?: never;
4704
4707
  $unknown: [string, any];
4705
4708
  }
4709
+ /**
4710
+ * @deprecated unused in schema-serde mode.
4711
+ *
4712
+ */
4706
4713
  interface Visitor<T> {
4707
4714
  Integer: (value: number) => T;
4708
4715
  IntegerList: (value: number[]) => T;
@@ -4714,7 +4721,6 @@ export declare namespace ParameterValue {
4714
4721
  EnumList: (value: string[]) => T;
4715
4722
  _: (name: string, value: any) => T;
4716
4723
  }
4717
- const visit: <T>(value: ParameterValue, visitor: Visitor<T>) => T;
4718
4724
  }
4719
4725
  /**
4720
4726
  * @public
@@ -6391,6 +6397,10 @@ export declare namespace ConfigurationOptions {
6391
6397
  EnumList?: never;
6392
6398
  $unknown: [string, any];
6393
6399
  }
6400
+ /**
6401
+ * @deprecated unused in schema-serde mode.
6402
+ *
6403
+ */
6394
6404
  interface Visitor<T> {
6395
6405
  Integer: (value: IntegerConfigurationOptions) => T;
6396
6406
  IntegerList: (value: IntegerListConfigurationOptions) => T;
@@ -6402,7 +6412,6 @@ export declare namespace ConfigurationOptions {
6402
6412
  EnumList: (value: EnumListConfigurationOptions) => T;
6403
6413
  _: (name: string, value: any) => T;
6404
6414
  }
6405
- const visit: <T>(value: ConfigurationOptions, visitor: Visitor<T>) => T;
6406
6415
  }
6407
6416
  /**
6408
6417
  * <p>
@@ -6901,11 +6910,14 @@ export declare namespace Policy {
6901
6910
  SecurityHub?: never;
6902
6911
  $unknown: [string, any];
6903
6912
  }
6913
+ /**
6914
+ * @deprecated unused in schema-serde mode.
6915
+ *
6916
+ */
6904
6917
  interface Visitor<T> {
6905
6918
  SecurityHub: (value: SecurityHubPolicy) => T;
6906
6919
  _: (name: string, value: any) => T;
6907
6920
  }
6908
- const visit: <T>(value: Policy, visitor: Visitor<T>) => T;
6909
6921
  }
6910
6922
  /**
6911
6923
  * @public
@@ -7072,12 +7084,15 @@ export declare namespace ProviderConfiguration {
7072
7084
  ServiceNow?: never;
7073
7085
  $unknown: [string, any];
7074
7086
  }
7087
+ /**
7088
+ * @deprecated unused in schema-serde mode.
7089
+ *
7090
+ */
7075
7091
  interface Visitor<T> {
7076
7092
  JiraCloud: (value: JiraCloudProviderConfiguration) => T;
7077
7093
  ServiceNow: (value: ServiceNowProviderConfiguration) => T;
7078
7094
  _: (name: string, value: any) => T;
7079
7095
  }
7080
- const visit: <T>(value: ProviderConfiguration, visitor: Visitor<T>) => T;
7081
7096
  }
7082
7097
  /**
7083
7098
  * @public
@@ -8824,12 +8839,15 @@ export declare namespace ProviderDetail {
8824
8839
  ServiceNow?: never;
8825
8840
  $unknown: [string, any];
8826
8841
  }
8842
+ /**
8843
+ * @deprecated unused in schema-serde mode.
8844
+ *
8845
+ */
8827
8846
  interface Visitor<T> {
8828
8847
  JiraCloud: (value: JiraCloudDetail) => T;
8829
8848
  ServiceNow: (value: ServiceNowDetail) => T;
8830
8849
  _: (name: string, value: any) => T;
8831
8850
  }
8832
- const visit: <T>(value: ProviderDetail, visitor: Visitor<T>) => T;
8833
8851
  }
8834
8852
  /**
8835
8853
  * @public
@@ -9139,15 +9157,3 @@ export declare const GroupByField: {
9139
9157
  * @public
9140
9158
  */
9141
9159
  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;
@@ -1486,11 +1486,14 @@ export declare namespace ProviderUpdateConfiguration {
1486
1486
  JiraCloud?: never;
1487
1487
  $unknown: [string, any];
1488
1488
  }
1489
+ /**
1490
+ * @deprecated unused in schema-serde mode.
1491
+ *
1492
+ */
1489
1493
  interface Visitor<T> {
1490
1494
  JiraCloud: (value: JiraCloudUpdateConfiguration) => T;
1491
1495
  _: (name: string, value: any) => T;
1492
1496
  }
1493
- const visit: <T>(value: ProviderUpdateConfiguration, visitor: Visitor<T>) => T;
1494
1497
  }
1495
1498
  /**
1496
1499
  * <p>
@@ -2268,11 +2271,14 @@ export declare namespace Criteria {
2268
2271
  OcsfFindingCriteria?: never;
2269
2272
  $unknown: [string, any];
2270
2273
  }
2274
+ /**
2275
+ * @deprecated unused in schema-serde mode.
2276
+ *
2277
+ */
2271
2278
  interface Visitor<T> {
2272
2279
  OcsfFindingCriteria: (value: OcsfFindingFilters) => T;
2273
2280
  _: (name: string, value: any) => T;
2274
2281
  }
2275
- const visit: <T>(value: Criteria, visitor: Visitor<T>) => T;
2276
2282
  }
2277
2283
  /**
2278
2284
  * @public
@@ -2545,7 +2551,3 @@ export interface GetResourcesStatisticsV2Request {
2545
2551
  */
2546
2552
  MaxStatisticResults?: number | undefined;
2547
2553
  }
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;