@aws-sdk/client-securityhub 3.350.0 → 3.353.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/dist-cjs/SecurityHub.js +10 -0
- package/dist-cjs/commands/BatchDeleteAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/BatchGetAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/BatchUpdateAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/CreateAutomationRuleCommand.js +46 -0
- package/dist-cjs/commands/ListAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +40 -1
- package/dist-cjs/models/models_1.js +1 -44
- package/dist-cjs/models/models_2.js +12 -1
- package/dist-cjs/protocols/Aws_restJson1.js +553 -3
- package/dist-es/SecurityHub.js +10 -0
- package/dist-es/commands/BatchDeleteAutomationRulesCommand.js +42 -0
- package/dist-es/commands/BatchGetAutomationRulesCommand.js +42 -0
- package/dist-es/commands/BatchUpdateAutomationRulesCommand.js +42 -0
- package/dist-es/commands/CreateAutomationRuleCommand.js +42 -0
- package/dist-es/commands/ListAutomationRulesCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +39 -0
- package/dist-es/models/models_1.js +0 -43
- package/dist-es/models/models_2.js +11 -0
- package/dist-es/protocols/Aws_restJson1.js +540 -0
- package/dist-types/SecurityHub.d.ts +35 -0
- package/dist-types/SecurityHubClient.d.ts +7 -2
- package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +131 -0
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +384 -0
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +311 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +339 -0
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +145 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +6010 -5729
- package/dist-types/models/models_1.d.ts +645 -439
- package/dist-types/models/models_2.d.ts +423 -108
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +85 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchDeleteAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchDisableStandardsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchEnableStandardsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchGetAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchUpdateAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAutomationRuleCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +167 -136
- package/dist-types/ts3.4/models/models_1.d.ts +145 -123
- package/dist-types/ts3.4/models/models_2.d.ts +112 -16
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +13 -13
|
@@ -0,0 +1,384 @@
|
|
|
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
|
+
* @example To update one ore more automation rules
|
|
269
|
+
* ```javascript
|
|
270
|
+
* // The following example updates the specified automation rules.
|
|
271
|
+
* const input = {
|
|
272
|
+
* "AutomationRulesArns": [
|
|
273
|
+
* "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
274
|
+
* "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
|
|
275
|
+
* ]
|
|
276
|
+
* };
|
|
277
|
+
* const command = new BatchGetAutomationRulesCommand(input);
|
|
278
|
+
* const response = await client.send(command);
|
|
279
|
+
* /* response ==
|
|
280
|
+
* {
|
|
281
|
+
* "Rules": [
|
|
282
|
+
* {
|
|
283
|
+
* "Actions": [
|
|
284
|
+
* {
|
|
285
|
+
* "FindingFieldsUpdate": {
|
|
286
|
+
* "Workflow": {
|
|
287
|
+
* "Status": "RESOLVED"
|
|
288
|
+
* }
|
|
289
|
+
* },
|
|
290
|
+
* "Type": "FINDING_FIELDS_UPDATE"
|
|
291
|
+
* }
|
|
292
|
+
* ],
|
|
293
|
+
* "CreatedAt": "2022-08-31T01:52:33.250Z",
|
|
294
|
+
* "CreatedBy": "AROAJURBUYQQNL5OL2TIM:TEST-16MJ75L9VBK14",
|
|
295
|
+
* "Criteria": {
|
|
296
|
+
* "AwsAccountId": [
|
|
297
|
+
* {
|
|
298
|
+
* "Comparison": "EQUALS",
|
|
299
|
+
* "Value": "111122223333"
|
|
300
|
+
* }
|
|
301
|
+
* ],
|
|
302
|
+
* "FirstObservedAt": [
|
|
303
|
+
* {
|
|
304
|
+
* "DateRange": {
|
|
305
|
+
* "Unit": "DAYS",
|
|
306
|
+
* "Value": 5
|
|
307
|
+
* }
|
|
308
|
+
* }
|
|
309
|
+
* ],
|
|
310
|
+
* "Type": [
|
|
311
|
+
* {
|
|
312
|
+
* "Comparison": "EQUALS",
|
|
313
|
+
* "Value": "Software and Configuration Checks/Industry and Regulatory Standards"
|
|
314
|
+
* }
|
|
315
|
+
* ]
|
|
316
|
+
* },
|
|
317
|
+
* "Description": "sample rule description 1",
|
|
318
|
+
* "RuleArn": "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
319
|
+
* "RuleName": "sample-rule-name-1",
|
|
320
|
+
* "RuleOrder": 1,
|
|
321
|
+
* "RuleStatus": "ENABLED",
|
|
322
|
+
* "UpdatedAt": "2022-08-31T01:52:33.250Z"
|
|
323
|
+
* },
|
|
324
|
+
* {
|
|
325
|
+
* "Actions": [
|
|
326
|
+
* {
|
|
327
|
+
* "FindingFieldsUpdate": {
|
|
328
|
+
* "Workflow": {
|
|
329
|
+
* "Status": "RESOLVED"
|
|
330
|
+
* }
|
|
331
|
+
* },
|
|
332
|
+
* "Type": "FINDING_FIELDS_UPDATE"
|
|
333
|
+
* }
|
|
334
|
+
* ],
|
|
335
|
+
* "CreatedAt": "2022-08-31T01:52:33.250Z",
|
|
336
|
+
* "CreatedBy": "AROAJURBUYQQNL5OL2TIM:TEST-16MJ75L9VBK14",
|
|
337
|
+
* "Criteria": {
|
|
338
|
+
* "ResourceType": [
|
|
339
|
+
* {
|
|
340
|
+
* "Comparison": "EQUALS",
|
|
341
|
+
* "Value": "Ec2Instance"
|
|
342
|
+
* }
|
|
343
|
+
* ],
|
|
344
|
+
* "SeverityLabel": [
|
|
345
|
+
* {
|
|
346
|
+
* "Comparison": "EQUALS",
|
|
347
|
+
* "Value": "INFORMATIONAL"
|
|
348
|
+
* }
|
|
349
|
+
* ]
|
|
350
|
+
* },
|
|
351
|
+
* "Description": "Sample rule description 2",
|
|
352
|
+
* "RuleArn": "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
|
|
353
|
+
* "RuleName": "sample-rule-name-2",
|
|
354
|
+
* "RuleOrder": 2,
|
|
355
|
+
* "RuleStatus": "ENABLED",
|
|
356
|
+
* "UpdatedAt": "2022-08-31T01:52:33.250Z"
|
|
357
|
+
* }
|
|
358
|
+
* ]
|
|
359
|
+
* }
|
|
360
|
+
* *\/
|
|
361
|
+
* // example id: to-update-one-ore-more-automation-rules-1684771025347
|
|
362
|
+
* ```
|
|
363
|
+
*
|
|
364
|
+
*/
|
|
365
|
+
export declare class BatchGetAutomationRulesCommand extends $Command<BatchGetAutomationRulesCommandInput, BatchGetAutomationRulesCommandOutput, SecurityHubClientResolvedConfig> {
|
|
366
|
+
readonly input: BatchGetAutomationRulesCommandInput;
|
|
367
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
368
|
+
/**
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
constructor(input: BatchGetAutomationRulesCommandInput);
|
|
372
|
+
/**
|
|
373
|
+
* @internal
|
|
374
|
+
*/
|
|
375
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetAutomationRulesCommandInput, BatchGetAutomationRulesCommandOutput>;
|
|
376
|
+
/**
|
|
377
|
+
* @internal
|
|
378
|
+
*/
|
|
379
|
+
private serialize;
|
|
380
|
+
/**
|
|
381
|
+
* @internal
|
|
382
|
+
*/
|
|
383
|
+
private deserialize;
|
|
384
|
+
}
|