@aws-sdk/client-securityhub 3.326.0 → 3.328.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 (33) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/SecurityHub.js +2 -0
  3. package/dist-cjs/commands/GetFindingHistoryCommand.js +45 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_2.js +5 -1
  6. package/dist-cjs/pagination/GetFindingHistoryPaginator.js +29 -0
  7. package/dist-cjs/pagination/index.js +1 -0
  8. package/dist-cjs/protocols/Aws_restJson1.js +90 -3
  9. package/dist-es/SecurityHub.js +2 -0
  10. package/dist-es/commands/GetFindingHistoryCommand.js +41 -0
  11. package/dist-es/commands/index.js +1 -0
  12. package/dist-es/models/models_2.js +4 -0
  13. package/dist-es/pagination/GetFindingHistoryPaginator.js +25 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +85 -0
  16. package/dist-types/SecurityHub.d.ts +7 -0
  17. package/dist-types/SecurityHubClient.d.ts +3 -2
  18. package/dist-types/commands/GetFindingHistoryCommand.d.ts +157 -0
  19. package/dist-types/commands/index.d.ts +1 -0
  20. package/dist-types/models/models_1.d.ts +16 -16
  21. package/dist-types/models/models_2.d.ts +196 -1
  22. package/dist-types/pagination/GetFindingHistoryPaginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -0
  24. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  25. package/dist-types/ts3.4/SecurityHub.d.ts +17 -0
  26. package/dist-types/ts3.4/SecurityHubClient.d.ts +6 -0
  27. package/dist-types/ts3.4/commands/GetFindingHistoryCommand.d.ts +38 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  29. package/dist-types/ts3.4/models/models_2.d.ts +35 -0
  30. package/dist-types/ts3.4/pagination/GetFindingHistoryPaginator.d.ts +11 -0
  31. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  32. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  33. package/package.json +8 -8
package/README.md CHANGED
@@ -546,6 +546,14 @@ GetFindingAggregator
546
546
 
547
547
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-securityhub/classes/getfindingaggregatorcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-securityhub/interfaces/getfindingaggregatorcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-securityhub/interfaces/getfindingaggregatorcommandoutput.html)
548
548
 
549
+ </details>
550
+ <details>
551
+ <summary>
552
+ GetFindingHistory
553
+ </summary>
554
+
555
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-securityhub/classes/getfindinghistorycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-securityhub/interfaces/getfindinghistorycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-securityhub/interfaces/getfindinghistorycommandoutput.html)
556
+
549
557
  </details>
550
558
  <details>
551
559
  <summary>
@@ -39,6 +39,7 @@ const EnableSecurityHubCommand_1 = require("./commands/EnableSecurityHubCommand"
39
39
  const GetAdministratorAccountCommand_1 = require("./commands/GetAdministratorAccountCommand");
40
40
  const GetEnabledStandardsCommand_1 = require("./commands/GetEnabledStandardsCommand");
41
41
  const GetFindingAggregatorCommand_1 = require("./commands/GetFindingAggregatorCommand");
42
+ const GetFindingHistoryCommand_1 = require("./commands/GetFindingHistoryCommand");
42
43
  const GetFindingsCommand_1 = require("./commands/GetFindingsCommand");
43
44
  const GetInsightResultsCommand_1 = require("./commands/GetInsightResultsCommand");
44
45
  const GetInsightsCommand_1 = require("./commands/GetInsightsCommand");
@@ -102,6 +103,7 @@ const commands = {
102
103
  GetAdministratorAccountCommand: GetAdministratorAccountCommand_1.GetAdministratorAccountCommand,
103
104
  GetEnabledStandardsCommand: GetEnabledStandardsCommand_1.GetEnabledStandardsCommand,
104
105
  GetFindingAggregatorCommand: GetFindingAggregatorCommand_1.GetFindingAggregatorCommand,
106
+ GetFindingHistoryCommand: GetFindingHistoryCommand_1.GetFindingHistoryCommand,
105
107
  GetFindingsCommand: GetFindingsCommand_1.GetFindingsCommand,
106
108
  GetInsightResultsCommand: GetInsightResultsCommand_1.GetInsightResultsCommand,
107
109
  GetInsightsCommand: GetInsightsCommand_1.GetInsightsCommand,
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetFindingHistoryCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetFindingHistoryCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetFindingHistoryCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "SecurityHubClient";
27
+ const commandName = "GetFindingHistoryCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_GetFindingHistoryCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_GetFindingHistoryCommand)(output, context);
43
+ }
44
+ }
45
+ exports.GetFindingHistoryCommand = GetFindingHistoryCommand;
@@ -38,6 +38,7 @@ tslib_1.__exportStar(require("./EnableSecurityHubCommand"), exports);
38
38
  tslib_1.__exportStar(require("./GetAdministratorAccountCommand"), exports);
