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 [`ListFlows`](crate::operation::list_flows::builders::ListFlowsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_flows::builders::ListFlowsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`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> Specifies the maximum number of items that should be returned in the result set. </p><br>
    ///   - [`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> The pagination token for next page of data. </p><br>
    /// - On success, responds with [`ListFlowsOutput`](crate::operation::list_flows::ListFlowsOutput) with field(s):
    ///   - [`flows(Option<Vec::<FlowDefinition>>)`](crate::operation::list_flows::ListFlowsOutput::flows): <p> The list of flows associated with your account. </p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_flows::ListFlowsOutput::next_token): <p> The pagination token for next page of data. </p>
    /// - On failure, responds with [`SdkError<ListFlowsError>`](crate::operation::list_flows::ListFlowsError)
    pub fn list_flows(&self) -> crate::operation::list_flows::builders::ListFlowsFluentBuilder {
        crate::operation::list_flows::builders::ListFlowsFluentBuilder::new(self.handle.clone())
    }
}