aws_sdk_quicksight/client/
create_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 [`CreateGroup`](crate::operation::create_group::builders::CreateGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    ///   - [`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>
9    ///   - [`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>
10    /// - On success, responds with [`CreateGroupOutput`](crate::operation::create_group::CreateGroupOutput) with field(s):
11    ///   - [`group(Option<Group>)`](crate::operation::create_group::CreateGroupOutput::group): <p>The name of the group.</p>
12    ///   - [`request_id(Option<String>)`](crate::operation::create_group::CreateGroupOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
13    ///   - [`status(i32)`](crate::operation::create_group::CreateGroupOutput::status): <p>The HTTP status of the request.</p>
14    /// - On failure, responds with [`SdkError<CreateGroupError>`](crate::operation::create_group::CreateGroupError)
15    pub fn create_group(&self) -> crate::operation::create_group::builders::CreateGroupFluentBuilder {
16        crate::operation::create_group::builders::CreateGroupFluentBuilder::new(self.handle.clone())
17    }
18}