39
39
  tslib_1.__exportStar(require("./GetEnabledStandardsCommand"), exports);
40
40
  tslib_1.__exportStar(require("./GetFindingAggregatorCommand"), exports);
41
+ tslib_1.__exportStar(require("./GetFindingHistoryCommand"), exports);
41
42
  tslib_1.__exportStar(require("./GetFindingsCommand"), exports);
42
43
  tslib_1.__exportStar(require("./GetInsightResultsCommand"), exports);
43
44
  tslib_1.__exportStar(require("./GetInsightsCommand"), exports);
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RegionAvailabilityStatus = exports.SortOrder = exports.IntegrationType = void 0;
3
+ exports.RegionAvailabilityStatus = exports.SortOrder = exports.FindingHistoryUpdateSourceType = exports.IntegrationType = void 0;
4
4
  exports.IntegrationType = {
5
5
  RECEIVE_FINDINGS_FROM_SECURITY_HUB: "RECEIVE_FINDINGS_FROM_SECURITY_HUB",
6
6
  SEND_FINDINGS_TO_SECURITY_HUB: "SEND_FINDINGS_TO_SECURITY_HUB",
7
7
  UPDATE_FINDINGS_IN_SECURITY_HUB: "UPDATE_FINDINGS_IN_SECURITY_HUB",
8
8
  };
