aws-sdk 2.1396.0 → 2.1397.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 (45) hide show
  1. package/CHANGELOG.md +14 -1
  2. package/README.md +1 -1
  3. package/apis/cloudtrail-2013-11-01.min.json +33 -33
  4. package/apis/codeguru-security-2018-05-10.examples.json +5 -0
  5. package/apis/codeguru-security-2018-05-10.min.json +703 -0
  6. package/apis/codeguru-security-2018-05-10.paginators.json +22 -0
  7. package/apis/drs-2020-02-26.min.json +392 -97
  8. package/apis/drs-2020-02-26.paginators.json +6 -0
  9. package/apis/ec2-2016-11-15.min.json +1178 -1013
  10. package/apis/ec2-2016-11-15.paginators.json +6 -0
  11. package/apis/lightsail-2016-11-28.min.json +4 -2
  12. package/apis/metadata.json +7 -0
  13. package/apis/s3-2006-03-01.examples.json +121 -121
  14. package/apis/securityhub-2018-10-26.examples.json +276 -0
  15. package/apis/securityhub-2018-10-26.min.json +957 -559
  16. package/apis/verifiedpermissions-2021-12-01.examples.json +5 -0
  17. package/apis/verifiedpermissions-2021-12-01.min.json +1215 -0
  18. package/apis/verifiedpermissions-2021-12-01.paginators.json +28 -0
  19. package/apis/verifiedpermissions-2021-12-01.waiters2.json +5 -0
  20. package/apis/wafv2-2019-07-29.min.json +241 -169
  21. package/apis/wellarchitected-2020-03-31.min.json +655 -75
  22. package/apis/wellarchitected-2020-03-31.paginators.json +15 -0
  23. package/clients/all.d.ts +2 -0
  24. package/clients/all.js +3 -1
  25. package/clients/cloudtrail.d.ts +28 -13
  26. package/clients/codegurusecurity.d.ts +761 -0
  27. package/clients/codegurusecurity.js +18 -0
  28. package/clients/drs.d.ts +354 -3
  29. package/clients/ec2.d.ts +225 -48
  30. package/clients/imagebuilder.d.ts +1 -1
  31. package/clients/lightsail.d.ts +12 -4
  32. package/clients/s3.d.ts +1 -1
  33. package/clients/securityhub.d.ts +470 -0
  34. package/clients/simspaceweaver.d.ts +2 -2
  35. package/clients/verifiedpermissions.d.ts +1392 -0
  36. package/clients/verifiedpermissions.js +19 -0
  37. package/clients/wafv2.d.ts +105 -27
  38. package/clients/wellarchitected.d.ts +533 -7
  39. package/dist/aws-sdk-core-react-native.js +2 -2
  40. package/dist/aws-sdk-react-native.js +95 -14
  41. package/dist/aws-sdk.js +1227 -1049
  42. package/dist/aws-sdk.min.js +80 -80
  43. package/lib/config_service_placeholders.d.ts +4 -0
  44. package/lib/core.js +1 -1
  45. package/package.json +1 -1
@@ -18,6 +18,37 @@
18
18
  "title": "To accept an invitation be a member account"
19
19
  }
20
20
  ],
