aws-sdk-opensearchserverless 1.100.0

AWS SDK for OpenSearch Service Serverless
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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:
    ///   - [`id(impl Into<String>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::set_id):<br>required: **true**<br><p>The unique identifier of the collection containing the index to update.</p><br>
    ///   - [`index_name(impl Into<String>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::index_name) / [`set_index_name(Option<String>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::set_index_name):<br>required: **true**<br><p>The name of the index to update.</p><br>
    ///   - [`index_schema(Document)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::index_schema) / [`set_index_schema(Option<Document>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::set_index_schema):<br>required: **false**<br><p>The updated JSON schema definition for the index, including field mappings and settings.</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())
    }
}