aws_sdk_quicksight/client/
create_namespace.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 [`CreateNamespace`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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):<br>required: **true**<br><p>The ID for the Amazon Web Services account that you want to create the Amazon QuickSight namespace in.</p><br>
7    ///   - [`namespace(impl Into<String>)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::set_namespace):<br>required: **true**<br><p>The name that you want to use to describe the new namespace.</p><br>
8    ///   - [`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):<br>required: **true**<br><p>Specifies the type of your user identity directory. Currently, this supports users with an identity type of <code>QUICKSIGHT</code>.</p><br>
9    ///   - [`tags(Tag)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::set_tags):<br>required: **false**<br><p>The tags that you want to associate with the namespace that you're creating.</p><br>
10    /// - On success, responds with [`CreateNamespaceOutput`](crate::operation::create_namespace::CreateNamespaceOutput) with field(s):
11    ///   - [`arn(Option<String>)`](crate::operation::create_namespace::CreateNamespaceOutput::arn): <p>The ARN of the Amazon QuickSight namespace you created.</p>
12    ///   - [`name(Option<String>)`](crate::operation::create_namespace::CreateNamespaceOutput::name): <p>The name of the new namespace that you created.</p>
13    ///   - [`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>
14    ///   - [`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>
15    ///   - [`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>
16    ///   - [`request_id(Option<String>)`](crate::operation::create_namespace::CreateNamespaceOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
17    ///   - [`status(i32)`](crate::operation::create_namespace::CreateNamespaceOutput::status): <p>The HTTP status of the request.</p>
18    /// - On failure, responds with [`SdkError<CreateNamespaceError>`](crate::operation::create_namespace::CreateNamespaceError)
19    pub fn create_namespace(&self) -> crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder {
20        crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::new(self.handle.clone())
21    }
22}