@aws-sdk/client-securityhub 3.348.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.
Files changed (52) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/SecurityHub.js +10 -0
  3. package/dist-cjs/commands/BatchDeleteAutomationRulesCommand.js +46 -0
  4. package/dist-cjs/commands/BatchGetAutomationRulesCommand.js +46 -0
  5. package/dist-cjs/commands/BatchUpdateAutomationRulesCommand.js +46 -0
  6. package/dist-cjs/commands/CreateAutomationRuleCommand.js +46 -0
  7. package/dist-cjs/commands/ListAutomationRulesCommand.js +46 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +40 -1
  10. package/dist-cjs/models/models_1.js +1 -44
  11. package/dist-cjs/models/models_2.js +12 -1
  12. package/dist-cjs/protocols/Aws_restJson1.js +553 -3
  13. package/dist-es/SecurityHub.js +10 -0
  14. package/dist-es/commands/BatchDeleteAutomationRulesCommand.js +42 -0
  15. package/dist-es/commands/BatchGetAutomationRulesCommand.js +42 -0
  16. package/dist-es/commands/BatchUpdateAutomationRulesCommand.js +42 -0
  17. package/dist-es/commands/CreateAutomationRuleCommand.js +42 -0
  18. package/dist-es/commands/ListAutomationRulesCommand.js +42 -0
  19. package/dist-es/commands/index.js +5 -0
  20. package/dist-es/models/models_0.js +39 -0
  21. package/dist-es/models/models_1.js +0 -43
  22. package/dist-es/models/models_2.js +11 -0
  23. package/dist-es/protocols/Aws_restJson1.js +540 -0
  24. package/dist-types/SecurityHub.d.ts +35 -0
  25. package/dist-types/SecurityHubClient.d.ts +7 -2
  26. package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +103 -0
  27. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +1 -1
  28. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +1 -1
  29. package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +288 -0
  30. package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +282 -0
  31. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +270 -0
  32. package/dist-types/commands/ListAutomationRulesCommand.d.ts +106 -0
  33. package/dist-types/commands/index.d.ts +5 -0
  34. package/dist-types/models/models_0.d.ts +6010 -5729
  35. package/dist-types/models/models_1.d.ts +645 -439
  36. package/dist-types/models/models_2.d.ts +423 -108
  37. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  38. package/dist-types/ts3.4/SecurityHub.d.ts +85 -0
  39. package/dist-types/ts3.4/SecurityHubClient.d.ts +30 -0
  40. package/dist-types/ts3.4/commands/BatchDeleteAutomationRulesCommand.d.ts +42 -0
  41. package/dist-types/ts3.4/commands/BatchDisableStandardsCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/BatchEnableStandardsCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/BatchGetAutomationRulesCommand.d.ts +42 -0
  44. package/dist-types/ts3.4/commands/BatchUpdateAutomationRulesCommand.d.ts +42 -0
  45. package/dist-types/ts3.4/commands/CreateAutomationRuleCommand.d.ts +42 -0
  46. package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +39 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +167 -136
  49. package/dist-types/ts3.4/models/models_1.d.ts +145 -123
  50. package/dist-types/ts3.4/models/models_2.d.ts +112 -16
  51. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  52. package/package.json +6 -6
@@ -2,14 +2,18 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput } from "../commands/AcceptAdministratorInvitationCommand";
4
4
  import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "../commands/AcceptInvitationCommand";
5
+ import { BatchDeleteAutomationRulesCommandInput, BatchDeleteAutomationRulesCommandOutput } from "../commands/BatchDeleteAutomationRulesCommand";
5
6
  import { BatchDisableStandardsCommandInput, BatchDisableStandardsCommandOutput } from "../commands/BatchDisableStandardsCommand";
6
7
  import { BatchEnableStandardsCommandInput, BatchEnableStandardsCommandOutput } from "../commands/BatchEnableStandardsCommand";
8
+ import { BatchGetAutomationRulesCommandInput, BatchGetAutomationRulesCommandOutput } from "../commands/BatchGetAutomationRulesCommand";
7
9
  import { BatchGetSecurityControlsCommandInput, BatchGetSecurityControlsCommandOutput } from "../commands/BatchGetSecurityControlsCommand";
