aws_sdk_resourceexplorer2/client/
delete_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 [`DeleteIndex`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder::set_arn):<br>required: **true**<br><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><br>
7    /// - On success, responds with [`DeleteIndexOutput`](crate::operation::delete_index::DeleteIndexOutput) with field(s):
8    ///   - [`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>
9    ///   - [`state(Option<IndexState>)`](crate::operation::delete_index::DeleteIndexOutput::state): <p>Indicates the current state of the index.</p>
10    ///   - [`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>
11    /// - On failure, responds with [`SdkError<DeleteIndexError>`](crate::operation::delete_index::DeleteIndexError)
12    pub fn delete_index(&self) -> crate::operation::delete_index::builders::DeleteIndexFluentBuilder {
13        crate::operation::delete_index::builders::DeleteIndexFluentBuilder::new(self.handle.clone())
14    }
15}