1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateThingGroup`](crate::operation::create_thing_group::builders::CreateThingGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`thing_group_name(impl Into<String>)`](crate::operation::create_thing_group::builders::CreateThingGroupFluentBuilder::thing_group_name) / [`set_thing_group_name(Option<String>)`](crate::operation::create_thing_group::builders::CreateThingGroupFluentBuilder::set_thing_group_name): <p>The thing group name to create.</p>
    ///   - [`parent_group_name(impl Into<String>)`](crate::operation::create_thing_group::builders::CreateThingGroupFluentBuilder::parent_group_name) / [`set_parent_group_name(Option<String>)`](crate::operation::create_thing_group::builders::CreateThingGroupFluentBuilder::set_parent_group_name): <p>The name of the parent thing group.</p>
    ///   - [`thing_group_properties(ThingGroupProperties)`](crate::operation::create_thing_group::builders::CreateThingGroupFluentBuilder::thing_group_properties) / [`set_thing_group_properties(Option<ThingGroupProperties>)`](crate::operation::create_thing_group::builders::CreateThingGroupFluentBuilder::set_thing_group_properties): <p>The thing group properties.</p>
    ///   - [`tags(Tag)`](crate::operation::create_thing_group::builders::CreateThingGroupFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_thing_group::builders::CreateThingGroupFluentBuilder::set_tags): <p>Metadata which can be used to manage the thing group.</p>
    /// - On success, responds with [`CreateThingGroupOutput`](crate::operation::create_thing_group::CreateThingGroupOutput) with field(s):
    ///   - [`thing_group_name(Option<String>)`](crate::operation::create_thing_group::CreateThingGroupOutput::thing_group_name): <p>The thing group name.</p>
    ///   - [`thing_group_arn(Option<String>)`](crate::operation::create_thing_group::CreateThingGroupOutput::thing_group_arn): <p>The thing group ARN.</p>
    ///   - [`thing_group_id(Option<String>)`](crate::operation::create_thing_group::CreateThingGroupOutput::thing_group_id): <p>The thing group ID.</p>
    /// - On failure, responds with [`SdkError<CreateThingGroupError>`](crate::operation::create_thing_group::CreateThingGroupError)
    pub fn create_thing_group(&self) -> crate::operation::create_thing_group::builders::CreateThingGroupFluentBuilder {
        crate::operation::create_thing_group::builders::CreateThingGroupFluentBuilder::new(self.handle.clone())
    }
}