aws_sdk_glue/client/
get_column_statistics_for_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 [`GetColumnStatisticsForTable`](crate::operation::get_column_statistics_for_table::builders::GetColumnStatisticsForTableFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`catalog_id(impl Into<String>)`](crate::operation::get_column_statistics_for_table::builders::GetColumnStatisticsForTableFluentBuilder::catalog_id) / [`set_catalog_id(Option<String>)`](crate::operation::get_column_statistics_for_table::builders::GetColumnStatisticsForTableFluentBuilder::set_catalog_id):<br>required: **false**<br><p>The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.</p><br>
7    ///   - [`database_name(impl Into<String>)`](crate::operation::get_column_statistics_for_table::builders::GetColumnStatisticsForTableFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::get_column_statistics_for_table::builders::GetColumnStatisticsForTableFluentBuilder::set_database_name):<br>required: **true**<br><p>The name of the catalog database where the partitions reside.</p><br>
8    ///   - [`table_name(impl Into<String>)`](crate::operation::get_column_statistics_for_table::builders::GetColumnStatisticsForTableFluentBuilder::table_name) / [`set_table_name(Option<String>)`](crate::operation::get_column_statistics_for_table::builders::GetColumnStatisticsForTableFluentBuilder::set_table_name):<br>required: **true**<br><p>The name of the partitions' table.</p><br>
9    ///   - [`column_names(impl Into<String>)`](crate::operation::get_column_statistics_for_table::builders::GetColumnStatisticsForTableFluentBuilder::column_names) / [`set_column_names(Option<Vec::<String>>)`](crate::operation::get_column_statistics_for_table::builders::GetColumnStatisticsForTableFluentBuilder::set_column_names):<br>required: **true**<br><p>A list of the column names.</p><br>
10    /// - On success, responds with [`GetColumnStatisticsForTableOutput`](crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableOutput) with field(s):
11    ///   - [`column_statistics_list(Option<Vec::<ColumnStatistics>>)`](crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableOutput::column_statistics_list): <p>List of ColumnStatistics.</p>
12    ///   - [`errors(Option<Vec::<ColumnError>>)`](crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableOutput::errors): <p>List of ColumnStatistics that failed to be retrieved.</p>
13    /// - On failure, responds with [`SdkError<GetColumnStatisticsForTableError>`](crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError)
14    pub fn get_column_statistics_for_table(
15        &self,
16    ) -> crate::operation::get_column_statistics_for_table::builders::GetColumnStatisticsForTableFluentBuilder {
17        crate::operation::get_column_statistics_for_table::builders::GetColumnStatisticsForTableFluentBuilder::new(self.handle.clone())
18    }
19}