aws_sdk_glue/client/
batch_delete_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 [`BatchDeleteTable`](crate::operation::batch_delete_table::builders::BatchDeleteTableFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`catalog_id(impl Into<String>)`](crate::operation::batch_delete_table::builders::BatchDeleteTableFluentBuilder::catalog_id) / [`set_catalog_id(Option<String>)`](crate::operation::batch_delete_table::builders::BatchDeleteTableFluentBuilder::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>
7    ///   - [`database_name(impl Into<String>)`](crate::operation::batch_delete_table::builders::BatchDeleteTableFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::batch_delete_table::builders::BatchDeleteTableFluentBuilder::set_database_name):<br>required: **true**<br><p>The name of the catalog database in which the tables to delete reside. For Hive compatibility, this name is entirely lowercase.</p><br>
8    ///   - [`tables_to_delete(impl Into<String>)`](crate::operation::batch_delete_table::builders::BatchDeleteTableFluentBuilder::tables_to_delete) / [`set_tables_to_delete(Option<Vec::<String>>)`](crate::operation::batch_delete_table::builders::BatchDeleteTableFluentBuilder::set_tables_to_delete):<br>required: **true**<br><p>A list of the table to delete.</p><br>
9    ///   - [`transaction_id(impl Into<String>)`](crate::operation::batch_delete_table::builders::BatchDeleteTableFluentBuilder::transaction_id) / [`set_transaction_id(Option<String>)`](crate::operation::batch_delete_table::builders::BatchDeleteTableFluentBuilder::set_transaction_id):<br>required: **false**<br><p>The transaction ID at which to delete the table contents.</p><br>
10    /// - On success, responds with [`BatchDeleteTableOutput`](crate::operation::batch_delete_table::BatchDeleteTableOutput) with field(s):
11    ///   - [`errors(Option<Vec::<TableError>>)`](crate::operation::batch_delete_table::BatchDeleteTableOutput::errors): <p>A list of errors encountered in attempting to delete the specified tables.</p>
12    /// - On failure, responds with [`SdkError<BatchDeleteTableError>`](crate::operation::batch_delete_table::BatchDeleteTableError)
13    pub fn batch_delete_table(&self) -> crate::operation::batch_delete_table::builders::BatchDeleteTableFluentBuilder {
14        crate::operation::batch_delete_table::builders::BatchDeleteTableFluentBuilder::new(self.handle.clone())
15    }
16}