// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateIndex`](crate::operation::update_index::builders::UpdateIndexFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`application_id(impl Into<String>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::set_application_id):<br>required: **true**<br><p>The identifier of the Amazon Q application connected to the index.</p><br>
/// - [`index_id(impl Into<String>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::index_id) / [`set_index_id(Option<String>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::set_index_id):<br>required: **true**<br><p>The identifier of the Amazon Q index.</p><br>
/// - [`display_name(impl Into<String>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::set_display_name):<br>required: **false**<br><p>The name of the Amazon Q index.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::set_description):<br>required: **false**<br><p>The description of the Amazon Q index.</p><br>
/// - [`capacity_configuration(IndexCapacityConfiguration)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::capacity_configuration) / [`set_capacity_configuration(Option<IndexCapacityConfiguration>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::set_capacity_configuration):<br>required: **false**<br><p>The storage capacity units you want to provision for your Amazon Q index. You can add and remove capacity to fit your usage needs.</p><br>
/// - [`document_attribute_configurations(DocumentAttributeConfiguration)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::document_attribute_configurations) / [`set_document_attribute_configurations(Option<Vec::<DocumentAttributeConfiguration>>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::set_document_attribute_configurations):<br>required: **false**<br><p>Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document. For more information, see <a href="https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes-types.html#doc-attributes">Understanding document attributes</a>.</p><br>
/// - On success, responds with [`UpdateIndexOutput`](crate::operation::update_index::UpdateIndexOutput)
/// - On failure, responds with [`SdkError<UpdateIndexError>`](crate::operation::update_index::UpdateIndexError)
pub fn update_index(&self) -> crate::operation::update_index::builders::UpdateIndexFluentBuilder {
crate::operation::update_index::builders::UpdateIndexFluentBuilder::new(self.handle.clone())
}
}