aws_sdk_glue/client/
delete_partition_index.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 [`DeletePartitionIndex`](crate::operation::delete_partition_index::builders::DeletePartitionIndexFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`catalog_id(impl Into<String>)`](crate::operation::delete_partition_index::builders::DeletePartitionIndexFluentBuilder::catalog_id) / [`set_catalog_id(Option<String>)`](crate::operation::delete_partition_index::builders::DeletePartitionIndexFluentBuilder::set_catalog_id):<br>required: **false**<br><p>The catalog ID where the table resides.</p><br>
7    ///   - [`database_name(impl Into<String>)`](crate::operation::delete_partition_index::builders::DeletePartitionIndexFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::delete_partition_index::builders::DeletePartitionIndexFluentBuilder::set_database_name):<br>required: **true**<br><p>Specifies the name of a database from which you want to delete a partition index.</p><br>
8    ///   - [`table_name(impl Into<String>)`](crate::operation::delete_partition_index::builders::DeletePartitionIndexFluentBuilder::table_name) / [`set_table_name(Option<String>)`](crate::operation::delete_partition_index::builders::DeletePartitionIndexFluentBuilder::set_table_name):<br>required: **true**<br><p>Specifies the name of a table from which you want to delete a partition index.</p><br>
9    ///   - [`index_name(impl Into<String>)`](crate::operation::delete_partition_index::builders::DeletePartitionIndexFluentBuilder::index_name) / [`set_index_name(Option<String>)`](crate::operation::delete_partition_index::builders::DeletePartitionIndexFluentBuilder::set_index_name):<br>required: **true**<br><p>The name of the partition index to be deleted.</p><br>
10    /// - On success, responds with [`DeletePartitionIndexOutput`](crate::operation::delete_partition_index::DeletePartitionIndexOutput)
11    /// - On failure, responds with [`SdkError<DeletePartitionIndexError>`](crate::operation::delete_partition_index::DeletePartitionIndexError)
12    pub fn delete_partition_index(&self) -> crate::operation::delete_partition_index::builders::DeletePartitionIndexFluentBuilder {
13        crate::operation::delete_partition_index::builders::DeletePartitionIndexFluentBuilder::new(self.handle.clone())
14    }
15}