1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListOpenWorkflowExecutions`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain(impl Into<String>)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::domain) / [`set_domain(Option<String>)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::set_domain):<br>required: **true**<br><p>The name of the domain that contains the workflow executions to list.</p><br>
    ///   - [`start_time_filter(ExecutionTimeFilter)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::start_time_filter) / [`set_start_time_filter(Option<ExecutionTimeFilter>)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::set_start_time_filter):<br>required: **true**<br><p>Workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.</p><br>
    ///   - [`type_filter(WorkflowTypeFilter)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::type_filter) / [`set_type_filter(Option<WorkflowTypeFilter>)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::set_type_filter):<br>required: **false**<br><p>If specified, only executions of the type specified in the filter are returned.</p><note>  <p><code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are mutually exclusive. You can specify at most one of these in a request.</p> </note><br>
    ///   - [`tag_filter(TagFilter)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::tag_filter) / [`set_tag_filter(Option<TagFilter>)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::set_tag_filter):<br>required: **false**<br><p>If specified, only executions that have the matching tag are listed.</p><note>  <p><code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are mutually exclusive. You can specify at most one of these in a request.</p> </note><br>
    ///   - [`next_page_token(impl Into<String>)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::next_page_token) / [`set_next_page_token(Option<String>)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::set_next_page_token):<br>required: **false**<br><p>If <code>NextPageToken</code> is returned there are more results available. The value of <code>NextPageToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a <code>400</code> error: "<code>Specified token has exceeded its maximum lifetime</code>".</p> <p>The configured <code>maximumPageSize</code> determines how many results can be returned in a single call.</p><br>
    ///   - [`maximum_page_size(i32)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::maximum_page_size) / [`set_maximum_page_size(Option<i32>)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::set_maximum_page_size):<br>required: **false**<br><p>The maximum number of results that are returned per call. Use <code>nextPageToken</code> to obtain further pages of results.</p><br>
    ///   - [`reverse_order(bool)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::reverse_order) / [`set_reverse_order(Option<bool>)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::set_reverse_order):<br>required: **false**<br><p>When set to <code>true</code>, returns the results in reverse order. By default the results are returned in descending order of the start time of the executions.</p><br>
    ///   - [`execution_filter(WorkflowExecutionFilter)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::execution_filter) / [`set_execution_filter(Option<WorkflowExecutionFilter>)`](crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::set_execution_filter):<br>required: **false**<br><p>If specified, only workflow executions matching the workflow ID specified in the filter are returned.</p><note>  <p><code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are mutually exclusive. You can specify at most one of these in a request.</p> </note><br>
    /// - On success, responds with [`ListOpenWorkflowExecutionsOutput`](crate::operation::list_open_workflow_executions::ListOpenWorkflowExecutionsOutput) with field(s):
    ///   - [`execution_infos(Vec::<WorkflowExecutionInfo>)`](crate::operation::list_open_workflow_executions::ListOpenWorkflowExecutionsOutput::execution_infos): <p>The list of workflow information structures.</p>
    ///   - [`next_page_token(Option<String>)`](crate::operation::list_open_workflow_executions::ListOpenWorkflowExecutionsOutput::next_page_token): <p>If a <code>NextPageToken</code> was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in <code>nextPageToken</code>. Keep all other arguments unchanged.</p> <p>The configured <code>maximumPageSize</code> determines how many results can be returned in a single call.</p>
    /// - On failure, responds with [`SdkError<ListOpenWorkflowExecutionsError>`](crate::operation::list_open_workflow_executions::ListOpenWorkflowExecutionsError)
    pub fn list_open_workflow_executions(
        &self,
    ) -> crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder {
        crate::operation::list_open_workflow_executions::builders::ListOpenWorkflowExecutionsFluentBuilder::new(self.handle.clone())
    }
}