1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateNamespace`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::set_aws_account_id): <p>The ID for the Amazon Web Services account that you want to create the Amazon QuickSight namespace in.</p>
    ///   - [`namespace(impl Into<String>)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::set_namespace): <p>The name that you want to use to describe the new namespace.</p>
    ///   - [`identity_store(IdentityStore)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::identity_store) / [`set_identity_store(Option<IdentityStore>)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::set_identity_store): <p>Specifies the type of your user identity directory. Currently, this supports users with an identity type of <code>QUICKSIGHT</code>.</p>
    ///   - [`tags(Vec<Tag>)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::set_tags): <p>The tags that you want to associate with the namespace that you're creating.</p>
    /// - On success, responds with [`CreateNamespaceOutput`](crate::operation::create_namespace::CreateNamespaceOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::create_namespace::CreateNamespaceOutput::arn): <p>The ARN of the Amazon QuickSight namespace you created. </p>
    ///   - [`name(Option<String>)`](crate::operation::create_namespace::CreateNamespaceOutput::name): <p>The name of the new namespace that you created.</p>
    ///   - [`capacity_region(Option<String>)`](crate::operation::create_namespace::CreateNamespaceOutput::capacity_region): <p>The Amazon Web Services Region; that you want to use for the free SPICE capacity for the new namespace. This is set to the region that you run CreateNamespace in. </p>
    ///   - [`creation_status(Option<NamespaceStatus>)`](crate::operation::create_namespace::CreateNamespaceOutput::creation_status): <p>The status of the creation of the namespace. This is an asynchronous process. A status of <code>CREATED</code> means that your namespace is ready to use. If an error occurs, it indicates if the process is <code>retryable</code> or <code>non-retryable</code>. In the case of a non-retryable error, refer to the error message for follow-up tasks.</p>
    ///   - [`identity_store(Option<IdentityStore>)`](crate::operation::create_namespace::CreateNamespaceOutput::identity_store): <p>Specifies the type of your user identity directory. Currently, this supports users with an identity type of <code>QUICKSIGHT</code>.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::create_namespace::CreateNamespaceOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    ///   - [`status(i32)`](crate::operation::create_namespace::CreateNamespaceOutput::status): <p>The HTTP status of the request.</p>
    /// - On failure, responds with [`SdkError<CreateNamespaceError>`](crate::operation::create_namespace::CreateNamespaceError)
    pub fn create_namespace(
        &self,
    ) -> crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder {
        crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::new(
            self.handle.clone(),
        )
    }
}