cdk-comprehend-s3olap 2.0.181 → 2.0.183

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 (69) hide show
  1. package/.jsii +4 -4
  2. package/lib/cdk-comprehend-s3olap.js +2 -2
  3. package/lib/comprehend-lambdas.js +2 -2
  4. package/lib/iam-roles.js +4 -4
  5. package/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
  6. package/node_modules/@esbuild/linux-x64/package.json +1 -1
  7. package/node_modules/aws-sdk/CHANGELOG.md +21 -1
  8. package/node_modules/aws-sdk/README.md +1 -1
  9. package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.min.json +362 -0
  10. package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.paginators.json +6 -0
  11. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +33 -33
  12. package/node_modules/aws-sdk/apis/codeguru-security-2018-05-10.examples.json +5 -0
  13. package/node_modules/aws-sdk/apis/codeguru-security-2018-05-10.min.json +703 -0
  14. package/node_modules/aws-sdk/apis/codeguru-security-2018-05-10.paginators.json +22 -0
  15. package/node_modules/aws-sdk/apis/drs-2020-02-26.min.json +392 -97
  16. package/node_modules/aws-sdk/apis/drs-2020-02-26.paginators.json +6 -0
  17. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1178 -1013
  18. package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +6 -0
  19. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +82 -75
  20. package/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +4 -2
  21. package/node_modules/aws-sdk/apis/metadata.json +7 -0
  22. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +86 -77
  23. package/node_modules/aws-sdk/apis/rekognition-2016-06-27.examples.json +286 -109
  24. package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +530 -217
  25. package/node_modules/aws-sdk/apis/rekognition-2016-06-27.paginators.json +6 -0
  26. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +121 -121
  27. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.examples.json +276 -0
  28. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +957 -559
  29. package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.examples.json +5 -0
  30. package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.min.json +1215 -0
  31. package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.paginators.json +28 -0
  32. package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.waiters2.json +5 -0
  33. package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +241 -169
  34. package/node_modules/aws-sdk/apis/wellarchitected-2020-03-31.min.json +655 -75
  35. package/node_modules/aws-sdk/apis/wellarchitected-2020-03-31.paginators.json +15 -0
  36. package/node_modules/aws-sdk/clients/all.d.ts +2 -0
  37. package/node_modules/aws-sdk/clients/all.js +3 -1
  38. package/node_modules/aws-sdk/clients/amplifyuibuilder.d.ts +358 -2
  39. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +28 -13
  40. package/node_modules/aws-sdk/clients/codegurusecurity.d.ts +761 -0
  41. package/node_modules/aws-sdk/clients/codegurusecurity.js +18 -0
  42. package/node_modules/aws-sdk/clients/drs.d.ts +354 -3
  43. package/node_modules/aws-sdk/clients/dynamodb.d.ts +2 -2
  44. package/node_modules/aws-sdk/clients/dynamodbstreams.d.ts +4 -4
  45. package/node_modules/aws-sdk/clients/ec2.d.ts +225 -48
  46. package/node_modules/aws-sdk/clients/fsx.d.ts +44 -24
  47. package/node_modules/aws-sdk/clients/imagebuilder.d.ts +1 -1
  48. package/node_modules/aws-sdk/clients/lightsail.d.ts +12 -4
  49. package/node_modules/aws-sdk/clients/opensearch.d.ts +16 -1
  50. package/node_modules/aws-sdk/clients/rekognition.d.ts +407 -0
  51. package/node_modules/aws-sdk/clients/s3.d.ts +1 -1
  52. package/node_modules/aws-sdk/clients/sagemaker.d.ts +13 -13
  53. package/node_modules/aws-sdk/clients/securityhub.d.ts +470 -0
  54. package/node_modules/aws-sdk/clients/simspaceweaver.d.ts +2 -2
  55. package/node_modules/aws-sdk/clients/verifiedpermissions.d.ts +1392 -0
  56. package/node_modules/aws-sdk/clients/verifiedpermissions.js +19 -0
  57. package/node_modules/aws-sdk/clients/wafv2.d.ts +105 -27
  58. package/node_modules/aws-sdk/clients/wellarchitected.d.ts +533 -7
  59. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  60. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +101 -20
  61. package/node_modules/aws-sdk/dist/aws-sdk.js +1763 -1266
  62. package/node_modules/aws-sdk/dist/aws-sdk.min.js +80 -80
  63. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +4 -0
  64. package/node_modules/aws-sdk/lib/core.js +1 -1
  65. package/node_modules/aws-sdk/package.json +1 -1
  66. package/node_modules/esbuild/bin/esbuild +1 -1
  67. package/node_modules/esbuild/lib/main.js +8 -8
  68. package/node_modules/esbuild/package.json +23 -23
  69. package/package.json +5 -5
