aws_sdk_bcmdataexports/client/
get_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 [`GetTable`](crate::operation::get_table::builders::GetTableFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`table_name(impl Into<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::table_name) / [`set_table_name(Option<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::set_table_name):<br>required: **true**<br><p>The name of the table.</p><br>
7    ///   - [`table_properties(impl Into<String>, impl Into<String>)`](crate::operation::get_table::builders::GetTableFluentBuilder::table_properties) / [`set_table_properties(Option<HashMap::<String, String>>)`](crate::operation::get_table::builders::GetTableFluentBuilder::set_table_properties):<br>required: **false**<br><p>TableProperties are additional configurations you can provide to change the data and schema of a table. Each table can have different TableProperties. Tables are not required to have any TableProperties. Each table property has a default value that it assumes if not specified.</p><br>
8    /// - On success, responds with [`GetTableOutput`](crate::operation::get_table::GetTableOutput) with field(s):
9    ///   - [`table_name(Option<String>)`](crate::operation::get_table::GetTableOutput::table_name): <p>The name of the table.</p>
10    ///   - [`description(Option<String>)`](crate::operation::get_table::GetTableOutput::description): <p>The table description.</p>
11    ///   - [`table_properties(Option<HashMap::<String, String>>)`](crate::operation::get_table::GetTableOutput::table_properties): <p>TableProperties are additional configurations you can provide to change the data and schema of a table. Each table can have different TableProperties. Tables are not required to have any TableProperties. Each table property has a default value that it assumes if not specified.</p>
12    ///   - [`schema(Option<Vec::<Column>>)`](crate::operation::get_table::GetTableOutput::schema): <p>The schema of the table.</p>
13    /// - On failure, responds with [`SdkError<GetTableError>`](crate::operation::get_table::GetTableError)
14    pub fn get_table(&self) -> crate::operation::get_table::builders::GetTableFluentBuilder {
15        crate::operation::get_table::builders::GetTableFluentBuilder::new(self.handle.clone())
16    }
17}