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 [`UpdateTable`](crate::operation::update_table::builders::UpdateTableFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`catalog_id(impl Into<String>)`](crate::operation::update_table::builders::UpdateTableFluentBuilder::catalog_id) / [`set_catalog_id(Option<String>)`](crate::operation::update_table::builders::UpdateTableFluentBuilder::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::update_table::builders::UpdateTableFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::update_table::builders::UpdateTableFluentBuilder::set_database_name):<br>required: **true**<br><p>The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.</p><br>
    ///   - [`table_input(TableInput)`](crate::operation::update_table::builders::UpdateTableFluentBuilder::table_input) / [`set_table_input(Option<TableInput>)`](crate::operation::update_table::builders::UpdateTableFluentBuilder::set_table_input):<br>required: **true**<br><p>An updated <code>TableInput</code> object to define the metadata table in the catalog.</p><br>
    ///   - [`skip_archive(bool)`](crate::operation::update_table::builders::UpdateTableFluentBuilder::skip_archive) / [`set_skip_archive(Option<bool>)`](crate::operation::update_table::builders::UpdateTableFluentBuilder::set_skip_archive):<br>required: **false**<br><p>By default, <code>UpdateTable</code> always creates an archived version of the table before updating it. However, if <code>skipArchive</code> is set to true, <code>UpdateTable</code> does not create the archived version.</p><br>
    ///   - [`transaction_id(impl Into<String>)`](crate::operation::update_table::builders::UpdateTableFluentBuilder::transaction_id) / [`set_transaction_id(Option<String>)`](crate::operation::update_table::builders::UpdateTableFluentBuilder::set_transaction_id):<br>required: **false**<br><p>The transaction ID at which to update the table contents.</p><br>
    ///   - [`version_id(impl Into<String>)`](crate::operation::update_table::builders::UpdateTableFluentBuilder::version_id) / [`set_version_id(Option<String>)`](crate::operation::update_table::builders::UpdateTableFluentBuilder::set_version_id):<br>required: **false**<br><p>The version ID at which to update the table contents.</p><br>
    /// - On success, responds with [`UpdateTableOutput`](crate::operation::update_table::UpdateTableOutput)
    /// - On failure, responds with [`SdkError<UpdateTableError>`](crate::operation::update_table::UpdateTableError)
    pub fn update_table(&self) -> crate::operation::update_table::builders::UpdateTableFluentBuilder {
        crate::operation::update_table::builders::UpdateTableFluentBuilder::new(self.handle.clone())
    }
}