aws_sdk_config/client/
list_stored_queries.rs

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 [`ListStoredQueries`](crate::operation::list_stored_queries::builders::ListStoredQueriesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_stored_queries::builders::ListStoredQueriesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_stored_queries::builders::ListStoredQueriesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_stored_queries::builders::ListStoredQueriesFluentBuilder::set_next_token):<br>required: **false**<br><p>The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_stored_queries::builders::ListStoredQueriesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_stored_queries::builders::ListStoredQueriesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to be returned with a single call.</p><br>
    /// - On success, responds with [`ListStoredQueriesOutput`](crate::operation::list_stored_queries::ListStoredQueriesOutput) with field(s):
    ///   - [`stored_query_metadata(Option<Vec::<StoredQueryMetadata>>)`](crate::operation::list_stored_queries::ListStoredQueriesOutput::stored_query_metadata): <p>A list of <code>StoredQueryMetadata</code> objects.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_stored_queries::ListStoredQueriesOutput::next_token): <p>If the previous paginated request didn't return all of the remaining results, the response object's <code>NextToken</code> parameter value is set to a token. To retrieve the next set of results, call this operation again and assign that token to the request object's <code>NextToken</code> parameter. If there are no remaining results, the previous response object's <code>NextToken</code> parameter is set to <code>null</code>.</p>
    /// - On failure, responds with [`SdkError<ListStoredQueriesError>`](crate::operation::list_stored_queries::ListStoredQueriesError)
    pub fn list_stored_queries(&self) -> crate::operation::list_stored_queries::builders::ListStoredQueriesFluentBuilder {
        crate::operation::list_stored_queries::builders::ListStoredQueriesFluentBuilder::new(self.handle.clone())
    }
}