aws_sdk_bedrockagent/client/
list_flows.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 [`ListFlows`](crate::operation::list_flows::builders::ListFlowsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_flows::builders::ListFlowsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_flows::builders::ListFlowsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_flows::builders::ListFlowsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_flows::builders::ListFlowsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_flows::builders::ListFlowsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p><br>
9    /// - On success, responds with [`ListFlowsOutput`](crate::operation::list_flows::ListFlowsOutput) with field(s):
10    ///   - [`flow_summaries(Vec::<FlowSummary>)`](crate::operation::list_flows::ListFlowsOutput::flow_summaries): <p>A list, each member of which contains information about a flow.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::list_flows::ListFlowsOutput::next_token): <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
12    /// - On failure, responds with [`SdkError<ListFlowsError>`](crate::operation::list_flows::ListFlowsError)
13    pub fn list_flows(&self) -> crate::operation::list_flows::builders::ListFlowsFluentBuilder {
14        crate::operation::list_flows::builders::ListFlowsFluentBuilder::new(self.handle.clone())
15    }
16}