aws-sdk-opensearch 1.112.0

AWS SDK for Amazon OpenSearch Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::update_index::builders::UpdateIndexFluentBuilder::set_domain_name):<br>required: **true**<br><p>The name of an OpenSearch Service domain. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.</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: **true**<br><p>The updated JSON schema for the index including any changes to mappings, settings, and semantic enrichment configuration.</p><br>
    /// - On success, responds with [`UpdateIndexOutput`](crate::operation::update_index::UpdateIndexOutput) with field(s):
    ///   - [`status(IndexStatus)`](crate::operation::update_index::UpdateIndexOutput::status): <p>The status of the index update operation.</p>
    /// - 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())
    }
}