9
+ exports.FindingHistoryUpdateSourceType = {
10
+ BATCH_IMPORT_FINDINGS: "BATCH_IMPORT_FINDINGS",
11
+ BATCH_UPDATE_FINDINGS: "BATCH_UPDATE_FINDINGS",
12
+ };
9
13
  exports.SortOrder = {
10
14
  ASCENDING: "asc",
11
15
  DESCENDING: "desc",
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateGetFindingHistory = void 0;
4
+ const GetFindingHistoryCommand_1 = require("../commands/GetFindingHistoryCommand");
5
+ const SecurityHubClient_1 = require("../SecurityHubClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new GetFindingHistoryCommand_1.GetFindingHistoryCommand(input), ...args);
8
+ };
9
+ async function* paginateGetFindingHistory(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.NextToken = token;
15
+ input["MaxResults"] = config.pageSize;
16
+ if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.NextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateGetFindingHistory = paginateGetFindingHistory;
@@ -6,6 +6,7 @@ tslib_1.__exportStar(require("./DescribeProductsPaginator"), exports);
6
6
  tslib_1.__exportStar(require("./DescribeStandardsControlsPaginator"), exports);
7
7
  tslib_1.__exportStar(require("./DescribeStandardsPaginator"), exports);
8
8
  tslib_1.__exportStar(require("./GetEnabledStandardsPaginator"), exports);
9
+ tslib_1.__exportStar(require("./GetFindingHistoryPaginator"), exports);
9
10
  tslib_1.__exportStar(require("./GetFindingsPaginator"), exports);
10
11
  tslib_1.__exportStar(require("./GetInsightsPaginator"), exports);
11
12
  tslib_1.__exportStar(require("./Interfaces"), exports);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_ListSecurityControlDefinitionsCommand = exports.se_ListOrganizationAdminAccountsCommand = exports.se_ListMembersCommand = exports.se_ListInvitationsCommand = exports.se_ListFindingAggregatorsCommand = exports.se_ListEnabledProductsForImportCommand = exports.se_InviteMembersCommand = exports.se_GetMembersCommand = exports.se_GetMasterAccountCommand = exports.se_GetInvitationsCountCommand = exports.se_GetInsightsCommand = exports.se_GetInsightResultsCommand = exports.se_GetFindingsCommand = exports.se_GetFindingAggregatorCommand = exports.se_GetEnabledStandardsCommand = exports.se_GetAdministratorAccountCommand = exports.se_EnableSecurityHubCommand = exports.se_EnableOrganizationAdminAccountCommand = exports.se_EnableImportFindingsForProductCommand = exports.se_DisassociateMembersCommand = exports.se_DisassociateFromMasterAccountCommand = exports.se_DisassociateFromAdministratorAccountCommand = exports.se_DisableSecurityHubCommand = exports.se_DisableOrganizationAdminAccountCommand = exports.se_DisableImportFindingsForProductCommand = exports.se_DescribeStandardsControlsCommand = exports.se_DescribeStandardsCommand = exports.se_DescribeProductsCommand = exports.se_DescribeOrganizationConfigurationCommand = exports.se_DescribeHubCommand = exports.se_DescribeActionTargetsCommand = exports.se_DeleteMembersCommand = exports.se_DeleteInvitationsCommand = exports.se_DeleteInsightCommand = exports.se_DeleteFindingAggregatorCommand = exports.se_DeleteActionTargetCommand = exports.se_DeclineInvitationsCommand = exports.se_CreateMembersCommand = exports.se_CreateInsightCommand = exports.se_CreateFindingAggregatorCommand = exports.se_CreateActionTargetCommand = exports.se_BatchUpdateStandardsControlAssociationsCommand = exports.se_BatchUpdateFindingsCommand = exports.se_BatchImportFindingsCommand = exports.se_BatchGetStandardsControlAssociationsCommand = exports.se_BatchGetSecurityControlsCommand = exports.se_BatchEnableStandardsCommand = exports.se_BatchDisableStandardsCommand = exports.se_AcceptInvitationCommand = exports.se_AcceptAdministratorInvitationCommand = void 0;
4
- exports.de_GetInsightResultsCommand = exports.de_GetFindingsCommand = exports.de_GetFindingAggregatorCommand = exports.de_GetEnabledStandardsCommand = exports.de_GetAdministratorAccountCommand = exports.de_EnableSecurityHubCommand = exports.de_EnableOrganizationAdminAccountCommand = exports.de_EnableImportFindingsForProductCommand = exports.de_DisassociateMembersCommand = exports.de_DisassociateFromMasterAccountCommand = exports.de_DisassociateFromAdministratorAccountCommand = exports.de_DisableSecurityHubCommand = exports.de_DisableOrganizationAdminAccountCommand = exports.de_DisableImportFindingsForProductCommand = exports.de_DescribeStandardsControlsCommand = exports.de_DescribeStandardsCommand = exports.de_DescribeProductsCommand = exports.de_DescribeOrganizationConfigurationCommand = exports.de_DescribeHubCommand = exports.de_DescribeActionTargetsCommand = exports.de_DeleteMembersCommand = exports.de_DeleteInvitationsCommand = exports.de_DeleteInsightCommand = exports.de_DeleteFindingAggregatorCommand = exports.de_DeleteActionTargetCommand = exports.de_DeclineInvitationsCommand = exports.de_CreateMembersCommand = exports.de_CreateInsightCommand = exports.de_CreateFindingAggregatorCommand = exports.de_CreateActionTargetCommand = exports.de_BatchUpdateStandardsControlAssociationsCommand = exports.de_BatchUpdateFindingsCommand = exports.de_BatchImportFindingsCommand = exports.de_BatchGetStandardsControlAssociationsCommand = exports.de_BatchGetSecurityControlsCommand = exports.de_BatchEnableStandardsCommand = exports.de_BatchDisableStandardsCommand = exports.de_AcceptInvitationCommand = exports.de_AcceptAdministratorInvitationCommand = exports.se_UpdateStandardsControlCommand = exports.se_UpdateSecurityHubConfigurationCommand = exports.se_UpdateOrganizationConfigurationCommand = exports.se_UpdateInsightCommand = exports.se_UpdateFindingsCommand = exports.se_UpdateFindingAggregatorCommand = exports.se_UpdateActionTargetCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListTagsForResourceCommand = exports.se_ListStandardsControlAssociationsCommand = void 0;
5
- exports.de_UpdateStandardsControlCommand = exports.de_UpdateSecurityHubConfigurationCommand = exports.de_UpdateOrganizationConfigurationCommand = exports.de_UpdateInsightCommand = exports.de_UpdateFindingsCommand = exports.de_UpdateFindingAggregatorCommand = exports.de_UpdateActionTargetCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_ListStandardsControlAssociationsCommand = exports.de_ListSecurityControlDefinitionsCommand = exports.de_ListOrganizationAdminAccountsCommand = exports.de_ListMembersCommand = exports.de_ListInvitationsCommand = exports.de_ListFindingAggregatorsCommand = exports.de_ListEnabledProductsForImportCommand = exports.de_InviteMembersCommand = exports.de_GetMembersCommand = exports.de_GetMasterAccountCommand = exports.de_GetInvitationsCountCommand = exports.de_GetInsightsCommand = void 0;
3
+ exports.se_ListOrganizationAdminAccountsCommand = exports.se_ListMembersCommand = exports.se_ListInvitationsCommand = exports.se_ListFindingAggregatorsCommand = exports.se_ListEnabledProductsForImportCommand = exports.se_InviteMembersCommand = exports.se_GetMembersCommand = exports.se_GetMasterAccountCommand = exports.se_GetInvitationsCountCommand = exports.se_GetInsightsCommand = exports.se_GetInsightResultsCommand = exports.se_GetFindingsCommand = exports.se_GetFindingHistoryCommand = exports.se_GetFindingAggregatorCommand = exports.se_GetEnabledStandardsCommand = exports.se_GetAdministratorAccountCommand = exports.se_EnableSecurityHubCommand = exports.se_EnableOrganizationAdminAccountCommand = exports.se_EnableImportFindingsForProductCommand = exports.se_DisassociateMembersCommand = exports.se_DisassociateFromMasterAccountCommand = exports.se_DisassociateFromAdministratorAccountCommand = exports.se_DisableSecurityHubCommand = exports.se_DisableOrganizationAdminAccountCommand = exports.se_DisableImportFindingsForProductCommand = exports.se_DescribeStandardsControlsCommand = exports.se_DescribeStandardsCommand = exports.se_DescribeProductsCommand = exports.se_DescribeOrganizationConfigurationCommand = exports.se_DescribeHubCommand = exports.se_DescribeActionTargetsCommand = exports.se_DeleteMembersCommand = exports.se_DeleteInvitationsCommand = exports.se_DeleteInsightCommand = exports.se_DeleteFindingAggregatorCommand = exports.se_DeleteActionTargetCommand = exports.se_DeclineInvitationsCommand = exports.se_CreateMembersCommand = exports.se_CreateInsightCommand = exports.se_CreateFindingAggregatorCommand = exports.se_CreateActionTargetCommand = exports.se_BatchUpdateStandardsControlAssociationsCommand = exports.se_BatchUpdateFindingsCommand = exports.se_BatchImportFindingsCommand = exports.se_BatchGetStandardsControlAssociationsCommand = exports.se_BatchGetSecurityControlsCommand = exports.se_BatchEnableStandardsCommand = exports.se_BatchDisableStandardsCommand = exports.se_AcceptInvitationCommand = exports.se_AcceptAdministratorInvitationCommand = void 0;
4
+ exports.de_GetFindingHistoryCommand = exports.de_GetFindingAggregatorCommand = exports.de_GetEnabledStandardsCommand = exports.de_GetAdministratorAccountCommand = exports.de_EnableSecurityHubCommand = exports.de_EnableOrganizationAdminAccountCommand = exports.de_EnableImportFindingsForProductCommand = exports.de_DisassociateMembersCommand = exports.de_DisassociateFromMasterAccountCommand = exports.de_DisassociateFromAdministratorAccountCommand = exports.de_DisableSecurityHubCommand = exports.de_DisableOrganizationAdminAccountCommand = exports.de_DisableImportFindingsForProductCommand = exports.de_DescribeStandardsControlsCommand = exports.de_DescribeStandardsCommand = exports.de_DescribeProductsCommand = exports.de_DescribeOrganizationConfigurationCommand = exports.de_DescribeHubCommand = exports.de_DescribeActionTargetsCommand = exports.de_DeleteMembersCommand = exports.de_DeleteInvitationsCommand = exports.de_DeleteInsightCommand = exports.de_DeleteFindingAggregatorCommand = exports.de_DeleteActionTargetCommand = exports.de_DeclineInvitationsCommand = exports.de_CreateMembersCommand = exports.de_CreateInsightCommand = exports.de_CreateFindingAggregatorCommand = exports.de_CreateActionTargetCommand = exports.de_BatchUpdateStandardsControlAssociationsCommand = exports.de_BatchUpdateFindingsCommand = exports.de_BatchImportFindingsCommand = exports.de_BatchGetStandardsControlAssociationsCommand = exports.de_BatchGetSecurityControlsCommand = exports.de_BatchEnableStandardsCommand = exports.de_BatchDisableStandardsCommand = exports.de_AcceptInvitationCommand = exports.de_AcceptAdministratorInvitationCommand = exports.se_UpdateStandardsControlCommand = exports.se_UpdateSecurityHubConfigurationCommand = exports.se_UpdateOrganizationConfigurationCommand = exports.se_UpdateInsightCommand = exports.se_UpdateFindingsCommand = exports.se_UpdateFindingAggregatorCommand = exports.se_UpdateActionTargetCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListTagsForResourceCommand = exports.se_ListStandardsControlAssociationsCommand = exports.se_ListSecurityControlDefinitionsCommand = void 0;
5
+ exports.de_UpdateStandardsControlCommand = exports.de_UpdateSecurityHubConfigurationCommand = exports.de_UpdateOrganizationConfigurationCommand = exports.de_UpdateInsightCommand = exports.de_UpdateFindingsCommand = exports.de_UpdateFindingAggregatorCommand = exports.de_UpdateActionTargetCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_ListStandardsControlAssociationsCommand = exports.de_ListSecurityControlDefinitionsCommand = exports.de_ListOrganizationAdminAccountsCommand = exports.de_ListMembersCommand = exports.de_ListInvitationsCommand = exports.de_ListFindingAggregatorsCommand = exports.de_ListEnabledProductsForImportCommand = exports.de_InviteMembersCommand = exports.de_GetMembersCommand = exports.de_GetMasterAccountCommand = exports.de_GetInvitationsCountCommand = exports.de_GetInsightsCommand = exports.de_GetInsightResultsCommand = exports.de_GetFindingsCommand = void 0;
6
6
  const protocol_http_1 = require("@aws-sdk/protocol-http");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  const models_0_1 = require("../models/models_0");
@@ -782,6 +782,31 @@ const se_GetFindingAggregatorCommand = async (input, context) => {
782
782
  });
783
783
  };
