@aws-sdk/client-securityhub 3.1146.0 → 3.1148.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 (41) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +305 -1
  3. package/dist-es/SecurityHub.js +10 -0
  4. package/dist-es/commands/CancelExportJobV2Command.js +4 -0
  5. package/dist-es/commands/GetExportJobV2Command.js +4 -0
  6. package/dist-es/commands/ListExportJobsV2Command.js +4 -0
  7. package/dist-es/commands/StartExportJobV2Command.js +4 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/enums.js +129 -0
  10. package/dist-es/pagination/ListExportJobsV2Paginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/schemas/schemas_0.js +127 -0
  13. package/dist-types/SecurityHub.d.ts +36 -0
  14. package/dist-types/SecurityHubClient.d.ts +6 -2
  15. package/dist-types/commands/CancelExportJobV2Command.d.ts +112 -0
  16. package/dist-types/commands/GetExportJobV2Command.d.ts +380 -0
  17. package/dist-types/commands/GetRemediationsV2Command.d.ts +1 -2
  18. package/dist-types/commands/ListExportJobsV2Command.d.ts +163 -0
  19. package/dist-types/commands/StartExportJobV2Command.d.ts +375 -0
  20. package/dist-types/commands/index.d.ts +4 -0
  21. package/dist-types/models/enums.d.ts +169 -0
  22. package/dist-types/models/models_2.d.ts +230 -332
  23. package/dist-types/models/models_3.d.ts +544 -2
  24. package/dist-types/pagination/ListExportJobsV2Paginator.d.ts +7 -0
  25. package/dist-types/pagination/index.d.ts +1 -0
  26. package/dist-types/schemas/schemas_0.d.ts +20 -0
  27. package/dist-types/ts3.4/SecurityHub.d.ts +76 -0
  28. package/dist-types/ts3.4/SecurityHubClient.d.ts +24 -0
  29. package/dist-types/ts3.4/commands/CancelExportJobV2Command.d.ts +39 -0
  30. package/dist-types/ts3.4/commands/GetExportJobV2Command.d.ts +39 -0
  31. package/dist-types/ts3.4/commands/GetRemediationsV2Command.d.ts +1 -2
  32. package/dist-types/ts3.4/commands/ListExportJobsV2Command.d.ts +38 -0
  33. package/dist-types/ts3.4/commands/StartExportJobV2Command.d.ts +38 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  35. package/dist-types/ts3.4/models/enums.d.ts +135 -0
  36. package/dist-types/ts3.4/models/models_2.d.ts +70 -71
  37. package/dist-types/ts3.4/models/models_3.d.ts +133 -1
  38. package/dist-types/ts3.4/pagination/ListExportJobsV2Paginator.d.ts +11 -0
  39. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
  41. package/package.json +1 -1
