Values.SearchUsersResponseSourceSearches for UserIDs within a collection based on a FaceId or UserId. This API can be used to find the closest UserID (with a highest similarity) to associate a face. The request must be provided with either FaceId or UserId. The operation returns an array of UserID that match the FaceId or UserId, ordered by similarity score with the highest similarity first.
type nonrec t = {userMatches : UserMatchList.t option;An array of UserMatch objects that matched the input face along with the confidence in the match. Array will be empty if there are no matches.
*)faceModelVersion : String_.t option;Version number of the face detection model associated with the input CollectionId.
*)searchedFace : SearchedFace.t option;Contains the ID of a face that was used to search for matches in a collection.
*)searchedUser : SearchedUser.t option;Contains the ID of the UserID that was used to search for matches in a collection.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerError of InternalServerError.t| `InvalidParameterException of InvalidParameterException.t| `ProvisionedThroughputExceededException of
ProvisionedThroughputExceededException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of unit
| `InternalServerError of unit
| `InvalidParameterException of unit
| `ProvisionedThroughputExceededException of unit
| `ResourceNotFoundException of unit
| `ThrottlingException of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of unit
| `InternalServerError of unit
| `InvalidParameterException of unit
| `ProvisionedThroughputExceededException of unit
| `ResourceNotFoundException of unit
| `ThrottlingException of unit
| `Unknown_operation_error of string * string option ]