aws-sdk 2.1396.0 → 2.1398.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 (51) hide show
  1. package/CHANGELOG.md +18 -1
  2. package/README.md +1 -1
  3. package/apis/auditmanager-2017-07-25.min.json +128 -88
  4. package/apis/cloudtrail-2013-11-01.min.json +33 -33
  5. package/apis/codeguru-security-2018-05-10.examples.json +5 -0
  6. package/apis/codeguru-security-2018-05-10.min.json +703 -0
  7. package/apis/codeguru-security-2018-05-10.paginators.json +22 -0
  8. package/apis/drs-2020-02-26.min.json +392 -97
  9. package/apis/drs-2020-02-26.paginators.json +6 -0
  10. package/apis/ec2-2016-11-15.min.json +1178 -1013
  11. package/apis/ec2-2016-11-15.paginators.json +6 -0
  12. package/apis/lightsail-2016-11-28.min.json +4 -2
  13. package/apis/location-2020-11-19.min.json +56 -8
  14. package/apis/metadata.json +7 -0
  15. package/apis/s3-2006-03-01.examples.json +121 -121
  16. package/apis/securityhub-2018-10-26.examples.json +276 -0
  17. package/apis/securityhub-2018-10-26.min.json +957 -559
  18. package/apis/verifiedpermissions-2021-12-01.examples.json +5 -0
  19. package/apis/verifiedpermissions-2021-12-01.min.json +1215 -0
  20. package/apis/verifiedpermissions-2021-12-01.paginators.json +28 -0
  21. package/apis/verifiedpermissions-2021-12-01.waiters2.json +5 -0
  22. package/apis/wafv2-2019-07-29.min.json +241 -169
  23. package/apis/wellarchitected-2020-03-31.min.json +655 -75
  24. package/apis/wellarchitected-2020-03-31.paginators.json +15 -0
  25. package/clients/all.d.ts +2 -0
  26. package/clients/all.js +3 -1
  27. package/clients/auditmanager.d.ts +105 -52
  28. package/clients/cloudtrail.d.ts +28 -13
  29. package/clients/codegurusecurity.d.ts +761 -0
  30. package/clients/codegurusecurity.js +18 -0
  31. package/clients/drs.d.ts +354 -3
  32. package/clients/ec2.d.ts +225 -48
  33. package/clients/efs.d.ts +5 -5
  34. package/clients/guardduty.d.ts +11 -11
  35. package/clients/imagebuilder.d.ts +1 -1
  36. package/clients/lightsail.d.ts +12 -4
  37. package/clients/location.d.ts +60 -7
  38. package/clients/s3.d.ts +1 -1
  39. package/clients/securityhub.d.ts +470 -0
  40. package/clients/simspaceweaver.d.ts +2 -2
  41. package/clients/verifiedpermissions.d.ts +1392 -0
  42. package/clients/verifiedpermissions.js +19 -0
  43. package/clients/wafv2.d.ts +105 -27
  44. package/clients/wellarchitected.d.ts +533 -7
  45. package/dist/aws-sdk-core-react-native.js +2 -2
  46. package/dist/aws-sdk-react-native.js +97 -16
  47. package/dist/aws-sdk.js +1283 -1057
  48. package/dist/aws-sdk.min.js +80 -80
  49. package/lib/config_service_placeholders.d.ts +4 -0
  50. package/lib/core.js +1 -1
  51. package/package.json +1 -1