@@ -1,6 +1,54 @@
1
1
  {
2
2
  "version": "1.0",
3
3
  "examples": {
4
+ "AssociateFaces": [
5
+ {
6
+ "input": {
7
+ "ClientRequestToken": "550e8400-e29b-41d4-a716-446655440002",
8
+ "CollectionId": "MyCollection",
9
+ "FaceIds": [
10
+ "f5817d37-94f6-4335-bfee-6cf79a3d806e",
11
+ "851cb847-dccc-4fea-9309-9f4805967855",
12
+ "35ebbb41-7f67-4263-908d-dd0ecba05ab9"
13
+ ],
14
+ "UserId": "DemoUser",
15
+ "UserMatchThreshold": 70
16
+ },
17
+ "output": {
18
+ "AssociatedFaces": [
19
+ {
20
+ "FaceId": "35ebbb41-7f67-4263-908d-dd0ecba05ab9"
21
+ }
22
+ ],
23
+ "UnsuccessfulFaceAssociations": [
24
+ {
25
+ "Confidence": 0.9375374913215637,
26
+ "FaceId": "f5817d37-94f6-4335-bfee-6cf79a3d806e",
27
+ "Reasons": [
28
+ "LOW_MATCH_CONFIDENCE"
29
+ ]
30
+ },
31
+ {
32
+ "FaceId": "851cb847-dccc-4fea-9309-9f4805967855",
33
+ "Reasons": [
34
+ "ASSOCIATED_TO_A_DIFFERENT_USER"
35
+ ],
36
+ "UserId": "demoUser2"
37
+ }
38
+ ],
39
+ "UserStatus": "UPDATING"
40
+ },
41
+ "comments": {
42
+ "input": {
43
+ },
44
+ "output": {
45
+ }
46
+ },
47
+ "description": "This operation associates one or more faces with an existing UserID.",
48
+ "id": "associatefaces-1686181269281",
49
+ "title": "AssociateFaces"
50
+ }
51
+ ],
4
52
  "CompareFaces": [
5
53
  {
6
54
  "input": {
@@ -104,6 +152,23 @@
104
152
  "title": "To create a collection"
105
153
  }
106
154
  ],
155
+ "CreateUser": [
156
+ {
157
+ "input": {
158
+ "CollectionId": "MyCollection",
159
+ "UserId": "DemoUser"
160
+ },
161
+ "comments": {
162
+ "input": {
163
+ },
164
+ "output": {
165
+ }
166
+ },
167
+ "description": "Creates a new User within a collection specified by CollectionId.",
168
+ "id": "createuser-1686181562299",
169
+ "title": "CreateUser"
170
+ }
171
+ ],
107
172
  "DeleteCollection": [
108
173
  {
109
174
  "input": {
@@ -167,6 +232,24 @@
167
232
  "title": "DeleteProjectPolicy"
168
233
  }
169
234
  ],
235
+ "DeleteUser": [
236
+ {
237
+ "input": {
238
+ "ClientRequestToken": "550e8400-e29b-41d4-a716-446655440001",
239
+ "CollectionId": "MyCollection",
240
+ "UserId": "DemoUser"
241
+ },
242
+ "comments": {
243
+ "input": {
244
+ },
245
+ "output": {
246
+ }
247
+ },
248
+ "description": "Deletes the specified UserID within the collection.",
249
+ "id": "deleteuser-1686181913475",
250
+ "title": "DeleteUser"
251
+ }
252
+ ],
170
253
  "DetectFaces": [
171
254
  {
172
255
  "input": {
@@ -273,6 +356,45 @@
273
356
  "title": "To detect labels"
274
357
  }
275
358
  ],
359
+ "DisassociateFaces": [
360
+ {
361
+ "input": {
362
+ "ClientRequestToken": "550e8400-e29b-41d4-a716-446655440003",
363
+ "CollectionId": "MyCollection",
364
+ "FaceIds": [
365
+ "f5817d37-94f6-4335-bfee-6cf79a3d806e",
366
+ "c92265d4-5f9c-43af-a58e-12be0ce02bc3"
367
+ ],
368
+ "UserId": "DemoUser"
369
+ },
370
+ "output": {
371
+ "DisassociatedFaces": [
372
+ {
373
+ "FaceId": "c92265d4-5f9c-43af-a58e-12be0ce02bc3"
374
+ }
375
+ ],
376
+ "UnsuccessfulFaceDisassociations": [
377
+ {
378
+ "FaceId": "f5817d37-94f6-4335-bfee-6cf79a3d806e",
379
+ "Reasons": [
380
+ "ASSOCIATED_TO_A_DIFFERENT_USER"
381
+ ],
382
+ "UserId": "demoUser1"
383
+ }
384
+ ],
385
+ "UserStatus": "UPDATING"
386
+ },
387
+ "comments": {
388
+ "input": {
389
+ },
390
+ "output": {
391
+ }
392
+ },
393
+ "description": "Removes the association between a Face supplied in an array of FaceIds and the User.",
394
+ "id": "disassociatefaces-1686182627295",
395
+ "title": "DisassociateFaces"
396
+ }
397
+ ],
276
398
  "IndexFaces": [
277
399
  {
278
400
  "input": {
@@ -447,127 +569,44 @@
447
569
  "MaxResults": 20
448
570
  },
449
571
  "output": {
572
+ "FaceModelVersion": "6.0",
450
573
  "Faces": [
451
574
  {
452
575
  "BoundingBox": {
453
- "Height": 0.18000000715255737,
454
- "Left": 0.5555559992790222,
455
- "Top": 0.336667001247406,
456
- "Width": 0.23999999463558197
457
- },
458
- "Confidence": 100,
459
- "FaceId": "1c62e8b5-69a7-5b7d-b3cd-db4338a8a7e7",
460
- "ImageId": "147fdf82-7a71-52cf-819b-e786c7b9746e"
461
- },
462
- {
463
- "BoundingBox": {
464
- "Height": 0.16555599868297577,
465
- "Left": 0.30963000655174255,
466
- "Top": 0.7066670060157776,
467
- "Width": 0.22074100375175476
468
- },
469
- "Confidence": 100,
470
- "FaceId": "29a75abe-397b-5101-ba4f-706783b2246c",
471
- "ImageId": "147fdf82-7a71-52cf-819b-e786c7b9746e"
472
- },
473
- {
474
- "BoundingBox": {
475
- "Height": 0.3234420120716095,
476
- "Left": 0.3233329951763153,
477
- "Top": 0.5,
478
- "Width": 0.24222199618816376
479
- },
480
- "Confidence": 99.99829864501953,
481
- "FaceId": "38271d79-7bc2-5efb-b752-398a8d575b85",
482
- "ImageId": "d5631190-d039-54e4-b267-abd22c8647c5"
483
- },
484
- {
485
- "BoundingBox": {
486
- "Height": 0.03555560111999512,
487
- "Left": 0.37388700246810913,
488
- "Top": 0.2477779984474182,
489
- "Width": 0.04747769981622696
490
- },
491
- "Confidence": 99.99210357666016,
492
- "FaceId": "3b01bef0-c883-5654-ba42-d5ad28b720b3",
493
- "ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784"
494
- },
495
- {
496
- "BoundingBox": {
497
- "Height": 0.05333330109715462,
498
- "Left": 0.2937690019607544,
499
- "Top": 0.35666701197624207,
500
- "Width": 0.07121659815311432
576
+ "Height": 0.056759100407361984,
577
+ "Left": 0.3453829884529114,
578
+ "Top": 0.36568498611450195,
579
+ "Width": 0.03177810087800026
501
580
  },
502
- "Confidence": 99.99919891357422,
503
- "FaceId": "4839a608-49d0-566c-8301-509d71b534d1",
504
- "ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784"
581
+ "Confidence": 99.76940155029297,
582
+ "FaceId": "c92265d4-5f9c-43af-a58e-12be0ce02bc3",
583
+ "ImageId": "56a0ca74-1c83-39dd-b363-051a64168a65",
584
+ "IndexFacesModelVersion": "6.0",
585
+ "UserId": "demoUser2"
505
586
  },
506
587
  {
507
588
  "BoundingBox": {
508
- "Height": 0.3249259889125824,
509
- "Left": 0.5155559778213501,
510
- "Top": 0.1513350009918213,
511
- "Width": 0.24333299696445465
589
+ "Height": 0.06347999721765518,
590
+ "Left": 0.5160620212554932,
591
+ "Top": 0.6080359816551208,
592
+ "Width": 0.03254450112581253
512
593
  },
513
- "Confidence": 99.99949645996094,
514
- "FaceId": "70008e50-75e4-55d0-8e80-363fb73b3a14",
515
- "ImageId": "d5631190-d039-54e4-b267-abd22c8647c5"
594
+ "Confidence": 99.94369506835938,
595
+ "FaceId": "851cb847-dccc-4fea-9309-9f4805967855",
596
+ "ImageId": "a8aed589-ceec-35f7-9c04-82e0b546b024",
597
+ "IndexFacesModelVersion": "6.0"
516
598
  },
517
599
  {
518
600
  "BoundingBox": {
519
- "Height": 0.03777780011296272,
520
- "Left": 0.7002969980239868,
521
- "Top": 0.18777799606323242,
522
- "Width": 0.05044509842991829
601
+ "Height": 0.05266290158033371,
602
+ "Left": 0.6513839960098267,
603
+ "Top": 0.4218429923057556,
604
+ "Width": 0.03094629943370819
523
605
  },
524
- "Confidence": 99.92639923095703,
525
- "FaceId": "7f5f88ed-d684-5a88-b0df-01e4a521552b",
526
- "ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784"
527
- },
528
- {
529
- "BoundingBox": {
530
- "Height": 0.05555560067296028,
531
- "Left": 0.13946600258350372,
532
- "Top": 0.46333301067352295,
533
- "Width": 0.07270029932260513
534
- },
535
- "Confidence": 99.99469757080078,
536
- "FaceId": "895b4e2c-81de-5902-a4bd-d1792bda00b2",
537
- "ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784"
538
- },
539
- {
540
- "BoundingBox": {
541
- "Height": 0.3259260058403015,
542
- "Left": 0.5144439935684204,
543
- "Top": 0.15111100673675537,
544
- "Width": 0.24444399774074554
545
- },
546
- "Confidence": 99.99949645996094,
547
- "FaceId": "8be04dba-4e58-520d-850e-9eae4af70eb2",
548
- "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
549
- },
550
- {
551
- "BoundingBox": {
552
- "Height": 0.18888899683952332,
553
- "Left": 0.3783380091190338,
554
- "Top": 0.2355560064315796,
555
- "Width": 0.25222599506378174
556
- },
557
- "Confidence": 99.9999008178711,
558
- "FaceId": "908544ad-edc3-59df-8faf-6a87cc256cf5",
559
- "ImageId": "3c731605-d772-541a-a5e7-0375dbc68a07"
560
- },
561
- {
562
- "BoundingBox": {
563
- "Height": 0.33481499552726746,
564
- "Left": 0.31888899207115173,
565
- "Top": 0.49333301186561584,
566
- "Width": 0.25
567
- },
568
- "Confidence": 99.99909973144531,
569
- "FaceId": "ff43d742-0c13-5d16-a3e8-03d3f58e980b",
570
- "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
606
+ "Confidence": 99.82969665527344,
607
+ "FaceId": "c0eb3b65-24a0-41e1-b23a-1908b1aaeac1",
608
+ "ImageId": "56a0ca74-1c83-39dd-b363-051a64168a65",
609
+ "IndexFacesModelVersion": "6.0"
571
610
  }
572
611
  ]
573
612
  },
@@ -613,6 +652,35 @@
613
652
  "title": "ListProjectPolicies"
614
653
  }
615
654
  ],
655
+ "ListUsers": [
656
+ {
657
+ "input": {
658
+ "CollectionId": "MyCollection"
659
+ },
660
+ "output": {
661
+ "NextToken": "MGYZLAHX1T5a....",
662
+ "Users": [
663
+ {
664
+ "UserId": "demoUser4",
665
+ "UserStatus": "CREATED"
666
+ },
667
+ {
668
+ "UserId": "demoUser2",
669
+ "UserStatus": "CREATED"
670
+ }
671
+ ]
672
+ },
673
+ "comments": {
674
+ "input": {
675
+ },
676
+ "output": {
677
+ }
678
+ },
679
+ "description": "Returns metadata of the User such as UserID in the specified collection.",
680
+ "id": "listusers-1686182360075",
681
+ "title": "ListUsers"
682
+ }
683
+ ],
616
684
  "PutProjectPolicy": [
617
685
  {
618
686
  "input": {
@@ -749,6 +817,115 @@
749
817
  "id": "to-search-for-faces-matching-a-supplied-image-1482175994491",
750
818
  "title": "To search for faces matching a supplied image"
751
819
  }
820
+ ],
821
+ "SearchUsers": [
822
+ {
823
+ "input": {
824
+ "CollectionId": "MyCollection",
825
+ "MaxUsers": 2,
826
+ "UserId": "DemoUser",
827
+ "UserMatchThreshold": 70
828
+ },
829
+ "output": {
830
+ "FaceModelVersion": "6",
831
+ "SearchedUser": {
832
+ "UserId": "DemoUser"
833
+ },
834
+ "UserMatches": [
835
+ {
836
+ "Similarity": 99.88186645507812,
837
+ "User": {
838
+ "UserId": "demoUser1",
839
+ "UserStatus": "ACTIVE"
840
+ }
841
+ }
842
+ ]
843
+ },
844
+ "comments": {
845
+ "input": {
846
+ },
847
+ "output": {
848
+ }
849
+ },
850
+ "description": "Searches for UserIDs within a collection based on a FaceId or UserId.",
851
+ "id": "searchusers-1686182912030",
852
+ "title": "SearchUsers"
853
+ }
854
+ ],
855
+ "SearchUsersByImage": [
856
+ {
857
+ "input": {
858
+ "CollectionId": "MyCollection",
859
+ "Image": {
860
+ "S3Object": {
861
+ "Bucket": "bucket",
862
+ "Name": "input.jpg"
863
+ }
864
+ },
865
+ "MaxUsers": 2,
866
+ "QualityFilter": "MEDIUM",
867
+ "UserMatchThreshold": 70
868
+ },
869
+ "output": {
870
+ "FaceModelVersion": "6",
871
+ "SearchedFace": {
872
+ "FaceDetail": {
873
+ "BoundingBox": {
874
+ "Height": 0.07510016113519669,
875
+ "Left": 0.3598678708076477,
876
+ "Top": 0.5391526818275452,
877
+ "Width": 0.03692837432026863
878
+ }
879
+ }
880
+ },
881
+ "UnsearchedFaces": [
882
+ {
883
+ "FaceDetails": {
884
+ "BoundingBox": {
885
+ "Height": 0.0682177022099495,
886
+ "Left": 0.6102562546730042,
887
+ "Top": 0.5593535900115967,
888
+ "Width": 0.031677018851041794
889
+ }
890
+ },
891
+ "Reasons": [
892
+ "FACE_NOT_LARGEST"
893
+ ]
894
+ },
895
+ {
896
+ "FaceDetails": {
897
+ "BoundingBox": {
898
+ "Height": 0.06347997486591339,
899
+ "Left": 0.516062319278717,
900
+ "Top": 0.6080358028411865,
901
+ "Width": 0.03254449740052223
902
+ }
903
+ },
904
+ "Reasons": [
905
+ "FACE_NOT_LARGEST"
906
+ ]
907
+ }
908
+ ],
909
+ "UserMatches": [
910
+ {
911
+ "Similarity": 99.88186645507812,
912
+ "User": {
913
+ "UserId": "demoUser1",
914
+ "UserStatus": "ACTIVE"
915
+ }
916
+ }
917
+ ]
918
+ },
919
+ "comments": {
920
+ "input": {
921
+ },
922
+ "output": {
923
+ }
924
+ },
925
+ "description": "Searches for UserIDs using a supplied image.",
926
+ "id": "searchusersbyimage-1686183178610",
927
+ "title": "SearchUsersByImage"
928
+ }
752
929
  ]
753
930
  }
754
931
  }