// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteIndex`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_name(impl Into<String>)`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder::set_domain_name):<br>required: **true**<br><p>The name of an OpenSearch Service domain. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.</p><br>
/// - [`index_name(impl Into<String>)`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder::index_name) / [`set_index_name(Option<String>)`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder::set_index_name):<br>required: **true**<br><p>The name of the index to delete.</p><br>
/// - On success, responds with [`DeleteIndexOutput`](crate::operation::delete_index::DeleteIndexOutput) with field(s):
/// - [`status(IndexStatus)`](crate::operation::delete_index::DeleteIndexOutput::status): <p>The status of the index deletion operation.</p>
/// - On failure, responds with [`SdkError<DeleteIndexError>`](crate::operation::delete_index::DeleteIndexError)
pub fn delete_index(&self) -> crate::operation::delete_index::builders::DeleteIndexFluentBuilder {
crate::operation::delete_index::builders::DeleteIndexFluentBuilder::new(self.handle.clone())
}
}