784
784
  exports.se_GetFindingAggregatorCommand = se_GetFindingAggregatorCommand;
785
+ const se_GetFindingHistoryCommand = async (input, context) => {
786
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
787
+ const headers = {
788
+ "content-type": "application/json",
789
+ };
790
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findingHistory/get";
791
+ let body;
792
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
793
+ EndTime: (_) => _.toISOString().split(".")[0] + "Z",
794
+ FindingIdentifier: (_) => (0, smithy_client_1._json)(_),
795
+ MaxResults: [],
796
+ NextToken: [],
797
+ StartTime: (_) => _.toISOString().split(".")[0] + "Z",
798
+ }));
799
+ return new protocol_http_1.HttpRequest({
800
+ protocol,
801
+ hostname,
802
+ port,
803
+ method: "POST",
804
+ headers,
805
+ path: resolvedPath,
806
+ body,
807
+ });
808
+ };
809
+ exports.se_GetFindingHistoryCommand = se_GetFindingHistoryCommand;
785
810
  const se_GetFindingsCommand = async (input, context) => {
786
811
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
787
812
  const headers = {
@@ -2927,6 +2952,50 @@ const de_GetFindingAggregatorCommandError = async (output, context) => {
2927
2952
  });
2928
2953
  }
2929
2954
  };
