Values.SearchThingsRequestSourceSearches for things associated with the specified entity. You can search by both device and device model. For example, if two different devices, camera1 and camera2, implement the camera device model, the user can associate thing1 to camera1 and thing2 to camera2. SearchThings(camera2) will return only thing2, but SearchThings(camera) will return both thing1 and thing2. This action searches for exact matches and doesn't perform partial text matching.
type nonrec t = {entityId : Urn.t;The ID of the entity to which the things are associated. The IDs should be in the following format. urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME
*)nextToken : NextToken.t option;The string that specifies the next page of results. Use this when you're paginating results.
*)maxResults : MaxResults.t option;The maximum number of results to return in the response.
*)namespaceVersion : Version.t option;The version of the user's namespace. Defaults to the latest version of the user's namespace.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Integer of MaxResults.t | `Long of Version.t | `String of Urn.t ])
list ]