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 [`ListFlowVersions`](crate::operation::list_flow_versions::builders::ListFlowVersionsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_flow_versions::builders::ListFlowVersionsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`flow_identifier(impl Into<String>)`](crate::operation::list_flow_versions::builders::ListFlowVersionsFluentBuilder::flow_identifier) / [`set_flow_identifier(Option<String>)`](crate::operation::list_flow_versions::builders::ListFlowVersionsFluentBuilder::set_flow_identifier):<br>required: **true**<br><p>The unique identifier of the flow.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_flow_versions::builders::ListFlowVersionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_flow_versions::builders::ListFlowVersionsFluentBuilder::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>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_flow_versions::builders::ListFlowVersionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_flow_versions::builders::ListFlowVersionsFluentBuilder::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>
    /// - On success, responds with [`ListFlowVersionsOutput`](crate::operation::list_flow_versions::ListFlowVersionsOutput) with field(s):
    ///   - [`flow_version_summaries(Vec::<FlowVersionSummary>)`](crate::operation::list_flow_versions::ListFlowVersionsOutput::flow_version_summaries): <p>A list, each member of which contains information about a flow.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_flow_versions::ListFlowVersionsOutput::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>
    /// - On failure, responds with [`SdkError<ListFlowVersionsError>`](crate::operation::list_flow_versions::ListFlowVersionsError)
    pub fn list_flow_versions(&self) -> crate::operation::list_flow_versions::builders::ListFlowVersionsFluentBuilder {
        crate::operation::list_flow_versions::builders::ListFlowVersionsFluentBuilder::new(self.handle.clone())
    }
}