aws_sdk_s3tables/client/
get_table.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 [`GetTable`](crate::operation::get_table::builders::GetTableFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`table_bucket_arn(impl Into<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::table_bucket_arn) / [`set_table_bucket_arn(Option<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::set_table_bucket_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the table bucket associated with the table.</p><br>
7    ///   - [`namespace(impl Into<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::set_namespace):<br>required: **false**<br><p>The name of the namespace the table is associated with.</p><br>
8    ///   - [`name(impl Into<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::set_name):<br>required: **false**<br><p>The name of the table.</p><br>
9    ///   - [`table_arn(impl Into<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::table_arn) / [`set_table_arn(Option<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::set_table_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the table.</p><br>
10    /// - On success, responds with [`GetTableOutput`](crate::operation::get_table::GetTableOutput) with field(s):
11    ///   - [`name(String)`](crate::operation::get_table::GetTableOutput::name): <p>The name of the table.</p>
12    ///   - [`r#type(TableType)`](crate::operation::get_table::GetTableOutput::type): <p>The type of the table.</p>
13    ///   - [`table_arn(String)`](crate::operation::get_table::GetTableOutput::table_arn): <p>The Amazon Resource Name (ARN) of the table.</p>
14    ///   - [`namespace(Vec::<String>)`](crate::operation::get_table::GetTableOutput::namespace): <p>The namespace associated with the table.</p>
15    ///   - [`namespace_id(Option<String>)`](crate::operation::get_table::GetTableOutput::namespace_id): <p>The unique identifier of the namespace containing this table.</p>
16    ///   - [`version_token(String)`](crate::operation::get_table::GetTableOutput::version_token): <p>The version token of the table.</p>
17    ///   - [`metadata_location(Option<String>)`](crate::operation::get_table::GetTableOutput::metadata_location): <p>The metadata location of the table.</p>
18    ///   - [`warehouse_location(String)`](crate::operation::get_table::GetTableOutput::warehouse_location): <p>The warehouse location of the table.</p>
19    ///   - [`created_at(DateTime)`](crate::operation::get_table::GetTableOutput::created_at): <p>The date and time the table bucket was created at.</p>
20    ///   - [`created_by(String)`](crate::operation::get_table::GetTableOutput::created_by): <p>The ID of the account that created the table.</p>
21    ///   - [`managed_by_service(Option<String>)`](crate::operation::get_table::GetTableOutput::managed_by_service): <p>The service that manages the table.</p>
22    ///   - [`modified_at(DateTime)`](crate::operation::get_table::GetTableOutput::modified_at): <p>The date and time the table was last modified on.</p>
23    ///   - [`modified_by(String)`](crate::operation::get_table::GetTableOutput::modified_by): <p>The ID of the account that last modified the table.</p>
24    ///   - [`owner_account_id(String)`](crate::operation::get_table::GetTableOutput::owner_account_id): <p>The ID of the account that owns the table.</p>
25    ///   - [`format(OpenTableFormat)`](crate::operation::get_table::GetTableOutput::format): <p>The format of the table.</p>
26    ///   - [`table_bucket_id(Option<String>)`](crate::operation::get_table::GetTableOutput::table_bucket_id): <p>The unique identifier of the table bucket containing this table.</p>
27    ///   - [`managed_table_information(Option<ManagedTableInformation>)`](crate::operation::get_table::GetTableOutput::managed_table_information): <p>If this table is managed by S3 Tables, contains additional information such as replication details.</p>
28    /// - On failure, responds with [`SdkError<GetTableError>`](crate::operation::get_table::GetTableError)
29    pub fn get_table(&self) -> crate::operation::get_table::builders::GetTableFluentBuilder {
30        crate::operation::get_table::builders::GetTableFluentBuilder::new(self.handle.clone())
31    }
32}