1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListIndices`](crate::operation::list_indices::builders::ListIndicesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_indices::builders::ListIndicesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_indices::builders::ListIndicesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_indices::builders::ListIndicesFluentBuilder::set_next_token):<br>required: **false**<br><p>If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of indexes.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_indices::builders::ListIndicesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_indices::builders::ListIndicesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of indices to return.</p><br>
    /// - On success, responds with [`ListIndicesOutput`](crate::operation::list_indices::ListIndicesOutput) with field(s):
    ///   - [`index_configuration_summary_items(Option<Vec::<IndexConfigurationSummary>>)`](crate::operation::list_indices::ListIndicesOutput::index_configuration_summary_items): <p>An array of summary information on the configuration of one or more indexes.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_indices::ListIndicesOutput::next_token): <p>If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of indexes.</p>
    /// - On failure, responds with [`SdkError<ListIndicesError>`](crate::operation::list_indices::ListIndicesError)
    pub fn list_indices(&self) -> crate::operation::list_indices::builders::ListIndicesFluentBuilder {
        crate::operation::list_indices::builders::ListIndicesFluentBuilder::new(self.handle.clone())
    }
}