@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.
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 +5 -5
@@ -1,7 +1,245 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { AccountDetails, ActionTarget, AdminAccount, AssociationStatus, AutoEnableStandards } from "./models_0";
3
- import { AwsSecurityFinding, AwsSecurityFindingFilters, AwsSecurityFindingIdentifier, RecordState, RelatedFinding, SeverityLabel, StandardsSubscription, VerificationState, WorkflowStatus } from "./models_1";
2
+ import { AccountDetails, ActionTarget, AdminAccount, AssociationStatus, AutoEnableStandards, AutomationRulesAction, AutomationRulesConfig, AutomationRulesFindingFilters, AutomationRulesMetadata, NoteUpdate, RelatedFinding, RuleStatus, SeverityUpdate, VerificationState, WorkflowUpdate } from "./models_0";
3
+ import { AwsSecurityFinding, AwsSecurityFindingFilters, RecordState } from "./models_1";
4
4
  import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
5
+ /**
6
+ * @public
7
+ * <p>Identifies which finding to get the finding history for.</p>
8
+ */
9
+ export interface AwsSecurityFindingIdentifier {
10
+ /**
11
+ * <p>The identifier of the finding that was specified by the finding provider.</p>
12
+ */
13
+ Id: string | undefined;
14
+ /**
15
+ * <p>The ARN generated by Security Hub that uniquely identifies a product that generates findings.
16
+ * This can be the ARN for a third-party product that is integrated with Security Hub, or the ARN for
17
+ * a custom integration.</p>
18
+ */
19
+ ProductArn: string | undefined;
20
+ }
21
+ /**
22
+ * @public
23
+ */
24
+ export interface BatchDeleteAutomationRulesRequest {
25
+ /**
26
+ * <p>
27
+ * A list of Amazon Resource Names (ARNs) for the rules that are to be deleted.
28
+ * </p>
29
+ */
30
+ AutomationRulesArns: string[] | undefined;
31
+ }
32
+ /**
33
+ * @public
34
+ * <p>
35
+ * A list of objects containing <code>RuleArn</code>, <code>ErrorCode</code>, and <code>ErrorMessage</code>. This parameter
36
+ * tells you which automation rules the request didn't process and why.
37
+ * </p>
38
+ */
39
+ export interface UnprocessedAutomationRule {
40
+ /**
41
+ * <p>
42
+ * The Amazon Resource Name (ARN) for the unprocessed automation rule.
43
+ * </p>
44
+ */
45
+ RuleArn?: string;
46
+ /**
47
+ * <p>
48
+ * The error code associated with the unprocessed automation rule.
49
+ * </p>
50
+ */
51
+ ErrorCode?: number;
52
+ /**
53
+ * <p>
54
+ * An error message describing why a request didn't process a specific rule.
55
+ * </p>
56
+ */
57
+ ErrorMessage?: string;
58
+ }
59
+ /**
60
+ * @public
61
+ */
62
+ export interface BatchDeleteAutomationRulesResponse {
63
+ /**
64
+ * <p>
65
+ * A list of properly processed rule ARNs.
66
+ * </p>
67
+ */
68
+ ProcessedAutomationRules?: string[];
69
+ /**
70
+ * <p>
71
+ * A list of objects containing <code>RuleArn</code>, <code>ErrorCode</code>, and <code>ErrorMessage</code>. This parameter
72
+ * tells you which automation rules the request didn't delete and why.
73
+ * </p>
74
+ */
75
+ UnprocessedAutomationRules?: UnprocessedAutomationRule[];
76
+ }
77
+ /**
78
+ * @public
79
+ */
80
+ export interface BatchDisableStandardsRequest {
81
+ /**
82
+ * <p>The ARNs of the standards subscriptions to disable.</p>
83
+ */
84
+ StandardsSubscriptionArns: string[] | undefined;
85
+ }
86
+ /**
87
+ * @public
88
+ * @enum
89
+ */
90
+ export declare const StandardsStatus: {
91
+ readonly DELETING: "DELETING";
92
+ readonly FAILED: "FAILED";
93
+ readonly INCOMPLETE: "INCOMPLETE";
94
+ readonly PENDING: "PENDING";
95
+ readonly READY: "READY";
96
+ };
97
+ /**
98
+ * @public
99
+ */
100
+ export type StandardsStatus = (typeof StandardsStatus)[keyof typeof StandardsStatus];
101
+ /**
102
+ * @public
103
+ * @enum
104
+ */
105
+ export declare const StatusReasonCode: {
106
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
107
+ readonly NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER";
108
+ };
109
+ /**
110
+ * @public
111
+ */
112
+ export type StatusReasonCode = (typeof StatusReasonCode)[keyof typeof StatusReasonCode];
113
+ /**
114
+ * @public
115
+ * <p>The reason for the current status of a standard subscription.</p>
116
+ */
117
+ export interface StandardsStatusReason {
118
+ /**
119
+ * <p>The reason code that represents the reason for the current status of a standard subscription.</p>
120
+ */
121
+ StatusReasonCode: StatusReasonCode | string | undefined;
122
+ }
123
+ /**
124
+ * @public
125
+ * <p>A resource that represents your subscription to a supported standard.</p>
126
+ */
127
+ export interface StandardsSubscription {
128
+ /**
129
+ * <p>The ARN of a resource that represents your subscription to a supported standard.</p>
130
+ */
131
+ StandardsSubscriptionArn: string | undefined;
132
+ /**
133
+ * <p>The ARN of a standard.</p>
134
+ */
135
+ StandardsArn: string | undefined;
136
+ /**
137
+ * <p>A key-value pair of input for the standard.</p>
138
+ */
139
+ StandardsInput: Record<string, string> | undefined;
140
+ /**
141
+ * <p>The status of the standard subscription.</p>
142
+ * <p>The status values are as follows:</p>
143
+ * <ul>
144
+ * <li>
145
+ * <p>
146
+ * <code>PENDING</code> - Standard is in the process of being enabled.</p>
147
+ * </li>
148
+ * <li>
149
+ * <p>
150
+ * <code>READY</code> - Standard is enabled.</p>
151
+ * </li>
152
+ * <li>
153
+ * <p>
154
+ * <code>INCOMPLETE</code> - Standard could not be enabled completely. Some controls may not be available.</p>
155
+ * </li>
156
+ * <li>
157
+ * <p>
158
+ * <code>DELETING</code> - Standard is in the process of being disabled.</p>
159
+ * </li>
160
+ * <li>
161
+ * <p>
162
+ * <code>FAILED</code> - Standard could not be disabled.</p>
163
+ * </li>
164
+ * </ul>
165
+ */
166
+ StandardsStatus: StandardsStatus | string | undefined;
167
+ /**
168
+ * <p>The reason for the current status.</p>
169
+ */
170
+ StandardsStatusReason?: StandardsStatusReason;
171
+ }
172
+ /**
173
+ * @public
174
+ */
175
+ export interface BatchDisableStandardsResponse {
176
+ /**
177
+ * <p>The details of the standards subscriptions that were disabled.</p>
178
+ */
179
+ StandardsSubscriptions?: StandardsSubscription[];
180
+ }
181
+ /**
182
+ * @public
183
+ * <p>The standard that you want to enable.</p>
184
+ */
185
+ export interface StandardsSubscriptionRequest {
186
+ /**
187
+ * <p>The ARN of the standard that you want to enable. To view the list of available standards
188
+ * and their ARNs, use the <code>DescribeStandards</code> operation.</p>
189
+ */
190
+ StandardsArn: string | undefined;
191
+ /**
192
+ * <p>A key-value pair of input for the standard.</p>
193
+ */
194
+ StandardsInput?: Record<string, string>;
195
+ }
196
+ /**
197
+ * @public
198
+ */
199
+ export interface BatchEnableStandardsRequest {
200
+ /**
201
+ * <p>The list of standards checks to enable.</p>
202
+ */
203
+ StandardsSubscriptionRequests: StandardsSubscriptionRequest[] | undefined;
204
+ }
205
+ /**
206
+ * @public
207
+ */
208
+ export interface BatchEnableStandardsResponse {
209
+ /**
210
+ * <p>The details of the standards subscriptions that were enabled.</p>
211
+ */
212
+ StandardsSubscriptions?: StandardsSubscription[];
213
+ }
214
+ /**
215
+ * @public
216
+ */
217
+ export interface BatchGetAutomationRulesRequest {
218
+ /**
219
+ * <p>
220
+ * A list of rule ARNs to get details for.
221
+ * </p>
222
+ */
223
+ AutomationRulesArns: string[] | undefined;
224
+ }
225
+ /**
226
+ * @public
227
+ */
228
+ export interface BatchGetAutomationRulesResponse {
229
+ /**
230
+ * <p>
231
+ * A list of rule details for the provided rule ARNs.
232
+ * </p>
233
+ */
234
+ Rules?: AutomationRulesConfig[];
235
+ /**
236
+ * <p>
237
+ * A list of objects containing <code>RuleArn</code>, <code>ErrorCode</code>, and <code>ErrorMessage</code>. This parameter
238
+ * tells you which automation rules the request didn't retrieve and why.
239
+ * </p>
240
+ */
241
+ UnprocessedAutomationRules?: UnprocessedAutomationRule[];
242
+ }
5
243
  /**
6
244
  * @public
7
245
  */
