1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListNamedShadowsForThing`](crate::operation::list_named_shadows_for_thing::builders::ListNamedShadowsForThingFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`thing_name(impl Into<String>)`](crate::operation::list_named_shadows_for_thing::builders::ListNamedShadowsForThingFluentBuilder::thing_name) / [`set_thing_name(Option<String>)`](crate::operation::list_named_shadows_for_thing::builders::ListNamedShadowsForThingFluentBuilder::set_thing_name):<br>required: **true**<br><p>The name of the thing.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_named_shadows_for_thing::builders::ListNamedShadowsForThingFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_named_shadows_for_thing::builders::ListNamedShadowsForThingFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to retrieve the next set of results.</p><br>
    ///   - [`page_size(i32)`](crate::operation::list_named_shadows_for_thing::builders::ListNamedShadowsForThingFluentBuilder::page_size) / [`set_page_size(Option<i32>)`](crate::operation::list_named_shadows_for_thing::builders::ListNamedShadowsForThingFluentBuilder::set_page_size):<br>required: **false**<br><p>The result page size.</p><br>
    /// - On success, responds with [`ListNamedShadowsForThingOutput`](crate::operation::list_named_shadows_for_thing::ListNamedShadowsForThingOutput) with field(s):
    ///   - [`results(Option<Vec::<String>>)`](crate::operation::list_named_shadows_for_thing::ListNamedShadowsForThingOutput::results): <p>The list of shadows for the specified thing.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_named_shadows_for_thing::ListNamedShadowsForThingOutput::next_token): <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
    ///   - [`timestamp(i64)`](crate::operation::list_named_shadows_for_thing::ListNamedShadowsForThingOutput::timestamp): <p>The Epoch date and time the response was generated by IoT.</p>
    /// - On failure, responds with [`SdkError<ListNamedShadowsForThingError>`](crate::operation::list_named_shadows_for_thing::ListNamedShadowsForThingError)
    pub fn list_named_shadows_for_thing(&self) -> crate::operation::list_named_shadows_for_thing::builders::ListNamedShadowsForThingFluentBuilder {
        crate::operation::list_named_shadows_for_thing::builders::ListNamedShadowsForThingFluentBuilder::new(self.handle.clone())
    }
}