@aws-sdk/client-securityhub 3.350.0 → 3.352.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 +103 -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 +288 -0
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +282 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +270 -0
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +106 -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 +5 -5
|
@@ -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,103 @@
|
|
|
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
|
+
*/
|
|
84
|
+
export declare class BatchDeleteAutomationRulesCommand extends $Command<BatchDeleteAutomationRulesCommandInput, BatchDeleteAutomationRulesCommandOutput, SecurityHubClientResolvedConfig> {
|
|
85
|
+
readonly input: BatchDeleteAutomationRulesCommandInput;
|
|
86
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
constructor(input: BatchDeleteAutomationRulesCommandInput);
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteAutomationRulesCommandInput, BatchDeleteAutomationRulesCommandOutput>;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private serialize;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
private deserialize;
|
|
103
|
+
}
|
|
@@ -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
|
|
@@ -0,0 +1,288 @@
|
|
|
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 { BatchGetAutomationRulesRequest, BatchGetAutomationRulesResponse } 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 BatchGetAutomationRulesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetAutomationRulesCommandInput extends BatchGetAutomationRulesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetAutomationRulesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetAutomationRulesCommandOutput extends BatchGetAutomationRulesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Retrieves a list of details for automation rules based on rule Amazon Resource Names
|
|
28
|
+
* (ARNs).
|
|
29
|
+
* </p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { SecurityHubClient, BatchGetAutomationRulesCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
34
|
+
* // const { SecurityHubClient, BatchGetAutomationRulesCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
35
|
+
* const client = new SecurityHubClient(config);
|
|
36
|
+
* const input = { // BatchGetAutomationRulesRequest
|
|
37
|
+
* AutomationRulesArns: [ // AutomationRulesArnsList // required
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
41
|
+
* const command = new BatchGetAutomationRulesCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // BatchGetAutomationRulesResponse
|
|
44
|
+
* // Rules: [ // AutomationRulesConfigList
|
|
45
|
+
* // { // AutomationRulesConfig
|
|
46
|
+
* // RuleArn: "STRING_VALUE",
|
|
47
|
+
* // RuleStatus: "ENABLED" || "DISABLED",
|
|
48
|
+
* // RuleOrder: Number("int"),
|
|
49
|
+
* // RuleName: "STRING_VALUE",
|
|
50
|
+
* // Description: "STRING_VALUE",
|
|
51
|
+
* // IsTerminal: true || false,
|
|
52
|
+
* // Criteria: { // AutomationRulesFindingFilters
|
|
53
|
+
* // ProductArn: [ // StringFilterList
|
|
54
|
+
* // { // StringFilter
|
|
55
|
+
* // Value: "STRING_VALUE",
|
|
56
|
+
* // Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // AwsAccountId: [
|
|
60
|
+
* // {
|
|
61
|
+
* // Value: "STRING_VALUE",
|
|
62
|
+
* // Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // Id: [
|
|
66
|
+
* // {
|
|
67
|
+
* // Value: "STRING_VALUE",
|
|
68
|
+
* // Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // GeneratorId: [
|
|
72
|
+
* // {
|
|
73
|
+
* // Value: "STRING_VALUE",
|
|
74
|
+
* // Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // Type: [
|
|
78
|
+
* // {
|
|
79
|
+
* // Value: "STRING_VALUE",
|
|
80
|
+
* // Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS",
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // FirstObservedAt: [ // DateFilterList
|
|
84
|
+
* // { // DateFilter
|
|
85
|
+
* // Start: "STRING_VALUE",
|
|
86
|
+
* // End: "STRING_VALUE",
|
|
87
|
+
* // DateRange: { // DateRange
|
|
88
|
+
* // Value: Number("int"),
|
|
89
|
+
* // Unit: "DAYS",
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // LastObservedAt: [
|
|
94
|
+
* // {
|
|
95
|
+
* // Start: "STRING_VALUE",
|
|
96
|
+
* // End: "STRING_VALUE",
|
|
97
|
+
* // DateRange: {
|
|
98
|
+
* // Value: Number("int"),
|
|
99
|
+
* // Unit: "DAYS",
|
|
100
|
+
* // },
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // CreatedAt: [
|
|
104
|
+
* // {
|
|
105
|
+
* // Start: "STRING_VALUE",
|
|
106
|
+
* // End: "STRING_VALUE",
|
|
107
|
+
* // DateRange: {
|
|
108
|
+
* // Value: Number("int"),
|
|
109
|
+
* // Unit: "DAYS",
|
|
110
|
+
* // },
|
|
111
|
+
* // },
|
|
112
|
+
* // ],
|
|
113
|
+
* // UpdatedAt: [
|
|
114
|
+
* // {
|
|
115
|
+
* // Start: "STRING_VALUE",
|
|
116
|
+
* // End: "STRING_VALUE",
|
|
117
|
+
* // DateRange: {
|
|
118
|
+
* // Value: Number("int"),
|
|
119
|
+
* // Unit: "DAYS",
|
|
120
|
+
* // },
|
|
121
|
+
* // },
|
|
122
|
+
* // ],
|
|
123
|
+
* // Confidence: [ // NumberFilterList
|
|
124
|
+
* // { // NumberFilter
|
|
125
|
+
* // Gte: Number("double"),
|
|
126
|
+
* // Lte: Number("double"),
|
|
127
|
+
* // Eq: Number("double"),
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
130
|
+
* // Criticality: [
|
|
131
|
+
* // {
|
|
132
|
+
* // Gte: Number("double"),
|
|
133
|
+
* // Lte: Number("double"),
|
|
134
|
+
* // Eq: Number("double"),
|
|
135
|
+
* // },
|
|
136
|
+
* // ],
|
|
137
|
+
* // Title: "<StringFilterList>",
|
|
138
|
+
* // Description: "<StringFilterList>",
|
|
139
|
+
* // SourceUrl: "<StringFilterList>",
|
|
140
|
+
* // ProductName: "<StringFilterList>",
|
|
141
|
+
* // CompanyName: "<StringFilterList>",
|
|
142
|
+
* // SeverityLabel: "<StringFilterList>",
|
|
143
|
+
* // ResourceType: "<StringFilterList>",
|
|
144
|
+
* // ResourceId: "<StringFilterList>",
|
|
145
|
+
* // ResourcePartition: "<StringFilterList>",
|
|
146
|
+
* // ResourceRegion: "<StringFilterList>",
|
|
147
|
+
* // ResourceTags: [ // MapFilterList
|
|
148
|
+
* // { // MapFilter
|
|
149
|
+
* // Key: "STRING_VALUE",
|
|
150
|
+
* // Value: "STRING_VALUE",
|
|
151
|
+
* // Comparison: "EQUALS" || "NOT_EQUALS",
|
|
152
|
+
* // },
|
|
153
|
+
* // ],
|
|
154
|
+
* // ResourceDetailsOther: [
|
|
155
|
+
* // {
|
|
156
|
+
* // Key: "STRING_VALUE",
|
|
157
|
+
* // Value: "STRING_VALUE",
|
|
158
|
+
* // Comparison: "EQUALS" || "NOT_EQUALS",
|
|
159
|
+
* // },
|
|
160
|
+
* // ],
|
|
161
|
+
* // ComplianceStatus: "<StringFilterList>",
|
|
162
|
+
* // ComplianceSecurityControlId: "<StringFilterList>",
|
|
163
|
+
* // ComplianceAssociatedStandardsId: "<StringFilterList>",
|
|
164
|
+
* // VerificationState: "<StringFilterList>",
|
|
165
|
+
* // WorkflowStatus: "<StringFilterList>",
|
|
166
|
+
* // RecordState: "<StringFilterList>",
|
|
167
|
+
* // RelatedFindingsProductArn: "<StringFilterList>",
|
|
168
|
+
* // RelatedFindingsId: "<StringFilterList>",
|
|
169
|
+
* // NoteText: "<StringFilterList>",
|
|
170
|
+
* // NoteUpdatedAt: [
|
|
171
|
+
* // {
|
|
172
|
+
* // Start: "STRING_VALUE",
|
|
173
|
+
* // End: "STRING_VALUE",
|
|
174
|
+
* // DateRange: {
|
|
175
|
+
* // Value: Number("int"),
|
|
176
|
+
* // Unit: "DAYS",
|
|
177
|
+
* // },
|
|
178
|
+
* // },
|
|
179
|
+
* // ],
|
|
180
|
+
* // NoteUpdatedBy: "<StringFilterList>",
|
|
181
|
+
* // UserDefinedFields: [
|
|
182
|
+
* // {
|
|
183
|
+
* // Key: "STRING_VALUE",
|
|
184
|
+
* // Value: "STRING_VALUE",
|
|
185
|
+
* // Comparison: "EQUALS" || "NOT_EQUALS",
|
|
186
|
+
* // },
|
|
187
|
+
* // ],
|
|
188
|
+
* // },
|
|
189
|
+
* // Actions: [ // ActionList
|
|
190
|
+
* // { // AutomationRulesAction
|
|
191
|
+
* // Type: "FINDING_FIELDS_UPDATE",
|
|
192
|
+
* // FindingFieldsUpdate: { // AutomationRulesFindingFieldsUpdate
|
|
193
|
+
* // Note: { // NoteUpdate
|
|
194
|
+
* // Text: "STRING_VALUE", // required
|
|
195
|
+
* // UpdatedBy: "STRING_VALUE", // required
|
|
196
|
+
* // },
|
|
197
|
+
* // Severity: { // SeverityUpdate
|
|
198
|
+
* // Normalized: Number("int"),
|
|
199
|
+
* // Product: Number("double"),
|
|
200
|
+
* // Label: "INFORMATIONAL" || "LOW" || "MEDIUM" || "HIGH" || "CRITICAL",
|
|
201
|
+
* // },
|
|
202
|
+
* // VerificationState: "UNKNOWN" || "TRUE_POSITIVE" || "FALSE_POSITIVE" || "BENIGN_POSITIVE",
|
|
203
|
+
* // Confidence: Number("int"),
|
|
204
|
+
* // Criticality: Number("int"),
|
|
205
|
+
* // Types: [ // TypeList
|
|
206
|
+
* // "STRING_VALUE",
|
|
207
|
+
* // ],
|
|
208
|
+
* // UserDefinedFields: { // FieldMap
|
|
209
|
+
* // "<keys>": "STRING_VALUE",
|
|
210
|
+
* // },
|
|
211
|
+
* // Workflow: { // WorkflowUpdate
|
|
212
|
+
* // Status: "NEW" || "NOTIFIED" || "RESOLVED" || "SUPPRESSED",
|
|
213
|
+
* // },
|
|
214
|
+
* // RelatedFindings: [ // RelatedFindingList
|
|
215
|
+
* // { // RelatedFinding
|
|
216
|
+
* // ProductArn: "STRING_VALUE", // required
|
|
217
|
+
* // Id: "STRING_VALUE", // required
|
|
218
|
+
* // },
|
|
219
|
+
* // ],
|
|
220
|
+
* // },
|
|
221
|
+
* // },
|
|
222
|
+
* // ],
|
|
223
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
224
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
225
|
+
* // CreatedBy: "STRING_VALUE",
|
|
226
|
+
* // },
|
|
227
|
+
* // ],
|
|
228
|
+
* // UnprocessedAutomationRules: [ // UnprocessedAutomationRulesList
|
|
229
|
+
* // { // UnprocessedAutomationRule
|
|
230
|
+
* // RuleArn: "STRING_VALUE",
|
|
231
|
+
* // ErrorCode: Number("int"),
|
|
232
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
233
|
+
* // },
|
|
234
|
+
* // ],
|
|
235
|
+
* // };
|
|
236
|
+
*
|
|
237
|
+
* ```
|
|
238
|
+
*
|
|
239
|
+
* @param BatchGetAutomationRulesCommandInput - {@link BatchGetAutomationRulesCommandInput}
|
|
240
|
+
* @returns {@link BatchGetAutomationRulesCommandOutput}
|
|
241
|
+
* @see {@link BatchGetAutomationRulesCommandInput} for command's `input` shape.
|
|
242
|
+
* @see {@link BatchGetAutomationRulesCommandOutput} for command's `response` shape.
|
|
243
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
244
|
+
*
|
|
245
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
246
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
247
|
+
*
|
|
248
|
+
* @throws {@link InternalException} (server fault)
|
|
249
|
+
* <p>Internal server error.</p>
|
|
250
|
+
*
|
|
251
|
+
* @throws {@link InvalidAccessException} (client fault)
|
|
252
|
+
* <p>The account doesn't have permission to perform this action.</p>
|
|
253
|
+
*
|
|
254
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
255
|
+
* <p>The request was rejected because you supplied an invalid or out-of-range value for an
|
|
256
|
+
* input parameter.</p>
|
|
257
|
+
*
|
|
258
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
259
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
260
|
+
* account or throttling limits. The error code describes the limit exceeded.</p>
|
|
261
|
+
*
|
|
262
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
263
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
264
|
+
*
|
|
265
|
+
* @throws {@link SecurityHubServiceException}
|
|
266
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
267
|
+
*
|
|
268
|
+
*/
|
|
269
|
+
export declare class BatchGetAutomationRulesCommand extends $Command<BatchGetAutomationRulesCommandInput, BatchGetAutomationRulesCommandOutput, SecurityHubClientResolvedConfig> {
|
|
270
|
+
readonly input: BatchGetAutomationRulesCommandInput;
|
|
271
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
272
|
+
/**
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
275
|
+
constructor(input: BatchGetAutomationRulesCommandInput);
|
|
276
|
+
/**
|
|
277
|
+
* @internal
|
|
278
|
+
*/
|
|
279
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetAutomationRulesCommandInput, BatchGetAutomationRulesCommandOutput>;
|
|
280
|
+
/**
|
|
281
|
+
* @internal
|
|
282
|
+
*/
|
|
283
|
+
private serialize;
|
|
284
|
+
/**
|
|
285
|
+
* @internal
|
|
286
|
+
*/
|
|
287
|
+
private deserialize;
|
|
288
|
+
}
|