@@ -16,6 +16,11 @@ parameters, and common errors.</p>
16
16
<ul >
17
17
<li >
18
18
<p >
19
+ <a href =" https://docs.aws.amazon.com/rekognition/latest/APIReference/API_AssociateFaces.html " >AssociateFaces</a >
20
+ </p >
21
+ </li >
22
+ <li >
23
+ <p >
19
24
<a href =" https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CompareFaces.html " >CompareFaces</a >
20
25
</p >
21
26
</li >
@@ -26,6 +31,11 @@ parameters, and common errors.</p>
26
31
</li >
27
32
<li >
28
33
<p >
34
+ <a href =" https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateUser.html " >CreateUser</a >
35
+ </p >
36
+ </li >
37
+ <li >
38
+ <p >
29
39
<a href =" https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DeleteCollection.html " >DeleteCollection</a >
30
40
</p >
31
41
</li >
@@ -36,6 +46,11 @@ parameters, and common errors.</p>
36
46
</li >
37
47
<li >
38
48
<p >
49
+ <a href =" https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DeleteUser.html " >DeleteUser</a >
50
+ </p >
51
+ </li >
52
+ <li >
53
+ <p >
39
54
<a href =" https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DescribeCollection.html " >DescribeCollection</a >
40
55
</p >
41
56
</li >
@@ -66,6 +81,11 @@ parameters, and common errors.</p>
66
81
</li >
67
82
<li >
68
83
<p >
84
+ <a href =" https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DisassociateFaces.html " >DisassociateFaces</a >
85
+ </p >
86
+ </li >
87
+ <li >
88
+ <p >
69
89
<a href =" https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetCelebrityInfo.html " >GetCelebrityInfo</a >
70
90
</p >
71
91
</li >
@@ -86,6 +106,11 @@ parameters, and common errors.</p>
86
106
</li >
87
107
<li >
88
108
<p >
109
+ <a href =" https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListFaces.html " >ListUsers</a >
110
+ </p >
111
+ </li >
112
+ <li >
113
+ <p >
89
114
<a href =" https://docs.aws.amazon.com/rekognition/latest/APIReference/API_RecognizeCelebrities.html " >RecognizeCelebrities</a >
90
115
</p >
91
116
</li >
@@ -99,6 +124,16 @@ parameters, and common errors.</p>
99
124
<a href =" https://docs.aws.amazon.com/rekognition/latest/APIReference/API_SearchFacesByImage.html " >SearchFacesByImage</a >
100
125
</p >
101
126
</li >
127
+ <li >
128
+ <p >
129
+ <a href =" https://docs.aws.amazon.com/rekognition/latest/APIReference/API_SearchUsers.html " >SearchUsers</a >
130
+ </p >
131
+ </li >
132
+ <li >
133
+ <p >
134
+ <a href =" https://docs.aws.amazon.com/rekognition/latest/APIReference/API_SearchUsersByImage.html " >SearchUsersByImage</a >
135
+ </p >
136
+ </li >
102
137
</ul >
103
138
<p >
104
139
<b >Amazon Rekognition Custom Labels</b >
@@ -346,16 +381,16 @@ using your favorite package manager:
346
381
347
382
The AWS SDK is modulized by clients and commands.
348
383
To send a request, you only need to import the ` RekognitionClient ` and
349
- the commands you need, for example ` CompareFacesCommand ` :
384
+ the commands you need, for example ` AssociateFacesCommand ` :
350
385
351
386
``` js
352
387
// ES5 example
353
- const { RekognitionClient , CompareFacesCommand } = require (" @aws-sdk/client-rekognition" );
388
+ const { RekognitionClient , AssociateFacesCommand } = require (" @aws-sdk/client-rekognition" );
354
389
```
355
390
356
391
``` ts
357
392
// ES6+ example
358
- import { RekognitionClient , CompareFacesCommand } from " @aws-sdk/client-rekognition" ;
393
+ import { RekognitionClient , AssociateFacesCommand } from " @aws-sdk/client-rekognition" ;
359
394
```
360
395
361
396
### Usage
@@ -374,7 +409,7 @@ const client = new RekognitionClient({ region: "REGION" });
374
409
const params = {
375
410
/** input parameters */
376
411
};
377
- const command = new CompareFacesCommand (params);
412
+ const command = new AssociateFacesCommand (params);
378
413
```
379
414
380
415
#### Async/await
@@ -453,15 +488,15 @@ const client = new AWS.Rekognition({ region: "REGION" });
453
488
454
489
// async/await.
455
490
try {
456
- const data = await client .compareFaces (params );
491
+ const data = await client .associateFaces (params );
457
492
// process data.
458
493
} catch (error ) {
459
494
// error handling.
460
495
}
461
496
462
497
// Promises.
463
498
client
464
- .compareFaces (params )
499
+ .associateFaces (params )
465
500
.then ((data ) => {
466
501
// process data.
467
502
})
@@ -470,7 +505,7 @@ client
470
505
});
471
506
472
507
// callbacks.
473
- client .compareFaces (params , (err , data ) => {
508
+ client .associateFaces (params , (err , data ) => {
474
509
// process err and data.
475
510
});
476
511
```
@@ -526,6 +561,14 @@ see LICENSE for more information.
526
561
527
562
## Client Commands (Operations List)
528
563
564
+ <details >
565
+ <summary >
566
+ AssociateFaces
567
+ </summary >
568
+
569
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/classes/associatefacescommand.html ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/associatefacescommandinput.html ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/associatefacescommandoutput.html )
570
+
571
+ </details >
529
572
<details >
530
573
<summary >
531
574
CompareFaces
@@ -589,6 +632,14 @@ CreateStreamProcessor
589
632
590
633
[ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/classes/createstreamprocessorcommand.html ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/createstreamprocessorcommandinput.html ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/createstreamprocessorcommandoutput.html )
591
634
635
+ </details >
636
+ <details >
637
+ <summary >
638
+ CreateUser
639
+ </summary >
640
+
641
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/classes/createusercommand.html ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/createusercommandinput.html ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/createusercommandoutput.html )
642
+
592
643
</details >
593
644
<details >
594
645
<summary >
@@ -645,6 +696,14 @@ DeleteStreamProcessor
645
696
646
697
[ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/classes/deletestreamprocessorcommand.html ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/deletestreamprocessorcommandinput.html ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/deletestreamprocessorcommandoutput.html )
647
698
699
+ </details >
700
+ <details >
701
+ <summary >
702
+ DeleteUser
703
+ </summary >
704
+
705
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/classes/deleteusercommand.html ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/deleteusercommandinput.html ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/deleteusercommandoutput.html )
706
+
648
707
</details >
649
708
<details >
650
709
<summary >
@@ -733,6 +792,14 @@ DetectText
733
792
734
793
[ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/classes/detecttextcommand.html ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/detecttextcommandinput.html ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/detecttextcommandoutput.html )
735
794
795
+ </details >
796
+ <details >
797
+ <summary >
798
+ DisassociateFaces
799
+ </summary >
800
+
801
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/classes/disassociatefacescommand.html ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/disassociatefacescommandinput.html ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/disassociatefacescommandoutput.html )
802
+
736
803
</details >
737
804
<details >
738
805
<summary >
@@ -885,6 +952,14 @@ ListTagsForResource
885
952
886
953
[ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/classes/listtagsforresourcecommand.html ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/listtagsforresourcecommandinput.html ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/listtagsforresourcecommandoutput.html )
887
954
955
+ </details >
956
+ <details >
957
+ <summary >
958
+ ListUsers
959
+ </summary >
960
+
961
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/classes/listuserscommand.html ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/listuserscommandinput.html ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/listuserscommandoutput.html )
962
+
888
963
</details >
889
964
<details >
890
965
<summary >
@@ -917,6 +992,22 @@ SearchFacesByImage
917
992
918
993
[ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/classes/searchfacesbyimagecommand.html ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/searchfacesbyimagecommandinput.html ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/searchfacesbyimagecommandoutput.html )
919
994
995
+ </details >
996
+ <details >
997
+ <summary >
998
+ SearchUsers
999
+ </summary >
1000
+
1001
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/classes/searchuserscommand.html ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/searchuserscommandinput.html ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/searchuserscommandoutput.html )
1002
+
1003
+ </details >
1004
+ <details >
1005
+ <summary >
1006
+ SearchUsersByImage
1007
+ </summary >
1008
+
1009
+ [ Command API Reference] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/classes/searchusersbyimagecommand.html ) / [ Input] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/searchusersbyimagecommandinput.html ) / [ Output] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-rekognition/interfaces/searchusersbyimagecommandoutput.html )
1010
+
920
1011
</details >
921
1012
<details >
922
1013
<summary >
0 commit comments