aws_sdk_qbusiness/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 /// - [`application_id(impl Into<String>)`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder::set_application_id):<br>required: **true**<br><p>The identifier of the Amazon Q Business application the Amazon Q Business index is linked to.</p><br>
7 /// - [`index_id(impl Into<String>)`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder::index_id) / [`set_index_id(Option<String>)`](crate::operation::delete_index::builders::DeleteIndexFluentBuilder::set_index_id):<br>required: **true**<br><p>The identifier of the Amazon Q Business index.</p><br>
8 /// - On success, responds with [`DeleteIndexOutput`](crate::operation::delete_index::DeleteIndexOutput)
9 /// - On failure, responds with [`SdkError<DeleteIndexError>`](crate::operation::delete_index::DeleteIndexError)
10 pub fn delete_index(&self) -> crate::operation::delete_index::builders::DeleteIndexFluentBuilder {
11 crate::operation::delete_index::builders::DeleteIndexFluentBuilder::new(self.handle.clone())
12 }
13}