AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the SearchThings operation. Searches 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IoTThingsGraph.AmazonIoTThingsGraphRequest
      Amazon.IoTThingsGraph.Model.SearchThingsRequest

Namespace: Amazon.IoTThingsGraph.Model
Assembly: AWSSDK.IoTThingsGraph.dll
Version: 3.x.y.z

Syntax

C#
public class SearchThingsRequest : AmazonIoTThingsGraphRequest
         IAmazonWebServiceRequest

The SearchThingsRequest type exposes the following members

Constructors

NameDescription
Public Method SearchThingsRequest()

Properties

NameTypeDescription
Public Property EntityId System.String

Gets and sets the property EntityId.

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

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of results to return in the response.

Public Property NamespaceVersion System.Int64

Gets and sets the property NamespaceVersion.

The version of the user's namespace. Defaults to the latest version of the user's namespace.

Public Property NextToken System.String

Gets and sets the property NextToken.

The string that specifies the next page of results. Use this when you're paginating results.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5