@aws-sdk/client-rekognition 3.775.0 → 3.782.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/dist-types/commands/AssociateFacesCommand.d.ts +18 -18
- package/dist-types/commands/CompareFacesCommand.d.ts +28 -28
- package/dist-types/commands/CopyProjectVersionCommand.d.ts +14 -14
- package/dist-types/commands/CreateCollectionCommand.d.ts +6 -6
- package/dist-types/commands/CreateDatasetCommand.d.ts +11 -11
- package/dist-types/commands/CreateFaceLivenessSessionCommand.d.ts +1 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +5 -5
- package/dist-types/commands/CreateProjectVersionCommand.d.ts +9 -9
- package/dist-types/commands/CreateStreamProcessorCommand.d.ts +1 -0
- package/dist-types/commands/CreateUserCommand.d.ts +8 -5
- package/dist-types/commands/DeleteCollectionCommand.d.ts +5 -5
- package/dist-types/commands/DeleteDatasetCommand.d.ts +7 -4
- package/dist-types/commands/DeleteFacesCommand.d.ts +6 -6
- package/dist-types/commands/DeleteProjectCommand.d.ts +5 -5
- package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +9 -6
- package/dist-types/commands/DeleteProjectVersionCommand.d.ts +5 -5
- package/dist-types/commands/DeleteStreamProcessorCommand.d.ts +1 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +9 -6
- package/dist-types/commands/DescribeCollectionCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDatasetCommand.d.ts +1 -28
- package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +1 -105
- package/dist-types/commands/DescribeProjectsCommand.d.ts +1 -42
- package/dist-types/commands/DescribeStreamProcessorCommand.d.ts +1 -0
- package/dist-types/commands/DetectCustomLabelsCommand.d.ts +15 -15
- package/dist-types/commands/DetectFacesCommand.d.ts +38 -38
- package/dist-types/commands/DetectLabelsCommand.d.ts +14 -14
- package/dist-types/commands/DetectModerationLabelsCommand.d.ts +1 -0
- package/dist-types/commands/DetectProtectiveEquipmentCommand.d.ts +1 -0
- package/dist-types/commands/DetectTextCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateFacesCommand.d.ts +14 -14
- package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +9 -6
- package/dist-types/commands/GetCelebrityInfoCommand.d.ts +1 -0
- package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +1 -0
- package/dist-types/commands/GetContentModerationCommand.d.ts +1 -0
- package/dist-types/commands/GetFaceDetectionCommand.d.ts +1 -0
- package/dist-types/commands/GetFaceLivenessSessionResultsCommand.d.ts +1 -0
- package/dist-types/commands/GetFaceSearchCommand.d.ts +1 -0
- package/dist-types/commands/GetLabelDetectionCommand.d.ts +1 -0
- package/dist-types/commands/GetMediaAnalysisJobCommand.d.ts +1 -48
- package/dist-types/commands/GetPersonTrackingCommand.d.ts +1 -0
- package/dist-types/commands/GetSegmentDetectionCommand.d.ts +1 -0
- package/dist-types/commands/GetTextDetectionCommand.d.ts +1 -0
- package/dist-types/commands/IndexFacesCommand.d.ts +90 -90
- package/dist-types/commands/ListCollectionsCommand.d.ts +5 -5
- package/dist-types/commands/ListDatasetEntriesCommand.d.ts +13 -13
- package/dist-types/commands/ListDatasetLabelsCommand.d.ts +16 -16
- package/dist-types/commands/ListFacesCommand.d.ts +35 -35
- package/dist-types/commands/ListMediaAnalysisJobsCommand.d.ts +1 -52
- package/dist-types/commands/ListProjectPoliciesCommand.d.ts +1 -28
- package/dist-types/commands/ListStreamProcessorsCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/ListUsersCommand.d.ts +10 -10
- package/dist-types/commands/PutProjectPolicyCommand.d.ts +8 -8
- package/dist-types/commands/RecognizeCelebritiesCommand.d.ts +1 -0
- package/dist-types/commands/SearchFacesByImageCommand.d.ts +27 -27
- package/dist-types/commands/SearchFacesCommand.d.ts +39 -39
- package/dist-types/commands/SearchUsersByImageCommand.d.ts +39 -39
- package/dist-types/commands/SearchUsersCommand.d.ts +15 -15
- package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +1 -0
- package/dist-types/commands/StartContentModerationCommand.d.ts +1 -0
- package/dist-types/commands/StartFaceDetectionCommand.d.ts +1 -0
- package/dist-types/commands/StartFaceSearchCommand.d.ts +1 -0
- package/dist-types/commands/StartLabelDetectionCommand.d.ts +1 -0
- package/dist-types/commands/StartMediaAnalysisJobCommand.d.ts +16 -16
- package/dist-types/commands/StartPersonTrackingCommand.d.ts +1 -0
- package/dist-types/commands/StartProjectVersionCommand.d.ts +7 -7
- package/dist-types/commands/StartSegmentDetectionCommand.d.ts +1 -0
- package/dist-types/commands/StartStreamProcessorCommand.d.ts +1 -0
- package/dist-types/commands/StartTextDetectionCommand.d.ts +1 -0
- package/dist-types/commands/StopProjectVersionCommand.d.ts +5 -5
- package/dist-types/commands/StopStreamProcessorCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +9 -6
- package/dist-types/commands/UpdateStreamProcessorCommand.d.ts +1 -0
- package/package.json +5 -5
|
@@ -118,55 +118,8 @@ declare const GetMediaAnalysisJobCommand_base: {
|
|
|
118
118
|
* @throws {@link RekognitionServiceException}
|
|
119
119
|
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
120
120
|
*
|
|
121
|
-
* @public
|
|
122
|
-
* @example GetMediaAnalysisJob
|
|
123
|
-
* ```javascript
|
|
124
|
-
* // Retrieves the results for a given media analysis job.
|
|
125
|
-
* const input = {
|
|
126
|
-
* "JobId": "861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537"
|
|
127
|
-
* };
|
|
128
|
-
* const command = new GetMediaAnalysisJobCommand(input);
|
|
129
|
-
* const response = await client.send(command);
|
|
130
|
-
* /* response ==
|
|
131
|
-
* {
|
|
132
|
-
* "CompletionTimestamp": "2023-07-28T08:05:51.958000-07:00",
|
|
133
|
-
* "CreationTimestamp": "2023-07-28T08:05:51.958000-06:00",
|
|
134
|
-
* "Input": {
|
|
135
|
-
* "S3Object": {
|
|
136
|
-
* "Bucket": "input-bucket",
|
|
137
|
-
* "Name": "input-manifest.json"
|
|
138
|
-
* }
|
|
139
|
-
* },
|
|
140
|
-
* "JobId": "861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537",
|
|
141
|
-
* "JobName": "job-name",
|
|
142
|
-
* "ManifestSummary": {
|
|
143
|
-
* "S3Object": {
|
|
144
|
-
* "Bucket": "output-bucket",
|
|
145
|
-
* "Name": "output-location/861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537-manifest-summary.json"
|
|
146
|
-
* }
|
|
147
|
-
* },
|
|
148
|
-
* "OperationsConfig": {
|
|
149
|
-
* "DetectModerationLabels": {
|
|
150
|
-
* "MinConfidence": 50,
|
|
151
|
-
* "ProjectVersion": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958"
|
|
152
|
-
* }
|
|
153
|
-
* },
|
|
154
|
-
* "OutputConfig": {
|
|
155
|
-
* "S3Bucket": "output-bucket",
|
|
156
|
-
* "S3KeyPrefix": "output-location"
|
|
157
|
-
* },
|
|
158
|
-
* "Results": {
|
|
159
|
-
* "S3Object": {
|
|
160
|
-
* "Bucket": "output-bucket",
|
|
161
|
-
* "Name": "output-location/861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537-results.jsonl"
|
|
162
|
-
* }
|
|
163
|
-
* },
|
|
164
|
-
* "Status": "SUCCEEDED"
|
|
165
|
-
* }
|
|
166
|
-
* *\/
|
|
167
|
-
* // example id: getmediaanalysisjob-1697650068124
|
|
168
|
-
* ```
|
|
169
121
|
*
|
|
122
|
+
* @public
|
|
170
123
|
*/
|
|
171
124
|
export declare class GetMediaAnalysisJobCommand extends GetMediaAnalysisJobCommand_base {
|
|
172
125
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -214,6 +214,7 @@ declare const GetPersonTrackingCommand_base: {
|
|
|
214
214
|
* @throws {@link RekognitionServiceException}
|
|
215
215
|
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
216
216
|
*
|
|
217
|
+
*
|
|
217
218
|
* @public
|
|
218
219
|
*/
|
|
219
220
|
export declare class GetPersonTrackingCommand extends GetPersonTrackingCommand_base {
|
|
@@ -158,6 +158,7 @@ declare const GetSegmentDetectionCommand_base: {
|
|
|
158
158
|
* @throws {@link RekognitionServiceException}
|
|
159
159
|
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
160
160
|
*
|
|
161
|
+
*
|
|
161
162
|
* @public
|
|
162
163
|
*/
|
|
163
164
|
export declare class GetSegmentDetectionCommand extends GetSegmentDetectionCommand_base {
|
|
@@ -144,6 +144,7 @@ declare const GetTextDetectionCommand_base: {
|
|
|
144
144
|
* @throws {@link RekognitionServiceException}
|
|
145
145
|
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
146
146
|
*
|
|
147
|
+
*
|
|
147
148
|
* @public
|
|
148
149
|
*/
|
|
149
150
|
export declare class GetTextDetectionCommand extends GetTextDetectionCommand_base {
|
|
@@ -375,149 +375,149 @@ declare const IndexFacesCommand_base: {
|
|
|
375
375
|
* @throws {@link RekognitionServiceException}
|
|
376
376
|
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
377
377
|
*
|
|
378
|
-
*
|
|
378
|
+
*
|
|
379
379
|
* @example To add a face to a collection
|
|
380
380
|
* ```javascript
|
|
381
381
|
* // This operation detects faces in an image and adds them to the specified Rekognition collection.
|
|
382
382
|
* const input = {
|
|
383
|
-
*
|
|
384
|
-
*
|
|
385
|
-
*
|
|
386
|
-
*
|
|
387
|
-
*
|
|
388
|
-
*
|
|
389
|
-
*
|
|
383
|
+
* CollectionId: "myphotos",
|
|
384
|
+
* DetectionAttributes: [],
|
|
385
|
+
* ExternalImageId: "myphotoid",
|
|
386
|
+
* Image: {
|
|
387
|
+
* S3Object: {
|
|
388
|
+
* Bucket: "mybucket",
|
|
389
|
+
* Name: "myphoto"
|
|
390
390
|
* }
|
|
391
391
|
* }
|
|
392
392
|
* };
|
|
393
393
|
* const command = new IndexFacesCommand(input);
|
|
394
394
|
* const response = await client.send(command);
|
|
395
|
-
* /* response
|
|
395
|
+
* /* response is
|
|
396
396
|
* {
|
|
397
|
-
*
|
|
397
|
+
* FaceRecords: [
|
|
398
398
|
* {
|
|
399
|
-
*
|
|
400
|
-
*
|
|
401
|
-
*
|
|
402
|
-
*
|
|
403
|
-
*
|
|
404
|
-
*
|
|
399
|
+
* Face: {
|
|
400
|
+
* BoundingBox: {
|
|
401
|
+
* Height: 0.33481481671333313,
|
|
402
|
+
* Left: 0.31888890266418457,
|
|
403
|
+
* Top: 0.4933333396911621,
|
|
404
|
+
* Width: 0.25
|
|
405
405
|
* },
|
|
406
|
-
*
|
|
407
|
-
*
|
|
408
|
-
*
|
|
406
|
+
* Confidence: 99.9991226196289,
|
|
407
|
+
* FaceId: "ff43d742-0c13-5d16-a3e8-03d3f58e980b",
|
|
408
|
+
* ImageId: "465f4e93-763e-51d0-b030-b9667a2d94b1"
|
|
409
409
|
* },
|
|
410
|
-
*
|
|
411
|
-
*
|
|
412
|
-
*
|
|
413
|
-
*
|
|
414
|
-
*
|
|
415
|
-
*
|
|
410
|
+
* FaceDetail: {
|
|
411
|
+
* BoundingBox: {
|
|
412
|
+
* Height: 0.33481481671333313,
|
|
413
|
+
* Left: 0.31888890266418457,
|
|
414
|
+
* Top: 0.4933333396911621,
|
|
415
|
+
* Width: 0.25
|
|
416
416
|
* },
|
|
417
|
-
*
|
|
418
|
-
*
|
|
417
|
+
* Confidence: 99.9991226196289,
|
|
418
|
+
* Landmarks: [
|
|
419
419
|
* {
|
|
420
|
-
*
|
|
421
|
-
*
|
|
422
|
-
*
|
|
420
|
+
* Type: "eyeLeft",
|
|
421
|
+
* X: 0.3976764678955078,
|
|
422
|
+
* Y: 0.6248345971107483
|
|
423
423
|
* },
|
|
424
424
|
* {
|
|
425
|
-
*
|
|
426
|
-
*
|
|
427
|
-
*
|
|
425
|
+
* Type: "eyeRight",
|
|
426
|
+
* X: 0.4810936450958252,
|
|
427
|
+
* Y: 0.6317117214202881
|
|
428
428
|
* },
|
|
429
429
|
* {
|
|
430
|
-
*
|
|
431
|
-
*
|
|
432
|
-
*
|
|
430
|
+
* Type: "noseLeft",
|
|
431
|
+
* X: 0.41986238956451416,
|
|
432
|
+
* Y: 0.7111940383911133
|
|
433
433
|
* },
|
|
434
434
|
* {
|
|
435
|
-
*
|
|
436
|
-
*
|
|
437
|
-
*
|
|
435
|
+
* Type: "mouthDown",
|
|
436
|
+
* X: 0.40525302290916443,
|
|
437
|
+
* Y: 0.7497701048851013
|
|
438
438
|
* },
|
|
439
439
|
* {
|
|
440
|
-
*
|
|
441
|
-
*
|
|
442
|
-
*
|
|
440
|
+
* Type: "mouthUp",
|
|
441
|
+
* X: 0.4753248989582062,
|
|
442
|
+
* Y: 0.7558549642562866
|
|
443
443
|
* }
|
|
444
444
|
* ],
|
|
445
|
-
*
|
|
446
|
-
*
|
|
447
|
-
*
|
|
448
|
-
*
|
|
445
|
+
* Pose: {
|
|
446
|
+
* Pitch: -9.713645935058594,
|
|
447
|
+
* Roll: 4.707281112670898,
|
|
448
|
+
* Yaw: -24.438663482666016
|
|
449
449
|
* },
|
|
450
|
-
*
|
|
451
|
-
*
|
|
452
|
-
*
|
|
450
|
+
* Quality: {
|
|
451
|
+
* Brightness: 29.23358917236328,
|
|
452
|
+
* Sharpness: 80
|
|
453
453
|
* }
|
|
454
454
|
* }
|
|
455
455
|
* },
|
|
456
456
|
* {
|
|
457
|
-
*
|
|
458
|
-
*
|
|
459
|
-
*
|
|
460
|
-
*
|
|
461
|
-
*
|
|
462
|
-
*
|
|
457
|
+
* Face: {
|
|
458
|
+
* BoundingBox: {
|
|
459
|
+
* Height: 0.32592591643333435,
|
|
460
|
+
* Left: 0.5144444704055786,
|
|
461
|
+
* Top: 0.15111111104488373,
|
|
462
|
+
* Width: 0.24444444477558136
|
|
463
463
|
* },
|
|
464
|
-
*
|
|
465
|
-
*
|
|
466
|
-
*
|
|
464
|
+
* Confidence: 99.99950408935547,
|
|
465
|
+
* FaceId: "8be04dba-4e58-520d-850e-9eae4af70eb2",
|
|
466
|
+
* ImageId: "465f4e93-763e-51d0-b030-b9667a2d94b1"
|
|
467
467
|
* },
|
|
468
|
-
*
|
|
469
|
-
*
|
|
470
|
-
*
|
|
471
|
-
*
|
|
472
|
-
*
|
|
473
|
-
*
|
|
468
|
+
* FaceDetail: {
|
|
469
|
+
* BoundingBox: {
|
|
470
|
+
* Height: 0.32592591643333435,
|
|
471
|
+
* Left: 0.5144444704055786,
|
|
472
|
+
* Top: 0.15111111104488373,
|
|
473
|
+
* Width: 0.24444444477558136
|
|
474
474
|
* },
|
|
475
|
-
*
|
|
476
|
-
*
|
|
475
|
+
* Confidence: 99.99950408935547,
|
|
476
|
+
* Landmarks: [
|
|
477
477
|
* {
|
|
478
|
-
*
|
|
479
|
-
*
|
|
480
|
-
*
|
|
478
|
+
* Type: "eyeLeft",
|
|
479
|
+
* X: 0.6006892323493958,
|
|
480
|
+
* Y: 0.290842205286026
|
|
481
481
|
* },
|
|
482
482
|
* {
|
|
483
|
-
*
|
|
484
|
-
*
|
|
485
|
-
*
|
|
483
|
+
* Type: "eyeRight",
|
|
484
|
+
* X: 0.6808141469955444,
|
|
485
|
+
* Y: 0.29609042406082153
|
|
486
486
|
* },
|
|
487
487
|
* {
|
|
488
|
-
*
|
|
489
|
-
*
|
|
490
|
-
*
|
|
488
|
+
* Type: "noseLeft",
|
|
489
|
+
* X: 0.6395332217216492,
|
|
490
|
+
* Y: 0.3522595763206482
|
|
491
491
|
* },
|
|
492
492
|
* {
|
|
493
|
-
*
|
|
494
|
-
*
|
|
495
|
-
*
|
|
493
|
+
* Type: "mouthDown",
|
|
494
|
+
* X: 0.5892083048820496,
|
|
495
|
+
* Y: 0.38689887523651123
|
|
496
496
|
* },
|
|
497
497
|
* {
|
|
498
|
-
*
|
|
499
|
-
*
|
|
500
|
-
*
|
|
498
|
+
* Type: "mouthUp",
|
|
499
|
+
* X: 0.674560010433197,
|
|
500
|
+
* Y: 0.394125759601593
|
|
501
501
|
* }
|
|
502
502
|
* ],
|
|
503
|
-
*
|
|
504
|
-
*
|
|
505
|
-
*
|
|
506
|
-
*
|
|
503
|
+
* Pose: {
|
|
504
|
+
* Pitch: -4.683138370513916,
|
|
505
|
+
* Roll: 2.1029529571533203,
|
|
506
|
+
* Yaw: 6.716655254364014
|
|
507
507
|
* },
|
|
508
|
-
*
|
|
509
|
-
*
|
|
510
|
-
*
|
|
508
|
+
* Quality: {
|
|
509
|
+
* Brightness: 34.951698303222656,
|
|
510
|
+
* Sharpness: 160
|
|
511
511
|
* }
|
|
512
512
|
* }
|
|
513
513
|
* }
|
|
514
514
|
* ],
|
|
515
|
-
*
|
|
515
|
+
* OrientationCorrection: "ROTATE_0"
|
|
516
516
|
* }
|
|
517
517
|
* *\/
|
|
518
|
-
* // example id: to-add-a-face-to-a-collection-1482179542923
|
|
519
518
|
* ```
|
|
520
519
|
*
|
|
520
|
+
* @public
|
|
521
521
|
*/
|
|
522
522
|
export declare class IndexFacesCommand extends IndexFacesCommand_base {
|
|
523
523
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -90,23 +90,23 @@ declare const ListCollectionsCommand_base: {
|
|
|
90
90
|
* @throws {@link RekognitionServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
92
92
|
*
|
|
93
|
-
*
|
|
93
|
+
*
|
|
94
94
|
* @example To list the collections
|
|
95
95
|
* ```javascript
|
|
96
96
|
* // This operation returns a list of Rekognition collections.
|
|
97
|
-
* const input = {};
|
|
97
|
+
* const input = { /* empty *\/ };
|
|
98
98
|
* const command = new ListCollectionsCommand(input);
|
|
99
99
|
* const response = await client.send(command);
|
|
100
|
-
* /* response
|
|
100
|
+
* /* response is
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
102
|
+
* CollectionIds: [
|
|
103
103
|
* "myphotos"
|
|
104
104
|
* ]
|
|
105
105
|
* }
|
|
106
106
|
* *\/
|
|
107
|
-
* // example id: to-list-the-collections-1482179199088
|
|
108
107
|
* ```
|
|
109
108
|
*
|
|
109
|
+
* @public
|
|
110
110
|
*/
|
|
111
111
|
export declare class ListCollectionsCommand extends ListCollectionsCommand_base {
|
|
112
112
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -112,34 +112,34 @@ declare const ListDatasetEntriesCommand_base: {
|
|
|
112
112
|
* @throws {@link RekognitionServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
114
114
|
*
|
|
115
|
-
*
|
|
115
|
+
*
|
|
116
116
|
* @example To list the entries in an Amazon Rekognition Custom Labels dataset
|
|
117
117
|
* ```javascript
|
|
118
118
|
* // Lists the JSON line entries in an Amazon Rekognition Custom Labels dataset.
|
|
119
119
|
* const input = {
|
|
120
|
-
*
|
|
120
|
+
* ContainsLabels: [
|
|
121
121
|
* "camellia"
|
|
122
122
|
* ],
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
123
|
+
* DatasetArn: "arn:aws:rekognition:us-east-1:111122223333:project/my-proj-2/dataset/train/1690564858106",
|
|
124
|
+
* HasErrors: true,
|
|
125
|
+
* Labeled: true,
|
|
126
|
+
* MaxResults: 100,
|
|
127
|
+
* NextToken: "",
|
|
128
|
+
* SourceRefContains: "camellia4.jpg"
|
|
129
129
|
* };
|
|
130
130
|
* const command = new ListDatasetEntriesCommand(input);
|
|
131
131
|
* const response = await client.send(command);
|
|
132
|
-
* /* response
|
|
132
|
+
* /* response is
|
|
133
133
|
* {
|
|
134
|
-
*
|
|
135
|
-
*
|
|
134
|
+
* DatasetEntries: [
|
|
135
|
+
* `{"source-ref":"s3://custom-labels-console-us-east-1-1111111111/assets/flowers_1_train_dataset/camellia4.jpg","camellia":1,"camellia-metadata":{"confidence":1,"job-name":"labeling-job/camellia","class-name":"camellia","human-annotated":"yes","creation-date":"2021-07-11T03:32:13.456Z","type":"groundtruth/image-classification"},"with_leaves":1,"with_leaves-metadata":{"confidence":1,"job-name":"labeling-job/with_leaves","class-name":"with_leaves","human-annotated":"yes","creation-date":"2021-07-11T03:32:13.456Z","type":"groundtruth/image-classification"},"cl-metadata":{"is_labeled":true}}`
|
|
136
136
|
* ],
|
|
137
|
-
*
|
|
137
|
+
* NextToken: ""
|
|
138
138
|
* }
|
|
139
139
|
* *\/
|
|
140
|
-
* // example id: to-list-the-entries-in-an-amazon-rekognition-custom-labels-dataset-1690823292345
|
|
141
140
|
* ```
|
|
142
141
|
*
|
|
142
|
+
* @public
|
|
143
143
|
*/
|
|
144
144
|
export declare class ListDatasetEntriesCommand extends ListDatasetEntriesCommand_base {
|
|
145
145
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -104,44 +104,44 @@ declare const ListDatasetLabelsCommand_base: {
|
|
|
104
104
|
* @throws {@link RekognitionServiceException}
|
|
105
105
|
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
106
106
|
*
|
|
107
|
-
*
|
|
107
|
+
*
|
|
108
108
|
* @example To list the entries in an Amazon Rekognition Custom Labels dataset
|
|
109
109
|
* ```javascript
|
|
110
110
|
* // Lists the JSON line entries in an Amazon Rekognition Custom Labels dataset.
|
|
111
111
|
* const input = {
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
112
|
+
* DatasetArn: "arn:aws:rekognition:us-east-1:111122223333:project/my-proj-2/dataset/train/1690564858106",
|
|
113
|
+
* MaxResults: 100,
|
|
114
|
+
* NextToken: ""
|
|
115
115
|
* };
|
|
116
116
|
* const command = new ListDatasetLabelsCommand(input);
|
|
117
117
|
* const response = await client.send(command);
|
|
118
|
-
* /* response
|
|
118
|
+
* /* response is
|
|
119
119
|
* {
|
|
120
|
-
*
|
|
120
|
+
* DatasetLabelDescriptions: [
|
|
121
121
|
* {
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
122
|
+
* LabelName: "camellia",
|
|
123
|
+
* LabelStats: {
|
|
124
|
+
* EntryCount: 1
|
|
125
125
|
* }
|
|
126
126
|
* },
|
|
127
127
|
* {
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
128
|
+
* LabelName: "with_leaves",
|
|
129
|
+
* LabelStats: {
|
|
130
|
+
* EntryCount: 2
|
|
131
131
|
* }
|
|
132
132
|
* },
|
|
133
133
|
* {
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
134
|
+
* LabelName: "mediterranean_spurge",
|
|
135
|
+
* LabelStats: {
|
|
136
|
+
* EntryCount: 1
|
|
137
137
|
* }
|
|
138
138
|
* }
|
|
139
139
|
* ]
|
|
140
140
|
* }
|
|
141
141
|
* *\/
|
|
142
|
-
* // example id: to-list-the-entries-in-an-amazon-rekognition-custom-labels-dataset-1690823292345
|
|
143
142
|
* ```
|
|
144
143
|
*
|
|
144
|
+
* @public
|
|
145
145
|
*/
|
|
146
146
|
export declare class ListDatasetLabelsCommand extends ListDatasetLabelsCommand_base {
|
|
147
147
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -105,63 +105,63 @@ declare const ListFacesCommand_base: {
|
|
|
105
105
|
* @throws {@link RekognitionServiceException}
|
|
106
106
|
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
107
107
|
*
|
|
108
|
-
*
|
|
108
|
+
*
|
|
109
109
|
* @example To list the faces in a collection
|
|
110
110
|
* ```javascript
|
|
111
111
|
* // This operation lists the faces in a Rekognition collection.
|
|
112
112
|
* const input = {
|
|
113
|
-
*
|
|
114
|
-
*
|
|
113
|
+
* CollectionId: "myphotos",
|
|
114
|
+
* MaxResults: 20
|
|
115
115
|
* };
|
|
116
116
|
* const command = new ListFacesCommand(input);
|
|
117
117
|
* const response = await client.send(command);
|
|
118
|
-
* /* response
|
|
118
|
+
* /* response is
|
|
119
119
|
* {
|
|
120
|
-
*
|
|
121
|
-
*
|
|
120
|
+
* FaceModelVersion: "6.0",
|
|
121
|
+
* Faces: [
|
|
122
122
|
* {
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
123
|
+
* BoundingBox: {
|
|
124
|
+
* Height: 0.056759100407361984,
|
|
125
|
+
* Left: 0.3453829884529114,
|
|
126
|
+
* Top: 0.36568498611450195,
|
|
127
|
+
* Width: 0.03177810087800026
|
|
128
128
|
* },
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
129
|
+
* Confidence: 99.76940155029297,
|
|
130
|
+
* FaceId: "c92265d4-5f9c-43af-a58e-12be0ce02bc3",
|
|
131
|
+
* ImageId: "56a0ca74-1c83-39dd-b363-051a64168a65",
|
|
132
|
+
* IndexFacesModelVersion: "6.0",
|
|
133
|
+
* UserId: "demoUser2"
|
|
134
134
|
* },
|
|
135
135
|
* {
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
136
|
+
* BoundingBox: {
|
|
137
|
+
* Height: 0.06347999721765518,
|
|
138
|
+
* Left: 0.5160620212554932,
|
|
139
|
+
* Top: 0.6080359816551208,
|
|
140
|
+
* Width: 0.03254450112581253
|
|
141
141
|
* },
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
142
|
+
* Confidence: 99.94369506835938,
|
|
143
|
+
* FaceId: "851cb847-dccc-4fea-9309-9f4805967855",
|
|
144
|
+
* ImageId: "a8aed589-ceec-35f7-9c04-82e0b546b024",
|
|
145
|
+
* IndexFacesModelVersion: "6.0"
|
|
146
146
|
* },
|
|
147
147
|
* {
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
148
|
+
* BoundingBox: {
|
|
149
|
+
* Height: 0.05266290158033371,
|
|
150
|
+
* Left: 0.6513839960098267,
|
|
151
|
+
* Top: 0.4218429923057556,
|
|
152
|
+
* Width: 0.03094629943370819
|
|
153
153
|
* },
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
154
|
+
* Confidence: 99.82969665527344,
|
|
155
|
+
* FaceId: "c0eb3b65-24a0-41e1-b23a-1908b1aaeac1",
|
|
156
|
+
* ImageId: "56a0ca74-1c83-39dd-b363-051a64168a65",
|
|
157
|
+
* IndexFacesModelVersion: "6.0"
|
|
158
158
|
* }
|
|
159
159
|
* ]
|
|
160
160
|
* }
|
|
161
161
|
* *\/
|
|
162
|
-
* // example id: to-list-the-faces-in-a-collection-1482181416530
|
|
163
162
|
* ```
|
|
164
163
|
*
|
|
164
|
+
* @public
|
|
165
165
|
*/
|
|
166
166
|
export declare class ListFacesCommand extends ListFacesCommand_base {
|
|
167
167
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -123,59 +123,8 @@ declare const ListMediaAnalysisJobsCommand_base: {
|
|
|
123
123
|
* @throws {@link RekognitionServiceException}
|
|
124
124
|
* <p>Base exception class for all service exceptions from Rekognition service.</p>
|
|
125
125
|
*
|
|
126
|
-
* @public
|
|
127
|
-
* @example ListMediaAnalysisJobs
|
|
128
|
-
* ```javascript
|
|
129
|
-
* // Returns a list of media analysis jobs.
|
|
130
|
-
* const input = {
|
|
131
|
-
* "MaxResults": 10
|
|
132
|
-
* };
|
|
133
|
-
* const command = new ListMediaAnalysisJobsCommand(input);
|
|
134
|
-
* const response = await client.send(command);
|
|
135
|
-
* /* response ==
|
|
136
|
-
* {
|
|
137
|
-
* "MediaAnalysisJobs": [
|
|
138
|
-
* {
|
|
139
|
-
* "CompletionTimestamp": "2023-07-28T08:05:51.958000-07:00",
|
|
140
|
-
* "CreationTimestamp": "2023-07-28T08:05:51.958000-06:00",
|
|
141
|
-
* "Input": {
|
|
142
|
-
* "S3Object": {
|
|
143
|
-
* "Bucket": "input-bucket",
|
|
144
|
-
* "Name": "input-manifest.json"
|
|
145
|
-
* }
|
|
146
|
-
* },
|
|
147
|
-
* "JobId": "861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537",
|
|
148
|
-
* "JobName": "job-name",
|
|
149
|
-
* "ManifestSummary": {
|
|
150
|
-
* "S3Object": {
|
|
151
|
-
* "Bucket": "output-bucket",
|
|
152
|
-
* "Name": "output-location/861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537-manifest-summary.json"
|
|
153
|
-
* }
|
|
154
|
-
* },
|
|
155
|
-
* "OperationsConfig": {
|
|
156
|
-
* "DetectModerationLabels": {
|
|
157
|
-
* "MinConfidence": 50,
|
|
158
|
-
* "ProjectVersion": "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958"
|
|
159
|
-
* }
|
|
160
|
-
* },
|
|
161
|
-
* "OutputConfig": {
|
|
162
|
-
* "S3Bucket": "output-bucket",
|
|
163
|
-
* "S3KeyPrefix": "output-location"
|
|
164
|
-
* },
|
|
165
|
-
* "Results": {
|
|
166
|
-
* "S3Object": {
|
|
167
|
-
* "Bucket": "output-bucket",
|
|
168
|
-
* "Name": "output-location/861a0645d98ef88efb75477628c011c04942d9d5f58faf2703c393c8cf8c1537-results.jsonl"
|
|
169
|
-
* }
|
|
170
|
-
* },
|
|
171
|
-
* "Status": "SUCCEEDED"
|
|
172
|
-
* }
|
|
173
|
-
* ]
|
|
174
|
-
* }
|
|
175
|
-
* *\/
|
|
176
|
-
* // example id: listmediaanalysisjobs-1697650653077
|
|
177
|
-
* ```
|
|
178
126
|
*
|
|
127
|
+
* @public
|
|
179
128
|
*/
|
|
180
129
|
export declare class ListMediaAnalysisJobsCommand extends ListMediaAnalysisJobsCommand_base {
|
|
181
130
|
/** @internal type navigation helper, not in runtime. */
|