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 [`DescribeIndex`](crate::operation::describe_index::builders::DescribeIndexFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`index_name(impl Into<String>)`](crate::operation::describe_index::builders::DescribeIndexFluentBuilder::index_name) / [`set_index_name(Option<String>)`](crate::operation::describe_index::builders::DescribeIndexFluentBuilder::set_index_name):<br>required: **true**<br><p>The index name.</p><br>
    /// - On success, responds with [`DescribeIndexOutput`](crate::operation::describe_index::DescribeIndexOutput) with field(s):
    ///   - [`index_name(Option<String>)`](crate::operation::describe_index::DescribeIndexOutput::index_name): <p>The index name.</p>
    ///   - [`index_status(Option<IndexStatus>)`](crate::operation::describe_index::DescribeIndexOutput::index_status): <p>The index status.</p>
    ///   - [`schema(Option<String>)`](crate::operation::describe_index::DescribeIndexOutput::schema): <p>Contains a value that specifies the type of indexing performed. Valid values are:</p> <ul>  <li>   <p>REGISTRY – Your thing index contains only registry data.</p></li>  <li>   <p>REGISTRY_AND_SHADOW - Your thing index contains registry data and shadow data.</p></li>  <li>   <p>REGISTRY_AND_CONNECTIVITY_STATUS - Your thing index contains registry data and thing connectivity status data.</p></li>  <li>   <p>REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains registry data, shadow data, and thing connectivity status data.</p></li>  <li>   <p>MULTI_INDEXING_MODE - Your thing index contains multiple data sources. For more information, see <a href="https://docs.aws.amazon.com/iot/latest/apireference/API_GetIndexingConfiguration.html">GetIndexingConfiguration</a>.</p></li> </ul>
    /// - On failure, responds with [`SdkError<DescribeIndexError>`](crate::operation::describe_index::DescribeIndexError)
    pub fn describe_index(&self) -> crate::operation::describe_index::builders::DescribeIndexFluentBuilder {
        crate::operation::describe_index::builders::DescribeIndexFluentBuilder::new(self.handle.clone())
    }
}