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