aws_sdk_location/client/
list_place_indexes.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 [`ListPlaceIndexes`](crate::operation::list_place_indexes::builders::ListPlaceIndexesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_place_indexes::builders::ListPlaceIndexesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_place_indexes::builders::ListPlaceIndexesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_place_indexes::builders::ListPlaceIndexesFluentBuilder::set_max_results):<br>required: **false**<br><p>An optional limit for the maximum number of results returned in a single call.</p> <p>Default value: <code>100</code></p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_place_indexes::builders::ListPlaceIndexesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_place_indexes::builders::ListPlaceIndexesFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.</p> <p>Default value: <code>null</code></p><br>
9    /// - On success, responds with [`ListPlaceIndexesOutput`](crate::operation::list_place_indexes::ListPlaceIndexesOutput) with field(s):
10    ///   - [`entries(Vec::<ListPlaceIndexesResponseEntry>)`](crate::operation::list_place_indexes::ListPlaceIndexesOutput::entries): <p>Lists the place index resources that exist in your Amazon Web Services account</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::list_place_indexes::ListPlaceIndexesOutput::next_token): <p>A pagination token indicating that there are additional pages available. You can use the token in a new request to fetch the next page of results.</p>
12    /// - On failure, responds with [`SdkError<ListPlaceIndexesError>`](crate::operation::list_place_indexes::ListPlaceIndexesError)
13    pub fn list_place_indexes(&self) -> crate::operation::list_place_indexes::builders::ListPlaceIndexesFluentBuilder {
14        crate::operation::list_place_indexes::builders::ListPlaceIndexesFluentBuilder::new(self.handle.clone())
15    }
16}