1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeletePartition`](crate::operation::delete_partition::builders::DeletePartitionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`catalog_id(impl Into<String>)`](crate::operation::delete_partition::builders::DeletePartitionFluentBuilder::catalog_id) / [`set_catalog_id(Option<String>)`](crate::operation::delete_partition::builders::DeletePartitionFluentBuilder::set_catalog_id):<br>required: **false**<br><p>The ID of the Data Catalog where the partition to be deleted resides. If none is provided, the Amazon Web Services account ID is used by default.</p><br>
    ///   - [`database_name(impl Into<String>)`](crate::operation::delete_partition::builders::DeletePartitionFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::delete_partition::builders::DeletePartitionFluentBuilder::set_database_name):<br>required: **true**<br><p>The name of the catalog database in which the table in question resides.</p><br>
    ///   - [`table_name(impl Into<String>)`](crate::operation::delete_partition::builders::DeletePartitionFluentBuilder::table_name) / [`set_table_name(Option<String>)`](crate::operation::delete_partition::builders::DeletePartitionFluentBuilder::set_table_name):<br>required: **true**<br><p>The name of the table that contains the partition to be deleted.</p><br>
    ///   - [`partition_values(impl Into<String>)`](crate::operation::delete_partition::builders::DeletePartitionFluentBuilder::partition_values) / [`set_partition_values(Option<Vec::<String>>)`](crate::operation::delete_partition::builders::DeletePartitionFluentBuilder::set_partition_values):<br>required: **true**<br><p>The values that define the partition.</p><br>
    /// - On success, responds with [`DeletePartitionOutput`](crate::operation::delete_partition::DeletePartitionOutput)
    /// - On failure, responds with [`SdkError<DeletePartitionError>`](crate::operation::delete_partition::DeletePartitionError)
    pub fn delete_partition(&self) -> crate::operation::delete_partition::builders::DeletePartitionFluentBuilder {
        crate::operation::delete_partition::builders::DeletePartitionFluentBuilder::new(self.handle.clone())
    }
}