1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`SearchThings`](crate::operation::search_things::builders::SearchThingsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::search_things::builders::SearchThingsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`entity_id(impl Into<String>)`](crate::operation::search_things::builders::SearchThingsFluentBuilder::entity_id) / [`set_entity_id(Option<String>)`](crate::operation::search_things::builders::SearchThingsFluentBuilder::set_entity_id):<br>required: **true**<br><p>The ID of the entity to which the things are associated.</p> <p>The IDs should be in the following format.</p> <p><code>urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME</code></p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::search_things::builders::SearchThingsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::search_things::builders::SearchThingsFluentBuilder::set_next_token):<br>required: **false**<br><p>The string that specifies the next page of results. Use this when you're paginating results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::search_things::builders::SearchThingsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::search_things::builders::SearchThingsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in the response.</p><br>
    ///   - [`namespace_version(i64)`](crate::operation::search_things::builders::SearchThingsFluentBuilder::namespace_version) / [`set_namespace_version(Option<i64>)`](crate::operation::search_things::builders::SearchThingsFluentBuilder::set_namespace_version):<br>required: **false**<br><p>The version of the user's namespace. Defaults to the latest version of the user's namespace.</p><br>
    /// - On success, responds with [`SearchThingsOutput`](crate::operation::search_things::SearchThingsOutput) with field(s):
    ///   - [`things(Option<Vec::<Thing>>)`](crate::operation::search_things::SearchThingsOutput::things): <p>An array of things in the result set.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::search_things::SearchThingsOutput::next_token): <p>The string to specify as <code>nextToken</code> when you request the next page of results.</p>
    /// - On failure, responds with [`SdkError<SearchThingsError>`](crate::operation::search_things::SearchThingsError)
    #[deprecated(note = "since: 2022-08-30")]
    pub fn search_things(&self) -> crate::operation::search_things::builders::SearchThingsFluentBuilder {
        crate::operation::search_things::builders::SearchThingsFluentBuilder::new(self.handle.clone())
    }
}