2955
+ const de_GetFindingHistoryCommand = async (output, context) => {
2956
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2957
+ return de_GetFindingHistoryCommandError(output, context);
2958
+ }
2959
+ const contents = (0, smithy_client_1.map)({
2960
+ $metadata: deserializeMetadata(output),
2961
+ });
2962
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2963
+ const doc = (0, smithy_client_1.take)(data, {
2964
+ NextToken: smithy_client_1.expectString,
2965
+ Records: (_) => de_FindingHistoryRecordList(_, context),
2966
+ });
2967
+ Object.assign(contents, doc);
2968
+ return contents;
2969
+ };
2970
+ exports.de_GetFindingHistoryCommand = de_GetFindingHistoryCommand;
2971
+ const de_GetFindingHistoryCommandError = async (output, context) => {
2972
+ const parsedOutput = {
2973
+ ...output,
2974
+ body: await parseErrorBody(output.body, context),
2975
+ };
2976
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2977
+ switch (errorCode) {
2978
+ case "InternalException":
2979
+ case "com.amazonaws.securityhub#InternalException":
2980
+ throw await de_InternalExceptionRes(parsedOutput, context);
2981
+ case "InvalidAccessException":
2982
+ case "com.amazonaws.securityhub#InvalidAccessException":
2983
+ throw await de_InvalidAccessExceptionRes(parsedOutput, context);
2984
+ case "InvalidInputException":
2985
+ case "com.amazonaws.securityhub#InvalidInputException":
2986
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2987
+ case "LimitExceededException":
2988
+ case "com.amazonaws.securityhub#LimitExceededException":
2989
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2990
+ default:
2991
+ const parsedBody = parsedOutput.body;
2992
+ return throwDefaultError({
2993
+ output,
2994
+ parsedBody,
2995
+ errorCode,
2996
+ });
2997
+ }
2998
+ };
2930
2999
  const de_GetFindingsCommand = async (output, context) => {
2931
3000
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2932
3001
  return de_GetFindingsCommandError(output, context);
@@ -5179,6 +5248,24 @@ const de_CvssList = (output, context) => {
5179
5248
  });