8
10
  import { BatchGetStandardsControlAssociationsCommandInput, BatchGetStandardsControlAssociationsCommandOutput } from "../commands/BatchGetStandardsControlAssociationsCommand";
9
11
  import { BatchImportFindingsCommandInput, BatchImportFindingsCommandOutput } from "../commands/BatchImportFindingsCommand";
12
+ import { BatchUpdateAutomationRulesCommandInput, BatchUpdateAutomationRulesCommandOutput } from "../commands/BatchUpdateAutomationRulesCommand";
10
13
  import { BatchUpdateFindingsCommandInput, BatchUpdateFindingsCommandOutput } from "../commands/BatchUpdateFindingsCommand";
11
14
  import { BatchUpdateStandardsControlAssociationsCommandInput, BatchUpdateStandardsControlAssociationsCommandOutput } from "../commands/BatchUpdateStandardsControlAssociationsCommand";
12
15
  import { CreateActionTargetCommandInput, CreateActionTargetCommandOutput } from "../commands/CreateActionTargetCommand";
16
+ import { CreateAutomationRuleCommandInput, CreateAutomationRuleCommandOutput } from "../commands/CreateAutomationRuleCommand";
13
17
  import { CreateFindingAggregatorCommandInput, CreateFindingAggregatorCommandOutput } from "../commands/CreateFindingAggregatorCommand";
14
18
  import { CreateInsightCommandInput, CreateInsightCommandOutput } from "../commands/CreateInsightCommand";
15
19
  import { CreateMembersCommandInput, CreateMembersCommandOutput } from "../commands/CreateMembersCommand";
