aws_sdk_s3tables/client/get_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 [`GetNamespace`](crate::operation::get_namespace::builders::GetNamespaceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`table_bucket_arn(impl Into<String>)`](crate::operation::get_namespace::builders::GetNamespaceFluentBuilder::table_bucket_arn) / [`set_table_bucket_arn(Option<String>)`](crate::operation::get_namespace::builders::GetNamespaceFluentBuilder::set_table_bucket_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the table bucket.</p><br>
7 /// - [`namespace(impl Into<String>)`](crate::operation::get_namespace::builders::GetNamespaceFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::get_namespace::builders::GetNamespaceFluentBuilder::set_namespace):<br>required: **true**<br><p>The name of the namespace.</p><br>
8 /// - On success, responds with [`GetNamespaceOutput`](crate::operation::get_namespace::GetNamespaceOutput) with field(s):
9 /// - [`namespace(Vec::<String>)`](crate::operation::get_namespace::GetNamespaceOutput::namespace): <p>The name of the namespace.</p>
10 /// - [`created_at(DateTime)`](crate::operation::get_namespace::GetNamespaceOutput::created_at): <p>The date and time the namespace was created at.</p>
11 /// - [`created_by(String)`](crate::operation::get_namespace::GetNamespaceOutput::created_by): <p>The ID of the account that created the namespace.</p>
12 /// - [`owner_account_id(String)`](crate::operation::get_namespace::GetNamespaceOutput::owner_account_id): <p>The ID of the account that owns the namespcace.</p>
13 /// - [`namespace_id(Option<String>)`](crate::operation::get_namespace::GetNamespaceOutput::namespace_id): <p>The unique identifier of the namespace.</p>
14 /// - [`table_bucket_id(Option<String>)`](crate::operation::get_namespace::GetNamespaceOutput::table_bucket_id): <p>The unique identifier of the table bucket containing this namespace.</p>
15 /// - On failure, responds with [`SdkError<GetNamespaceError>`](crate::operation::get_namespace::GetNamespaceError)
16 pub fn get_namespace(&self) -> crate::operation::get_namespace::builders::GetNamespaceFluentBuilder {
17 crate::operation::get_namespace::builders::GetNamespaceFluentBuilder::new(self.handle.clone())
18 }
19}