aws_sdk_iot/client/delete_thing_type.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 [`DeleteThingType`](crate::operation::delete_thing_type::builders::DeleteThingTypeFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`thing_type_name(impl Into<String>)`](crate::operation::delete_thing_type::builders::DeleteThingTypeFluentBuilder::thing_type_name) / [`set_thing_type_name(Option<String>)`](crate::operation::delete_thing_type::builders::DeleteThingTypeFluentBuilder::set_thing_type_name):<br>required: **true**<br><p>The name of the thing type.</p><br>
7 /// - On success, responds with [`DeleteThingTypeOutput`](crate::operation::delete_thing_type::DeleteThingTypeOutput)
8 /// - On failure, responds with [`SdkError<DeleteThingTypeError>`](crate::operation::delete_thing_type::DeleteThingTypeError)
9 pub fn delete_thing_type(&self) -> crate::operation::delete_thing_type::builders::DeleteThingTypeFluentBuilder {
10 crate::operation::delete_thing_type::builders::DeleteThingTypeFluentBuilder::new(self.handle.clone())
11 }
12}