1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetTableVersion`](crate::operation::get_table_version::builders::GetTableVersionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`catalog_id(impl Into<String>)`](crate::operation::get_table_version::builders::GetTableVersionFluentBuilder::catalog_id) / [`set_catalog_id(Option<String>)`](crate::operation::get_table_version::builders::GetTableVersionFluentBuilder::set_catalog_id):<br>required: **false**<br><p>The ID of the Data Catalog where the tables reside. 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_version::builders::GetTableVersionFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::get_table_version::builders::GetTableVersionFluentBuilder::set_database_name):<br>required: **true**<br><p>The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.</p><br>
    ///   - [`table_name(impl Into<String>)`](crate::operation::get_table_version::builders::GetTableVersionFluentBuilder::table_name) / [`set_table_name(Option<String>)`](crate::operation::get_table_version::builders::GetTableVersionFluentBuilder::set_table_name):<br>required: **true**<br><p>The name of the table. For Hive compatibility, this name is entirely lowercase.</p><br>
    ///   - [`version_id(impl Into<String>)`](crate::operation::get_table_version::builders::GetTableVersionFluentBuilder::version_id) / [`set_version_id(Option<String>)`](crate::operation::get_table_version::builders::GetTableVersionFluentBuilder::set_version_id):<br>required: **false**<br><p>The ID value of the table version to be retrieved. A <code>VersionID</code> is a string representation of an integer. Each version is incremented by 1.</p><br>
    /// - On success, responds with [`GetTableVersionOutput`](crate::operation::get_table_version::GetTableVersionOutput) with field(s):
    ///   - [`table_version(Option<TableVersion>)`](crate::operation::get_table_version::GetTableVersionOutput::table_version): <p>The requested table version.</p>
    /// - On failure, responds with [`SdkError<GetTableVersionError>`](crate::operation::get_table_version::GetTableVersionError)
    pub fn get_table_version(&self) -> crate::operation::get_table_version::builders::GetTableVersionFluentBuilder {
        crate::operation::get_table_version::builders::GetTableVersionFluentBuilder::new(self.handle.clone())
    }
}