aws_sdk_customerprofiles/client/
list_workflows.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListWorkflows`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
    ///   - [`workflow_type(WorkflowType)`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::workflow_type) / [`set_workflow_type(Option<WorkflowType>)`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::set_workflow_type):<br>required: **false**<br><p>The type of workflow. The only supported value is APPFLOW_INTEGRATION.</p><br>
    ///   - [`status(Status)`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::status) / [`set_status(Option<Status>)`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::set_status):<br>required: **false**<br><p>Status of workflow execution.</p><br>
    ///   - [`query_start_date(DateTime)`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::query_start_date) / [`set_query_start_date(Option<DateTime>)`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::set_query_start_date):<br>required: **false**<br><p>Retrieve workflows started after timestamp.</p><br>
    ///   - [`query_end_date(DateTime)`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::query_end_date) / [`set_query_end_date(Option<DateTime>)`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::set_query_end_date):<br>required: **false**<br><p>Retrieve workflows ended after timestamp.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page.</p><br>
    /// - On success, responds with [`ListWorkflowsOutput`](crate::operation::list_workflows::ListWorkflowsOutput) with field(s):
    ///   - [`items(Option<Vec::<ListWorkflowsItem>>)`](crate::operation::list_workflows::ListWorkflowsOutput::items): <p>List containing workflow details.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_workflows::ListWorkflowsOutput::next_token): <p>If there are additional results, this is the token for the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListWorkflowsError>`](crate::operation::list_workflows::ListWorkflowsError)
    pub fn list_workflows(&self) -> crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder {
        crate::operation::list_workflows::builders::ListWorkflowsFluentBuilder::new(self.handle.clone())
    }
}