Smaws_Client_IoTThingsGraph.SearchThingsSearches 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalFailureException of Types.internal_failure_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.search_things_request ->
(Types.search_things_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalFailureException of Types.internal_failure_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.search_things_request ->
(Types.search_things_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalFailureException of Types.internal_failure_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result