aws_sdk_iot/client/
delete_thing_group.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 [`DeleteThingGroup`](crate::operation::delete_thing_group::builders::DeleteThingGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`thing_group_name(impl Into<String>)`](crate::operation::delete_thing_group::builders::DeleteThingGroupFluentBuilder::thing_group_name) / [`set_thing_group_name(Option<String>)`](crate::operation::delete_thing_group::builders::DeleteThingGroupFluentBuilder::set_thing_group_name):<br>required: **true**<br><p>The name of the thing group to delete.</p><br>
7    ///   - [`expected_version(i64)`](crate::operation::delete_thing_group::builders::DeleteThingGroupFluentBuilder::expected_version) / [`set_expected_version(Option<i64>)`](crate::operation::delete_thing_group::builders::DeleteThingGroupFluentBuilder::set_expected_version):<br>required: **false**<br><p>The expected version of the thing group to delete.</p><br>
8    /// - On success, responds with [`DeleteThingGroupOutput`](crate::operation::delete_thing_group::DeleteThingGroupOutput)
9    /// - On failure, responds with [`SdkError<DeleteThingGroupError>`](crate::operation::delete_thing_group::DeleteThingGroupError)
10    pub fn delete_thing_group(&self) -> crate::operation::delete_thing_group::builders::DeleteThingGroupFluentBuilder {
11        crate::operation::delete_thing_group::builders::DeleteThingGroupFluentBuilder::new(self.handle.clone())
12    }
13}