@aws-sdk/client-securityhub 3.933.0 → 3.935.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 (83) hide show
  1. package/dist-cjs/index.js +474 -476
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +458 -0
  4. package/dist-es/models/errors.js +193 -0
  5. package/dist-es/models/models_0.js +1 -178
  6. package/dist-es/models/models_1.js +1 -48
  7. package/dist-es/models/models_2.js +1 -359
  8. package/dist-es/models/models_3.js +1 -68
  9. package/dist-es/schemas/schemas_0.js +1 -1
  10. package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +2 -1
  11. package/dist-types/commands/GetFindingsV2Command.d.ts +2 -1
  12. package/dist-types/commands/GetInsightResultsCommand.d.ts +1 -1
  13. package/dist-types/commands/GetInsightsCommand.d.ts +1 -1
  14. package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
  15. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
  16. package/dist-types/commands/GetMembersCommand.d.ts +1 -1
  17. package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +2 -1
  18. package/dist-types/commands/GetResourcesV2Command.d.ts +2 -1
  19. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
  20. package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
  21. package/dist-types/commands/ListAggregatorsV2Command.d.ts +1 -1
  22. package/dist-types/commands/ListAutomationRulesCommand.d.ts +1 -1
  23. package/dist-types/commands/ListAutomationRulesV2Command.d.ts +1 -1
  24. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
  25. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListConnectorsV2Command.d.ts +1 -1
  27. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
  28. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  31. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  35. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
  36. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
  37. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  38. package/dist-types/index.d.ts +6 -1
  39. package/dist-types/models/enums.d.ts +994 -0
  40. package/dist-types/models/errors.d.ts +179 -0
  41. package/dist-types/models/models_0.d.ts +903 -305
  42. package/dist-types/models/models_1.d.ts +5669 -5639
  43. package/dist-types/models/models_2.d.ts +5423 -5594
  44. package/dist-types/models/models_3.d.ts +3 -1634
  45. package/dist-types/ts3.4/commands/GetFindingStatisticsV2Command.d.ts +2 -4
  46. package/dist-types/ts3.4/commands/GetFindingsV2Command.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/GetInsightResultsCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/GetResourcesStatisticsV2Command.d.ts +2 -4
  53. package/dist-types/ts3.4/commands/GetResourcesV2Command.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ListAggregatorsV2Command.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/ListAutomationRulesV2Command.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/ListConnectorsV2Command.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/index.d.ts +6 -1
  74. package/dist-types/ts3.4/models/enums.d.ts +574 -0
  75. package/dist-types/ts3.4/models/errors.d.ts +106 -0
  76. package/dist-types/ts3.4/models/models_0.d.ts +209 -164
  77. package/dist-types/ts3.4/models/models_1.d.ts +205 -260
  78. package/dist-types/ts3.4/models/models_2.d.ts +398 -582
  79. package/dist-types/ts3.4/models/models_3.d.ts +13 -439
  80. package/package.json +12 -12
  81. package/dist-es/models/index.js +0 -4
  82. package/dist-types/models/index.d.ts +0 -4
  83. package/dist-types/ts3.4/models/index.d.ts +0 -4
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- GetFindingStatisticsV2Request,
5
- GetFindingStatisticsV2Response,
6
- } from "../models/models_3";
3
+ import { GetFindingStatisticsV2Response } from "../models/models_2";
4
+ import { GetFindingStatisticsV2Request } from "../models/models_3";
7
5
  import {
8
6
  SecurityHubClientResolvedConfig,
9
7
  ServiceInputTypes,
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- GetFindingsV2Request,
5
- GetFindingsV2Response,
6
- } from "../models/models_3";
3
+ import { GetFindingsV2Response } from "../models/models_2";
4
+ import { GetFindingsV2Request } from "../models/models_3";
7
5
  import {
8
6
  SecurityHubClientResolvedConfig,
9
7
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  GetInsightResultsRequest,
5
5
  GetInsightResultsResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -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 { GetInsightsRequest, GetInsightsResponse } from "../models/models_3";
3
+ import { GetInsightsRequest, GetInsightsResponse } from "../models/models_2";
4
4
  import {
5
5
  SecurityHubClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  GetInvitationsCountRequest,
5
5
  GetInvitationsCountResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  GetMasterAccountRequest,
5
5
  GetMasterAccountResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -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 { GetMembersRequest, GetMembersResponse } from "../models/models_3";
3
+ import { GetMembersRequest, GetMembersResponse } from "../models/models_2";
4
4
  import {
5
5
  SecurityHubClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- GetResourcesStatisticsV2Request,
5
- GetResourcesStatisticsV2Response,
6
- } from "../models/models_3";
3
+ import { GetResourcesStatisticsV2Response } from "../models/models_2";
4
+ import { GetResourcesStatisticsV2Request } from "../models/models_3";
7
5
  import {
8
6
  SecurityHubClientResolvedConfig,
9
7
  ServiceInputTypes,
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- GetResourcesV2Request,
5
- GetResourcesV2Response,
6
- } from "../models/models_3";
3
+ import { GetResourcesV2Response } from "../models/models_2";
4
+ import { GetResourcesV2Request } from "../models/models_3";
7
5
  import {
8
6
  SecurityHubClientResolvedConfig,
9
7
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  GetSecurityControlDefinitionRequest,
5
5
  GetSecurityControlDefinitionResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  InviteMembersRequest,
5
5
  InviteMembersResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListAggregatorsV2Request,
5
5
  ListAggregatorsV2Response,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListAutomationRulesRequest,
5
5
  ListAutomationRulesResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListAutomationRulesV2Request,
5
5
  ListAutomationRulesV2Response,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListConfigurationPoliciesRequest,
5
5
  ListConfigurationPoliciesResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListConfigurationPolicyAssociationsRequest,
5
5
  ListConfigurationPolicyAssociationsResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListConnectorsV2Request,
5
5
  ListConnectorsV2Response,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListEnabledProductsForImportRequest,
5
5
  ListEnabledProductsForImportResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListFindingAggregatorsRequest,
5
5
  ListFindingAggregatorsResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListInvitationsRequest,
5
5
  ListInvitationsResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -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_3";
3
+ import { ListMembersRequest, ListMembersResponse } from "../models/models_2";
4
4
  import {
5
5
  SecurityHubClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListOrganizationAdminAccountsRequest,
5
5
  ListOrganizationAdminAccountsResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListSecurityControlDefinitionsRequest,
5
5
  ListSecurityControlDefinitionsResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListStandardsControlAssociationsRequest,
5
5
  ListStandardsControlAssociationsResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListTagsForResourceRequest,
5
5
  ListTagsForResourceResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  StartConfigurationPolicyAssociationRequest,
5
5
  StartConfigurationPolicyAssociationResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  StartConfigurationPolicyDisassociationRequest,
5
5
  StartConfigurationPolicyDisassociationResponse,
6
- } from "../models/models_3";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  SecurityHubClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -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_3";
3
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_2";
4
4
  import {
5
5
  SecurityHubClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -5,5 +5,10 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { SecurityHubExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
11
+ export * from "./models/models_1";
12
+ export * from "./models/models_2";
13
+ export * from "./models/models_3";
9
14
  export { SecurityHubServiceException } from "./models/SecurityHubServiceException";