5180
5249
  return retVal;
5181
5250
  };
5251
+ const de_FindingHistoryRecord = (output, context) => {
5252
+ return (0, smithy_client_1.take)(output, {
5253
+ FindingCreated: smithy_client_1.expectBoolean,
5254
+ FindingIdentifier: smithy_client_1._json,
5255
+ NextToken: smithy_client_1.expectString,
5256
+ UpdateSource: smithy_client_1._json,
5257
+ UpdateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
5258
+ Updates: smithy_client_1._json,
5259
+ });
5260
+ };
5261
+ const de_FindingHistoryRecordList = (output, context) => {
5262
+ const retVal = (output || [])
5263
+ .filter((e) => e != null)
5264
+ .map((entry) => {
5265
+ return de_FindingHistoryRecord(entry, context);
5266
+ });
5267
+ return retVal;
5268
+ };
5182
5269
  const de_GeoLocation = (output, context) => {
5183
5270
  return (0, smithy_client_1.take)(output, {
5184
5271
  Lat: smithy_client_1.limitedParseDouble,
@@ -36,6 +36,7 @@ import { EnableSecurityHubCommand, } from "./commands/EnableSecurityHubCommand";
36
36
  import { GetAdministratorAccountCommand, } from "./commands/GetAdministratorAccountCommand";
37
37
  import { GetEnabledStandardsCommand, } from "./commands/GetEnabledStandardsCommand";
38
38
  import { GetFindingAggregatorCommand, } from "./commands/GetFindingAggregatorCommand";
39
+ import { GetFindingHistoryCommand, } from "./commands/GetFindingHistoryCommand";
39
40
  import { GetFindingsCommand } from "./commands/GetFindingsCommand";
40
41
  import { GetInsightResultsCommand, } from "./commands/GetInsightResultsCommand";
41
42
  import { GetInsightsCommand } from "./commands/GetInsightsCommand";
@@ -99,6 +100,7 @@ const commands = {
99
100
  GetAdministratorAccountCommand,
100
101
  GetEnabledStandardsCommand,
101
102
  GetFindingAggregatorCommand,
103
+ GetFindingHistoryCommand,
102
104
  GetFindingsCommand,
103
105
  GetInsightResultsCommand,
104
106
  GetInsightsCommand,
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_GetFindingHistoryCommand, se_GetFindingHistoryCommand } from "../protocols/Aws_restJson1";
5
+ export class GetFindingHistoryCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetFindingHistoryCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "SecurityHubClient";
24
+ const commandName = "GetFindingHistoryCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return se_GetFindingHistoryCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return de_GetFindingHistoryCommand(output, context);
40
+ }
41
+ }
@@ -35,6 +35,7 @@ export * from "./EnableSecurityHubCommand";
35
35
  export * from "./GetAdministratorAccountCommand";
36
36
  export * from "./GetEnabledStandardsCommand";
37
37
  export * from "./GetFindingAggregatorCommand";
38
+ export * from "./GetFindingHistoryCommand";
38
39
  export * from "./GetFindingsCommand";
39
40
  export * from "./GetInsightResultsCommand";
40
41
  export * from "./GetInsightsCommand";
@@ -3,6 +3,10 @@ export const IntegrationType = {
3
3
  SEND_FINDINGS_TO_SECURITY_HUB: "SEND_FINDINGS_TO_SECURITY_HUB",
4
4
  UPDATE_FINDINGS_IN_SECURITY_HUB: "UPDATE_FINDINGS_IN_SECURITY_HUB",
5
5
  };
6
+ export const FindingHistoryUpdateSourceType = {
7
+ BATCH_IMPORT_FINDINGS: "BATCH_IMPORT_FINDINGS",
8
+ BATCH_UPDATE_FINDINGS: "BATCH_UPDATE_FINDINGS",
9
+ };
6
10
  export const SortOrder = {
7
11
  ASCENDING: "asc",
8
12
  DESCENDING: "desc",
@@ -0,0 +1,25 @@
1
+ import { GetFindingHistoryCommand, } from "../commands/GetFindingHistoryCommand";
2
+ import { SecurityHubClient } from "../SecurityHubClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new GetFindingHistoryCommand(input), ...args);
5
+ };
6
+ export async function* paginateGetFindingHistory(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.NextToken = token;
12
+ input["MaxResults"] = config.pageSize;
13
+ if (config.client instanceof SecurityHubClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -3,6 +3,7 @@ export * from "./DescribeProductsPaginator";
3
3
  export * from "./DescribeStandardsControlsPaginator";
4
4
  export * from "./DescribeStandardsPaginator";
5
5
  export * from "./GetEnabledStandardsPaginator";
6
+ export * from "./GetFindingHistoryPaginator";
6
7
  export * from "./GetFindingsPaginator";
7
8
  export * from "./GetInsightsPaginator";
8
9
  export * from "./Interfaces";
@@ -740,6 +740,30 @@ export const se_GetFindingAggregatorCommand = async (input, context) => {
740
740
  body,
741
741
  });
742
742
  };
743
+ export const se_GetFindingHistoryCommand = async (input, context) => {
744
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
745
+ const headers = {
746
+ "content-type": "application/json",
747
+ };
748
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findingHistory/get";
749
+ let body;
750
+ body = JSON.stringify(take(input, {
751
+ EndTime: (_) => _.toISOString().split(".")[0] + "Z",
752
+ FindingIdentifier: (_) => _json(_),
753
+ MaxResults: [],
754
+ NextToken: [],
755
+ StartTime: (_) => _.toISOString().split(".")[0] + "Z",
756
+ }));
757
+ return new __HttpRequest({
758
+ protocol,
759
+ hostname,
760
+ port,
761
+ method: "POST",
762
+ headers,
763
+ path: resolvedPath,
764
+ body,
765
+ });
766
+ };
743
767
  export const se_GetFindingsCommand = async (input, context) => {
744
768
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
745
769
  const headers = {
@@ -2824,6 +2848,49 @@ const de_GetFindingAggregatorCommandError = async (output, context) => {
2824
2848
  });
2825
2849
  }
2826
2850
  };
