Struct aws_sdk_iotthingsgraph::client::fluent_builders::SearchThings [−][src]
pub struct SearchThings<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to SearchThings
.
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.
Implementations
impl<C, M, R> SearchThings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SearchThings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<SearchThingsOutput, SdkError<SearchThingsError>> where
R::Policy: SmithyRetryPolicy<SearchThingsInputOperationOutputAlias, SearchThingsOutput, SearchThingsError, SearchThingsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<SearchThingsOutput, SdkError<SearchThingsError>> where
R::Policy: SmithyRetryPolicy<SearchThingsInputOperationOutputAlias, SearchThingsOutput, SearchThingsError, SearchThingsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
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
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
The string that specifies the next page of results. Use this when you're paginating results.
The string that specifies the next page of results. Use this when you're paginating results.
The maximum number of results to return in the response.
The maximum number of results to return in the response.
The version of the user's namespace. Defaults to the latest version of the user's namespace.
The version of the user's namespace. Defaults to the latest version of the user's namespace.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for SearchThings<C, M, R>
impl<C, M, R> Unpin for SearchThings<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for SearchThings<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more