@@ -45,6 +49,7 @@ import { GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput } fro
45
49
  import { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "../commands/GetMasterAccountCommand";
46
50
  import { GetMembersCommandInput, GetMembersCommandOutput } from "../commands/GetMembersCommand";
47
51
  import { InviteMembersCommandInput, InviteMembersCommandOutput } from "../commands/InviteMembersCommand";
52
+ import { ListAutomationRulesCommandInput, ListAutomationRulesCommandOutput } from "../commands/ListAutomationRulesCommand";
48
53
  import { ListEnabledProductsForImportCommandInput, ListEnabledProductsForImportCommandOutput } from "../commands/ListEnabledProductsForImportCommand";
49
54
  import { ListFindingAggregatorsCommandInput, ListFindingAggregatorsCommandOutput } from "../commands/ListFindingAggregatorsCommand";
50
55
  import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "../commands/ListInvitationsCommand";
@@ -70,6 +75,10 @@ export declare const se_AcceptAdministratorInvitationCommand: (input: AcceptAdmi
70
75
  * serializeAws_restJson1AcceptInvitationCommand
71
76
  */
72
77
  export declare const se_AcceptInvitationCommand: (input: AcceptInvitationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
78
+ /**
79
+ * serializeAws_restJson1BatchDeleteAutomationRulesCommand
80
+ */
81
+ export declare const se_BatchDeleteAutomationRulesCommand: (input: BatchDeleteAutomationRulesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
73
82
  /**
74
83
  * serializeAws_restJson1BatchDisableStandardsCommand
75
84
  */
@@ -78,6 +87,10 @@ export declare const se_BatchDisableStandardsCommand: (input: BatchDisableStanda
78
87
  * serializeAws_restJson1BatchEnableStandardsCommand
79
88
  */
80
89
  export declare const se_BatchEnableStandardsCommand: (input: BatchEnableStandardsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
90
+ /**
91
+ * serializeAws_restJson1BatchGetAutomationRulesCommand
92
+ */
93
+ export declare const se_BatchGetAutomationRulesCommand: (input: BatchGetAutomationRulesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
81
94
  /**
82
95
  * serializeAws_restJson1BatchGetSecurityControlsCommand
83
96
  */
@@ -90,6 +103,10 @@ export declare const se_BatchGetStandardsControlAssociationsCommand: (input: Bat
90
103
  * serializeAws_restJson1BatchImportFindingsCommand
91
104
  */
92
105
  export declare const se_BatchImportFindingsCommand: (input: BatchImportFindingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
106
+ /**
107
+ * serializeAws_restJson1BatchUpdateAutomationRulesCommand
108
+ */
109
+ export declare const se_BatchUpdateAutomationRulesCommand: (input: BatchUpdateAutomationRulesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
93
110
  /**
94
111
  * serializeAws_restJson1BatchUpdateFindingsCommand
95
112
  */
@@ -102,6 +119,10 @@ export declare const se_BatchUpdateStandardsControlAssociationsCommand: (input:
102
119
  * serializeAws_restJson1CreateActionTargetCommand
103
120
  */
104
121
  export declare const se_CreateActionTargetCommand: (input: CreateActionTargetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
122
+ /**
123
+ * serializeAws_restJson1CreateAutomationRuleCommand
124
+ */
125
+ export declare const se_CreateAutomationRuleCommand: (input: CreateAutomationRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
105
126
  /**
106
127
  * serializeAws_restJson1CreateFindingAggregatorCommand
107
128
  */
@@ -242,6 +263,10 @@ export declare const se_GetMembersCommand: (input: GetMembersCommandInput, conte
242
263
  * serializeAws_restJson1InviteMembersCommand
243
264
  */
244
265
  export declare const se_InviteMembersCommand: (input: InviteMembersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
266
+ /**
267
+ * serializeAws_restJson1ListAutomationRulesCommand
268
+ */
269
+ export declare const se_ListAutomationRulesCommand: (input: ListAutomationRulesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
245
270
  /**
246
271
  * serializeAws_restJson1ListEnabledProductsForImportCommand
247
272
  */
@@ -318,6 +343,10 @@ export declare const de_AcceptAdministratorInvitationCommand: (output: __HttpRes
318
343
  * deserializeAws_restJson1AcceptInvitationCommand
319
344
  */
320
345
  export declare const de_AcceptInvitationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AcceptInvitationCommandOutput>;
346
+ /**
347
+ * deserializeAws_restJson1BatchDeleteAutomationRulesCommand
348
+ */
349
+ export declare const de_BatchDeleteAutomationRulesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchDeleteAutomationRulesCommandOutput>;
321
350
  /**
322
351
  * deserializeAws_restJson1BatchDisableStandardsCommand
323
352
  */
@@ -326,6 +355,10 @@ export declare const de_BatchDisableStandardsCommand: (output: __HttpResponse, c
326
355
  * deserializeAws_restJson1BatchEnableStandardsCommand
327
356
  */
328
357
  export declare const de_BatchEnableStandardsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchEnableStandardsCommandOutput>;
358
+ /**
359
+ * deserializeAws_restJson1BatchGetAutomationRulesCommand
360
+ */
361
+ export declare const de_BatchGetAutomationRulesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetAutomationRulesCommandOutput>;
329
362
  /**
330
363
  * deserializeAws_restJson1BatchGetSecurityControlsCommand
331
364
  */
@@ -338,6 +371,10 @@ export declare const de_BatchGetStandardsControlAssociationsCommand: (output: __
338
371
  * deserializeAws_restJson1BatchImportFindingsCommand
339
372
  */
340
373
  export declare const de_BatchImportFindingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchImportFindingsCommandOutput>;
374
+ /**
375
+ * deserializeAws_restJson1BatchUpdateAutomationRulesCommand
376
+ */
377
+ export declare const de_BatchUpdateAutomationRulesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchUpdateAutomationRulesCommandOutput>;
341
378
  /**
342
379
  * deserializeAws_restJson1BatchUpdateFindingsCommand
343
380
  */
@@ -350,6 +387,10 @@ export declare const de_BatchUpdateStandardsControlAssociationsCommand: (output:
350
387
  * deserializeAws_restJson1CreateActionTargetCommand
351
388
  */
352
389
  export declare const de_CreateActionTargetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateActionTargetCommandOutput>;
390
+ /**
391
+ * deserializeAws_restJson1CreateAutomationRuleCommand
392
+ */
393
+ export declare const de_CreateAutomationRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAutomationRuleCommandOutput>;
353
394
  /**
354
395
  * deserializeAws_restJson1CreateFindingAggregatorCommand
355
396
  */
@@ -490,6 +531,10 @@ export declare const de_GetMembersCommand: (output: __HttpResponse, context: __S
490
531
  * deserializeAws_restJson1InviteMembersCommand
491
532
  */
492
533
  export declare const de_InviteMembersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<InviteMembersCommandOutput>;
534
+ /**
535
+ * deserializeAws_restJson1ListAutomationRulesCommand
536
+ */
537
+ export declare const de_ListAutomationRulesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAutomationRulesCommandOutput>;
493
538
  /**
494
539
  * deserializeAws_restJson1ListEnabledProductsForImportCommand
495
540
  */
@@ -7,6 +7,10 @@ import {
7
7
  AcceptInvitationCommandInput,
8
8
  AcceptInvitationCommandOutput,
9
9
  } from "./commands/AcceptInvitationCommand";
10
+ import {
11
+ BatchDeleteAutomationRulesCommandInput,
12
+ BatchDeleteAutomationRulesCommandOutput,
13
+ } from "./commands/BatchDeleteAutomationRulesCommand";
10
14
  import {
11
15
  BatchDisableStandardsCommandInput,
12
16
  BatchDisableStandardsCommandOutput,
@@ -15,6 +19,10 @@ import {
15
19
  BatchEnableStandardsCommandInput,
16
20
  BatchEnableStandardsCommandOutput,
17
21
  } from "./commands/BatchEnableStandardsCommand";
22
+ import {
23
+ BatchGetAutomationRulesCommandInput,
24
+ BatchGetAutomationRulesCommandOutput,
25
+ } from "./commands/BatchGetAutomationRulesCommand";
18
26
  import {
19
27
  BatchGetSecurityControlsCommandInput,
20
28
  BatchGetSecurityControlsCommandOutput,
@@ -27,6 +35,10 @@ import {
27
35
  BatchImportFindingsCommandInput,
28
36
  BatchImportFindingsCommandOutput,
29
37
  } from "./commands/BatchImportFindingsCommand";
38
+ import {
39
+ BatchUpdateAutomationRulesCommandInput,
40
+ BatchUpdateAutomationRulesCommandOutput,
41
+ } from "./commands/BatchUpdateAutomationRulesCommand";
30
42
  import {
31
43
  BatchUpdateFindingsCommandInput,
32
44
  BatchUpdateFindingsCommandOutput,
@@ -39,6 +51,10 @@ import {
39
51
  CreateActionTargetCommandInput,
40
52
  CreateActionTargetCommandOutput,
41
53
  } from "./commands/CreateActionTargetCommand";
54
+ import {
55
+ CreateAutomationRuleCommandInput,
56
+ CreateAutomationRuleCommandOutput,
57
+ } from "./commands/CreateAutomationRuleCommand";
42
58
  import {
43
59
  CreateFindingAggregatorCommandInput,
44
60
  CreateFindingAggregatorCommandOutput,
@@ -179,6 +195,10 @@ import {
179
195
  InviteMembersCommandInput,
180
196
  InviteMembersCommandOutput,
181
197
  } from "./commands/InviteMembersCommand";
198
+ import {
199
+ ListAutomationRulesCommandInput,
200
+ ListAutomationRulesCommandOutput,
201
+ } from "./commands/ListAutomationRulesCommand";
182
202
  import {
183
203
  ListEnabledProductsForImportCommandInput,
184
204
  ListEnabledProductsForImportCommandOutput,
@@ -275,6 +295,19 @@ export interface SecurityHub {
275
295
  options: __HttpHandlerOptions,
276
296
  cb: (err: any, data?: AcceptInvitationCommandOutput) => void
277
297
  ): void;
298
+ batchDeleteAutomationRules(
299
+ args: BatchDeleteAutomationRulesCommandInput,
300
+ options?: __HttpHandlerOptions
301
+ ): Promise<BatchDeleteAutomationRulesCommandOutput>;
302
+ batchDeleteAutomationRules(
303
+ args: BatchDeleteAutomationRulesCommandInput,
304
+ cb: (err: any, data?: BatchDeleteAutomationRulesCommandOutput) => void
305
+ ): void;
306
+ batchDeleteAutomationRules(
307
+ args: BatchDeleteAutomationRulesCommandInput,
308
+ options: __HttpHandlerOptions,
309
+ cb: (err: any, data?: BatchDeleteAutomationRulesCommandOutput) => void
310
+ ): void;
278
311
  batchDisableStandards(
279
312
  args: BatchDisableStandardsCommandInput,
280
313
  options?: __HttpHandlerOptions
@@ -301,6 +334,19 @@ export interface SecurityHub {
301
334
  options: __HttpHandlerOptions,
302
335
  cb: (err: any, data?: BatchEnableStandardsCommandOutput) => void
303
336
  ): void;
337
+ batchGetAutomationRules(
338
+ args: BatchGetAutomationRulesCommandInput,
339
+ options?: __HttpHandlerOptions
340
+ ): Promise<BatchGetAutomationRulesCommandOutput>;
341
+ batchGetAutomationRules(
342
+ args: BatchGetAutomationRulesCommandInput,
343
+ cb: (err: any, data?: BatchGetAutomationRulesCommandOutput) => void
344
+ ): void;
345
+ batchGetAutomationRules(
346
+ args: BatchGetAutomationRulesCommandInput,
347
+ options: __HttpHandlerOptions,
348
+ cb: (err: any, data?: BatchGetAutomationRulesCommandOutput) => void
349
+ ): void;
304
350
  batchGetSecurityControls(
305
351
  args: BatchGetSecurityControlsCommandInput,
306
352
  options?: __HttpHandlerOptions
@@ -346,6 +392,19 @@ export interface SecurityHub {
346
392
  options: __HttpHandlerOptions,
347
393
  cb: (err: any, data?: BatchImportFindingsCommandOutput) => void
348
394
  ): void;
395
+ batchUpdateAutomationRules(
396
+ args: BatchUpdateAutomationRulesCommandInput,
397
+ options?: __HttpHandlerOptions
398
+ ): Promise<BatchUpdateAutomationRulesCommandOutput>;
399
+ batchUpdateAutomationRules(
400
+ args: BatchUpdateAutomationRulesCommandInput,
401
+ cb: (err: any, data?: BatchUpdateAutomationRulesCommandOutput) => void
402
+ ): void;
403
+ batchUpdateAutomationRules(
404
+ args: BatchUpdateAutomationRulesCommandInput,
405
+ options: __HttpHandlerOptions,
406
+ cb: (err: any, data?: BatchUpdateAutomationRulesCommandOutput) => void
407
+ ): void;
349
408
  batchUpdateFindings(
350
409
  args: BatchUpdateFindingsCommandInput,
351
410
  options?: __HttpHandlerOptions
@@ -391,6 +450,19 @@ export interface SecurityHub {
391
450
  options: __HttpHandlerOptions,
392
451
  cb: (err: any, data?: CreateActionTargetCommandOutput) => void
393
452
  ): void;
453
+ createAutomationRule(
454
+ args: CreateAutomationRuleCommandInput,
455
+ options?: __HttpHandlerOptions
456
+ ): Promise<CreateAutomationRuleCommandOutput>;
457
+ createAutomationRule(
458
+ args: CreateAutomationRuleCommandInput,
459
+ cb: (err: any, data?: CreateAutomationRuleCommandOutput) => void
460
+ ): void;
461
+ createAutomationRule(
462
+ args: CreateAutomationRuleCommandInput,
463
+ options: __HttpHandlerOptions,
464
+ cb: (err: any, data?: CreateAutomationRuleCommandOutput) => void
465
+ ): void;
394
466
  createFindingAggregator(
395
467
  args: CreateFindingAggregatorCommandInput,
396
468
  options?: __HttpHandlerOptions
@@ -858,6 +930,19 @@ export interface SecurityHub {
858
930
  options: __HttpHandlerOptions,
859
931
  cb: (err: any, data?: InviteMembersCommandOutput) => void
860
932
  ): void;
933
+ listAutomationRules(
934
+ args: ListAutomationRulesCommandInput,
935
+ options?: __HttpHandlerOptions
936
+ ): Promise<ListAutomationRulesCommandOutput>;
937
+ listAutomationRules(
938
+ args: ListAutomationRulesCommandInput,
939
+ cb: (err: any, data?: ListAutomationRulesCommandOutput) => void
940
+ ): void;
941
+ listAutomationRules(
942
+ args: ListAutomationRulesCommandInput,
943
+ options: __HttpHandlerOptions,
944
+ cb: (err: any, data?: ListAutomationRulesCommandOutput) => void
945
+ ): void;
861
946
  listEnabledProductsForImport(
862
947
  args: ListEnabledProductsForImportCommandInput,
863
948
  options?: __HttpHandlerOptions
@@ -54,6 +54,10 @@ import {
54
54
  AcceptInvitationCommandInput,
55
55
  AcceptInvitationCommandOutput,
56
56
  } from "./commands/AcceptInvitationCommand";
57
+ import {
58
+ BatchDeleteAutomationRulesCommandInput,
59
+ BatchDeleteAutomationRulesCommandOutput,
60
+ } from "./commands/BatchDeleteAutomationRulesCommand";
57
61
  import {
58
62
  BatchDisableStandardsCommandInput,
59
63
  BatchDisableStandardsCommandOutput,
@@ -62,6 +66,10 @@ import {
62
66
  BatchEnableStandardsCommandInput,
63
67
  BatchEnableStandardsCommandOutput,
64
68
  } from "./commands/BatchEnableStandardsCommand";
69
+ import {
70
+ BatchGetAutomationRulesCommandInput,
71
+ BatchGetAutomationRulesCommandOutput,
72
+ } from "./commands/BatchGetAutomationRulesCommand";
65
73
  import {
66
74
  BatchGetSecurityControlsCommandInput,
67
75
  BatchGetSecurityControlsCommandOutput,
@@ -74,6 +82,10 @@ import {
74
82
  BatchImportFindingsCommandInput,
75
83
  BatchImportFindingsCommandOutput,
76
84
  } from "./commands/BatchImportFindingsCommand";
85
+ import {
86
+ BatchUpdateAutomationRulesCommandInput,
87
+ BatchUpdateAutomationRulesCommandOutput,
88
+ } from "./commands/BatchUpdateAutomationRulesCommand";
77
89
  import {
78
90
  BatchUpdateFindingsCommandInput,
79
91
  BatchUpdateFindingsCommandOutput,
@@ -86,6 +98,10 @@ import {
86
98
  CreateActionTargetCommandInput,
87
99
  CreateActionTargetCommandOutput,
88
100
  } from "./commands/CreateActionTargetCommand";
101
+ import {
102
+ CreateAutomationRuleCommandInput,
103
+ CreateAutomationRuleCommandOutput,
104
+ } from "./commands/CreateAutomationRuleCommand";
89
105
  import {
90
106
  CreateFindingAggregatorCommandInput,
91
107
  CreateFindingAggregatorCommandOutput,
@@ -226,6 +242,10 @@ import {
226
242
  InviteMembersCommandInput,
227
243
  InviteMembersCommandOutput,
228
244
  } from "./commands/InviteMembersCommand";
245
+ import {
246
+ ListAutomationRulesCommandInput,
247
+ ListAutomationRulesCommandOutput,
248
+ } from "./commands/ListAutomationRulesCommand";
229
249
  import {
230
250
  ListEnabledProductsForImportCommandInput,
231
251
  ListEnabledProductsForImportCommandOutput,
@@ -303,14 +323,18 @@ export { __Client };
303
323
  export type ServiceInputTypes =
304
324
  | AcceptAdministratorInvitationCommandInput
305
325
  | AcceptInvitationCommandInput
326
+ | BatchDeleteAutomationRulesCommandInput
306
327
  | BatchDisableStandardsCommandInput
307
328
  | BatchEnableStandardsCommandInput
329
+ | BatchGetAutomationRulesCommandInput
308
330
  | BatchGetSecurityControlsCommandInput
309
331
  | BatchGetStandardsControlAssociationsCommandInput
310
332
  | BatchImportFindingsCommandInput
333
+ | BatchUpdateAutomationRulesCommandInput
311
334
  | BatchUpdateFindingsCommandInput
312
335
  | BatchUpdateStandardsControlAssociationsCommandInput
313
336
  | CreateActionTargetCommandInput
337
+ | CreateAutomationRuleCommandInput
314
338
  | CreateFindingAggregatorCommandInput
315
339
  | CreateInsightCommandInput
316
340
  | CreateMembersCommandInput
@@ -346,6 +370,7 @@ export type ServiceInputTypes =
346
370
  | GetMasterAccountCommandInput
347
371
  | GetMembersCommandInput
348
372
  | InviteMembersCommandInput
373
+ | ListAutomationRulesCommandInput
349
374
  | ListEnabledProductsForImportCommandInput
350
375
  | ListFindingAggregatorsCommandInput
351
376
  | ListInvitationsCommandInput
@@ -366,14 +391,18 @@ export type ServiceInputTypes =
366
391
  export type ServiceOutputTypes =
367
392
  | AcceptAdministratorInvitationCommandOutput
368
393
  | AcceptInvitationCommandOutput
394
+ | BatchDeleteAutomationRulesCommandOutput
369
395
  | BatchDisableStandardsCommandOutput
370
396
  | BatchEnableStandardsCommandOutput
397
+ | BatchGetAutomationRulesCommandOutput
371
398
  | BatchGetSecurityControlsCommandOutput
372
399
  | BatchGetStandardsControlAssociationsCommandOutput
373
400
  | BatchImportFindingsCommandOutput
401
+ | BatchUpdateAutomationRulesCommandOutput
374
402
  | BatchUpdateFindingsCommandOutput
375
403
  | BatchUpdateStandardsControlAssociationsCommandOutput
376
404
  | CreateActionTargetCommandOutput
405
+ | CreateAutomationRuleCommandOutput
377
406
  | CreateFindingAggregatorCommandOutput
378
407
  | CreateInsightCommandOutput
379
408
  | CreateMembersCommandOutput
@@ -409,6 +438,7 @@ export type ServiceOutputTypes =
409
438
  | GetMasterAccountCommandOutput
410
439
  | GetMembersCommandOutput
411
440
  | InviteMembersCommandOutput
441
+ | ListAutomationRulesCommandOutput
412
442
  | ListEnabledProductsForImportCommandOutput
413
443
  | ListFindingAggregatorsCommandOutput
414
444
  | ListInvitationsCommandOutput
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ BatchDeleteAutomationRulesRequest,
11
+ BatchDeleteAutomationRulesResponse,
12
+ } from "../models/models_2";
13
+ import {
14
+ SecurityHubClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../SecurityHubClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface BatchDeleteAutomationRulesCommandInput
20
+ extends BatchDeleteAutomationRulesRequest {}
21
+ export interface BatchDeleteAutomationRulesCommandOutput
22
+ extends BatchDeleteAutomationRulesResponse,
23
+ __MetadataBearer {}
24
+ export declare class BatchDeleteAutomationRulesCommand extends $Command<
25
+ BatchDeleteAutomationRulesCommandInput,
26
+ BatchDeleteAutomationRulesCommandOutput,
27
+ SecurityHubClientResolvedConfig
28
+ > {
29
+ readonly input: BatchDeleteAutomationRulesCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: BatchDeleteAutomationRulesCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SecurityHubClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ BatchDeleteAutomationRulesCommandInput,
38
+ BatchDeleteAutomationRulesCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  BatchDisableStandardsRequest,
11
11
  BatchDisableStandardsResponse,
12
- } from "../models/models_1";
12
+ } from "../models/models_2";
13
13
  import {
14
14
  SecurityHubClientResolvedConfig,
15
15
  ServiceInputTypes,
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  BatchEnableStandardsRequest,
11
11
  BatchEnableStandardsResponse,
12
- } from "../models/models_1";
12
+ } from "../models/models_2";
13
13
  import {
14
14
  SecurityHubClientResolvedConfig,
15
15
  ServiceInputTypes,
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ BatchGetAutomationRulesRequest,
11
+ BatchGetAutomationRulesResponse,
12
+ } from "../models/models_2";
13
+ import {
14
+ SecurityHubClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../SecurityHubClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface BatchGetAutomationRulesCommandInput
20
+ extends BatchGetAutomationRulesRequest {}
21
+ export interface BatchGetAutomationRulesCommandOutput
22
+ extends BatchGetAutomationRulesResponse,
23
+ __MetadataBearer {}
24
+ export declare class BatchGetAutomationRulesCommand extends $Command<
25
+ BatchGetAutomationRulesCommandInput,
26
+ BatchGetAutomationRulesCommandOutput,
27
+ SecurityHubClientResolvedConfig
28
+ > {
29
+ readonly input: BatchGetAutomationRulesCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: BatchGetAutomationRulesCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SecurityHubClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ BatchGetAutomationRulesCommandInput,
38
+ BatchGetAutomationRulesCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ BatchUpdateAutomationRulesRequest,
11
+ BatchUpdateAutomationRulesResponse,
12
+ } from "../models/models_2";
13
+ import {
14
+ SecurityHubClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../SecurityHubClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface BatchUpdateAutomationRulesCommandInput
20
+ extends BatchUpdateAutomationRulesRequest {}
21
+ export interface BatchUpdateAutomationRulesCommandOutput
22
+ extends BatchUpdateAutomationRulesResponse,
23
+ __MetadataBearer {}
24
+ export declare class BatchUpdateAutomationRulesCommand extends $Command<
25
+ BatchUpdateAutomationRulesCommandInput,
26
+ BatchUpdateAutomationRulesCommandOutput,
27
+ SecurityHubClientResolvedConfig
28
+ > {
29
+ readonly input: BatchUpdateAutomationRulesCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: BatchUpdateAutomationRulesCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SecurityHubClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ BatchUpdateAutomationRulesCommandInput,
38
+ BatchUpdateAutomationRulesCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CreateAutomationRuleRequest,
11
+ CreateAutomationRuleResponse,
12
+ } from "../models/models_2";
13
+ import {
14
+ SecurityHubClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../SecurityHubClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface CreateAutomationRuleCommandInput
20
+ extends CreateAutomationRuleRequest {}
21
+ export interface CreateAutomationRuleCommandOutput
22
+ extends CreateAutomationRuleResponse,
23
+ __MetadataBearer {}
24
+ export declare class CreateAutomationRuleCommand extends $Command<
25
+ CreateAutomationRuleCommandInput,
26
+ CreateAutomationRuleCommandOutput,
27
+ SecurityHubClientResolvedConfig
28
+ > {
29
+ readonly input: CreateAutomationRuleCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: CreateAutomationRuleCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SecurityHubClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ CreateAutomationRuleCommandInput,
38
+ CreateAutomationRuleCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ ListAutomationRulesRequest,
11
+ ListAutomationRulesResponse,
12
+ } from "../models/models_2";
13
+ import {
14
+ SecurityHubClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../SecurityHubClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListAutomationRulesCommandInput
20
+ extends ListAutomationRulesRequest {}
21
+ export interface ListAutomationRulesCommandOutput
22
+ extends ListAutomationRulesResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListAutomationRulesCommand extends $Command<
25
+ ListAutomationRulesCommandInput,
26
+ ListAutomationRulesCommandOutput,
27
+ SecurityHubClientResolvedConfig
28
+ > {
29
+ readonly input: ListAutomationRulesCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListAutomationRulesCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SecurityHubClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<ListAutomationRulesCommandInput, ListAutomationRulesCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -1,13 +1,17 @@
1
1
  export * from "./AcceptAdministratorInvitationCommand";
2
2
  export * from "./AcceptInvitationCommand";
3
+ export * from "./BatchDeleteAutomationRulesCommand";
3
4
  export * from "./BatchDisableStandardsCommand";
4
5
  export * from "./BatchEnableStandardsCommand";
6
+ export * from "./BatchGetAutomationRulesCommand";
5
7
  export * from "./BatchGetSecurityControlsCommand";
6
8
  export * from "./BatchGetStandardsControlAssociationsCommand";
7
9
  export * from "./BatchImportFindingsCommand";
10
+ export * from "./BatchUpdateAutomationRulesCommand";
8
11
  export * from "./BatchUpdateFindingsCommand";
9
12
  export * from "./BatchUpdateStandardsControlAssociationsCommand";
10
13
  export * from "./CreateActionTargetCommand";
14
+ export * from "./CreateAutomationRuleCommand";
11
15
  export * from "./CreateFindingAggregatorCommand";
12
16
  export * from "./CreateInsightCommand";
13
17
  export * from "./CreateMembersCommand";
@@ -43,6 +47,7 @@ export * from "./GetInvitationsCountCommand";
43
47
  export * from "./GetMasterAccountCommand";
44
48
  export * from "./GetMembersCommand";
45
49
  export * from "./InviteMembersCommand";
50
+ export * from "./ListAutomationRulesCommand";
46
51
  export * from "./ListEnabledProductsForImportCommand";
47
52
  export * from "./ListFindingAggregatorsCommand";
48
53
  export * from "./ListInvitationsCommand";