@aws-sdk/client-rekognition 3.350.0 → 3.351.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 (94) hide show
  1. package/README.md +98 -7
  2. package/dist-cjs/Rekognition.js +14 -0
  3. package/dist-cjs/commands/AssociateFacesCommand.js +46 -0
  4. package/dist-cjs/commands/CreateUserCommand.js +46 -0
  5. package/dist-cjs/commands/DeleteUserCommand.js +46 -0
  6. package/dist-cjs/commands/DisassociateFacesCommand.js +46 -0
  7. package/dist-cjs/commands/ListUsersCommand.js +46 -0
  8. package/dist-cjs/commands/SearchUsersByImageCommand.js +46 -0
  9. package/dist-cjs/commands/SearchUsersCommand.js +46 -0
  10. package/dist-cjs/commands/index.js +7 -0
  11. package/dist-cjs/models/models_0.js +159 -130
  12. package/dist-cjs/models/models_1.js +18 -1
  13. package/dist-cjs/pagination/ListUsersPaginator.js +29 -0
  14. package/dist-cjs/pagination/index.js +1 -0
  15. package/dist-cjs/protocols/Aws_json1_1.js +565 -4
  16. package/dist-es/Rekognition.js +14 -0
  17. package/dist-es/commands/AssociateFacesCommand.js +42 -0
  18. package/dist-es/commands/CreateUserCommand.js +42 -0
  19. package/dist-es/commands/DeleteUserCommand.js +42 -0
  20. package/dist-es/commands/DisassociateFacesCommand.js +42 -0
  21. package/dist-es/commands/ListUsersCommand.js +42 -0
  22. package/dist-es/commands/SearchUsersByImageCommand.js +42 -0
  23. package/dist-es/commands/SearchUsersCommand.js +42 -0
  24. package/dist-es/commands/index.js +7 -0
  25. package/dist-es/models/models_0.js +149 -120
  26. package/dist-es/models/models_1.js +16 -0
  27. package/dist-es/pagination/ListUsersPaginator.js +25 -0
  28. package/dist-es/pagination/index.js +1 -0
  29. package/dist-es/protocols/Aws_json1_1.js +548 -1
  30. package/dist-types/Rekognition.d.ts +84 -0
  31. package/dist-types/RekognitionClient.d.ts +44 -2
  32. package/dist-types/commands/AssociateFacesCommand.d.ts +158 -0
  33. package/dist-types/commands/CreateUserCommand.d.ts +114 -0
  34. package/dist-types/commands/DeleteFacesCommand.d.ts +9 -0
  35. package/dist-types/commands/DeleteUserCommand.d.ts +106 -0
  36. package/dist-types/commands/DescribeCollectionCommand.d.ts +1 -0
  37. package/dist-types/commands/DisassociateFacesCommand.d.ts +128 -0
  38. package/dist-types/commands/GetFaceSearchCommand.d.ts +1 -0
  39. package/dist-types/commands/IndexFacesCommand.d.ts +1 -0
  40. package/dist-types/commands/ListFacesCommand.d.ts +5 -0
  41. package/dist-types/commands/ListUsersCommand.d.ts +108 -0
  42. package/dist-types/commands/SearchFacesByImageCommand.d.ts +1 -0
  43. package/dist-types/commands/SearchFacesCommand.d.ts +1 -0
  44. package/dist-types/commands/SearchUsersByImageCommand.d.ts +294 -0
  45. package/dist-types/commands/SearchUsersCommand.d.ts +117 -0
  46. package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +2 -1
  47. package/dist-types/commands/StartContentModerationCommand.d.ts +1 -1
  48. package/dist-types/commands/StartFaceDetectionCommand.d.ts +1 -1
  49. package/dist-types/commands/StartFaceSearchCommand.d.ts +1 -1
  50. package/dist-types/commands/StartLabelDetectionCommand.d.ts +1 -1
  51. package/dist-types/commands/StartPersonTrackingCommand.d.ts +1 -1
  52. package/dist-types/commands/StartProjectVersionCommand.d.ts +1 -1
  53. package/dist-types/commands/StartSegmentDetectionCommand.d.ts +1 -1
  54. package/dist-types/commands/StartStreamProcessorCommand.d.ts +1 -1
  55. package/dist-types/commands/StartTextDetectionCommand.d.ts +1 -1
  56. package/dist-types/commands/StopProjectVersionCommand.d.ts +1 -1
  57. package/dist-types/commands/StopStreamProcessorCommand.d.ts +1 -1
  58. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  59. package/dist-types/commands/index.d.ts +7 -0
  60. package/dist-types/index.d.ts +35 -0
  61. package/dist-types/models/models_0.d.ts +668 -604
  62. package/dist-types/models/models_1.d.ts +562 -1
  63. package/dist-types/pagination/ListUsersPaginator.d.ts +7 -0
  64. package/dist-types/pagination/index.d.ts +1 -0
  65. package/dist-types/protocols/Aws_json1_1.d.ts +63 -0
  66. package/dist-types/ts3.4/Rekognition.d.ts +119 -0
  67. package/dist-types/ts3.4/RekognitionClient.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/AssociateFacesCommand.d.ts +38 -0
  69. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +35 -0
  70. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +35 -0
  71. package/dist-types/ts3.4/commands/DisassociateFacesCommand.d.ts +39 -0
  72. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +35 -0
  73. package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +39 -0
  74. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +35 -0
  75. package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  89. package/dist-types/ts3.4/models/models_0.d.ts +236 -206
  90. package/dist-types/ts3.4/models/models_1.d.ts +150 -0
  91. package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +11 -0
  92. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  93. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
  94. package/package.json +4 -2