@@ -13,6 +13,7 @@ import { type BatchUpdateAutomationRulesCommandInput, type BatchUpdateAutomation
13
13
  import { type BatchUpdateFindingsCommandInput, type BatchUpdateFindingsCommandOutput } from "./commands/BatchUpdateFindingsCommand";
14
14
  import { type BatchUpdateFindingsV2CommandInput, type BatchUpdateFindingsV2CommandOutput } from "./commands/BatchUpdateFindingsV2Command";
15
15
  import { type BatchUpdateStandardsControlAssociationsCommandInput, type BatchUpdateStandardsControlAssociationsCommandOutput } from "./commands/BatchUpdateStandardsControlAssociationsCommand";
16
+ import { type CancelExportJobV2CommandInput, type CancelExportJobV2CommandOutput } from "./commands/CancelExportJobV2Command";
16
17
  import { type CreateActionTargetCommandInput, type CreateActionTargetCommandOutput } from "./commands/CreateActionTargetCommand";
17
18
  import { type CreateAggregatorV2CommandInput, type CreateAggregatorV2CommandOutput } from "./commands/CreateAggregatorV2Command";
18
19
  import { type CreateAutomationRuleCommandInput, type CreateAutomationRuleCommandOutput } from "./commands/CreateAutomationRuleCommand";
@@ -65,6 +66,7 @@ import { type GetConfigurationPolicyCommandInput, type GetConfigurationPolicyCom
65
66
  import { type GetConnectorCommandInput, type GetConnectorCommandOutput } from "./commands/GetConnectorCommand";
66
67
  import { type GetConnectorV2CommandInput, type GetConnectorV2CommandOutput } from "./commands/GetConnectorV2Command";
67
68
  import { type GetEnabledStandardsCommandInput, type GetEnabledStandardsCommandOutput } from "./commands/GetEnabledStandardsCommand";
69
+ import { type GetExportJobV2CommandInput, type GetExportJobV2CommandOutput } from "./commands/GetExportJobV2Command";
68
70
  import { type GetFindingAggregatorCommandInput, type GetFindingAggregatorCommandOutput } from "./commands/GetFindingAggregatorCommand";
69
71
  import { type GetFindingHistoryCommandInput, type GetFindingHistoryCommandOutput } from "./commands/GetFindingHistoryCommand";
70
72
  import { type GetFindingsCommandInput, type GetFindingsCommandOutput } from "./commands/GetFindingsCommand";
@@ -91,6 +93,7 @@ import { type ListConfigurationPolicyAssociationsCommandInput, type ListConfigur
91
93
  import { type ListConnectorsCommandInput, type ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
92
94
  import { type ListConnectorsV2CommandInput, type ListConnectorsV2CommandOutput } from "./commands/ListConnectorsV2Command";
93
95
  import { type ListEnabledProductsForImportCommandInput, type ListEnabledProductsForImportCommandOutput } from "./commands/ListEnabledProductsForImportCommand";
96
+ import { type ListExportJobsV2CommandInput, type ListExportJobsV2CommandOutput } from "./commands/ListExportJobsV2Command";
94
97
  import { type ListExposuresByRemediationV2CommandInput, type ListExposuresByRemediationV2CommandOutput } from "./commands/ListExposuresByRemediationV2Command";
95
98
  import { type ListFindingAggregatorsCommandInput, type ListFindingAggregatorsCommandOutput } from "./commands/ListFindingAggregatorsCommand";
96
99
  import { type ListFreeTrialStatusesV2CommandInput, type ListFreeTrialStatusesV2CommandOutput } from "./commands/ListFreeTrialStatusesV2Command";
@@ -103,6 +106,7 @@ import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOu
103
106
  import { type RegisterConnectorV2CommandInput, type RegisterConnectorV2CommandOutput } from "./commands/RegisterConnectorV2Command";
104
107
  import { type StartConfigurationPolicyAssociationCommandInput, type StartConfigurationPolicyAssociationCommandOutput } from "./commands/StartConfigurationPolicyAssociationCommand";
105
108
  import { type StartConfigurationPolicyDisassociationCommandInput, type StartConfigurationPolicyDisassociationCommandOutput } from "./commands/StartConfigurationPolicyDisassociationCommand";
109
+ import { type StartExportJobV2CommandInput, type StartExportJobV2CommandOutput } from "./commands/StartExportJobV2Command";
106
110
  import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
107
111
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
108
112
  import { type UpdateActionTargetCommandInput, type UpdateActionTargetCommandOutput } from "./commands/UpdateActionTargetCommand";
@@ -211,6 +215,12 @@ export interface SecurityHub {
211
215
  batchUpdateStandardsControlAssociations(args: BatchUpdateStandardsControlAssociationsCommandInput, options?: SecurityHubRequestOptions): Promise<BatchUpdateStandardsControlAssociationsCommandOutput>;
212
216
  batchUpdateStandardsControlAssociations(args: BatchUpdateStandardsControlAssociationsCommandInput, cb: (err: any, data?: BatchUpdateStandardsControlAssociationsCommandOutput) => void): void;
213
217
  batchUpdateStandardsControlAssociations(args: BatchUpdateStandardsControlAssociationsCommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: BatchUpdateStandardsControlAssociationsCommandOutput) => void): void;
218
+ /**
219
+ * @see {@link CancelExportJobV2Command}
220
+ */
221
+ cancelExportJobV2(args: CancelExportJobV2CommandInput, options?: SecurityHubRequestOptions): Promise<CancelExportJobV2CommandOutput>;
222
+ cancelExportJobV2(args: CancelExportJobV2CommandInput, cb: (err: any, data?: CancelExportJobV2CommandOutput) => void): void;
223
+ cancelExportJobV2(args: CancelExportJobV2CommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: CancelExportJobV2CommandOutput) => void): void;
214
224
  /**
215
225
  * @see {@link CreateActionTargetCommand}
216
226
  */
@@ -538,6 +548,12 @@ export interface SecurityHub {
538
548
  getEnabledStandards(args: GetEnabledStandardsCommandInput, options?: SecurityHubRequestOptions): Promise<GetEnabledStandardsCommandOutput>;
539
549
  getEnabledStandards(args: GetEnabledStandardsCommandInput, cb: (err: any, data?: GetEnabledStandardsCommandOutput) => void): void;
540
550
  getEnabledStandards(args: GetEnabledStandardsCommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: GetEnabledStandardsCommandOutput) => void): void;
551
+ /**
552
+ * @see {@link GetExportJobV2Command}
553
+ */
554
+ getExportJobV2(args: GetExportJobV2CommandInput, options?: SecurityHubRequestOptions): Promise<GetExportJobV2CommandOutput>;
555
+ getExportJobV2(args: GetExportJobV2CommandInput, cb: (err: any, data?: GetExportJobV2CommandOutput) => void): void;
556
+ getExportJobV2(args: GetExportJobV2CommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: GetExportJobV2CommandOutput) => void): void;
541
557
  /**
542
558
  * @see {@link GetFindingAggregatorCommand}
543
559
  */
@@ -709,6 +725,13 @@ export interface SecurityHub {
709
725
  listEnabledProductsForImport(args: ListEnabledProductsForImportCommandInput, options?: SecurityHubRequestOptions): Promise<ListEnabledProductsForImportCommandOutput>;
710
726
  listEnabledProductsForImport(args: ListEnabledProductsForImportCommandInput, cb: (err: any, data?: ListEnabledProductsForImportCommandOutput) => void): void;
711
727
  listEnabledProductsForImport(args: ListEnabledProductsForImportCommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: ListEnabledProductsForImportCommandOutput) => void): void;
728
+ /**
729
+ * @see {@link ListExportJobsV2Command}
730
+ */
731
+ listExportJobsV2(): Promise<ListExportJobsV2CommandOutput>;
732
+ listExportJobsV2(args: ListExportJobsV2CommandInput, options?: SecurityHubRequestOptions): Promise<ListExportJobsV2CommandOutput>;
733
+ listExportJobsV2(args: ListExportJobsV2CommandInput, cb: (err: any, data?: ListExportJobsV2CommandOutput) => void): void;
734
+ listExportJobsV2(args: ListExportJobsV2CommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: ListExportJobsV2CommandOutput) => void): void;
712
735
  /**
713
736
  * @see {@link ListExposuresByRemediationV2Command}
714
737
  */
@@ -787,6 +810,12 @@ export interface SecurityHub {
787
810
  startConfigurationPolicyDisassociation(args: StartConfigurationPolicyDisassociationCommandInput, options?: SecurityHubRequestOptions): Promise<StartConfigurationPolicyDisassociationCommandOutput>;
788
811
  startConfigurationPolicyDisassociation(args: StartConfigurationPolicyDisassociationCommandInput, cb: (err: any, data?: StartConfigurationPolicyDisassociationCommandOutput) => void): void;
789
812
  startConfigurationPolicyDisassociation(args: StartConfigurationPolicyDisassociationCommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: StartConfigurationPolicyDisassociationCommandOutput) => void): void;
813
+ /**
814
+ * @see {@link StartExportJobV2Command}
815
+ */
816
+ startExportJobV2(args: StartExportJobV2CommandInput, options?: SecurityHubRequestOptions): Promise<StartExportJobV2CommandOutput>;
817
+ startExportJobV2(args: StartExportJobV2CommandInput, cb: (err: any, data?: StartExportJobV2CommandOutput) => void): void;
818
+ startExportJobV2(args: StartExportJobV2CommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: StartExportJobV2CommandOutput) => void): void;
790
819
  /**
791
820
  * @see {@link TagResourceCommand}
792
821
  */
