@SdkInternalApi
    final SearchThingsResult executeSearchThings(SearchThingsRequest searchThingsRequest) {

        ExecutionContext executionContext = createExecutionContext(searchThingsRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<SearchThingsRequest> request = null;
        Response<SearchThingsResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new SearchThingsRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(searchThingsRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "IoTThingsGraph");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "SearchThings");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            HttpResponseHandler<AmazonWebServiceResponse<SearchThingsResult>> responseHandler = protocolFactory.createResponseHandler(
                    new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new SearchThingsResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Searches for things associated with the specified entity. You can search by both device and device model.
</p>
<p>
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. <code>SearchThings(camera2)</code> will return only thing2,
but <code>SearchThings(camera)</code> will return both thing1 and thing2.
</p>
<p>
This action searches for exact matches and doesn't perform partial text matching.
</p>

@param searchThingsRequest
@return Result of the SearchThings operation returned by the service.
@throws InvalidRequestException
@throws ResourceNotFoundException
@throws InternalFailureException
@throws ThrottlingException
@sample AWSIoTThingsGraph.SearchThings
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/SearchThings" target="_top">AWS
     API Documentation</a>
aws-java-sdk-iotthingsgraph/src/main/java/com/amazonaws/services/iotthingsgraph/AWSIoTThingsGraphClient.java