@@ -1,5 +1,6 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { AssociateFacesCommandInput, AssociateFacesCommandOutput } from "../commands/AssociateFacesCommand";
3
4
  import { CompareFacesCommandInput, CompareFacesCommandOutput } from "../commands/CompareFacesCommand";
4
5
  import { CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput } from "../commands/CopyProjectVersionCommand";
5
6
  import { CreateCollectionCommandInput, CreateCollectionCommandOutput } from "../commands/CreateCollectionCommand";
@@ -8,6 +9,7 @@ import { CreateFaceLivenessSessionCommandInput, CreateFaceLivenessSessionCommand
8
9
  import { CreateProjectCommandInput, CreateProjectCommandOutput } from "../commands/CreateProjectCommand";
9
10
  import { CreateProjectVersionCommandInput, CreateProjectVersionCommandOutput } from "../commands/CreateProjectVersionCommand";
10
11
  import { CreateStreamProcessorCommandInput, CreateStreamProcessorCommandOutput } from "../commands/CreateStreamProcessorCommand";
12
+ import { CreateUserCommandInput, CreateUserCommandOutput } from "../commands/CreateUserCommand";
11
13
  import { DeleteCollectionCommandInput, DeleteCollectionCommandOutput } from "../commands/DeleteCollectionCommand";
12
14
  import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "../commands/DeleteDatasetCommand";
13
15
  import { DeleteFacesCommandInput, DeleteFacesCommandOutput } from "../commands/DeleteFacesCommand";
@@ -15,6 +17,7 @@ import { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "../comman
15
17
  import { DeleteProjectPolicyCommandInput, DeleteProjectPolicyCommandOutput } from "../commands/DeleteProjectPolicyCommand";
16
18
  import { DeleteProjectVersionCommandInput, DeleteProjectVersionCommandOutput } from "../commands/DeleteProjectVersionCommand";
17
19
  import { DeleteStreamProcessorCommandInput, DeleteStreamProcessorCommandOutput } from "../commands/DeleteStreamProcessorCommand";
20
+ import { DeleteUserCommandInput, DeleteUserCommandOutput } from "../commands/DeleteUserCommand";
18
21
  import { DescribeCollectionCommandInput, DescribeCollectionCommandOutput } from "../commands/DescribeCollectionCommand";
19
22
  import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "../commands/DescribeDatasetCommand";
20
23
  import { DescribeProjectsCommandInput, DescribeProjectsCommandOutput } from "../commands/DescribeProjectsCommand";
@@ -26,6 +29,7 @@ import { DetectLabelsCommandInput, DetectLabelsCommandOutput } from "../commands
26
29
  import { DetectModerationLabelsCommandInput, DetectModerationLabelsCommandOutput } from "../commands/DetectModerationLabelsCommand";
27
30
  import { DetectProtectiveEquipmentCommandInput, DetectProtectiveEquipmentCommandOutput } from "../commands/DetectProtectiveEquipmentCommand";
28
31
  import { DetectTextCommandInput, DetectTextCommandOutput } from "../commands/DetectTextCommand";
32
+ import { DisassociateFacesCommandInput, DisassociateFacesCommandOutput } from "../commands/DisassociateFacesCommand";
29
33
  import { DistributeDatasetEntriesCommandInput, DistributeDatasetEntriesCommandOutput } from "../commands/DistributeDatasetEntriesCommand";
30
34
  import { GetCelebrityInfoCommandInput, GetCelebrityInfoCommandOutput } from "../commands/GetCelebrityInfoCommand";
31
35
  import { GetCelebrityRecognitionCommandInput, GetCelebrityRecognitionCommandOutput } from "../commands/GetCelebrityRecognitionCommand";
@@ -45,10 +49,13 @@ import { ListFacesCommandInput, ListFacesCommandOutput } from "../commands/ListF
45
49
  import { ListProjectPoliciesCommandInput, ListProjectPoliciesCommandOutput } from "../commands/ListProjectPoliciesCommand";
46
50
  import { ListStreamProcessorsCommandInput, ListStreamProcessorsCommandOutput } from "../commands/ListStreamProcessorsCommand";
47
51
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
52
+ import { ListUsersCommandInput, ListUsersCommandOutput } from "../commands/ListUsersCommand";
48
53
  import { PutProjectPolicyCommandInput, PutProjectPolicyCommandOutput } from "../commands/PutProjectPolicyCommand";
49
54
  import { RecognizeCelebritiesCommandInput, RecognizeCelebritiesCommandOutput } from "../commands/RecognizeCelebritiesCommand";
50
55
  import { SearchFacesByImageCommandInput, SearchFacesByImageCommandOutput } from "../commands/SearchFacesByImageCommand";
51
56
  import { SearchFacesCommandInput, SearchFacesCommandOutput } from "../commands/SearchFacesCommand";
57
+ import { SearchUsersByImageCommandInput, SearchUsersByImageCommandOutput } from "../commands/SearchUsersByImageCommand";
58
+ import { SearchUsersCommandInput, SearchUsersCommandOutput } from "../commands/SearchUsersCommand";
52
59
  import { StartCelebrityRecognitionCommandInput, StartCelebrityRecognitionCommandOutput } from "../commands/StartCelebrityRecognitionCommand";
53
60
  import { StartContentModerationCommandInput, StartContentModerationCommandOutput } from "../commands/StartContentModerationCommand";
54
61
  import { StartFaceDetectionCommandInput, StartFaceDetectionCommandOutput } from "../commands/StartFaceDetectionCommand";
@@ -65,6 +72,10 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T
65
72
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
66
73
  import { UpdateDatasetEntriesCommandInput, UpdateDatasetEntriesCommandOutput } from "../commands/UpdateDatasetEntriesCommand";
67
74
  import { UpdateStreamProcessorCommandInput, UpdateStreamProcessorCommandOutput } from "../commands/UpdateStreamProcessorCommand";
75
+ /**
76
+ * serializeAws_json1_1AssociateFacesCommand
77
+ */
78
+ export declare const se_AssociateFacesCommand: (input: AssociateFacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
79
  /**
69
80
  * serializeAws_json1_1CompareFacesCommand
70
81
  */
@@ -97,6 +108,10 @@ export declare const se_CreateProjectVersionCommand: (input: CreateProjectVersio
97
108
  * serializeAws_json1_1CreateStreamProcessorCommand
98
109
  */
99
110
  export declare const se_CreateStreamProcessorCommand: (input: CreateStreamProcessorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
111
+ /**
112
+ * serializeAws_json1_1CreateUserCommand
113
+ */
114
+ export declare const se_CreateUserCommand: (input: CreateUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
100
115
  /**
101
116
  * serializeAws_json1_1DeleteCollectionCommand
102
117
  */
@@ -125,6 +140,10 @@ export declare const se_DeleteProjectVersionCommand: (input: DeleteProjectVersio
125
140
  * serializeAws_json1_1DeleteStreamProcessorCommand
126
141
  */
127
142
  export declare const se_DeleteStreamProcessorCommand: (input: DeleteStreamProcessorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
143
+ /**
144
+ * serializeAws_json1_1DeleteUserCommand
145
+ */
146
+ export declare const se_DeleteUserCommand: (input: DeleteUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
128
147
  /**
129
148
  * serializeAws_json1_1DescribeCollectionCommand
130
149
  */
@@ -169,6 +188,10 @@ export declare const se_DetectProtectiveEquipmentCommand: (input: DetectProtecti
169
188
  * serializeAws_json1_1DetectTextCommand
170
189
  */
171
190
  export declare const se_DetectTextCommand: (input: DetectTextCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
191
+ /**
192
+ * serializeAws_json1_1DisassociateFacesCommand
193
+ */
194
+ export declare const se_DisassociateFacesCommand: (input: DisassociateFacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
172
195
  /**
173
196
  * serializeAws_json1_1DistributeDatasetEntriesCommand
174
197
  */
@@ -245,6 +268,10 @@ export declare const se_ListStreamProcessorsCommand: (input: ListStreamProcessor
245
268
  * serializeAws_json1_1ListTagsForResourceCommand
246
269
  */
247
270
  export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
271
+ /**
272
+ * serializeAws_json1_1ListUsersCommand
273
+ */
274
+ export declare const se_ListUsersCommand: (input: ListUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
248
275
  /**
249
276
  * serializeAws_json1_1PutProjectPolicyCommand
250
277
  */
@@ -261,6 +288,14 @@ export declare const se_SearchFacesCommand: (input: SearchFacesCommandInput, con
261
288
  * serializeAws_json1_1SearchFacesByImageCommand
262
289
  */
263
290
  export declare const se_SearchFacesByImageCommand: (input: SearchFacesByImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
291
+ /**
292
+ * serializeAws_json1_1SearchUsersCommand
293
+ */
294
+ export declare const se_SearchUsersCommand: (input: SearchUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
295
+ /**
296
+ * serializeAws_json1_1SearchUsersByImageCommand
297
+ */
298
+ export declare const se_SearchUsersByImageCommand: (input: SearchUsersByImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
264
299
  /**
265
300
  * serializeAws_json1_1StartCelebrityRecognitionCommand
266
301
  */
@@ -325,6 +360,10 @@ export declare const se_UpdateDatasetEntriesCommand: (input: UpdateDatasetEntrie
325
360
  * serializeAws_json1_1UpdateStreamProcessorCommand
326
361
  */
327
362
  export declare const se_UpdateStreamProcessorCommand: (input: UpdateStreamProcessorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
363
+ /**
364
+ * deserializeAws_json1_1AssociateFacesCommand
365
+ */
366
+ export declare const de_AssociateFacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateFacesCommandOutput>;
328
367
  /**
329
368
  * deserializeAws_json1_1CompareFacesCommand
330
369
  */
@@ -357,6 +396,10 @@ export declare const de_CreateProjectVersionCommand: (output: __HttpResponse, co
357
396
  * deserializeAws_json1_1CreateStreamProcessorCommand
358
397
  */
359
398
  export declare const de_CreateStreamProcessorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateStreamProcessorCommandOutput>;
399
+ /**
400
+ * deserializeAws_json1_1CreateUserCommand
401
+ */
402
+ export declare const de_CreateUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateUserCommandOutput>;
360
403
  /**
361
404
  * deserializeAws_json1_1DeleteCollectionCommand
362
405
  */
@@ -385,6 +428,10 @@ export declare const de_DeleteProjectVersionCommand: (output: __HttpResponse, co
385
428
  * deserializeAws_json1_1DeleteStreamProcessorCommand
386
429
  */
387
430
  export declare const de_DeleteStreamProcessorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteStreamProcessorCommandOutput>;
431
+ /**
432
+ * deserializeAws_json1_1DeleteUserCommand
433
+ */
434
+ export declare const de_DeleteUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteUserCommandOutput>;
388
435
  /**
389
436
  * deserializeAws_json1_1DescribeCollectionCommand
390
437
  */
@@ -429,6 +476,10 @@ export declare const de_DetectProtectiveEquipmentCommand: (output: __HttpRespons
429
476
  * deserializeAws_json1_1DetectTextCommand
430
477
  */
431
478
  export declare const de_DetectTextCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DetectTextCommandOutput>;
479
+ /**
480
+ * deserializeAws_json1_1DisassociateFacesCommand
481
+ */
482
+ export declare const de_DisassociateFacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateFacesCommandOutput>;
432
483
  /**
433
484
  * deserializeAws_json1_1DistributeDatasetEntriesCommand
434
485
  */
@@ -505,6 +556,10 @@ export declare const de_ListStreamProcessorsCommand: (output: __HttpResponse, co
505
556
  * deserializeAws_json1_1ListTagsForResourceCommand
506
557
  */
507
558
  export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
559
+ /**
560
+ * deserializeAws_json1_1ListUsersCommand
561
+ */
562
+ export declare const de_ListUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUsersCommandOutput>;
508
563
  /**
509
564
  * deserializeAws_json1_1PutProjectPolicyCommand
510
565
  */
@@ -521,6 +576,14 @@ export declare const de_SearchFacesCommand: (output: __HttpResponse, context: __
521
576
  * deserializeAws_json1_1SearchFacesByImageCommand
522
577
  */
523
578
  export declare const de_SearchFacesByImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchFacesByImageCommandOutput>;
579
+ /**
580
+ * deserializeAws_json1_1SearchUsersCommand
581
+ */
582
+ export declare const de_SearchUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchUsersCommandOutput>;
583
+ /**
584
+ * deserializeAws_json1_1SearchUsersByImageCommand
585
+ */
586
+ export declare const de_SearchUsersByImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchUsersByImageCommandOutput>;
524
587
  /**
525
588
  * deserializeAws_json1_1StartCelebrityRecognitionCommand
526
589
  */
@@ -1,4 +1,8 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import {
3
+ AssociateFacesCommandInput,
4
+ AssociateFacesCommandOutput,
5
+ } from "./commands/AssociateFacesCommand";
2
6
  import {
3
7
  CompareFacesCommandInput,
4
8
  CompareFacesCommandOutput,
@@ -31,6 +35,10 @@ import {
31
35
  CreateStreamProcessorCommandInput,
32
36
  CreateStreamProcessorCommandOutput,
33
37
  } from "./commands/CreateStreamProcessorCommand";
38
+ import {
39
+ CreateUserCommandInput,
40
+ CreateUserCommandOutput,
41
+ } from "./commands/CreateUserCommand";
34
42
  import {
35
43
  DeleteCollectionCommandInput,
36
44
  DeleteCollectionCommandOutput,
@@ -59,6 +67,10 @@ import {
59
67
  DeleteStreamProcessorCommandInput,
60
68
  DeleteStreamProcessorCommandOutput,
61
69
  } from "./commands/DeleteStreamProcessorCommand";
70
+ import {
71
+ DeleteUserCommandInput,
72
+ DeleteUserCommandOutput,
73
+ } from "./commands/DeleteUserCommand";
62
74
  import {
63
75
  DescribeCollectionCommandInput,
64
76
  DescribeCollectionCommandOutput,
@@ -103,6 +115,10 @@ import {
103
115
  DetectTextCommandInput,
104
116
  DetectTextCommandOutput,
105
117
  } from "./commands/DetectTextCommand";
118
+ import {
119
+ DisassociateFacesCommandInput,
120
+ DisassociateFacesCommandOutput,
121
+ } from "./commands/DisassociateFacesCommand";
106
122
  import {
107
123
  DistributeDatasetEntriesCommandInput,
108
124
  DistributeDatasetEntriesCommandOutput,
@@ -179,6 +195,10 @@ import {
179
195
  ListTagsForResourceCommandInput,
180
196
  ListTagsForResourceCommandOutput,
181
197
  } from "./commands/ListTagsForResourceCommand";
198
+ import {
199
+ ListUsersCommandInput,
200
+ ListUsersCommandOutput,
201
+ } from "./commands/ListUsersCommand";
182
202
  import {
183
203
  PutProjectPolicyCommandInput,
184
204
  PutProjectPolicyCommandOutput,
@@ -195,6 +215,14 @@ import {
195
215
  SearchFacesCommandInput,
196
216
  SearchFacesCommandOutput,
197
217
  } from "./commands/SearchFacesCommand";
218
+ import {
219
+ SearchUsersByImageCommandInput,
220
+ SearchUsersByImageCommandOutput,
221
+ } from "./commands/SearchUsersByImageCommand";
222
+ import {
223
+ SearchUsersCommandInput,
224
+ SearchUsersCommandOutput,
225
+ } from "./commands/SearchUsersCommand";
198
226
  import {
199
227
  StartCelebrityRecognitionCommandInput,
200
228
  StartCelebrityRecognitionCommandOutput,
@@ -261,6 +289,19 @@ import {
261
289
  } from "./commands/UpdateStreamProcessorCommand";
262
290
  import { RekognitionClient } from "./RekognitionClient";
263
291
  export interface Rekognition {
292
+ associateFaces(
293
+ args: AssociateFacesCommandInput,
294
+ options?: __HttpHandlerOptions
295
+ ): Promise<AssociateFacesCommandOutput>;
296
+ associateFaces(
297
+ args: AssociateFacesCommandInput,
298
+ cb: (err: any, data?: AssociateFacesCommandOutput) => void
299
+ ): void;
300
+ associateFaces(
301
+ args: AssociateFacesCommandInput,
302
+ options: __HttpHandlerOptions,
303
+ cb: (err: any, data?: AssociateFacesCommandOutput) => void
304
+ ): void;
264
305
  compareFaces(
265
306
  args: CompareFacesCommandInput,
266
307
  options?: __HttpHandlerOptions
@@ -365,6 +406,19 @@ export interface Rekognition {
365
406
  options: __HttpHandlerOptions,
366
407
  cb: (err: any, data?: CreateStreamProcessorCommandOutput) => void
367
408
  ): void;
409
+ createUser(
410
+ args: CreateUserCommandInput,
411
+ options?: __HttpHandlerOptions
412
+ ): Promise<CreateUserCommandOutput>;
413
+ createUser(
414
+ args: CreateUserCommandInput,
415
+ cb: (err: any, data?: CreateUserCommandOutput) => void
416
+ ): void;
417
+ createUser(
418
+ args: CreateUserCommandInput,
419
+ options: __HttpHandlerOptions,
420
+ cb: (err: any, data?: CreateUserCommandOutput) => void
421
+ ): void;
368
422
  deleteCollection(
369
423
  args: DeleteCollectionCommandInput,
370
424
  options?: __HttpHandlerOptions
@@ -456,6 +510,19 @@ export interface Rekognition {
456
510
  options: __HttpHandlerOptions,
457
511
  cb: (err: any, data?: DeleteStreamProcessorCommandOutput) => void
458
512
  ): void;
513
+ deleteUser(
514
+ args: DeleteUserCommandInput,
515
+ options?: __HttpHandlerOptions
516
+ ): Promise<DeleteUserCommandOutput>;
517
+ deleteUser(
518
+ args: DeleteUserCommandInput,
519
+ cb: (err: any, data?: DeleteUserCommandOutput) => void
520
+ ): void;
521
+ deleteUser(
522
+ args: DeleteUserCommandInput,
523
+ options: __HttpHandlerOptions,
524
+ cb: (err: any, data?: DeleteUserCommandOutput) => void
525
+ ): void;
459
526
  describeCollection(
460
527
  args: DescribeCollectionCommandInput,
461
528
  options?: __HttpHandlerOptions
@@ -599,6 +666,19 @@ export interface Rekognition {
599
666
  options: __HttpHandlerOptions,
600
667
  cb: (err: any, data?: DetectTextCommandOutput) => void
601
668
  ): void;
669
+ disassociateFaces(
670
+ args: DisassociateFacesCommandInput,
671
+ options?: __HttpHandlerOptions
672
+ ): Promise<DisassociateFacesCommandOutput>;
673
+ disassociateFaces(
674
+ args: DisassociateFacesCommandInput,
675
+ cb: (err: any, data?: DisassociateFacesCommandOutput) => void
676
+ ): void;
677
+ disassociateFaces(
678
+ args: DisassociateFacesCommandInput,
679
+ options: __HttpHandlerOptions,
680
+ cb: (err: any, data?: DisassociateFacesCommandOutput) => void
681
+ ): void;
602
682
  distributeDatasetEntries(
603
683
  args: DistributeDatasetEntriesCommandInput,
604
684
  options?: __HttpHandlerOptions
@@ -846,6 +926,19 @@ export interface Rekognition {
846
926
  options: __HttpHandlerOptions,
847
927
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
848
928
  ): void;
929
+ listUsers(
930
+ args: ListUsersCommandInput,
931
+ options?: __HttpHandlerOptions
932
+ ): Promise<ListUsersCommandOutput>;
933
+ listUsers(
934
+ args: ListUsersCommandInput,
935
+ cb: (err: any, data?: ListUsersCommandOutput) => void
936
+ ): void;
937
+ listUsers(
938
+ args: ListUsersCommandInput,
939
+ options: __HttpHandlerOptions,
940
+ cb: (err: any, data?: ListUsersCommandOutput) => void
941
+ ): void;
849
942
  putProjectPolicy(
850
943
  args: PutProjectPolicyCommandInput,
851
944
  options?: __HttpHandlerOptions
@@ -898,6 +991,32 @@ export interface Rekognition {
898
991
  options: __HttpHandlerOptions,
899
992
  cb: (err: any, data?: SearchFacesByImageCommandOutput) => void
900
993
  ): void;
994
+ searchUsers(
995
+ args: SearchUsersCommandInput,
996
+ options?: __HttpHandlerOptions
997
+ ): Promise<SearchUsersCommandOutput>;
998
+ searchUsers(
999
+ args: SearchUsersCommandInput,
1000
+ cb: (err: any, data?: SearchUsersCommandOutput) => void
1001
+ ): void;
1002
+ searchUsers(
1003
+ args: SearchUsersCommandInput,
1004
+ options: __HttpHandlerOptions,
1005
+ cb: (err: any, data?: SearchUsersCommandOutput) => void
1006
+ ): void;
1007
+ searchUsersByImage(
1008
+ args: SearchUsersByImageCommandInput,
1009
+ options?: __HttpHandlerOptions
1010
+ ): Promise<SearchUsersByImageCommandOutput>;
1011
+ searchUsersByImage(
1012
+ args: SearchUsersByImageCommandInput,
1013
+ cb: (err: any, data?: SearchUsersByImageCommandOutput) => void
1014
+ ): void;
1015
+ searchUsersByImage(
1016
+ args: SearchUsersByImageCommandInput,
1017
+ options: __HttpHandlerOptions,
1018
+ cb: (err: any, data?: SearchUsersByImageCommandOutput) => void
1019
+ ): void;
901
1020
  startCelebrityRecognition(
902
1021
  args: StartCelebrityRecognitionCommandInput,
903
1022
  options?: __HttpHandlerOptions
@@ -46,6 +46,10 @@ import {
46
46
  Provider as __Provider,
47
47
  StreamCollector as __StreamCollector,
48
48
  } from "@smithy/types";
49
+ import {
50
+ AssociateFacesCommandInput,
51
+ AssociateFacesCommandOutput,
52
+ } from "./commands/AssociateFacesCommand";
49
53
  import {
50
54
  CompareFacesCommandInput,
51
55
  CompareFacesCommandOutput,
@@ -78,6 +82,10 @@ import {
78
82
  CreateStreamProcessorCommandInput,
79
83
  CreateStreamProcessorCommandOutput,
80
84
  } from "./commands/CreateStreamProcessorCommand";
85
+ import {
86
+ CreateUserCommandInput,
87
+ CreateUserCommandOutput,
88
+ } from "./commands/CreateUserCommand";
81
89
  import {
82
90
  DeleteCollectionCommandInput,
83
91
  DeleteCollectionCommandOutput,
@@ -106,6 +114,10 @@ import {
106
114
  DeleteStreamProcessorCommandInput,
107
115
  DeleteStreamProcessorCommandOutput,
108
116
  } from "./commands/DeleteStreamProcessorCommand";
117
+ import {
118
+ DeleteUserCommandInput,
119
+ DeleteUserCommandOutput,
120
+ } from "./commands/DeleteUserCommand";
109
121
  import {
110
122
  DescribeCollectionCommandInput,
111
123
  DescribeCollectionCommandOutput,
@@ -150,6 +162,10 @@ import {
150
162
  DetectTextCommandInput,
151
163
  DetectTextCommandOutput,
152
164
  } from "./commands/DetectTextCommand";
165
+ import {
166
+ DisassociateFacesCommandInput,
167
+ DisassociateFacesCommandOutput,
168
+ } from "./commands/DisassociateFacesCommand";
153
169
  import {
154
170
  DistributeDatasetEntriesCommandInput,
155
171
  DistributeDatasetEntriesCommandOutput,
@@ -226,6 +242,10 @@ import {
226
242
  ListTagsForResourceCommandInput,
227
243
  ListTagsForResourceCommandOutput,
228
244
  } from "./commands/ListTagsForResourceCommand";
245
+ import {
246
+ ListUsersCommandInput,
247
+ ListUsersCommandOutput,
248
+ } from "./commands/ListUsersCommand";
229
249
  import {
230
250
  PutProjectPolicyCommandInput,
231
251
  PutProjectPolicyCommandOutput,
@@ -242,6 +262,14 @@ import {
242
262
  SearchFacesCommandInput,
243
263
  SearchFacesCommandOutput,
244
264
  } from "./commands/SearchFacesCommand";
265
+ import {
266
+ SearchUsersByImageCommandInput,
267
+ SearchUsersByImageCommandOutput,
268
+ } from "./commands/SearchUsersByImageCommand";
269
+ import {
270
+ SearchUsersCommandInput,
271
+ SearchUsersCommandOutput,
272
+ } from "./commands/SearchUsersCommand";
245
273
  import {
246
274
  StartCelebrityRecognitionCommandInput,
247
275
  StartCelebrityRecognitionCommandOutput,
@@ -313,6 +341,7 @@ import {
313
341
  } from "./endpoint/EndpointParameters";
314
342
  export { __Client };
315
343
  export type ServiceInputTypes =
344
+ | AssociateFacesCommandInput
316
345
  | CompareFacesCommandInput
317
346
  | CopyProjectVersionCommandInput
318
347
  | CreateCollectionCommandInput
@@ -321,6 +350,7 @@ export type ServiceInputTypes =
321
350
  | CreateProjectCommandInput
322
351
  | CreateProjectVersionCommandInput
323
352
  | CreateStreamProcessorCommandInput
353
+ | CreateUserCommandInput
324
354
  | DeleteCollectionCommandInput
325
355
  | DeleteDatasetCommandInput
326
356
  | DeleteFacesCommandInput
@@ -328,6 +358,7 @@ export type ServiceInputTypes =
328
358
  | DeleteProjectPolicyCommandInput
329
359
  | DeleteProjectVersionCommandInput
330
360
  | DeleteStreamProcessorCommandInput
361
+ | DeleteUserCommandInput
331
362
  | DescribeCollectionCommandInput
332
363
  | DescribeDatasetCommandInput
333
364
  | DescribeProjectVersionsCommandInput
@@ -339,6 +370,7 @@ export type ServiceInputTypes =
339
370
  | DetectModerationLabelsCommandInput
340
371
  | DetectProtectiveEquipmentCommandInput
341
372
  | DetectTextCommandInput
373
+ | DisassociateFacesCommandInput
342
374
  | DistributeDatasetEntriesCommandInput
343
375
  | GetCelebrityInfoCommandInput
344
376
  | GetCelebrityRecognitionCommandInput
@@ -358,10 +390,13 @@ export type ServiceInputTypes =
358
390
  | ListProjectPoliciesCommandInput
359
391
  | ListStreamProcessorsCommandInput
360
392
  | ListTagsForResourceCommandInput
393
+ | ListUsersCommandInput
361
394
  | PutProjectPolicyCommandInput
362
395
  | RecognizeCelebritiesCommandInput
363
396
  | SearchFacesByImageCommandInput
364
397
  | SearchFacesCommandInput
398
+ | SearchUsersByImageCommandInput
399
+ | SearchUsersCommandInput
365
400
  | StartCelebrityRecognitionCommandInput
366
401
  | StartContentModerationCommandInput
367
402
  | StartFaceDetectionCommandInput
@@ -379,6 +414,7 @@ export type ServiceInputTypes =
379
414
  | UpdateDatasetEntriesCommandInput
380
415
  | UpdateStreamProcessorCommandInput;
381
416
  export type ServiceOutputTypes =
417
+ | AssociateFacesCommandOutput
382
418
  | CompareFacesCommandOutput
383
419
  | CopyProjectVersionCommandOutput
384
420
  | CreateCollectionCommandOutput
@@ -387,6 +423,7 @@ export type ServiceOutputTypes =
387
423
  | CreateProjectCommandOutput
388
424
  | CreateProjectVersionCommandOutput
389
425
  | CreateStreamProcessorCommandOutput
426
+ | CreateUserCommandOutput
390
427
  | DeleteCollectionCommandOutput
391
428
  | DeleteDatasetCommandOutput
392
429
  | DeleteFacesCommandOutput
@@ -394,6 +431,7 @@ export type ServiceOutputTypes =
394
431
  | DeleteProjectPolicyCommandOutput
395
432
  | DeleteProjectVersionCommandOutput
396
433
  | DeleteStreamProcessorCommandOutput
434
+ | DeleteUserCommandOutput
397
435
  | DescribeCollectionCommandOutput
398
436
  | DescribeDatasetCommandOutput
399
437
  | DescribeProjectVersionsCommandOutput
@@ -405,6 +443,7 @@ export type ServiceOutputTypes =
405
443
  | DetectModerationLabelsCommandOutput
406
444
  | DetectProtectiveEquipmentCommandOutput
407
445
  | DetectTextCommandOutput
446
+ | DisassociateFacesCommandOutput
408
447
  | DistributeDatasetEntriesCommandOutput
409
448
  | GetCelebrityInfoCommandOutput
410
449
  | GetCelebrityRecognitionCommandOutput
@@ -424,10 +463,13 @@ export type ServiceOutputTypes =
424
463
  | ListProjectPoliciesCommandOutput
425
464
  | ListStreamProcessorsCommandOutput
426
465
  | ListTagsForResourceCommandOutput
466
+ | ListUsersCommandOutput
427
467
  | PutProjectPolicyCommandOutput
428
468
  | RecognizeCelebritiesCommandOutput
429
469
  | SearchFacesByImageCommandOutput
430
470
  | SearchFacesCommandOutput
471
+ | SearchUsersByImageCommandOutput
472
+ | SearchUsersCommandOutput
431
473
  | StartCelebrityRecognitionCommandOutput
432
474
  | StartContentModerationCommandOutput
433
475
  | StartFaceDetectionCommandOutput
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ AssociateFacesRequest,
11
+ AssociateFacesResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RekognitionClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RekognitionClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface AssociateFacesCommandInput extends AssociateFacesRequest {}
20
+ export interface AssociateFacesCommandOutput
21
+ extends AssociateFacesResponse,
22
+ __MetadataBearer {}
23
+ export declare class AssociateFacesCommand extends $Command<
24
+ AssociateFacesCommandInput,
25
+ AssociateFacesCommandOutput,
26
+ RekognitionClientResolvedConfig
27
+ > {
28
+ readonly input: AssociateFacesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: AssociateFacesCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: RekognitionClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<AssociateFacesCommandInput, AssociateFacesCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import { CreateUserRequest, CreateUserResponse } from "../models/models_0";
10
+ import {
11
+ RekognitionClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../RekognitionClient";
15
+ export { __MetadataBearer, $Command };
16
+ export interface CreateUserCommandInput extends CreateUserRequest {}
17
+ export interface CreateUserCommandOutput
18
+ extends CreateUserResponse,
19
+ __MetadataBearer {}
20
+ export declare class CreateUserCommand extends $Command<
21
+ CreateUserCommandInput,
22
+ CreateUserCommandOutput,
23
+ RekognitionClientResolvedConfig
24
+ > {
25
+ readonly input: CreateUserCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: CreateUserCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: RekognitionClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<CreateUserCommandInput, CreateUserCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import { DeleteUserRequest, DeleteUserResponse } from "../models/models_0";
10
+ import {
11
+ RekognitionClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../RekognitionClient";
15
+ export { __MetadataBearer, $Command };
16
+ export interface DeleteUserCommandInput extends DeleteUserRequest {}
17
+ export interface DeleteUserCommandOutput
18
+ extends DeleteUserResponse,
19
+ __MetadataBearer {}
20
+ export declare class DeleteUserCommand extends $Command<
21
+ DeleteUserCommandInput,
22
+ DeleteUserCommandOutput,
23
+ RekognitionClientResolvedConfig
24
+ > {
25
+ readonly input: DeleteUserCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: DeleteUserCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: RekognitionClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<DeleteUserCommandInput, DeleteUserCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ DisassociateFacesRequest,
11
+ DisassociateFacesResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RekognitionClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RekognitionClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DisassociateFacesCommandInput
20
+ extends DisassociateFacesRequest {}
21
+ export interface DisassociateFacesCommandOutput
22
+ extends DisassociateFacesResponse,
23
+ __MetadataBearer {}
24
+ export declare class DisassociateFacesCommand extends $Command<
25
+ DisassociateFacesCommandInput,
26
+ DisassociateFacesCommandOutput,
27
+ RekognitionClientResolvedConfig
28
+ > {
29
+ readonly input: DisassociateFacesCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DisassociateFacesCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: RekognitionClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<DisassociateFacesCommandInput, DisassociateFacesCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }