// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetIndex`](crate::operation::get_index::builders::GetIndexFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_name(impl Into<String>)`](crate::operation::get_index::builders::GetIndexFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::get_index::builders::GetIndexFluentBuilder::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::get_index::builders::GetIndexFluentBuilder::index_name) / [`set_index_name(Option<String>)`](crate::operation::get_index::builders::GetIndexFluentBuilder::set_index_name):<br>required: **true**<br><p>The name of the index to retrieve information about.</p><br>
/// - On success, responds with [`GetIndexOutput`](crate::operation::get_index::GetIndexOutput) with field(s):
/// - [`index_schema(Document)`](crate::operation::get_index::GetIndexOutput::index_schema): <p>The JSON schema of the index including mappings, settings, and semantic enrichment configuration.</p>
/// - On failure, responds with [`SdkError<GetIndexError>`](crate::operation::get_index::GetIndexError)
pub fn get_index(&self) -> crate::operation::get_index::builders::GetIndexFluentBuilder {
crate::operation::get_index::builders::GetIndexFluentBuilder::new(self.handle.clone())
}
}