@aws-sdk/client-rekognition 3.348.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 +7 -5
@@ -0,0 +1,294 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { SearchUsersByImageRequest, SearchUsersByImageResponse } from "../models/models_0";
5
+ import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link SearchUsersByImageCommand}.
14
+ */
15
+ export interface SearchUsersByImageCommandInput extends SearchUsersByImageRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link SearchUsersByImageCommand}.
21
+ */
22
+ export interface SearchUsersByImageCommandOutput extends SearchUsersByImageResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Searches for UserIDs using a supplied image. It first detects the largest face in the
27
+ * image, and then searches a specified collection for matching UserIDs. </p>
28
+ * <p>The operation returns an array of UserIDs that match the face in the supplied image,
29
+ * ordered by similarity score with the highest similarity first. It also returns a bounding box
30
+ * for the face found in the input image. </p>
31
+ * <p>Information about faces detected in the supplied image, but not used for the search, is
32
+ * returned in an array of <code>UnsearchedFace</code> objects. If no valid face is detected
33
+ * in the image, the response will contain an empty <code>UserMatches</code> list and no
34
+ * <code>SearchedFace</code> object. </p>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { RekognitionClient, SearchUsersByImageCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
39
+ * // const { RekognitionClient, SearchUsersByImageCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
40
+ * const client = new RekognitionClient(config);
41
+ * const input = { // SearchUsersByImageRequest
42
+ * CollectionId: "STRING_VALUE", // required
43
+ * Image: { // Image
44
+ * Bytes: "BLOB_VALUE",
45
+ * S3Object: { // S3Object
46
+ * Bucket: "STRING_VALUE",
47
+ * Name: "STRING_VALUE",
48
+ * Version: "STRING_VALUE",
49
+ * },
50
+ * },
51
+ * UserMatchThreshold: Number("float"),
52
+ * MaxUsers: Number("int"),
53
+ * QualityFilter: "NONE" || "AUTO" || "LOW" || "MEDIUM" || "HIGH",
54
+ * };
55
+ * const command = new SearchUsersByImageCommand(input);
56
+ * const response = await client.send(command);
57
+ * // { // SearchUsersByImageResponse
58
+ * // UserMatches: [ // UserMatchList
59
+ * // { // UserMatch
60
+ * // Similarity: Number("float"),
61
+ * // User: { // MatchedUser
62
+ * // UserId: "STRING_VALUE",
63
+ * // UserStatus: "ACTIVE" || "UPDATING" || "CREATING" || "CREATED",
64
+ * // },
65
+ * // },
66
+ * // ],
67
+ * // FaceModelVersion: "STRING_VALUE",
68
+ * // SearchedFace: { // SearchedFaceDetails
69
+ * // FaceDetail: { // FaceDetail
70
+ * // BoundingBox: { // BoundingBox
71
+ * // Width: Number("float"),
72
+ * // Height: Number("float"),
73
+ * // Left: Number("float"),
74
+ * // Top: Number("float"),
75
+ * // },
76
+ * // AgeRange: { // AgeRange
77
+ * // Low: Number("int"),
78
+ * // High: Number("int"),
79
+ * // },
80
+ * // Smile: { // Smile
81
+ * // Value: true || false,
82
+ * // Confidence: Number("float"),
83
+ * // },
84
+ * // Eyeglasses: { // Eyeglasses
85
+ * // Value: true || false,
86
+ * // Confidence: Number("float"),
87
+ * // },
88
+ * // Sunglasses: { // Sunglasses
89
+ * // Value: true || false,
90
+ * // Confidence: Number("float"),
91
+ * // },
92
+ * // Gender: { // Gender
93
+ * // Value: "Male" || "Female",
94
+ * // Confidence: Number("float"),
95
+ * // },
96
+ * // Beard: { // Beard
97
+ * // Value: true || false,
98
+ * // Confidence: Number("float"),
99
+ * // },
100
+ * // Mustache: { // Mustache
101
+ * // Value: true || false,
102
+ * // Confidence: Number("float"),
103
+ * // },
104
+ * // EyesOpen: { // EyeOpen
105
+ * // Value: true || false,
106
+ * // Confidence: Number("float"),
107
+ * // },
108
+ * // MouthOpen: { // MouthOpen
109
+ * // Value: true || false,
110
+ * // Confidence: Number("float"),
111
+ * // },
112
+ * // Emotions: [ // Emotions
113
+ * // { // Emotion
114
+ * // Type: "HAPPY" || "SAD" || "ANGRY" || "CONFUSED" || "DISGUSTED" || "SURPRISED" || "CALM" || "UNKNOWN" || "FEAR",
115
+ * // Confidence: Number("float"),
116
+ * // },
117
+ * // ],
118
+ * // Landmarks: [ // Landmarks
119
+ * // { // Landmark
120
+ * // Type: "eyeLeft" || "eyeRight" || "nose" || "mouthLeft" || "mouthRight" || "leftEyeBrowLeft" || "leftEyeBrowRight" || "leftEyeBrowUp" || "rightEyeBrowLeft" || "rightEyeBrowRight" || "rightEyeBrowUp" || "leftEyeLeft" || "leftEyeRight" || "leftEyeUp" || "leftEyeDown" || "rightEyeLeft" || "rightEyeRight" || "rightEyeUp" || "rightEyeDown" || "noseLeft" || "noseRight" || "mouthUp" || "mouthDown" || "leftPupil" || "rightPupil" || "upperJawlineLeft" || "midJawlineLeft" || "chinBottom" || "midJawlineRight" || "upperJawlineRight",
121
+ * // X: Number("float"),
122
+ * // Y: Number("float"),
123
+ * // },
124
+ * // ],
125
+ * // Pose: { // Pose
126
+ * // Roll: Number("float"),
127
+ * // Yaw: Number("float"),
128
+ * // Pitch: Number("float"),
129
+ * // },
130
+ * // Quality: { // ImageQuality
131
+ * // Brightness: Number("float"),
132
+ * // Sharpness: Number("float"),
133
+ * // },
134
+ * // Confidence: Number("float"),
135
+ * // FaceOccluded: { // FaceOccluded
136
+ * // Value: true || false,
137
+ * // Confidence: Number("float"),
138
+ * // },
139
+ * // EyeDirection: { // EyeDirection
140
+ * // Yaw: Number("float"),
141
+ * // Pitch: Number("float"),
142
+ * // Confidence: Number("float"),
143
+ * // },
144
+ * // },
145
+ * // },
146
+ * // UnsearchedFaces: [ // UnsearchedFacesList
147
+ * // { // UnsearchedFace
148
+ * // FaceDetails: {
149
+ * // BoundingBox: {
150
+ * // Width: Number("float"),
151
+ * // Height: Number("float"),
152
+ * // Left: Number("float"),
153
+ * // Top: Number("float"),
154
+ * // },
155
+ * // AgeRange: {
156
+ * // Low: Number("int"),
157
+ * // High: Number("int"),
158
+ * // },
159
+ * // Smile: {
160
+ * // Value: true || false,
161
+ * // Confidence: Number("float"),
162
+ * // },
163
+ * // Eyeglasses: {
164
+ * // Value: true || false,
165
+ * // Confidence: Number("float"),
166
+ * // },
167
+ * // Sunglasses: {
168
+ * // Value: true || false,
169
+ * // Confidence: Number("float"),
170
+ * // },
171
+ * // Gender: {
172
+ * // Value: "Male" || "Female",
173
+ * // Confidence: Number("float"),
174
+ * // },
175
+ * // Beard: {
176
+ * // Value: true || false,
177
+ * // Confidence: Number("float"),
178
+ * // },
179
+ * // Mustache: {
180
+ * // Value: true || false,
181
+ * // Confidence: Number("float"),
182
+ * // },
183
+ * // EyesOpen: {
184
+ * // Value: true || false,
185
+ * // Confidence: Number("float"),
186
+ * // },
187
+ * // MouthOpen: {
188
+ * // Value: true || false,
189
+ * // Confidence: Number("float"),
190
+ * // },
191
+ * // Emotions: [
192
+ * // {
193
+ * // Type: "HAPPY" || "SAD" || "ANGRY" || "CONFUSED" || "DISGUSTED" || "SURPRISED" || "CALM" || "UNKNOWN" || "FEAR",
194
+ * // Confidence: Number("float"),
195
+ * // },
196
+ * // ],
197
+ * // Landmarks: [
198
+ * // {
199
+ * // Type: "eyeLeft" || "eyeRight" || "nose" || "mouthLeft" || "mouthRight" || "leftEyeBrowLeft" || "leftEyeBrowRight" || "leftEyeBrowUp" || "rightEyeBrowLeft" || "rightEyeBrowRight" || "rightEyeBrowUp" || "leftEyeLeft" || "leftEyeRight" || "leftEyeUp" || "leftEyeDown" || "rightEyeLeft" || "rightEyeRight" || "rightEyeUp" || "rightEyeDown" || "noseLeft" || "noseRight" || "mouthUp" || "mouthDown" || "leftPupil" || "rightPupil" || "upperJawlineLeft" || "midJawlineLeft" || "chinBottom" || "midJawlineRight" || "upperJawlineRight",
200
+ * // X: Number("float"),
201
+ * // Y: Number("float"),
202
+ * // },
203
+ * // ],
204
+ * // Pose: {
205
+ * // Roll: Number("float"),
206
+ * // Yaw: Number("float"),
207
+ * // Pitch: Number("float"),
208
+ * // },
209
+ * // Quality: {
210
+ * // Brightness: Number("float"),
211
+ * // Sharpness: Number("float"),
212
+ * // },
213
+ * // Confidence: Number("float"),
214
+ * // FaceOccluded: {
215
+ * // Value: true || false,
216
+ * // Confidence: Number("float"),
217
+ * // },
218
+ * // EyeDirection: {
219
+ * // Yaw: Number("float"),
220
+ * // Pitch: Number("float"),
221
+ * // Confidence: Number("float"),
222
+ * // },
223
+ * // },
224
+ * // Reasons: [ // UnsearchedFaceReasons
225
+ * // "FACE_NOT_LARGEST" || "EXCEEDS_MAX_FACES" || "EXTREME_POSE" || "LOW_BRIGHTNESS" || "LOW_SHARPNESS" || "LOW_CONFIDENCE" || "SMALL_BOUNDING_BOX" || "LOW_FACE_QUALITY",
226
+ * // ],
227
+ * // },
228
+ * // ],
229
+ * // };
230
+ *
231
+ * ```
232
+ *
233
+ * @param SearchUsersByImageCommandInput - {@link SearchUsersByImageCommandInput}
234
+ * @returns {@link SearchUsersByImageCommandOutput}
235
+ * @see {@link SearchUsersByImageCommandInput} for command's `input` shape.
236
+ * @see {@link SearchUsersByImageCommandOutput} for command's `response` shape.
237
+ * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
238
+ *
239
+ * @throws {@link AccessDeniedException} (client fault)
240
+ * <p>You are not authorized to perform the action.</p>
241
+ *
242
+ * @throws {@link ImageTooLargeException} (client fault)
243
+ * <p>The input image size exceeds the allowed limit. If you are calling
244
+ * DetectProtectiveEquipment, the image size or resolution exceeds the allowed limit. For more
245
+ * information, see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition Developer Guide.
246
+ * </p>
247
+ *
248
+ * @throws {@link InternalServerError} (server fault)
249
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
250
+ *
251
+ * @throws {@link InvalidImageFormatException} (client fault)
252
+ * <p>The provided image format is not supported. </p>
253
+ *
254
+ * @throws {@link InvalidParameterException} (client fault)
255
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
256
+ * operation again.</p>
257
+ *
258
+ * @throws {@link InvalidS3ObjectException} (client fault)
259
+ * <p>Amazon Rekognition is unable to access the S3 object specified in the request.</p>
260
+ *
261
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
262
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
263
+ * limit, contact Amazon Rekognition.</p>
264
+ *
265
+ * @throws {@link ResourceNotFoundException} (client fault)
266
+ * <p>The resource specified in the request cannot be found.</p>
267
+ *
268
+ * @throws {@link ThrottlingException} (server fault)
269
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
270
+ *
271
+ * @throws {@link RekognitionServiceException}
272
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
273
+ *
274
+ */
275
+ export declare class SearchUsersByImageCommand extends $Command<SearchUsersByImageCommandInput, SearchUsersByImageCommandOutput, RekognitionClientResolvedConfig> {
276
+ readonly input: SearchUsersByImageCommandInput;
277
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
278
+ /**
279
+ * @public
280
+ */
281
+ constructor(input: SearchUsersByImageCommandInput);
282
+ /**
283
+ * @internal
284
+ */
285
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchUsersByImageCommandInput, SearchUsersByImageCommandOutput>;
286
+ /**
287
+ * @internal
288
+ */
289
+ private serialize;
290
+ /**
291
+ * @internal
292
+ */
293
+ private deserialize;
294
+ }
@@ -0,0 +1,117 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { SearchUsersRequest, SearchUsersResponse } from "../models/models_0";
5
+ import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link SearchUsersCommand}.
14
+ */
15
+ export interface SearchUsersCommandInput extends SearchUsersRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link SearchUsersCommand}.
21
+ */
22
+ export interface SearchUsersCommandOutput extends SearchUsersResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Searches for UserIDs within a collection based on a <code>FaceId</code> or
27
+ * <code>UserId</code>. This API can be used to find the closest UserID (with a highest
28
+ * similarity) to associate a face. The request must be provided with either <code>FaceId</code>
29
+ * or <code>UserId</code>. The operation returns an array of UserID that match the
30
+ * <code>FaceId</code> or <code>UserId</code>, ordered by similarity score with the highest
31
+ * similarity first. </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { RekognitionClient, SearchUsersCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
36
+ * // const { RekognitionClient, SearchUsersCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
37
+ * const client = new RekognitionClient(config);
38
+ * const input = { // SearchUsersRequest
39
+ * CollectionId: "STRING_VALUE", // required
40
+ * UserId: "STRING_VALUE",
41
+ * FaceId: "STRING_VALUE",
42
+ * UserMatchThreshold: Number("float"),
43
+ * MaxUsers: Number("int"),
44
+ * };
45
+ * const command = new SearchUsersCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // SearchUsersResponse
48
+ * // UserMatches: [ // UserMatchList
49
+ * // { // UserMatch
50
+ * // Similarity: Number("float"),
51
+ * // User: { // MatchedUser
52
+ * // UserId: "STRING_VALUE",
53
+ * // UserStatus: "ACTIVE" || "UPDATING" || "CREATING" || "CREATED",
54
+ * // },
55
+ * // },
56
+ * // ],
57
+ * // FaceModelVersion: "STRING_VALUE",
58
+ * // SearchedFace: { // SearchedFace
59
+ * // FaceId: "STRING_VALUE",
60
+ * // },
61
+ * // SearchedUser: { // SearchedUser
62
+ * // UserId: "STRING_VALUE",
63
+ * // },
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param SearchUsersCommandInput - {@link SearchUsersCommandInput}
69
+ * @returns {@link SearchUsersCommandOutput}
70
+ * @see {@link SearchUsersCommandInput} for command's `input` shape.
71
+ * @see {@link SearchUsersCommandOutput} for command's `response` shape.
72
+ * @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
73
+ *
74
+ * @throws {@link AccessDeniedException} (client fault)
75
+ * <p>You are not authorized to perform the action.</p>
76
+ *
77
+ * @throws {@link InternalServerError} (server fault)
78
+ * <p>Amazon Rekognition experienced a service issue. Try your call again.</p>
79
+ *
80
+ * @throws {@link InvalidParameterException} (client fault)
81
+ * <p>Input parameter violated a constraint. Validate your parameter before calling the API
82
+ * operation again.</p>
83
+ *
84
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
85
+ * <p>The number of requests exceeded your throughput limit. If you want to increase this
86
+ * limit, contact Amazon Rekognition.</p>
87
+ *
88
+ * @throws {@link ResourceNotFoundException} (client fault)
89
+ * <p>The resource specified in the request cannot be found.</p>
90
+ *
91
+ * @throws {@link ThrottlingException} (server fault)
92
+ * <p>Amazon Rekognition is temporarily unable to process the request. Try your call again.</p>
93
+ *
94
+ * @throws {@link RekognitionServiceException}
95
+ * <p>Base exception class for all service exceptions from Rekognition service.</p>
96
+ *
97
+ */
98
+ export declare class SearchUsersCommand extends $Command<SearchUsersCommandInput, SearchUsersCommandOutput, RekognitionClientResolvedConfig> {
99
+ readonly input: SearchUsersCommandInput;
100
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
101
+ /**
102
+ * @public
103
+ */
104
+ constructor(input: SearchUsersCommandInput);
105
+ /**
106
+ * @internal
107
+ */
108
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchUsersCommandInput, SearchUsersCommandOutput>;
109
+ /**
110
+ * @internal
111
+ */
112
+ private serialize;
113
+ /**
114
+ * @internal
115
+ */
116
+ private deserialize;
117
+ }
@@ -1,7 +1,8 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { StartCelebrityRecognitionRequest, StartCelebrityRecognitionResponse } from "../models/models_0";
4
+ import { StartCelebrityRecognitionRequest } from "../models/models_0";
5
+ import { StartCelebrityRecognitionResponse } from "../models/models_1";
5
6
  import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
7
  /**
7
8
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { StartContentModerationRequest, StartContentModerationResponse } from "../models/models_0";
4
+ import { StartContentModerationRequest, StartContentModerationResponse } from "../models/models_1";
5
5
  import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { StartFaceDetectionRequest, StartFaceDetectionResponse } from "../models/models_0";
4
+ import { StartFaceDetectionRequest, StartFaceDetectionResponse } from "../models/models_1";
5
5
  import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { StartFaceSearchRequest, StartFaceSearchResponse } from "../models/models_0";
4
+ import { StartFaceSearchRequest, StartFaceSearchResponse } from "../models/models_1";
5
5
  import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { StartLabelDetectionRequest, StartLabelDetectionResponse } from "../models/models_0";
4
+ import { StartLabelDetectionRequest, StartLabelDetectionResponse } from "../models/models_1";
5
5
  import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { StartPersonTrackingRequest, StartPersonTrackingResponse } from "../models/models_0";
4
+ import { StartPersonTrackingRequest, StartPersonTrackingResponse } from "../models/models_1";
5
5
  import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { StartProjectVersionRequest, StartProjectVersionResponse } from "../models/models_0";
4
+ import { StartProjectVersionRequest, StartProjectVersionResponse } from "../models/models_1";
5
5
  import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { StartSegmentDetectionRequest, StartSegmentDetectionResponse } from "../models/models_0";
4
+ import { StartSegmentDetectionRequest, StartSegmentDetectionResponse } from "../models/models_1";
5
5
  import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { StartStreamProcessorRequest, StartStreamProcessorResponse } from "../models/models_0";
4
+ import { StartStreamProcessorRequest, StartStreamProcessorResponse } from "../models/models_1";
5
5
  import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { StartTextDetectionRequest, StartTextDetectionResponse } from "../models/models_0";
4
+ import { StartTextDetectionRequest, StartTextDetectionResponse } from "../models/models_1";
5
5
  import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { StopProjectVersionRequest, StopProjectVersionResponse } from "../models/models_0";
4
+ import { StopProjectVersionRequest, StopProjectVersionResponse } from "../models/models_1";
5
5
  import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { StopStreamProcessorRequest, StopStreamProcessorResponse } from "../models/models_0";
4
+ import { StopStreamProcessorRequest, StopStreamProcessorResponse } from "../models/models_1";
5
5
  import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
6
  /**
7
7
  * @public
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
5
5
  import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
6
6
  /**
7
7
  * @public
@@ -1,3 +1,4 @@
1
+ export * from "./AssociateFacesCommand";
1
2
  export * from "./CompareFacesCommand";
2
3
  export * from "./CopyProjectVersionCommand";
3
4
  export * from "./CreateCollectionCommand";
@@ -6,6 +7,7 @@ export * from "./CreateFaceLivenessSessionCommand";
6
7
  export * from "./CreateProjectCommand";
7
8
  export * from "./CreateProjectVersionCommand";
8
9
  export * from "./CreateStreamProcessorCommand";
10
+ export * from "./CreateUserCommand";
9
11
  export * from "./DeleteCollectionCommand";
10
12
  export * from "./DeleteDatasetCommand";
11
13
  export * from "./DeleteFacesCommand";
@@ -13,6 +15,7 @@ export * from "./DeleteProjectCommand";
13
15
  export * from "./DeleteProjectPolicyCommand";
14
16
  export * from "./DeleteProjectVersionCommand";
15
17
  export * from "./DeleteStreamProcessorCommand";
18
+ export * from "./DeleteUserCommand";
16
19
  export * from "./DescribeCollectionCommand";
17
20
  export * from "./DescribeDatasetCommand";
18
21
  export * from "./DescribeProjectVersionsCommand";
@@ -24,6 +27,7 @@ export * from "./DetectLabelsCommand";
24
27
  export * from "./DetectModerationLabelsCommand";
25
28
  export * from "./DetectProtectiveEquipmentCommand";
26
29
  export * from "./DetectTextCommand";
30
+ export * from "./DisassociateFacesCommand";
27
31
  export * from "./DistributeDatasetEntriesCommand";
28
32
  export * from "./GetCelebrityInfoCommand";
29
33
  export * from "./GetCelebrityRecognitionCommand";
@@ -43,10 +47,13 @@ export * from "./ListFacesCommand";
43
47
  export * from "./ListProjectPoliciesCommand";
44
48
  export * from "./ListStreamProcessorsCommand";
45
49
  export * from "./ListTagsForResourceCommand";
50
+ export * from "./ListUsersCommand";
46
51
  export * from "./PutProjectPolicyCommand";
47
52
  export * from "./RecognizeCelebritiesCommand";
48
53
  export * from "./SearchFacesByImageCommand";
49
54
  export * from "./SearchFacesCommand";
55
+ export * from "./SearchUsersByImageCommand";
56
+ export * from "./SearchUsersCommand";
50
57
  export * from "./StartCelebrityRecognitionCommand";
51
58
  export * from "./StartContentModerationCommand";
52
59
  export * from "./StartFaceDetectionCommand";