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 [`CreateGroup`](crate::operation::create_group::builders::CreateGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`group_name(impl Into<String>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::group_name) / [`set_group_name(Option<String>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::set_group_name):<br>required: **true**<br><p>A name for the group that you want to create.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::set_description):<br>required: **false**<br><p>A description for the group that you want to create.</p><br>
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.</p><br>
    ///   - [`namespace(impl Into<String>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::create_group::builders::CreateGroupFluentBuilder::set_namespace):<br>required: **true**<br><p>The namespace that you want the group to be a part of.</p><br>
    /// - On success, responds with [`CreateGroupOutput`](crate::operation::create_group::CreateGroupOutput) with field(s):
    ///   - [`group(Option<Group>)`](crate::operation::create_group::CreateGroupOutput::group): <p>The name of the group.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::create_group::CreateGroupOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    ///   - [`status(i32)`](crate::operation::create_group::CreateGroupOutput::status): <p>The HTTP status of the request.</p>
    /// - On failure, responds with [`SdkError<CreateGroupError>`](crate::operation::create_group::CreateGroupError)
    pub fn create_group(&self) -> crate::operation::create_group::builders::CreateGroupFluentBuilder {
        crate::operation::create_group::builders::CreateGroupFluentBuilder::new(self.handle.clone())
    }
}