2851
+ export const de_GetFindingHistoryCommand = async (output, context) => {
2852
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2853
+ return de_GetFindingHistoryCommandError(output, context);
2854
+ }
2855
+ const contents = map({
2856
+ $metadata: deserializeMetadata(output),
2857
+ });
2858
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2859
+ const doc = take(data, {
2860
+ NextToken: __expectString,
2861
+ Records: (_) => de_FindingHistoryRecordList(_, context),
2862
+ });
2863
+ Object.assign(contents, doc);
2864
+ return contents;
2865
+ };
2866
+ const de_GetFindingHistoryCommandError = async (output, context) => {
2867
+ const parsedOutput = {
2868
+ ...output,
2869
+ body: await parseErrorBody(output.body, context),
2870
+ };
2871
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2872
+ switch (errorCode) {
2873
+ case "InternalException":
2874
+ case "com.amazonaws.securityhub#InternalException":
2875
+ throw await de_InternalExceptionRes(parsedOutput, context);
2876
+ case "InvalidAccessException":
2877
+ case "com.amazonaws.securityhub#InvalidAccessException":
2878
+ throw await de_InvalidAccessExceptionRes(parsedOutput, context);
2879
+ case "InvalidInputException":
2880
+ case "com.amazonaws.securityhub#InvalidInputException":
2881
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2882
+ case "LimitExceededException":
2883
+ case "com.amazonaws.securityhub#LimitExceededException":
2884
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2885
+ default:
2886
+ const parsedBody = parsedOutput.body;
2887
+ return throwDefaultError({
2888
+ output,
2889
+ parsedBody,
2890
+ errorCode,
2891
+ });
2892
+ }
2893
+ };
2827
2894
  export const de_GetFindingsCommand = async (output, context) => {
2828
2895
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2829
2896
  return de_GetFindingsCommandError(output, context);
@@ -5052,6 +5119,24 @@ const de_CvssList = (output, context) => {
5052
5119
  });
5053
5120
  return retVal;
5054
5121
  };
