// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeprecateThingType`](crate::operation::deprecate_thing_type::builders::DeprecateThingTypeFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`thing_type_name(impl Into<String>)`](crate::operation::deprecate_thing_type::builders::DeprecateThingTypeFluentBuilder::thing_type_name) / [`set_thing_type_name(Option<String>)`](crate::operation::deprecate_thing_type::builders::DeprecateThingTypeFluentBuilder::set_thing_type_name):<br>required: **true**<br><p>The name of the thing type to deprecate.</p><br>
/// - [`undo_deprecate(bool)`](crate::operation::deprecate_thing_type::builders::DeprecateThingTypeFluentBuilder::undo_deprecate) / [`set_undo_deprecate(Option<bool>)`](crate::operation::deprecate_thing_type::builders::DeprecateThingTypeFluentBuilder::set_undo_deprecate):<br>required: **false**<br><p>Whether to undeprecate a deprecated thing type. If <b>true</b>, the thing type will not be deprecated anymore and you can associate it with things.</p><br>
/// - On success, responds with [`DeprecateThingTypeOutput`](crate::operation::deprecate_thing_type::DeprecateThingTypeOutput)
/// - On failure, responds with [`SdkError<DeprecateThingTypeError>`](crate::operation::deprecate_thing_type::DeprecateThingTypeError)
pub fn deprecate_thing_type(&self) -> crate::operation::deprecate_thing_type::builders::DeprecateThingTypeFluentBuilder {
crate::operation::deprecate_thing_type::builders::DeprecateThingTypeFluentBuilder::new(self.handle.clone())
}
}