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