5122
+ const de_FindingHistoryRecord = (output, context) => {
5123
+ return take(output, {
5124
+ FindingCreated: __expectBoolean,
5125
+ FindingIdentifier: _json,
5126
+ NextToken: __expectString,
5127
+ UpdateSource: _json,
5128
+ UpdateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
5129
+ Updates: _json,
5130
+ });
5131
+ };
5132
+ const de_FindingHistoryRecordList = (output, context) => {
5133
+ const retVal = (output || [])
5134
+ .filter((e) => e != null)
5135
+ .map((entry) => {
5136
+ return de_FindingHistoryRecord(entry, context);
5137
+ });
5138
+ return retVal;
5139
+ };
5055
5140
  const de_GeoLocation = (output, context) => {
5056
5141
  return take(output, {
5057
5142
  Lat: __limitedParseDouble,
@@ -36,6 +36,7 @@ import { EnableSecurityHubCommandInput, EnableSecurityHubCommandOutput } from ".
36
36
  import { GetAdministratorAccountCommandInput, GetAdministratorAccountCommandOutput } from "./commands/GetAdministratorAccountCommand";
37
37
  import { GetEnabledStandardsCommandInput, GetEnabledStandardsCommandOutput } from "./commands/GetEnabledStandardsCommand";
38
38
  import { GetFindingAggregatorCommandInput, GetFindingAggregatorCommandOutput } from "./commands/GetFindingAggregatorCommand";
39
+ import { GetFindingHistoryCommandInput, GetFindingHistoryCommandOutput } from "./commands/GetFindingHistoryCommand";
39
40
  import { GetFindingsCommandInput, GetFindingsCommandOutput } from "./commands/GetFindingsCommand";
40
41
  import { GetInsightResultsCommandInput, GetInsightResultsCommandOutput } from "./commands/GetInsightResultsCommand";
41
42
  import { GetInsightsCommandInput, GetInsightsCommandOutput } from "./commands/GetInsightsCommand";
@@ -284,6 +285,12 @@ export interface SecurityHub {
284
285
  getFindingAggregator(args: GetFindingAggregatorCommandInput, options?: __HttpHandlerOptions): Promise<GetFindingAggregatorCommandOutput>;
285
286
  getFindingAggregator(args: GetFindingAggregatorCommandInput, cb: (err: any, data?: GetFindingAggregatorCommandOutput) => void): void;
286
287
  getFindingAggregator(args: GetFindingAggregatorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFindingAggregatorCommandOutput) => void): void;
288
+ /**
289
+ * @see {@link GetFindingHistoryCommand}
290
+ */
291
+ getFindingHistory(args: GetFindingHistoryCommandInput, options?: __HttpHandlerOptions): Promise<GetFindingHistoryCommandOutput>;
292
+ getFindingHistory(args: GetFindingHistoryCommandInput, cb: (err: any, data?: GetFindingHistoryCommandOutput) => void): void;
293
+ getFindingHistory(args: GetFindingHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFindingHistoryCommandOutput) => void): void;
287
294
  /**
288
295
  * @see {@link GetFindingsCommand}
289
296
  */
@@ -44,6 +44,7 @@ import { EnableSecurityHubCommandInput, EnableSecurityHubCommandOutput } from ".
44
44
  import { GetAdministratorAccountCommandInput, GetAdministratorAccountCommandOutput } from "./commands/GetAdministratorAccountCommand";
45
45
  import { GetEnabledStandardsCommandInput, GetEnabledStandardsCommandOutput } from "./commands/GetEnabledStandardsCommand";
46
46
  import { GetFindingAggregatorCommandInput, GetFindingAggregatorCommandOutput } from "./commands/GetFindingAggregatorCommand";
47
+ import { GetFindingHistoryCommandInput, GetFindingHistoryCommandOutput } from "./commands/GetFindingHistoryCommand";
47
48
  import { GetFindingsCommandInput, GetFindingsCommandOutput } from "./commands/GetFindingsCommand";
48
49
  import { GetInsightResultsCommandInput, GetInsightResultsCommandOutput } from "./commands/GetInsightResultsCommand";
49
50
  import { GetInsightsCommandInput, GetInsightsCommandOutput } from "./commands/GetInsightsCommand";
@@ -72,11 +73,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
72
73
  /**
73
74
  * @public
74
75
  */
75
- export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | GetAdministratorAccountCommandInput | GetEnabledStandardsCommandInput | GetFindingAggregatorCommandInput | GetFindingsCommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | InviteMembersCommandInput | ListEnabledProductsForImportCommandInput | ListFindingAggregatorsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
76
+ export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | GetAdministratorAccountCommandInput | GetEnabledStandardsCommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingsCommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | InviteMembersCommandInput | ListEnabledProductsForImportCommandInput | ListFindingAggregatorsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
76
77
  /**
77
78
  * @public
78
79
  */
79
- export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | GetAdministratorAccountCommandOutput | GetEnabledStandardsCommandOutput | GetFindingAggregatorCommandOutput | GetFindingsCommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | InviteMembersCommandOutput | ListEnabledProductsForImportCommandOutput | ListFindingAggregatorsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
80
+ export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | GetAdministratorAccountCommandOutput | GetEnabledStandardsCommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingsCommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | InviteMembersCommandOutput | ListEnabledProductsForImportCommandOutput | ListFindingAggregatorsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
80
81
  /**
81
82
  * @public
82
83
  */