Skip to main content

aws_sdk_elementalinference/client/
list_feeds.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 [`ListFeeds`](crate::operation::list_feeds::builders::ListFeedsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_feeds::builders::ListFeedsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_feeds::builders::ListFeedsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_feeds::builders::ListFeedsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per API request.</p> <p>For example, you submit a list request with MaxResults set at 5. Although 20 items match your request, the service returns no more than the first 5 items. (The service also returns a NextToken value that you can use to fetch the next batch of results.)</p> <p>The service might return fewer results than the MaxResults value. If MaxResults is not included in the request, the service defaults to pagination with a maximum of 10 results per page.</p> <p>Valid Range: Minimum value of 1. Maximum value of 1000.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_feeds::builders::ListFeedsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_feeds::builders::ListFeedsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token that identifies the batch of results that you want to see.</p> <p>For example, you submit a ListBridges request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListBridges request a second time and specify the NextToken value.</p><br>
9    /// - On success, responds with [`ListFeedsOutput`](crate::operation::list_feeds::ListFeedsOutput) with field(s):
10    ///   - [`feeds(Vec::<FeedSummary>)`](crate::operation::list_feeds::ListFeedsOutput::feeds): <p>A list of feed summaries.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::list_feeds::ListFeedsOutput::next_token): <p>The token that identifies the batch of results that you want to see. For example, you submit a list request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the list request a second time and specify the NextToken value.</p>
12    /// - On failure, responds with [`SdkError<ListFeedsError>`](crate::operation::list_feeds::ListFeedsError)
13    pub fn list_feeds(&self) -> crate::operation::list_feeds::builders::ListFeedsFluentBuilder {
14        crate::operation::list_feeds::builders::ListFeedsFluentBuilder::new(self.handle.clone())
15    }
16}