@aws-sdk/client-securityhub 3.350.0 → 3.353.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.
- package/README.md +40 -0
- package/dist-cjs/SecurityHub.js +10 -0
- package/dist-cjs/commands/BatchDeleteAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/BatchGetAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/BatchUpdateAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/CreateAutomationRuleCommand.js +46 -0
- package/dist-cjs/commands/ListAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +40 -1
- package/dist-cjs/models/models_1.js +1 -44
- package/dist-cjs/models/models_2.js +12 -1
- package/dist-cjs/protocols/Aws_restJson1.js +553 -3
- package/dist-es/SecurityHub.js +10 -0
- package/dist-es/commands/BatchDeleteAutomationRulesCommand.js +42 -0
- package/dist-es/commands/BatchGetAutomationRulesCommand.js +42 -0
- package/dist-es/commands/BatchUpdateAutomationRulesCommand.js +42 -0
- package/dist-es/commands/CreateAutomationRuleCommand.js +42 -0
- package/dist-es/commands/ListAutomationRulesCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +39 -0
- package/dist-es/models/models_1.js +0 -43
- package/dist-es/models/models_2.js +11 -0
- package/dist-es/protocols/Aws_restJson1.js +540 -0
- package/dist-types/SecurityHub.d.ts +35 -0
- package/dist-types/SecurityHubClient.d.ts +7 -2
- package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +131 -0
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +384 -0
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +311 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +339 -0
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +145 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +6010 -5729
- package/dist-types/models/models_1.d.ts +645 -439
- package/dist-types/models/models_2.d.ts +423 -108
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +85 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchDeleteAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchDisableStandardsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchEnableStandardsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchGetAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchUpdateAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAutomationRuleCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +167 -136
- package/dist-types/ts3.4/models/models_1.d.ts +145 -123
- package/dist-types/ts3.4/models/models_2.d.ts +112 -16
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +13 -13
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput } from "./commands/AcceptAdministratorInvitationCommand";
|
|
3
3
|
import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
|
|
4
|
+
import { BatchDeleteAutomationRulesCommandInput, BatchDeleteAutomationRulesCommandOutput } from "./commands/BatchDeleteAutomationRulesCommand";
|
|
4
5
|
import { BatchDisableStandardsCommandInput, BatchDisableStandardsCommandOutput } from "./commands/BatchDisableStandardsCommand";
|
|
5
6
|
import { BatchEnableStandardsCommandInput, BatchEnableStandardsCommandOutput } from "./commands/BatchEnableStandardsCommand";
|
|
7
|
+
import { BatchGetAutomationRulesCommandInput, BatchGetAutomationRulesCommandOutput } from "./commands/BatchGetAutomationRulesCommand";
|
|
6
8
|
import { BatchGetSecurityControlsCommandInput, BatchGetSecurityControlsCommandOutput } from "./commands/BatchGetSecurityControlsCommand";
|
|
7
9
|
import { BatchGetStandardsControlAssociationsCommandInput, BatchGetStandardsControlAssociationsCommandOutput } from "./commands/BatchGetStandardsControlAssociationsCommand";
|
|
8
10
|
import { BatchImportFindingsCommandInput, BatchImportFindingsCommandOutput } from "./commands/BatchImportFindingsCommand";
|
|
11
|
+
import { BatchUpdateAutomationRulesCommandInput, BatchUpdateAutomationRulesCommandOutput } from "./commands/BatchUpdateAutomationRulesCommand";
|
|
9
12
|
import { BatchUpdateFindingsCommandInput, BatchUpdateFindingsCommandOutput } from "./commands/BatchUpdateFindingsCommand";
|
|
10
13
|
import { BatchUpdateStandardsControlAssociationsCommandInput, BatchUpdateStandardsControlAssociationsCommandOutput } from "./commands/BatchUpdateStandardsControlAssociationsCommand";
|
|
11
14
|
import { CreateActionTargetCommandInput, CreateActionTargetCommandOutput } from "./commands/CreateActionTargetCommand";
|
|
15
|
+
import { CreateAutomationRuleCommandInput, CreateAutomationRuleCommandOutput } from "./commands/CreateAutomationRuleCommand";
|
|
12
16
|
import { CreateFindingAggregatorCommandInput, CreateFindingAggregatorCommandOutput } from "./commands/CreateFindingAggregatorCommand";
|
|
13
17
|
import { CreateInsightCommandInput, CreateInsightCommandOutput } from "./commands/CreateInsightCommand";
|
|
14
18
|
import { CreateMembersCommandInput, CreateMembersCommandOutput } from "./commands/CreateMembersCommand";
|
|
@@ -44,6 +48,7 @@ import { GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput } fro
|
|
|
44
48
|
import { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
|
|
45
49
|
import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
|
|
46
50
|
import { InviteMembersCommandInput, InviteMembersCommandOutput } from "./commands/InviteMembersCommand";
|
|
51
|
+
import { ListAutomationRulesCommandInput, ListAutomationRulesCommandOutput } from "./commands/ListAutomationRulesCommand";
|
|
47
52
|
import { ListEnabledProductsForImportCommandInput, ListEnabledProductsForImportCommandOutput } from "./commands/ListEnabledProductsForImportCommand";
|
|
48
53
|
import { ListFindingAggregatorsCommandInput, ListFindingAggregatorsCommandOutput } from "./commands/ListFindingAggregatorsCommand";
|
|
49
54
|
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
@@ -75,6 +80,12 @@ export interface SecurityHub {
|
|
|
75
80
|
acceptInvitation(args: AcceptInvitationCommandInput, options?: __HttpHandlerOptions): Promise<AcceptInvitationCommandOutput>;
|
|
76
81
|
acceptInvitation(args: AcceptInvitationCommandInput, cb: (err: any, data?: AcceptInvitationCommandOutput) => void): void;
|
|
77
82
|
acceptInvitation(args: AcceptInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptInvitationCommandOutput) => void): void;
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link BatchDeleteAutomationRulesCommand}
|
|
85
|
+
*/
|
|
86
|
+
batchDeleteAutomationRules(args: BatchDeleteAutomationRulesCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteAutomationRulesCommandOutput>;
|
|
87
|
+
batchDeleteAutomationRules(args: BatchDeleteAutomationRulesCommandInput, cb: (err: any, data?: BatchDeleteAutomationRulesCommandOutput) => void): void;
|
|
88
|
+
batchDeleteAutomationRules(args: BatchDeleteAutomationRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteAutomationRulesCommandOutput) => void): void;
|
|
78
89
|
/**
|
|
79
90
|
* @see {@link BatchDisableStandardsCommand}
|
|
80
91
|
*/
|
|
@@ -87,6 +98,12 @@ export interface SecurityHub {
|
|
|
87
98
|
batchEnableStandards(args: BatchEnableStandardsCommandInput, options?: __HttpHandlerOptions): Promise<BatchEnableStandardsCommandOutput>;
|
|
88
99
|
batchEnableStandards(args: BatchEnableStandardsCommandInput, cb: (err: any, data?: BatchEnableStandardsCommandOutput) => void): void;
|
|
89
100
|
batchEnableStandards(args: BatchEnableStandardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchEnableStandardsCommandOutput) => void): void;
|
|
101
|
+
/**
|
|
102
|
+
* @see {@link BatchGetAutomationRulesCommand}
|
|
103
|
+
*/
|
|
104
|
+
batchGetAutomationRules(args: BatchGetAutomationRulesCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetAutomationRulesCommandOutput>;
|
|
105
|
+
batchGetAutomationRules(args: BatchGetAutomationRulesCommandInput, cb: (err: any, data?: BatchGetAutomationRulesCommandOutput) => void): void;
|
|
106
|
+
batchGetAutomationRules(args: BatchGetAutomationRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetAutomationRulesCommandOutput) => void): void;
|
|
90
107
|
/**
|
|
91
108
|
* @see {@link BatchGetSecurityControlsCommand}
|
|
92
109
|
*/
|
|
@@ -105,6 +122,12 @@ export interface SecurityHub {
|
|
|
105
122
|
batchImportFindings(args: BatchImportFindingsCommandInput, options?: __HttpHandlerOptions): Promise<BatchImportFindingsCommandOutput>;
|
|
106
123
|
batchImportFindings(args: BatchImportFindingsCommandInput, cb: (err: any, data?: BatchImportFindingsCommandOutput) => void): void;
|
|
107
124
|
batchImportFindings(args: BatchImportFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchImportFindingsCommandOutput) => void): void;
|
|
125
|
+
/**
|
|
126
|
+
* @see {@link BatchUpdateAutomationRulesCommand}
|
|
127
|
+
*/
|
|
128
|
+
batchUpdateAutomationRules(args: BatchUpdateAutomationRulesCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateAutomationRulesCommandOutput>;
|
|
129
|
+
batchUpdateAutomationRules(args: BatchUpdateAutomationRulesCommandInput, cb: (err: any, data?: BatchUpdateAutomationRulesCommandOutput) => void): void;
|
|
130
|
+
batchUpdateAutomationRules(args: BatchUpdateAutomationRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateAutomationRulesCommandOutput) => void): void;
|
|
108
131
|
/**
|
|
109
132
|
* @see {@link BatchUpdateFindingsCommand}
|
|
110
133
|
*/
|
|
@@ -123,6 +146,12 @@ export interface SecurityHub {
|
|
|
123
146
|
createActionTarget(args: CreateActionTargetCommandInput, options?: __HttpHandlerOptions): Promise<CreateActionTargetCommandOutput>;
|
|
124
147
|
createActionTarget(args: CreateActionTargetCommandInput, cb: (err: any, data?: CreateActionTargetCommandOutput) => void): void;
|
|
125
148
|
createActionTarget(args: CreateActionTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateActionTargetCommandOutput) => void): void;
|
|
149
|
+
/**
|
|
150
|
+
* @see {@link CreateAutomationRuleCommand}
|
|
151
|
+
*/
|
|
152
|
+
createAutomationRule(args: CreateAutomationRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateAutomationRuleCommandOutput>;
|
|
153
|
+
createAutomationRule(args: CreateAutomationRuleCommandInput, cb: (err: any, data?: CreateAutomationRuleCommandOutput) => void): void;
|
|
154
|
+
createAutomationRule(args: CreateAutomationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAutomationRuleCommandOutput) => void): void;
|
|
126
155
|
/**
|
|
127
156
|
* @see {@link CreateFindingAggregatorCommand}
|
|
128
157
|
*/
|
|
@@ -333,6 +362,12 @@ export interface SecurityHub {
|
|
|
333
362
|
inviteMembers(args: InviteMembersCommandInput, options?: __HttpHandlerOptions): Promise<InviteMembersCommandOutput>;
|
|
334
363
|
inviteMembers(args: InviteMembersCommandInput, cb: (err: any, data?: InviteMembersCommandOutput) => void): void;
|
|
335
364
|
inviteMembers(args: InviteMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InviteMembersCommandOutput) => void): void;
|
|
365
|
+
/**
|
|
366
|
+
* @see {@link ListAutomationRulesCommand}
|
|
367
|
+
*/
|
|
368
|
+
listAutomationRules(args: ListAutomationRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListAutomationRulesCommandOutput>;
|
|
369
|
+
listAutomationRules(args: ListAutomationRulesCommandInput, cb: (err: any, data?: ListAutomationRulesCommandOutput) => void): void;
|
|
370
|
+
listAutomationRules(args: ListAutomationRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAutomationRulesCommandOutput) => void): void;
|
|
336
371
|
/**
|
|
337
372
|
* @see {@link ListEnabledProductsForImportCommand}
|
|
338
373
|
*/
|
|
@@ -10,14 +10,18 @@ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
|
10
10
|
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
11
11
|
import { AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput } from "./commands/AcceptAdministratorInvitationCommand";
|
|
12
12
|
import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
|
|
13
|
+
import { BatchDeleteAutomationRulesCommandInput, BatchDeleteAutomationRulesCommandOutput } from "./commands/BatchDeleteAutomationRulesCommand";
|
|
13
14
|
import { BatchDisableStandardsCommandInput, BatchDisableStandardsCommandOutput } from "./commands/BatchDisableStandardsCommand";
|
|
14
15
|
import { BatchEnableStandardsCommandInput, BatchEnableStandardsCommandOutput } from "./commands/BatchEnableStandardsCommand";
|
|
16
|
+
import { BatchGetAutomationRulesCommandInput, BatchGetAutomationRulesCommandOutput } from "./commands/BatchGetAutomationRulesCommand";
|
|
15
17
|
import { BatchGetSecurityControlsCommandInput, BatchGetSecurityControlsCommandOutput } from "./commands/BatchGetSecurityControlsCommand";
|
|
16
18
|
import { BatchGetStandardsControlAssociationsCommandInput, BatchGetStandardsControlAssociationsCommandOutput } from "./commands/BatchGetStandardsControlAssociationsCommand";
|
|
17
19
|
import { BatchImportFindingsCommandInput, BatchImportFindingsCommandOutput } from "./commands/BatchImportFindingsCommand";
|
|
20
|
+
import { BatchUpdateAutomationRulesCommandInput, BatchUpdateAutomationRulesCommandOutput } from "./commands/BatchUpdateAutomationRulesCommand";
|
|
18
21
|
import { BatchUpdateFindingsCommandInput, BatchUpdateFindingsCommandOutput } from "./commands/BatchUpdateFindingsCommand";
|
|
19
22
|
import { BatchUpdateStandardsControlAssociationsCommandInput, BatchUpdateStandardsControlAssociationsCommandOutput } from "./commands/BatchUpdateStandardsControlAssociationsCommand";
|
|
20
23
|
import { CreateActionTargetCommandInput, CreateActionTargetCommandOutput } from "./commands/CreateActionTargetCommand";
|
|
24
|
+
import { CreateAutomationRuleCommandInput, CreateAutomationRuleCommandOutput } from "./commands/CreateAutomationRuleCommand";
|
|
21
25
|
import { CreateFindingAggregatorCommandInput, CreateFindingAggregatorCommandOutput } from "./commands/CreateFindingAggregatorCommand";
|
|
22
26
|
import { CreateInsightCommandInput, CreateInsightCommandOutput } from "./commands/CreateInsightCommand";
|
|
23
27
|
import { CreateMembersCommandInput, CreateMembersCommandOutput } from "./commands/CreateMembersCommand";
|
|
@@ -53,6 +57,7 @@ import { GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput } fro
|
|
|
53
57
|
import { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
|
|
54
58
|
import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
|
|
55
59
|
import { InviteMembersCommandInput, InviteMembersCommandOutput } from "./commands/InviteMembersCommand";
|
|
60
|
+
import { ListAutomationRulesCommandInput, ListAutomationRulesCommandOutput } from "./commands/ListAutomationRulesCommand";
|
|
56
61
|
import { ListEnabledProductsForImportCommandInput, ListEnabledProductsForImportCommandOutput } from "./commands/ListEnabledProductsForImportCommand";
|
|
57
62
|
import { ListFindingAggregatorsCommandInput, ListFindingAggregatorsCommandOutput } from "./commands/ListFindingAggregatorsCommand";
|
|
58
63
|
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
@@ -75,11 +80,11 @@ export { __Client };
|
|
|
75
80
|
/**
|
|
76
81
|
* @public
|
|
77
82
|
*/
|
|
78
|
-
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;
|
|
83
|
+
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateAutomationRuleCommandInput | 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 | ListAutomationRulesCommandInput | ListEnabledProductsForImportCommandInput | ListFindingAggregatorsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
|
|
79
84
|
/**
|
|
80
85
|
* @public
|
|
81
86
|
*/
|
|
82
|
-
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;
|
|
87
|
+
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateAutomationRuleCommandOutput | 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 | ListAutomationRulesCommandOutput | ListEnabledProductsForImportCommandOutput | ListFindingAggregatorsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
|
|
83
88
|
/**
|
|
84
89
|
* @public
|
|
85
90
|
*/
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { BatchDeleteAutomationRulesRequest, BatchDeleteAutomationRulesResponse } from "../models/models_2";
|
|
5
|
+
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchDeleteAutomationRulesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchDeleteAutomationRulesCommandInput extends BatchDeleteAutomationRulesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchDeleteAutomationRulesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchDeleteAutomationRulesCommandOutput extends BatchDeleteAutomationRulesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Deletes one or more automation rules.
|
|
28
|
+
* </p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { SecurityHubClient, BatchDeleteAutomationRulesCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
33
|
+
* // const { SecurityHubClient, BatchDeleteAutomationRulesCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
34
|
+
* const client = new SecurityHubClient(config);
|
|
35
|
+
* const input = { // BatchDeleteAutomationRulesRequest
|
|
36
|
+
* AutomationRulesArns: [ // AutomationRulesArnsList // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
40
|
+
* const command = new BatchDeleteAutomationRulesCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // BatchDeleteAutomationRulesResponse
|
|
43
|
+
* // ProcessedAutomationRules: [ // AutomationRulesArnsList
|
|
44
|
+
* // "STRING_VALUE",
|
|
45
|
+
* // ],
|
|
46
|
+
* // UnprocessedAutomationRules: [ // UnprocessedAutomationRulesList
|
|
47
|
+
* // { // UnprocessedAutomationRule
|
|
48
|
+
* // RuleArn: "STRING_VALUE",
|
|
49
|
+
* // ErrorCode: Number("int"),
|
|
50
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param BatchDeleteAutomationRulesCommandInput - {@link BatchDeleteAutomationRulesCommandInput}
|
|
58
|
+
* @returns {@link BatchDeleteAutomationRulesCommandOutput}
|
|
59
|
+
* @see {@link BatchDeleteAutomationRulesCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link BatchDeleteAutomationRulesCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalException} (server fault)
|
|
64
|
+
* <p>Internal server error.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidAccessException} (client fault)
|
|
67
|
+
* <p>The account doesn't have permission to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
70
|
+
* <p>The request was rejected because you supplied an invalid or out-of-range value for an
|
|
71
|
+
* input parameter.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
74
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
75
|
+
* account or throttling limits. The error code describes the limit exceeded.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link SecurityHubServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
82
|
+
*
|
|
83
|
+
* @example To delete one or more automation rules
|
|
84
|
+
* ```javascript
|
|
85
|
+
* // The following example deletes the specified automation rules.
|
|
86
|
+
* const input = {
|
|
87
|
+
* "AutomationRulesArns": [
|
|
88
|
+
* "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
89
|
+
* "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
|
|
90
|
+
* ]
|
|
91
|
+
* };
|
|
92
|
+
* const command = new BatchDeleteAutomationRulesCommand(input);
|
|
93
|
+
* const response = await client.send(command);
|
|
94
|
+
* /* response ==
|
|
95
|
+
* {
|
|
96
|
+
* "ProcessedAutomationRules": [
|
|
97
|
+
* "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
|
|
98
|
+
* ],
|
|
99
|
+
* "UnprocessedAutomationRules": [
|
|
100
|
+
* {
|
|
101
|
+
* "ErrorCode": 500,
|
|
102
|
+
* "ErrorMessage": "InternalException",
|
|
103
|
+
* "RuleArn": "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
|
|
104
|
+
* }
|
|
105
|
+
* ]
|
|
106
|
+
* }
|
|
107
|
+
* *\/
|
|
108
|
+
* // example id: to-delete-one-or-more-automation-rules-1684769550318
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
export declare class BatchDeleteAutomationRulesCommand extends $Command<BatchDeleteAutomationRulesCommandInput, BatchDeleteAutomationRulesCommandOutput, SecurityHubClientResolvedConfig> {
|
|
113
|
+
readonly input: BatchDeleteAutomationRulesCommandInput;
|
|
114
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
constructor(input: BatchDeleteAutomationRulesCommandInput);
|
|
119
|
+
/**
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteAutomationRulesCommandInput, BatchDeleteAutomationRulesCommandOutput>;
|
|
123
|
+
/**
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
126
|
+
private serialize;
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
private deserialize;
|
|
131
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { BatchDisableStandardsRequest, BatchDisableStandardsResponse } from "../models/
|
|
4
|
+
import { BatchDisableStandardsRequest, BatchDisableStandardsResponse } from "../models/models_2";
|
|
5
5
|
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { BatchEnableStandardsRequest, BatchEnableStandardsResponse } from "../models/
|
|
4
|
+
import { BatchEnableStandardsRequest, BatchEnableStandardsResponse } from "../models/models_2";
|
|
5
5
|
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|