aws_sdk_kendra/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    ///   - [`id(impl Into<String>)`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of the index you want to delete.</p><br>
7    /// - On success, responds with [`DeleteIndexOutput`](crate::operation::delete_index::DeleteIndexOutput)
8    /// - On failure, responds with [`SdkError<DeleteIndexError>`](crate::operation::delete_index::DeleteIndexError)
9    pub fn delete_index(&self) -> crate::operation::delete_index::builders::DeleteIndexFluentBuilder {
10        crate::operation::delete_index::builders::DeleteIndexFluentBuilder::new(self.handle.clone())
11    }
12}