1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetTable`](crate::operation::get_table::builders::GetTableFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`catalog_id(impl Into<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::catalog_id) / [`set_catalog_id(Option<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::set_catalog_id):<br>required: **false**<br><p>The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.</p><br>
    ///   - [`database_name(impl Into<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::set_database_name):<br>required: **true**<br><p>The name of the database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.</p><br>
    ///   - [`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: **true**<br><p>The name of the table for which to retrieve the definition. For Hive compatibility, this name is entirely lowercase.</p><br>
    ///   - [`transaction_id(impl Into<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::transaction_id) / [`set_transaction_id(Option<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::set_transaction_id):<br>required: **false**<br><p>The transaction ID at which to read the table contents.</p><br>
    ///   - [`query_as_of_time(DateTime)`](crate::operation::get_table::builders::GetTableFluentBuilder::query_as_of_time) / [`set_query_as_of_time(Option<DateTime>)`](crate::operation::get_table::builders::GetTableFluentBuilder::set_query_as_of_time):<br>required: **false**<br><p>The time as of when to read the table contents. If not set, the most recent transaction commit time will be used. Cannot be specified along with <code>TransactionId</code>.</p><br>
    /// - On success, responds with [`GetTableOutput`](crate::operation::get_table::GetTableOutput) with field(s):
    ///   - [`table(Option<Table>)`](crate::operation::get_table::GetTableOutput::table): <p>The <code>Table</code> object that defines the specified table.</p>
    /// - On failure, responds with [`SdkError<GetTableError>`](crate::operation::get_table::GetTableError)
    pub fn get_table(&self) -> crate::operation::get_table::builders::GetTableFluentBuilder {
        crate::operation::get_table::builders::GetTableFluentBuilder::new(self.handle.clone())
    }
}