@@ -0,0 +1,703 @@
1
+ {
2
+ "version": "2.0",
3
+ "metadata": {
4
+ "apiVersion": "2018-05-10",
5
+ "endpointPrefix": "codeguru-security",
6
+ "jsonVersion": "1.1",
7
+ "protocol": "rest-json",
8
+ "serviceFullName": "Amazon CodeGuru Security",
9
+ "serviceId": "CodeGuru Security",
10
+ "signatureVersion": "v4",
11
+ "signingName": "codeguru-security",
12
+ "uid": "codeguru-security-2018-05-10"
13
+ },
14
+ "operations": {
15
+ "BatchGetFindings": {
16
+ "http": {
17
+ "requestUri": "/batchGetFindings",
18
+ "responseCode": 200
19
+ },
20
+ "input": {
21
+ "type": "structure",
22
+ "required": [
23
+ "findingIdentifiers"
24
+ ],
25
+ "members": {
26
+ "findingIdentifiers": {
27
+ "type": "list",
28
+ "member": {
29
+ "type": "structure",
30
+ "required": [
31
+ "findingId",
32
+ "scanName"
33
+ ],
34
+ "members": {
35
+ "findingId": {},
36
+ "scanName": {}
37
+ }
38
+ }
39
+ }
40
+ }
41
+ },
42
+ "output": {
43
+ "type": "structure",
44
+ "required": [
45
+ "failedFindings",
46
+ "findings"
47
+ ],
48
+ "members": {
49
+ "failedFindings": {
50
+ "type": "list",
51
+ "member": {
52
+ "type": "structure",
53
+ "required": [
54
+ "errorCode",
55
+ "findingId",
56
+ "message",
57
+ "scanName"
58
+ ],
59
+ "members": {
60
+ "errorCode": {},
61
+ "findingId": {},
62
+ "message": {},
63
+ "scanName": {}
64
+ }
65
+ }
66
+ },
67
+ "findings": {
68
+ "shape": "Sa"
69
+ }
70
+ }
71
+ }
72
+ },
73
+ "CreateScan": {
74
+ "http": {
75
+ "requestUri": "/scans",
76
+ "responseCode": 200
77
+ },
78
+ "input": {
79
+ "type": "structure",
80
+ "required": [
81
+ "resourceId",
82
+ "scanName"
83
+ ],
84
+ "members": {
85
+ "analysisType": {},
86
+ "clientToken": {
87
+ "idempotencyToken": true
88
+ },
89
+ "resourceId": {
90
+ "shape": "Sv"
91
+ },
92
+ "scanName": {},
93
+ "scanType": {},
94
+ "tags": {
95
+ "shape": "Sy"
96
+ }
97
+ }
98
+ },
99
+ "output": {
100
+ "type": "structure",
101
+ "required": [
102
+ "resourceId",
103
+ "runId",
104
+ "scanName",
105
+ "scanState"
106
+ ],
107
+ "members": {
108
+ "resourceId": {
109
+ "shape": "Sv"
110
+ },
111
+ "runId": {},
112
+ "scanName": {},
113
+ "scanNameArn": {},
114
+ "scanState": {}
115
+ }
116
+ }
117
+ },
118
+ "CreateUploadUrl": {
119
+ "http": {
120
+ "requestUri": "/uploadUrl",
121
+ "responseCode": 200
122
+ },
123
+ "input": {
124
+ "type": "structure",
125
+ "required": [
126
+ "scanName"
127
+ ],
128
+ "members": {
129
+ "scanName": {}
130
+ }
131
+ },
132
+ "output": {
133
+ "type": "structure",
134
+ "required": [
135
+ "codeArtifactId",
136
+ "requestHeaders",
137
+ "s3Url"
138
+ ],
139
+ "members": {
140
+ "codeArtifactId": {},
141
+ "requestHeaders": {
142
+ "type": "map",
143
+ "key": {},
144
+ "value": {},
145
+ "sensitive": true
146
+ },
147
+ "s3Url": {
148
+ "type": "string",
149
+ "sensitive": true
150
+ }
151
+ }
152
+ }
153
+ },
154
+ "GetAccountConfiguration": {
155
+ "http": {
156
+ "method": "GET",
157
+ "requestUri": "/accountConfiguration/get",
158
+ "responseCode": 200
159
+ },
160
+ "input": {
161
+ "type": "structure",
162
+ "members": {}
163
+ },
164
+ "output": {
165
+ "type": "structure",
166
+ "required": [
167
+ "encryptionConfig"
168
+ ],
169
+ "members": {
170
+ "encryptionConfig": {
171
+ "shape": "S1c"
172
+ }
173
+ }
174
+ }
175
+ },
176
+ "GetFindings": {
177
+ "http": {
178
+ "method": "GET",
179
+ "requestUri": "/findings/{scanName}",
180
+ "responseCode": 200
181
+ },
182
+ "input": {
183
+ "type": "structure",
184
+ "required": [
185
+ "scanName"
186
+ ],
187
+ "members": {
188
+ "maxResults": {
189
+ "location": "querystring",
190
+ "locationName": "maxResults",
191
+ "type": "integer"
192
+ },
193
+ "nextToken": {
194
+ "location": "querystring",
195
+ "locationName": "nextToken"
196
+ },
197
+ "scanName": {
198
+ "location": "uri",
199
+ "locationName": "scanName"
200
+ },
201
+ "status": {
202
+ "location": "querystring",
203
+ "locationName": "status"
204
+ }
205
+ }
206
+ },
207
+ "output": {
208
+ "type": "structure",
209
+ "members": {
210
+ "findings": {
211
+ "shape": "Sa"
212
+ },
213
+ "nextToken": {}
214
+ }
215
+ }
216
+ },
217
+ "GetMetricsSummary": {
218
+ "http": {
219
+ "method": "GET",
220
+ "requestUri": "/metrics/summary",
221
+ "responseCode": 200
222
+ },
223
+ "input": {
224
+ "type": "structure",
225
+ "required": [
226
+ "date"
227
+ ],
228
+ "members": {
229
+ "date": {
230
+ "location": "querystring",
231
+ "locationName": "date",
232
+ "type": "timestamp"
233
+ }
234
+ }
235
+ },
236
+ "output": {
237
+ "type": "structure",
238
+ "members": {
239
+ "metricsSummary": {
240
+ "type": "structure",
241
+ "members": {
242
+ "categoriesWithMostFindings": {
243
+ "type": "list",
244
+ "member": {
245
+ "type": "structure",
246
+ "members": {
247
+ "categoryName": {},
248
+ "findingNumber": {
249
+ "type": "integer"
250
+ }
251
+ }
252
+ }
253
+ },
254
+ "date": {
255
+ "type": "timestamp"
256
+ },
257
+ "openFindings": {
258
+ "shape": "S1n"
259
+ },
260
+ "scansWithMostOpenCriticalFindings": {
261
+ "type": "list",
262
+ "member": {
263
+ "shape": "S1q"
264
+ }
265
+ },
266
+ "scansWithMostOpenFindings": {
267
+ "type": "list",
268
+ "member": {
269
+ "shape": "S1q"
270
+ }
271
+ }
272
+ }
273
+ }
274
+ }
275
+ }
276
+ },
277
+ "GetScan": {
278
+ "http": {
279
+ "method": "GET",
280
+ "requestUri": "/scans/{scanName}",
281
+ "responseCode": 200
282
+ },
283
+ "input": {
284
+ "type": "structure",
285
+ "required": [
286
+ "scanName"
287
+ ],
288
+ "members": {
289
+ "runId": {
290
+ "location": "querystring",
291
+ "locationName": "runId"
292
+ },
293
+ "scanName": {
294
+ "location": "uri",
295
+ "locationName": "scanName"
296
+ }
297
+ }
298
+ },
299
+ "output": {
300
+ "type": "structure",
301
+ "required": [
302
+ "analysisType",
303
+ "createdAt",
304
+ "runId",
305
+ "scanName",
306
+ "scanState"
307
+ ],
308
+ "members": {
309
+ "analysisType": {},
310
+ "createdAt": {
311
+ "type": "timestamp"
312
+ },
313
+ "numberOfRevisions": {
314
+ "type": "long"
315
+ },
316
+ "runId": {},
317
+ "scanName": {},
318
+ "scanNameArn": {},
319
+ "scanState": {},
320
+ "updatedAt": {
321
+ "type": "timestamp"
322
+ }
323
+ }
324
+ }
325
+ },
326
+ "ListFindingsMetrics": {
327
+ "http": {
328
+ "method": "GET",
329
+ "requestUri": "/metrics/findings",
330
+ "responseCode": 200
331
+ },
332
+ "input": {
333
+ "type": "structure",
334
+ "required": [
335
+ "endDate",
336
+ "startDate"
337
+ ],
338
+ "members": {
339
+ "endDate": {
340
+ "location": "querystring",
341
+ "locationName": "endDate",
342
+ "type": "timestamp"
343
+ },
344
+ "maxResults": {
345
+ "location": "querystring",
346
+ "locationName": "maxResults",
347
+ "type": "integer"
348
+ },
349
+ "nextToken": {
350
+ "location": "querystring",
351
+ "locationName": "nextToken"
352
+ },
353
+ "startDate": {
354
+ "location": "querystring",
355
+ "locationName": "startDate",
356
+ "type": "timestamp"
357
+ }
358
+ }
359
+ },
360
+ "output": {
361
+ "type": "structure",
362
+ "members": {
363
+ "findingsMetrics": {
364
+ "type": "list",
365
+ "member": {
366
+ "type": "structure",
367
+ "members": {
368
+ "closedFindings": {
369
+ "shape": "S1n"
370
+ },
371
+ "date": {
372
+ "type": "timestamp"
373
+ },
374
+ "meanTimeToClose": {
375
+ "shape": "S1n"
376
+ },
377
+ "newFindings": {
378
+ "shape": "S1n"
379
+ },
380
+ "openFindings": {
381
+ "shape": "S1n"
382
+ }
383
+ }
384
+ }
385
+ },
386
+ "nextToken": {}
387
+ }
388
+ }
389
+ },
390
+ "ListScans": {
391
+ "http": {
392
+ "method": "GET",
393
+ "requestUri": "/scans",
394
+ "responseCode": 200
395
+ },
396
+ "input": {
397
+ "type": "structure",
398
+ "members": {
399
+ "maxResults": {
400
+ "location": "querystring",
401
+ "locationName": "maxResults",
402
+ "type": "integer"
403
+ },
404
+ "nextToken": {
405
+ "location": "querystring",
406
+ "locationName": "nextToken"
407
+ }
408
+ }
409
+ },
410
+ "output": {
411
+ "type": "structure",
412
+ "members": {
413
+ "nextToken": {},
414
+ "summaries": {
415
+ "type": "list",
416
+ "member": {
417
+ "type": "structure",
418
+ "required": [
419
+ "createdAt",
420
+ "runId",
421
+ "scanName",
422
+ "scanState"
423
+ ],
424
+ "members": {
425
+ "createdAt": {
426
+ "type": "timestamp"
427
+ },
428
+ "runId": {},
429
+ "scanName": {},
430
+ "scanNameArn": {},
431
+ "scanState": {},
432
+ "updatedAt": {
433
+ "type": "timestamp"
434
+ }
435
+ }
436
+ }
437
+ }
438
+ }
439
+ }
440
+ },
441
+ "ListTagsForResource": {
442
+ "http": {
443
+ "method": "GET",
444
+ "requestUri": "/tags/{resourceArn}",
445
+ "responseCode": 200
446
+ },
447
+ "input": {
448
+ "type": "structure",
449
+ "required": [
450
+ "resourceArn"
451
+ ],
452
+ "members": {
453
+ "resourceArn": {
454
+ "location": "uri",
455
+ "locationName": "resourceArn"
456
+ }
457
+ }
458
+ },
459
+ "output": {
460
+ "type": "structure",
461
+ "members": {
462
+ "tags": {
463
+ "shape": "Sy"
464
+ }
465
+ }
466
+ }
467
+ },
468
+ "TagResource": {
469
+ "http": {
470
+ "requestUri": "/tags/{resourceArn}",
471
+ "responseCode": 204
472
+ },
473
+ "input": {
474
+ "type": "structure",
475
+ "required": [
476
+ "resourceArn",
477
+ "tags"
478
+ ],
479
+ "members": {
480
+ "resourceArn": {
481
+ "location": "uri",
482
+ "locationName": "resourceArn"
483
+ },
484
+ "tags": {
485
+ "shape": "Sy"
486
+ }
487
+ }
488
+ },
489
+ "output": {
490
+ "type": "structure",
491
+ "members": {}
492
+ }
493
+ },
494
+ "UntagResource": {
495
+ "http": {
496
+ "method": "DELETE",
497
+ "requestUri": "/tags/{resourceArn}",
498
+ "responseCode": 204
499
+ },
500
+ "input": {
501
+ "type": "structure",
502
+ "required": [
503
+ "resourceArn",
504
+ "tagKeys"
505
+ ],
506
+ "members": {
507
+ "resourceArn": {
508
+ "location": "uri",
509
+ "locationName": "resourceArn"
510
+ },
511
+ "tagKeys": {
512
+ "location": "querystring",
513
+ "locationName": "tagKeys",
514
+ "type": "list",
515
+ "member": {}
516
+ }
517
+ }
518
+ },
519
+ "output": {
520
+ "type": "structure",
521
+ "members": {}
522
+ },
523
+ "idempotent": true
524
+ },
525
+ "UpdateAccountConfiguration": {
526
+ "http": {
527
+ "method": "PUT",
528
+ "requestUri": "/updateAccountConfiguration",
529
+ "responseCode": 200
530
+ },
531
+ "input": {
532
+ "type": "structure",
533
+ "required": [
534
+ "encryptionConfig"
535
+ ],
536
+ "members": {
537
+ "encryptionConfig": {
538
+ "shape": "S1c"
539
+ }
540
+ }
541
+ },
542
+ "output": {
543
+ "type": "structure",
544
+ "required": [
545
+ "encryptionConfig"
546
+ ],
547
+ "members": {
548
+ "encryptionConfig": {
549
+ "shape": "S1c"
550
+ }
551
+ }
552
+ }
553
+ }
554
+ },
555
+ "shapes": {
556
+ "Sa": {
557
+ "type": "list",
558
+ "member": {
559
+ "type": "structure",
560
+ "members": {
561
+ "createdAt": {
562
+ "type": "timestamp"
563
+ },
564
+ "description": {},
565
+ "detectorId": {},
566
+ "detectorName": {},
567
+ "detectorTags": {
568
+ "type": "list",
569
+ "member": {}
570
+ },
571
+ "generatorId": {},
572
+ "id": {},
573
+ "remediation": {
574
+ "type": "structure",
575
+ "members": {
576
+ "recommendation": {
577
+ "type": "structure",
578
+ "members": {
579
+ "text": {},
580
+ "url": {}
581
+ }
582
+ },
583
+ "suggestedFixes": {
584
+ "type": "list",
585
+ "member": {
586
+ "type": "structure",
587
+ "members": {
588
+ "code": {},
589
+ "description": {}
590
+ }
591
+ }
592
+ }
593
+ }
594
+ },
595
+ "resource": {
596
+ "type": "structure",
597
+ "members": {
598
+ "id": {},
599
+ "subResourceId": {}
600
+ }
601
+ },
602
+ "ruleId": {},
603
+ "severity": {},
604
+ "status": {},
605
+ "title": {},
606
+ "type": {},
607
+ "updatedAt": {
608
+ "type": "timestamp"
609
+ },
610
+ "vulnerability": {
611
+ "type": "structure",
612
+ "members": {
613
+ "filePath": {
614
+ "type": "structure",
615
+ "members": {
616
+ "codeSnippet": {
617
+ "type": "list",
618
+ "member": {
619
+ "type": "structure",
620
+ "members": {
621
+ "content": {},
622
+ "number": {
623
+ "type": "integer"
624
+ }
625
+ }
626
+ }
627
+ },
628
+ "endLine": {
629
+ "type": "integer"
630
+ },
631
+ "name": {},
632
+ "path": {},
633
+ "startLine": {
634
+ "type": "integer"
635
+ }
636
+ }
637
+ },
638
+ "id": {},
639
+ "itemCount": {
640
+ "type": "integer"
641
+ },
642
+ "referenceUrls": {
643
+ "type": "list",
644
+ "member": {}
645
+ },
646
+ "relatedVulnerabilities": {
647
+ "type": "list",
648
+ "member": {}
649
+ }
650
+ }
651
+ }
652
+ }
653
+ }
654
+ },
655
+ "Sv": {
656
+ "type": "structure",
657
+ "members": {
658
+ "codeArtifactId": {}
659
+ },
660
+ "union": true
661
+ },
662
+ "Sy": {
663
+ "type": "map",
664
+ "key": {},
665
+ "value": {}
666
+ },
667
+ "S1c": {
668
+ "type": "structure",
669
+ "members": {
670
+ "kmsKeyArn": {}
671
+ }
672
+ },
673
+ "S1n": {
674
+ "type": "structure",
675
+ "members": {
676
+ "critical": {
677
+ "type": "double"
678
+ },
679
+ "high": {
680
+ "type": "double"
681
+ },
682
+ "info": {
683
+ "type": "double"
684
+ },
685
+ "low": {
686
+ "type": "double"
687
+ },
688
+ "medium": {
689
+ "type": "double"
690
+ }
691
+ }
692
+ },
693
+ "S1q": {
694
+ "type": "structure",
695
+ "members": {
696
+ "findingNumber": {
697
+ "type": "integer"
698
+ },
699
+ "scanName": {}
700
+ }
701
+ }
702
+ }
703
+ }