@@ -1011,6 +1040,13 @@ export interface SecurityHub {
1011
1040
  * @returns AsyncIterable of {@link ListEnabledProductsForImportCommandOutput}.
1012
1041
  */
1013
1042
  paginateListEnabledProductsForImport(args?: ListEnabledProductsForImportCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnabledProductsForImportCommandOutput>;
1043
+ /**
1044
+ * @see {@link ListExportJobsV2Command}
1045
+ * @param args - command input.
1046
+ * @param paginationConfig - optional pagination config.
1047
+ * @returns AsyncIterable of {@link ListExportJobsV2CommandOutput}.
1048
+ */
1049
+ paginateListExportJobsV2(args?: ListExportJobsV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListExportJobsV2CommandOutput>;
1014
1050
  /**
1015
1051
  * @see {@link ListExposuresByRemediationV2Command}
1016
1052
  * @param args - command input.
@@ -20,6 +20,7 @@ import type { BatchUpdateAutomationRulesCommandInput, BatchUpdateAutomationRules
20
20
  import type { BatchUpdateFindingsCommandInput, BatchUpdateFindingsCommandOutput } from "./commands/BatchUpdateFindingsCommand";
21
21
  import type { BatchUpdateFindingsV2CommandInput, BatchUpdateFindingsV2CommandOutput } from "./commands/BatchUpdateFindingsV2Command";
22
22
  import type { BatchUpdateStandardsControlAssociationsCommandInput, BatchUpdateStandardsControlAssociationsCommandOutput } from "./commands/BatchUpdateStandardsControlAssociationsCommand";
23
+ import type { CancelExportJobV2CommandInput, CancelExportJobV2CommandOutput } from "./commands/CancelExportJobV2Command";
23
24
  import type { CreateActionTargetCommandInput, CreateActionTargetCommandOutput } from "./commands/CreateActionTargetCommand";
24
25
  import type { CreateAggregatorV2CommandInput, CreateAggregatorV2CommandOutput } from "./commands/CreateAggregatorV2Command";
25
26
  import type { CreateAutomationRuleCommandInput, CreateAutomationRuleCommandOutput } from "./commands/CreateAutomationRuleCommand";
@@ -72,6 +73,7 @@ import type { GetConfigurationPolicyCommandInput, GetConfigurationPolicyCommandO
72
73
  import type { GetConnectorCommandInput, GetConnectorCommandOutput } from "./commands/GetConnectorCommand";
73
74
  import type { GetConnectorV2CommandInput, GetConnectorV2CommandOutput } from "./commands/GetConnectorV2Command";
74
75
  import type { GetEnabledStandardsCommandInput, GetEnabledStandardsCommandOutput } from "./commands/GetEnabledStandardsCommand";
76
+ import type { GetExportJobV2CommandInput, GetExportJobV2CommandOutput } from "./commands/GetExportJobV2Command";
75
77
  import type { GetFindingAggregatorCommandInput, GetFindingAggregatorCommandOutput } from "./commands/GetFindingAggregatorCommand";
76
78
  import type { GetFindingHistoryCommandInput, GetFindingHistoryCommandOutput } from "./commands/GetFindingHistoryCommand";
77
79
  import type { GetFindingsCommandInput, GetFindingsCommandOutput } from "./commands/GetFindingsCommand";
@@ -98,6 +100,7 @@ import type { ListConfigurationPolicyAssociationsCommandInput, ListConfiguration
98
100
  import type { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
99
101
  import type { ListConnectorsV2CommandInput, ListConnectorsV2CommandOutput } from "./commands/ListConnectorsV2Command";
100
102
  import type { ListEnabledProductsForImportCommandInput, ListEnabledProductsForImportCommandOutput } from "./commands/ListEnabledProductsForImportCommand";
103
+ import type { ListExportJobsV2CommandInput, ListExportJobsV2CommandOutput } from "./commands/ListExportJobsV2Command";
101
104
  import type { ListExposuresByRemediationV2CommandInput, ListExposuresByRemediationV2CommandOutput } from "./commands/ListExposuresByRemediationV2Command";
102
105
  import type { ListFindingAggregatorsCommandInput, ListFindingAggregatorsCommandOutput } from "./commands/ListFindingAggregatorsCommand";
103
106
  import type { ListFreeTrialStatusesV2CommandInput, ListFreeTrialStatusesV2CommandOutput } from "./commands/ListFreeTrialStatusesV2Command";
@@ -110,6 +113,7 @@ import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput
110
113
  import type { RegisterConnectorV2CommandInput, RegisterConnectorV2CommandOutput } from "./commands/RegisterConnectorV2Command";
111
114
  import type { StartConfigurationPolicyAssociationCommandInput, StartConfigurationPolicyAssociationCommandOutput } from "./commands/StartConfigurationPolicyAssociationCommand";
112
115
  import type { StartConfigurationPolicyDisassociationCommandInput, StartConfigurationPolicyDisassociationCommandOutput } from "./commands/StartConfigurationPolicyDisassociationCommand";
116
+ import type { StartExportJobV2CommandInput, StartExportJobV2CommandOutput } from "./commands/StartExportJobV2Command";
113
117
  import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
114
118
  import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
115
119
  import type { UpdateActionTargetCommandInput, UpdateActionTargetCommandOutput } from "./commands/UpdateActionTargetCommand";
@@ -131,11 +135,11 @@ export { __Client };
131
135
  /**
132
136
  * @public
133
137
  */
134
- export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateFindingsV2CommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateAggregatorV2CommandInput | CreateAutomationRuleCommandInput | CreateAutomationRuleV2CommandInput | CreateConfigurationPolicyCommandInput | CreateConnectorCommandInput | CreateConnectorV2CommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | CreateTicketV2CommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteAggregatorV2CommandInput | DeleteAutomationRuleV2CommandInput | DeleteConfigurationPolicyCommandInput | DeleteConnectorCommandInput | DeleteConnectorV2CommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeProductsV2CommandInput | DescribeSecurityHubV2CommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisableSecurityHubFeatureV2CommandInput | DisableSecurityHubV2CommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | EnableSecurityHubFeatureV2CommandInput | EnableSecurityHubV2CommandInput | GenerateRecommendedPolicyV2CommandInput | GetAdministratorAccountCommandInput | GetAggregatorV2CommandInput | GetAutomationRuleV2CommandInput | GetConfigurationPolicyAssociationCommandInput | GetConfigurationPolicyCommandInput | GetConnectorCommandInput | GetConnectorV2CommandInput | GetEnabledStandardsCommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingStatisticsV2CommandInput | GetFindingsCommandInput | GetFindingsTrendsV2CommandInput | GetFindingsV2CommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetRecommendedPolicyV2CommandInput | GetRemediationsV2CommandInput | GetResourcesStatisticsV2CommandInput | GetResourcesTrendsV2CommandInput | GetResourcesV2CommandInput | GetSecurityControlDefinitionCommandInput | InviteMembersCommandInput | ListAggregatorsV2CommandInput | ListAutomationRulesCommandInput | ListAutomationRulesV2CommandInput | ListConfigurationPoliciesCommandInput | ListConfigurationPolicyAssociationsCommandInput | ListConnectorsCommandInput | ListConnectorsV2CommandInput | ListEnabledProductsForImportCommandInput | ListExposuresByRemediationV2CommandInput | ListFindingAggregatorsCommandInput | ListFreeTrialStatusesV2CommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorV2CommandInput | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateAggregatorV2CommandInput | UpdateAutomationRuleV2CommandInput | UpdateConfigurationPolicyCommandInput | UpdateConnectorCommandInput | UpdateConnectorV2CommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
138
+ export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateFindingsV2CommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CancelExportJobV2CommandInput | CreateActionTargetCommandInput | CreateAggregatorV2CommandInput | CreateAutomationRuleCommandInput | CreateAutomationRuleV2CommandInput | CreateConfigurationPolicyCommandInput | CreateConnectorCommandInput | CreateConnectorV2CommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | CreateTicketV2CommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteAggregatorV2CommandInput | DeleteAutomationRuleV2CommandInput | DeleteConfigurationPolicyCommandInput | DeleteConnectorCommandInput | DeleteConnectorV2CommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeProductsV2CommandInput | DescribeSecurityHubV2CommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisableSecurityHubFeatureV2CommandInput | DisableSecurityHubV2CommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | EnableSecurityHubFeatureV2CommandInput | EnableSecurityHubV2CommandInput | GenerateRecommendedPolicyV2CommandInput | GetAdministratorAccountCommandInput | GetAggregatorV2CommandInput | GetAutomationRuleV2CommandInput | GetConfigurationPolicyAssociationCommandInput | GetConfigurationPolicyCommandInput | GetConnectorCommandInput | GetConnectorV2CommandInput | GetEnabledStandardsCommandInput | GetExportJobV2CommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingStatisticsV2CommandInput | GetFindingsCommandInput | GetFindingsTrendsV2CommandInput | GetFindingsV2CommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetRecommendedPolicyV2CommandInput | GetRemediationsV2CommandInput | GetResourcesStatisticsV2CommandInput | GetResourcesTrendsV2CommandInput | GetResourcesV2CommandInput | GetSecurityControlDefinitionCommandInput | InviteMembersCommandInput | ListAggregatorsV2CommandInput | ListAutomationRulesCommandInput | ListAutomationRulesV2CommandInput | ListConfigurationPoliciesCommandInput | ListConfigurationPolicyAssociationsCommandInput | ListConnectorsCommandInput | ListConnectorsV2CommandInput | ListEnabledProductsForImportCommandInput | ListExportJobsV2CommandInput | ListExposuresByRemediationV2CommandInput | ListFindingAggregatorsCommandInput | ListFreeTrialStatusesV2CommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorV2CommandInput | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | StartExportJobV2CommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateAggregatorV2CommandInput | UpdateAutomationRuleV2CommandInput | UpdateConfigurationPolicyCommandInput | UpdateConnectorCommandInput | UpdateConnectorV2CommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
135
139
  /**
136
140
  * @public
137
141
  */
138
- export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateFindingsV2CommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateAggregatorV2CommandOutput | CreateAutomationRuleCommandOutput | CreateAutomationRuleV2CommandOutput | CreateConfigurationPolicyCommandOutput | CreateConnectorCommandOutput | CreateConnectorV2CommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | CreateTicketV2CommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteAggregatorV2CommandOutput | DeleteAutomationRuleV2CommandOutput | DeleteConfigurationPolicyCommandOutput | DeleteConnectorCommandOutput | DeleteConnectorV2CommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeProductsV2CommandOutput | DescribeSecurityHubV2CommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisableSecurityHubFeatureV2CommandOutput | DisableSecurityHubV2CommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | EnableSecurityHubFeatureV2CommandOutput | EnableSecurityHubV2CommandOutput | GenerateRecommendedPolicyV2CommandOutput | GetAdministratorAccountCommandOutput | GetAggregatorV2CommandOutput | GetAutomationRuleV2CommandOutput | GetConfigurationPolicyAssociationCommandOutput | GetConfigurationPolicyCommandOutput | GetConnectorCommandOutput | GetConnectorV2CommandOutput | GetEnabledStandardsCommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingStatisticsV2CommandOutput | GetFindingsCommandOutput | GetFindingsTrendsV2CommandOutput | GetFindingsV2CommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetRecommendedPolicyV2CommandOutput | GetRemediationsV2CommandOutput | GetResourcesStatisticsV2CommandOutput | GetResourcesTrendsV2CommandOutput | GetResourcesV2CommandOutput | GetSecurityControlDefinitionCommandOutput | InviteMembersCommandOutput | ListAggregatorsV2CommandOutput | ListAutomationRulesCommandOutput | ListAutomationRulesV2CommandOutput | ListConfigurationPoliciesCommandOutput | ListConfigurationPolicyAssociationsCommandOutput | ListConnectorsCommandOutput | ListConnectorsV2CommandOutput | ListEnabledProductsForImportCommandOutput | ListExposuresByRemediationV2CommandOutput | ListFindingAggregatorsCommandOutput | ListFreeTrialStatusesV2CommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorV2CommandOutput | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateAggregatorV2CommandOutput | UpdateAutomationRuleV2CommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateConnectorCommandOutput | UpdateConnectorV2CommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
142
+ export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateFindingsV2CommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CancelExportJobV2CommandOutput | CreateActionTargetCommandOutput | CreateAggregatorV2CommandOutput | CreateAutomationRuleCommandOutput | CreateAutomationRuleV2CommandOutput | CreateConfigurationPolicyCommandOutput | CreateConnectorCommandOutput | CreateConnectorV2CommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | CreateTicketV2CommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteAggregatorV2CommandOutput | DeleteAutomationRuleV2CommandOutput | DeleteConfigurationPolicyCommandOutput | DeleteConnectorCommandOutput | DeleteConnectorV2CommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeProductsV2CommandOutput | DescribeSecurityHubV2CommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisableSecurityHubFeatureV2CommandOutput | DisableSecurityHubV2CommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | EnableSecurityHubFeatureV2CommandOutput | EnableSecurityHubV2CommandOutput | GenerateRecommendedPolicyV2CommandOutput | GetAdministratorAccountCommandOutput | GetAggregatorV2CommandOutput | GetAutomationRuleV2CommandOutput | GetConfigurationPolicyAssociationCommandOutput | GetConfigurationPolicyCommandOutput | GetConnectorCommandOutput | GetConnectorV2CommandOutput | GetEnabledStandardsCommandOutput | GetExportJobV2CommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingStatisticsV2CommandOutput | GetFindingsCommandOutput | GetFindingsTrendsV2CommandOutput | GetFindingsV2CommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetRecommendedPolicyV2CommandOutput | GetRemediationsV2CommandOutput | GetResourcesStatisticsV2CommandOutput | GetResourcesTrendsV2CommandOutput | GetResourcesV2CommandOutput | GetSecurityControlDefinitionCommandOutput | InviteMembersCommandOutput | ListAggregatorsV2CommandOutput | ListAutomationRulesCommandOutput | ListAutomationRulesV2CommandOutput | ListConfigurationPoliciesCommandOutput | ListConfigurationPolicyAssociationsCommandOutput | ListConnectorsCommandOutput | ListConnectorsV2CommandOutput | ListEnabledProductsForImportCommandOutput | ListExportJobsV2CommandOutput | ListExposuresByRemediationV2CommandOutput | ListFindingAggregatorsCommandOutput | ListFreeTrialStatusesV2CommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorV2CommandOutput | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | StartExportJobV2CommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateAggregatorV2CommandOutput | UpdateAutomationRuleV2CommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateConnectorCommandOutput | UpdateConnectorV2CommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
139
143
  /**
140
144
  * @public
141
145
  */
@@ -0,0 +1,112 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CancelExportJobV2Request, CancelExportJobV2Response } from "../models/models_2";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CancelExportJobV2Command}.
11
+ */
12
+ export interface CancelExportJobV2CommandInput extends CancelExportJobV2Request {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CancelExportJobV2Command}.
18
+ */
19
+ export interface CancelExportJobV2CommandOutput extends CancelExportJobV2Response, __MetadataBearer {
20
+ }
21
+ declare const CancelExportJobV2Command_base: {
22
+ new (input: CancelExportJobV2CommandInput): import("@smithy/core/client").CommandImpl<CancelExportJobV2CommandInput, CancelExportJobV2CommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CancelExportJobV2CommandInput): import("@smithy/core/client").CommandImpl<CancelExportJobV2CommandInput, CancelExportJobV2CommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Cancels a findings export job that is in progress. Security Hub transitions a running job to the <code>CANCELLED</code> state and returns the <code>ExportJobId</code> and its new <code>Status</code>. Canceling a job that is already in the <code>CANCELLED</code> state succeeds and returns the same result, so you can safely retry a cancel request.</p>
28
+ * <p>You can't cancel an export job that has already reached a terminal <code>SUCCEEDED</code> or <code>FAILED</code> state; in that case, this operation returns a <code>ConflictException</code>. If no export job matches the <code>ExportJobId</code> that you provide, this operation returns a <code>ResourceNotFoundException</code>.</p>
29
+ * <p>The <code>Status</code> value returned by this operation reflects the cancellation immediately, even though the job can take a short time to stop completely.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { SecurityHubClient, CancelExportJobV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
34
+ * // const { SecurityHubClient, CancelExportJobV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
35
+ * // import type { SecurityHubClientConfig } from "@aws-sdk/client-securityhub";
36
+ * const config = {}; // type is SecurityHubClientConfig
37
+ * const client = new SecurityHubClient(config);
38
+ * const input = { // CancelExportJobV2Request
39
+ * ExportJobId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new CancelExportJobV2Command(input);
42
+ * const response = await client.send(command);
43
+ * // { // CancelExportJobV2Response
44
+ * // ExportJobId: "STRING_VALUE", // required
45
+ * // Status: "RUNNING" || "SUCCEEDED" || "FAILED" || "CANCELLED", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param CancelExportJobV2CommandInput - {@link CancelExportJobV2CommandInput}
51
+ * @returns {@link CancelExportJobV2CommandOutput}
52
+ * @see {@link CancelExportJobV2CommandInput} for command's `input` shape.
53
+ * @see {@link CancelExportJobV2CommandOutput} for command's `response` shape.
54
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You don't have permission to perform the action specified in the request.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>The request causes conflict with the current state of the service resource.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>
64
+ * The request has failed due to an internal failure of the service.
65
+ * </p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The request was rejected because we can't find the specified resource.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>
72
+ * The limit on the number of requests per second was exceeded.
73
+ * </p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
77
+ *
78
+ * @throws {@link SecurityHubServiceException}
79
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
80
+ *
81
+ *
82
+ * @example Example – Canceling a running export job
83
+ * ```javascript
84
+ * // The following example cancels an export job that is in progress. Security Hub transitions the job to the CANCELLED state and returns its new status.
85
+ * const input = {
86
+ * ExportJobId: "a1b2c3d4e5f6"
87
+ * };
88
+ * const command = new CancelExportJobV2Command(input);
89
+ * const response = await client.send(command);
90
+ * /* response is
91
+ * {
92
+ * ExportJobId: "a1b2c3d4e5f6",
93
+ * Status: "CANCELLED"
94
+ * }
95
+ * *\/
96
+ * ```
97
+ *
98
+ * @public
99
+ */
100
+ export declare class CancelExportJobV2Command extends CancelExportJobV2Command_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: CancelExportJobV2Request;
105
+ output: CancelExportJobV2Response;
106
+ };
107
+ sdk: {
108
+ input: CancelExportJobV2CommandInput;
109
+ output: CancelExportJobV2CommandOutput;
110
+ };
111
+ };
112
+ }