aws_sdk_s3tables/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    ///   - [`table_bucket_arn(impl Into<String>)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::table_bucket_arn) / [`set_table_bucket_arn(Option<String>)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::set_table_bucket_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the table bucket to create the namespace in.</p><br>
7    ///   - [`namespace(impl Into<String>)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::namespace) / [`set_namespace(Option<Vec::<String>>)`](crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::set_namespace):<br>required: **true**<br><p>A name for the namespace.</p><br>
8    /// - On success, responds with [`CreateNamespaceOutput`](crate::operation::create_namespace::CreateNamespaceOutput) with field(s):
9    ///   - [`table_bucket_arn(String)`](crate::operation::create_namespace::CreateNamespaceOutput::table_bucket_arn): <p>The Amazon Resource Name (ARN) of the table bucket the namespace was created in.</p>
10    ///   - [`namespace(Vec::<String>)`](crate::operation::create_namespace::CreateNamespaceOutput::namespace): <p>The name of the namespace.</p>
11    /// - On failure, responds with [`SdkError<CreateNamespaceError>`](crate::operation::create_namespace::CreateNamespaceError)
12    pub fn create_namespace(&self) -> crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder {
13        crate::operation::create_namespace::builders::CreateNamespaceFluentBuilder::new(self.handle.clone())
14    }
15}