@@ -343,129 +581,98 @@ export interface BatchImportFindingsResponse {
343
581
  }
344
582
  /**
345
583
  * @public
346
- * <p>The updated note.</p>
584
+ * <p>
585
+ * Specifies the parameters to update in an existing automation rule.
586
+ * </p>
347
587
  */
348
- export interface NoteUpdate {
588
+ export interface UpdateAutomationRulesRequestItem {
349
589
  /**
350
- * <p>The updated note text.</p>
590
+ * <p>
591
+ * The Amazon Resource Name (ARN) for the rule.
592
+ * </p>
351
593
  */
352
- Text: string | undefined;
594
+ RuleArn: string | undefined;
353
595
  /**
354
- * <p>The principal that updated the note.</p>
596
+ * <p>
597
+ * Whether the rule is active after it is created. If
598
+ * this parameter is equal to <code>ENABLED</code>, Security Hub will apply the rule to findings
599
+ * and finding updates after the rule is created. To change the value of this
600
+ * parameter after creating a rule, use <code>BatchUpdateAutomationRules</code>.
601
+ * </p>
355
602
  */
356
- UpdatedBy: string | undefined;
357
- }
358
- /**
359
- * @public
360
- * <p>Updates to the severity information for a finding.</p>
361
- */
362
- export interface SeverityUpdate {
603
+ RuleStatus?: RuleStatus | string;
363
604
  /**
364
- * <p>The normalized severity for the finding. This attribute is to be deprecated in favor of
365
- * <code>Label</code>.</p>
366
- * <p>If you provide <code>Normalized</code> and do not provide <code>Label</code>,
367
- * <code>Label</code> is set automatically as follows.</p>
368
- * <ul>
369
- * <li>
370
- * <p>0 - <code>INFORMATIONAL</code>
371
- * </p>
372
- * </li>
373
- * <li>
374
- * <p>1–39 - <code>LOW</code>
375
- * </p>
376
- * </li>
377
- * <li>
378
- * <p>40–69 - <code>MEDIUM</code>
379
- * </p>
380
- * </li>
381
- * <li>
382
- * <p>70–89 - <code>HIGH</code>
383
- * </p>
384
- * </li>
385
- * <li>
386
- * <p>90–100 - <code>CRITICAL</code>
387
- * </p>
388
- * </li>
389
- * </ul>
605
+ * <p> An integer ranging from 1 to 1000 that represents the order in which the rule action is
606
+ * applied to findings. Security Hub applies rules with lower values for this parameter
607
+ * first. </p>
390
608
  */
391
- Normalized?: number;
609
+ RuleOrder?: number;
392
610
  /**
393
- * <p>The native severity as defined by the Amazon Web Services service or integrated partner product that
394
- * generated the finding.</p>
611
+ * <p>
612
+ * A description of the rule.
613
+ * </p>
395
614
  */
396
- Product?: number;
615
+ Description?: string;
397
616
  /**
398
- * <p>The severity value of the finding. The allowed values are the following.</p>
399
- * <ul>
400
- * <li>
401
- * <p>
402
- * <code>INFORMATIONAL</code> - No issue was found.</p>
403
- * </li>
404
- * <li>
405
- * <p>
406
- * <code>LOW</code> - The issue does not require action on its own.</p>
407
- * </li>
408
- * <li>
409
- * <p>
410
- * <code>MEDIUM</code> - The issue must be addressed but not urgently.</p>
411
- * </li>
412
- * <li>
413
- * <p>
414
- * <code>HIGH</code> - The issue must be addressed as a priority.</p>
415
- * </li>
416
- * <li>
417
- * <p>
418
- * <code>CRITICAL</code> - The issue must be remediated immediately to avoid it
419
- * escalating.</p>
420
- * </li>
421
- * </ul>
617
+ * <p>
618
+ * The name of the rule.
619
+ * </p>
620
+ */
621
+ RuleName?: string;
622
+ /**
623
+ * <p>Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful
624
+ * when a finding matches the criteria for multiple rules, and each rule has different actions. If the value of this
625
+ * field is set to <code>true</code> for a rule, Security Hub applies the rule action to a finding that matches
626
+ * the rule criteria and won't evaluate other rules for the finding.
627
+ The default value of this field is <code>false</code>.
628
+ * </p>
422
629
  */
423
- Label?: SeverityLabel | string;
630
+ IsTerminal?: boolean;
631
+ /**
632
+ * <p>
633
+ * A set of ASFF finding field attributes and corresponding expected values that
634
+ * Security Hub uses to filter findings. If a finding matches the conditions specified in
635
+ * this parameter, Security Hub applies the rule action to the finding.
636
+ * </p>
637
+ */
638
+ Criteria?: AutomationRulesFindingFilters;
639
+ /**
640
+ * <p>
641
+ * One or more actions to update finding fields if a finding matches the conditions
642
+ * specified in <code>Criteria</code>.
643
+ * </p>
644
+ */
645
+ Actions?: AutomationRulesAction[];
424
646
  }
425
647
  /**
426
648
  * @public
427
- * <p>Used to update information about the investigation into the finding.</p>
428
649
  */
429
- export interface WorkflowUpdate {
650
+ export interface BatchUpdateAutomationRulesRequest {
430
651
  /**
431
- * <p>The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to <code>SUPPRESSED</code> or <code>RESOLVED</code> does not prevent a new finding for the same issue.</p>
432
- * <p>The allowed values are the following.</p>
433
- * <ul>
434
- * <li>
435
- * <p>
436
- * <code>NEW</code> - The initial state of a finding, before it is reviewed.</p>
437
- * <p>Security Hub also resets <code>WorkFlowStatus</code> from <code>NOTIFIED</code> or
438
- * <code>RESOLVED</code> to <code>NEW</code> in the following cases:</p>
439
- * <ul>
440
- * <li>
441
- * <p>The record state changes from <code>ARCHIVED</code> to
442
- * <code>ACTIVE</code>.</p>
443
- * </li>
444
- * <li>
445
- * <p>The compliance status changes from <code>PASSED</code> to either
446
- * <code>WARNING</code>, <code>FAILED</code>, or
447
- * <code>NOT_AVAILABLE</code>.</p>
448
- * </li>
449
- * </ul>
450
- * </li>
451
- * <li>
452
- * <p>
453
- * <code>NOTIFIED</code> - Indicates that you notified the resource owner about the
454
- * security issue. Used when the initial reviewer is not the resource owner, and needs
455
- * intervention from the resource owner.</p>
456
- * </li>
457
- * <li>
458
- * <p>
459
- * <code>RESOLVED</code> - The finding was reviewed and remediated and is now
460
- * considered resolved.</p>
461
- * </li>
462
- * <li>
463
- * <p>
464
- * <code>SUPPRESSED</code> - Indicates that you reviewed the finding and do not believe that any action is needed. The finding is no longer updated.</p>
465
- * </li>
466
- * </ul>
652
+ * <p>
653
+ * An array of ARNs for the rules that are to be updated. Optionally, you can also include
654
+ * <code>RuleStatus</code> and <code>RuleOrder</code>.
655
+ * </p>
467
656
  */
468
- Status?: WorkflowStatus | string;
657
+ UpdateAutomationRulesRequestItems: UpdateAutomationRulesRequestItem[] | undefined;
658
+ }
659
+ /**
660
+ * @public
661
+ */
662
+ export interface BatchUpdateAutomationRulesResponse {
663
+ /**
664
+ * <p>
665
+ * A list of properly processed rule ARNs.
666
+ * </p>
667
+ */
668
+ ProcessedAutomationRules?: string[];
669
+ /**
670
+ * <p>
671
+ * A list of objects containing <code>RuleArn</code>, <code>ErrorCode</code>, and <code>ErrorMessage</code>. This parameter
672
+ * tells you which automation rules the request didn't update and why.
673
+ * </p>
674
+ */
675
+ UnprocessedAutomationRules?: UnprocessedAutomationRule[];
469
676
  }
470
677
  /**
471
678
  * @public
@@ -782,6 +989,78 @@ export declare class ResourceConflictException extends __BaseException {
782
989
  */
783
990
  constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
784
991
  }
992
+ /**
993
+ * @public
994
+ */
995
+ export interface CreateAutomationRuleRequest {
996
+ /**
997
+ * <p>
998
+ * User-defined tags that help you label the purpose of a rule.
999
+ * </p>
1000
+ */
1001
+ Tags?: Record<string, string>;
1002
+ /**
1003
+ * <p>
1004
+ * Whether the rule is active after it is created. If
1005
+ * this parameter is equal to <code>Enabled</code>, Security Hub will apply the rule to findings
1006
+ * and finding updates after the rule is created. To change the value of this
1007
+ * parameter after creating a rule, use <code>BatchUpdateAutomationRules</code>.
1008
+ * </p>
1009
+ */
1010
+ RuleStatus?: RuleStatus | string;
1011
+ /**
1012
+ * <p>An integer ranging from 1 to 1000 that represents the order in which the rule action is
1013
+ * applied to findings. Security Hub applies rules with lower values for this parameter
1014
+ * first. </p>
1015
+ */
1016
+ RuleOrder: number | undefined;
1017
+ /**
1018
+ * <p>
1019
+ * The name of the rule.
1020
+ * </p>
1021
+ */
1022
+ RuleName: string | undefined;
1023
+ /**
1024
+ * <p>
1025
+ * A description of the rule.
1026
+ * </p>
1027
+ */
1028
+ Description: string | undefined;
1029
+ /**
1030
+ * <p>Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful when a finding
1031
+ * matches the criteria for multiple rules, and each rule has different actions. If the value of this field is
1032
+ * set to <code>true</code> for a rule, Security Hub applies the rule action to a finding that matches
1033
+ * the rule criteria and won't evaluate other rules for the finding. The default value of this field is <code>false</code>.
1034
+ * </p>
1035
+ */
1036
+ IsTerminal?: boolean;
1037
+ /**
1038
+ * <p>
1039
+ * A set of ASFF finding field attributes and corresponding expected values that
1040
+ * Security Hub uses to filter findings. If a finding matches the conditions specified in
1041
+ * this parameter, Security Hub applies the rule action to the finding.
1042
+ * </p>
1043
+ */
1044
+ Criteria: AutomationRulesFindingFilters | undefined;
1045
+ /**
1046
+ * <p>
1047
+ * One or more actions to update finding fields if a finding matches the conditions
1048
+ * specified in <code>Criteria</code>.
1049
+ * </p>
1050
+ */
1051
+ Actions: AutomationRulesAction[] | undefined;
1052
+ }
1053
+ /**
1054
+ * @public
1055
+ */
1056
+ export interface CreateAutomationRuleResponse {
1057
+ /**
1058
+ * <p>
1059
+ * The Amazon Resource Name (ARN) of the automation rule that you created.
1060
+ * </p>
1061
+ */
1062
+ RuleArn?: string;
1063
+ }
785
1064
  /**
786
1065
  * @public
787
1066
  */
@@ -2169,6 +2448,42 @@ export interface InviteMembersResponse {
2169
2448
  */
2170
2449
  UnprocessedAccounts?: Result[];
2171
2450
  }
2451
+ /**
2452
+ * @public
2453
+ */
2454
+ export interface ListAutomationRulesRequest {
2455
+ /**
2456
+ * <p>
2457
+ * A token to specify where to start paginating the response. This is the <code>NextToken</code>
2458
+ * from a previously truncated response. On your first call to the <code>ListAutomationRules</code>
2459
+ * API, set the value of this parameter to <code>NULL</code>.
2460
+ * </p>
2461
+ */
2462
+ NextToken?: string;
2463
+ /**
2464
+ * <p> The maximum number of rules to return in the response. This currently ranges from 1 to
2465
+ * 100. </p>
2466
+ */
2467
+ MaxResults?: number;
2468
+ }
2469
+ /**
2470
+ * @public
2471
+ */
2472
+ export interface ListAutomationRulesResponse {
2473
+ /**
2474
+ * <p>
2475
+ * Metadata for rules in the calling account. The response includes rules with a
2476
+ * <code>RuleStatus</code> of <code>ENABLED</code> and <code>DISABLED</code>.
2477
+ * </p>
2478
+ */
2479
+ AutomationRulesMetadata?: AutomationRulesMetadata[];
2480
+ /**
2481
+ * <p>
2482
+ * A pagination token for the response.
2483
+ * </p>
2484
+ */
2485
+ NextToken?: string;
2486
+ }
2172
2487
  /**
2173
2488
  * @public
2174
2489
  */