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 [`DeleteIndex`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`arn(impl Into<String>)`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder::set_arn): <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of the index that you want to delete.</p>
    /// - On success, responds with [`DeleteIndexOutput`](crate::operation::delete_index::DeleteIndexOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::delete_index::DeleteIndexOutput::arn): <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of the index that you successfully started the deletion process.</p> <note>   <p>This operation is asynchronous. To check its status, call the <code>GetIndex</code> operation.</p>  </note>
    ///   - [`state(Option<IndexState>)`](crate::operation::delete_index::DeleteIndexOutput::state): <p>Indicates the current state of the index. </p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::delete_index::DeleteIndexOutput::last_updated_at): <p>The date and time when you last updated this index.</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())
    }
}