1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetThingShadow`](crate::operation::get_thing_shadow::builders::GetThingShadowFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`thing_name(impl Into<String>)`](crate::operation::get_thing_shadow::builders::GetThingShadowFluentBuilder::thing_name) / [`set_thing_name(Option<String>)`](crate::operation::get_thing_shadow::builders::GetThingShadowFluentBuilder::set_thing_name): <p>The name of the thing.</p>
    ///   - [`shadow_name(impl Into<String>)`](crate::operation::get_thing_shadow::builders::GetThingShadowFluentBuilder::shadow_name) / [`set_shadow_name(Option<String>)`](crate::operation::get_thing_shadow::builders::GetThingShadowFluentBuilder::set_shadow_name): <p>The name of the shadow.</p>
    /// - On success, responds with [`GetThingShadowOutput`](crate::operation::get_thing_shadow::GetThingShadowOutput) with field(s):
    ///   - [`payload(Option<Blob>)`](crate::operation::get_thing_shadow::GetThingShadowOutput::payload): <p>The state information, in JSON format.</p>
    /// - On failure, responds with [`SdkError<GetThingShadowError>`](crate::operation::get_thing_shadow::GetThingShadowError)
    pub fn get_thing_shadow(
        &self,
    ) -> crate::operation::get_thing_shadow::builders::GetThingShadowFluentBuilder {
        crate::operation::get_thing_shadow::builders::GetThingShadowFluentBuilder::new(
            self.handle.clone(),
        )
    }
}