1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListFlowDefinitions`](crate::operation::list_flow_definitions::builders::ListFlowDefinitionsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_flow_definitions::builders::ListFlowDefinitionsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`creation_time_after(DateTime)`](crate::operation::list_flow_definitions::builders::ListFlowDefinitionsFluentBuilder::creation_time_after) / [`set_creation_time_after(Option<DateTime>)`](crate::operation::list_flow_definitions::builders::ListFlowDefinitionsFluentBuilder::set_creation_time_after): <p>A filter that returns only flow definitions with a creation time greater than or equal to the specified timestamp.</p>
/// - [`creation_time_before(DateTime)`](crate::operation::list_flow_definitions::builders::ListFlowDefinitionsFluentBuilder::creation_time_before) / [`set_creation_time_before(Option<DateTime>)`](crate::operation::list_flow_definitions::builders::ListFlowDefinitionsFluentBuilder::set_creation_time_before): <p>A filter that returns only flow definitions that were created before the specified timestamp.</p>
/// - [`sort_order(SortOrder)`](crate::operation::list_flow_definitions::builders::ListFlowDefinitionsFluentBuilder::sort_order) / [`set_sort_order(Option<SortOrder>)`](crate::operation::list_flow_definitions::builders::ListFlowDefinitionsFluentBuilder::set_sort_order): <p>An optional value that specifies whether you want the results sorted in <code>Ascending</code> or <code>Descending</code> order.</p>
/// - [`next_token(impl Into<String>)`](crate::operation::list_flow_definitions::builders::ListFlowDefinitionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_flow_definitions::builders::ListFlowDefinitionsFluentBuilder::set_next_token): <p>A token to resume pagination.</p>
/// - [`max_results(i32)`](crate::operation::list_flow_definitions::builders::ListFlowDefinitionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_flow_definitions::builders::ListFlowDefinitionsFluentBuilder::set_max_results): <p>The total number of items to return. If the total number of available items is more than the value specified in <code>MaxResults</code>, then a <code>NextToken</code> will be provided in the output that you can use to resume pagination.</p>
/// - On success, responds with [`ListFlowDefinitionsOutput`](crate::operation::list_flow_definitions::ListFlowDefinitionsOutput) with field(s):
/// - [`flow_definition_summaries(Option<Vec<FlowDefinitionSummary>>)`](crate::operation::list_flow_definitions::ListFlowDefinitionsOutput::flow_definition_summaries): <p>An array of objects describing the flow definitions.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_flow_definitions::ListFlowDefinitionsOutput::next_token): <p>A token to resume pagination.</p>
/// - On failure, responds with [`SdkError<ListFlowDefinitionsError>`](crate::operation::list_flow_definitions::ListFlowDefinitionsError)
pub fn list_flow_definitions(
&self,
) -> crate::operation::list_flow_definitions::builders::ListFlowDefinitionsFluentBuilder {
crate::operation::list_flow_definitions::builders::ListFlowDefinitionsFluentBuilder::new(
self.handle.clone(),
)
}
}