aws-sdk-resourceexplorer2 1.102.0

AWS SDK for AWS Resource Explorer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListServiceIndexes`](crate::operation::list_service_indexes::builders::ListServiceIndexesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_service_indexes::builders::ListServiceIndexesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`regions(impl Into<String>)`](crate::operation::list_service_indexes::builders::ListServiceIndexesFluentBuilder::regions) / [`set_regions(Option<Vec::<String>>)`](crate::operation::list_service_indexes::builders::ListServiceIndexesFluentBuilder::set_regions):<br>required: **false**<br><p>A list of Amazon Web Services Regions to include in the search for indexes. If not specified, indexes from all Regions are returned.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_service_indexes::builders::ListServiceIndexesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_service_indexes::builders::ListServiceIndexesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of index results to return in a single response. Valid values are between <code>1</code> and <code>100</code>.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_service_indexes::builders::ListServiceIndexesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_service_indexes::builders::ListServiceIndexesFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token from a previous <code>ListServiceIndexes</code> response. Use this token to retrieve the next set of results.</p><br>
    /// - On success, responds with [`ListServiceIndexesOutput`](crate::operation::list_service_indexes::ListServiceIndexesOutput) with field(s):
    ///   - [`indexes(Option<Vec::<Index>>)`](crate::operation::list_service_indexes::ListServiceIndexesOutput::indexes): <p>A list of <code>Index</code> objects that describe the Resource Explorer indexes found in the specified Regions.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_service_indexes::ListServiceIndexesOutput::next_token): <p>The pagination token to use in a subsequent <code>ListServiceIndexes</code> request to retrieve the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListServiceIndexesError>`](crate::operation::list_service_indexes::ListServiceIndexesError)
    pub fn list_service_indexes(&self) -> crate::operation::list_service_indexes::builders::ListServiceIndexesFluentBuilder {
        crate::operation::list_service_indexes::builders::ListServiceIndexesFluentBuilder::new(self.handle.clone())
    }
}