aws_sdk_iot/client/list_indices.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`ListIndices`](crate::operation::list_indices::builders::ListIndicesFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_indices::builders::ListIndicesFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`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>The token used to get the next set of results, or <code>null</code> if there are no additional results.</p><br>
8 /// - [`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 results to return at one time.</p><br>
9 /// - On success, responds with [`ListIndicesOutput`](crate::operation::list_indices::ListIndicesOutput) with field(s):
10 /// - [`index_names(Option<Vec::<String>>)`](crate::operation::list_indices::ListIndicesOutput::index_names): <p>The index names.</p>
11 /// - [`next_token(Option<String>)`](crate::operation::list_indices::ListIndicesOutput::next_token): <p>The token used to get the next set of results, or <code>null</code> if there are no additional results.</p>
12 /// - On failure, responds with [`SdkError<ListIndicesError>`](crate::operation::list_indices::ListIndicesError)
13 pub fn list_indices(&self) -> crate::operation::list_indices::builders::ListIndicesFluentBuilder {
14 crate::operation::list_indices::builders::ListIndicesFluentBuilder::new(self.handle.clone())
15 }
16}