aws_sdk_lakeformation/client/
update_table_storage_optimizer.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 [`UpdateTableStorageOptimizer`](crate::operation::update_table_storage_optimizer::builders::UpdateTableStorageOptimizerFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`catalog_id(impl Into<String>)`](crate::operation::update_table_storage_optimizer::builders::UpdateTableStorageOptimizerFluentBuilder::catalog_id) / [`set_catalog_id(Option<String>)`](crate::operation::update_table_storage_optimizer::builders::UpdateTableStorageOptimizerFluentBuilder::set_catalog_id):<br>required: **false**<br><p>The Catalog ID of the table.</p><br>
7    ///   - [`database_name(impl Into<String>)`](crate::operation::update_table_storage_optimizer::builders::UpdateTableStorageOptimizerFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::update_table_storage_optimizer::builders::UpdateTableStorageOptimizerFluentBuilder::set_database_name):<br>required: **true**<br><p>Name of the database where the table is present.</p><br>
8    ///   - [`table_name(impl Into<String>)`](crate::operation::update_table_storage_optimizer::builders::UpdateTableStorageOptimizerFluentBuilder::table_name) / [`set_table_name(Option<String>)`](crate::operation::update_table_storage_optimizer::builders::UpdateTableStorageOptimizerFluentBuilder::set_table_name):<br>required: **true**<br><p>Name of the table for which to enable the storage optimizer.</p><br>
9    ///   - [`storage_optimizer_config(OptimizerType, HashMap::<String, String>)`](crate::operation::update_table_storage_optimizer::builders::UpdateTableStorageOptimizerFluentBuilder::storage_optimizer_config) / [`set_storage_optimizer_config(Option<HashMap::<OptimizerType, HashMap::<String, String>>>)`](crate::operation::update_table_storage_optimizer::builders::UpdateTableStorageOptimizerFluentBuilder::set_storage_optimizer_config):<br>required: **true**<br><p>Name of the configuration for the storage optimizer.</p><br>
10    /// - On success, responds with [`UpdateTableStorageOptimizerOutput`](crate::operation::update_table_storage_optimizer::UpdateTableStorageOptimizerOutput) with field(s):
11    ///   - [`result(Option<String>)`](crate::operation::update_table_storage_optimizer::UpdateTableStorageOptimizerOutput::result): <p>A response indicating the success of failure of the operation.</p>
12    /// - On failure, responds with [`SdkError<UpdateTableStorageOptimizerError>`](crate::operation::update_table_storage_optimizer::UpdateTableStorageOptimizerError)
13    pub fn update_table_storage_optimizer(
14        &self,
15    ) -> crate::operation::update_table_storage_optimizer::builders::UpdateTableStorageOptimizerFluentBuilder {
16        crate::operation::update_table_storage_optimizer::builders::UpdateTableStorageOptimizerFluentBuilder::new(self.handle.clone())
17    }
18}