21
+ "BatchDeleteAutomationRules": [
22
+ {
23
+ "input": {
24
+ "AutomationRulesArns": [
25
+ "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
26
+ "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
27
+ ]
28
+ },
29
+ "output": {
30
+ "ProcessedAutomationRules": [
31
+ "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
32
+ ],
33
+ "UnprocessedAutomationRules": [
34
+ {
35
+ "ErrorCode": 500,
36
+ "ErrorMessage": "InternalException",
37
+ "RuleArn": "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
38
+ }
39
+ ]
40
+ },
41
+ "comments": {
42
+ "input": {
43
+ },
44
+ "output": {
45
+ }
46
+ },
47
+ "description": "The following example deletes the specified automation rules.",
48
+ "id": "to-delete-one-or-more-automation-rules-1684769550318",
49
+ "title": "To delete one or more automation rules"
50
+ }
51
+ ],
21
52
  "BatchDisableStandards": [
22
53
  {
23
54
  "input": {
@@ -78,6 +109,105 @@
78
109
  "title": "To enable security standards"
79
110
  }
80
111
  ],
112
+ "BatchGetAutomationRules": [
113
+ {
114
+ "input": {
115
+ "AutomationRulesArns": [
116
+ "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
117
+ "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
118
+ ]
119
+ },
120
+ "output": {
121
+ "Rules": [
122
+ {
123
+ "Actions": [
124
+ {
125
+ "FindingFieldsUpdate": {
126
+ "Workflow": {
127
+ "Status": "RESOLVED"
128
+ }
129
+ },
130
+ "Type": "FINDING_FIELDS_UPDATE"
131
+ }
132
+ ],
133
+ "CreatedAt": "2022-08-31T01:52:33.250Z",
134
+ "CreatedBy": "AROAJURBUYQQNL5OL2TIM:TEST-16MJ75L9VBK14",
135
+ "Criteria": {
136
+ "AwsAccountId": [
137
+ {
138
+ "Comparison": "EQUALS",
139
+ "Value": "111122223333"
140
+ }
141
+ ],
142
+ "FirstObservedAt": [
143
+ {
144
+ "DateRange": {
145
+ "Unit": "DAYS",
146
+ "Value": 5
147
+ }
148
+ }
149
+ ],
150
+ "Type": [
151
+ {
152
+ "Comparison": "EQUALS",
153
+ "Value": "Software and Configuration Checks/Industry and Regulatory Standards"
154
+ }
155
+ ]
156
+ },
157
+ "Description": "sample rule description 1",
158
+ "RuleArn": "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
159
+ "RuleName": "sample-rule-name-1",
160
+ "RuleOrder": 1,
161
+ "RuleStatus": "ENABLED",
162
+ "UpdatedAt": "2022-08-31T01:52:33.250Z"
163
+ },
164
+ {
165
+ "Actions": [
166
+ {
167
+ "FindingFieldsUpdate": {
168
+ "Workflow": {
169
+ "Status": "RESOLVED"
170
+ }
171
+ },
172
+ "Type": "FINDING_FIELDS_UPDATE"
173
+ }
174
+ ],
175
+ "CreatedAt": "2022-08-31T01:52:33.250Z",
176
+ "CreatedBy": "AROAJURBUYQQNL5OL2TIM:TEST-16MJ75L9VBK14",
177
+ "Criteria": {
178
+ "ResourceType": [
179
+ {
180
+ "Comparison": "EQUALS",
181
+ "Value": "Ec2Instance"
182
+ }
183
+ ],
184
+ "SeverityLabel": [
185
+ {
186
+ "Comparison": "EQUALS",
187
+ "Value": "INFORMATIONAL"
188
+ }
189
+ ]
190
+ },
191
+ "Description": "Sample rule description 2",
192
+ "RuleArn": "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
193
+ "RuleName": "sample-rule-name-2",
194
+ "RuleOrder": 2,
195
+ "RuleStatus": "ENABLED",
196
+ "UpdatedAt": "2022-08-31T01:52:33.250Z"
197
+ }
198
+ ]
199
+ },
200
+ "comments": {
201
+ "input": {
202
+ },
203
+ "output": {
204
+ }
205
+ },
206
+ "description": "The following example updates the specified automation rules.",
207
+ "id": "to-update-one-ore-more-automation-rules-1684771025347",
208
+ "title": "To update one ore more automation rules"
209
+ }
210
+ ],
81
211
  "BatchGetSecurityControls": [
82
212
  {
83
213
  "input": {
@@ -224,6 +354,38 @@
224
354
  "title": "To import security findings from a third party provider to Security Hub"
225
355
  }
226
356
  ],
357
+ "BatchUpdateAutomationRules": [
358
+ {
359
+ "input": {
360
+ "UpdateAutomationRulesRequestItems": [
361
+ {
362
+ "RuleArn": "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
363
+ "RuleOrder": 15,
364
+ "RuleStatus": "ENABLED"
365
+ },
366
+ {
367
+ "RuleArn": "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
368
+ "RuleStatus": "DISABLED"
369
+ }
370
+ ]
371
+ },
372
+ "output": {
373
+ "ProcessedAutomationRules": [
374
+ "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
375
+ "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
376
+ ]
377
+ },
378
+ "comments": {
379
+ "input": {
380
+ },
381
+ "output": {
382
+ }
383
+ },
384
+ "description": "The following example updates the specified automation rules.",
385
+ "id": "to-update-one-ore-more-automation-rules-1684771025347",
386
+ "title": "To update one ore more automation rules"
387
+ }
388
+ ],
227
389
  "BatchUpdateFindings": [
228
390
  {
229
391
  "input": {
@@ -353,6 +515,78 @@
353
515
  "title": "To create a custom action target"
354
516
  }
355
517
  ],
518
+ "CreateAutomationRule": [
519
+ {
520
+ "input": {
521
+ "Actions": [
522
+ {
523
+ "FindingFieldsUpdate": {
524
+ "Note": {
525
+ "Text": "This is a critical S3 bucket, please look into this ASAP",
526
+ "UpdatedBy": "test-user"
527
+ },
528
+ "Severity": {
529
+ "Label": "CRITICAL"
530
+ }
531
+ },
532
+ "Type": "FINDING_FIELDS_UPDATE"
533
+ }
534
+ ],
535
+ "Criteria": {
536
+ "ComplianceStatus": [
537
+ {
538
+ "Comparison": "EQUALS",
539
+ "Value": "FAILED"
540
+ }
541
+ ],
542
+ "ProductName": [
543
+ {
544
+ "Comparison": "EQUALS",
545
+ "Value": "Security Hub"
546
+ }
547
+ ],
548
+ "RecordState": [
549
+ {
550
+ "Comparison": "EQUALS",
551
+ "Value": "ACTIVE"
552
+ }
553
+ ],
554
+ "ResourceId": [
555
+ {
556
+ "Comparison": "EQUALS",
557
+ "Value": "arn:aws:s3:::examplebucket/developers/design_info.doc"
558
+ }
559
+ ],
560
+ "WorkflowStatus": [
561
+ {
562
+ "Comparison": "EQUALS",
563
+ "Value": "NEW"
564
+ }
565
+ ]
566
+ },
567
+ "Description": "Elevate finding severity to Critical for important resources",
568
+ "IsTerminal": false,
569
+ "RuleName": "Elevate severity for important resources",
570
+ "RuleOrder": 1,
571
+ "RuleStatus": "ENABLED",
572
+ "Tags": {
573
+ "important-resources-rule": "s3-bucket"
574
+ }
575
+ },
576
+ "output": {
577
+ "RuleArn": "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
578
+ },
579
+ "comments": {
580
+ "input": {
581
+ },
582
+ "output": {
583
+ }
584
+ },
585
+ "description": "The following example creates an automation rule.",
586
+ "id": "to-create-an-automation-rule-1684768393507",
587
+ "title": "To create an automation rule"
588
+ }
589
+ ],
356
590
  "CreateFindingAggregator": [
357
591
  {
358
592
  "input": {
@@ -1292,6 +1526,48 @@
1292
1526
  "title": "To invite accounts to become members"
1293
1527
  }
1294
1528
  ],
1529
+ "ListAutomationRules": [
1530
+ {
1531
+ "input": {
1532
+ "MaxResults": 2,
1533
+ "NextToken": "example-token"
1534
+ },
1535
+ "output": {
1536
+ "AutomationRulesMetadata": [
1537
+ {
1538
+ "CreatedAt": "2022-08-31T01:52:33.250Z",
1539
+ "CreatedBy": "AROAJURBUYQQNL5OL2TIM:TEST-16MJ75L9VBK14",
1540
+ "Description": "IAM.8 is a known issue and can be resolved",
1541
+ "RuleArn": "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
1542
+ "RuleName": "sample-rule-name-1",
1543
+ "RuleOrder": 1,
1544
+ "RuleStatus": "ENABLED",
1545
+ "UpdatedAt": "2022-08-31T01:52:33.250Z"
1546
+ },
1547
+ {
1548
+ "CreatedAt": "2022-08-31T01:52:33.250Z",
1549
+ "CreatedBy": "AROAJURBUYQQNL5OL2TIM:TEST-16MJ75L9VBK14",
1550
+ "Description": "Lambda.2 is a known issue and can be resolved",
1551
+ "RuleArn": "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
1552
+ "RuleName": "sample-rule-name-2",
1553
+ "RuleOrder": 2,
1554
+ "RuleStatus": "ENABLED",
1555
+ "UpdatedAt": "2022-08-31T01:52:33.250Z"
1556
+ }
1557
+ ],
1558
+ "NextToken": "example-token"
1559
+ },
1560
+ "comments": {
1561
+ "input": {
1562
+ },
1563
+ "output": {
1564
+ }
1565
+ },
1566
+ "description": "The following example lists automation rules and rule metadata in the calling account.",
1567
+ "id": "to-list-automation-rules-1684770582059",
1568
+ "title": "To list automation rules"
1569
+ }
1570
+ ],
1295
1571
  "ListEnabledProductsForImport": [
1296
1572
  {
1297
1573
  "output": {