aws_sdk_databrew/client/
list_jobs.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListJobs`](crate::operation::list_jobs::builders::ListJobsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_jobs::builders::ListJobsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`dataset_name(impl Into<String>)`](crate::operation::list_jobs::builders::ListJobsFluentBuilder::dataset_name) / [`set_dataset_name(Option<String>)`](crate::operation::list_jobs::builders::ListJobsFluentBuilder::set_dataset_name):<br>required: **false**<br><p>The name of a dataset. Using this parameter indicates to return only those jobs that act on the specified dataset.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_jobs::builders::ListJobsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_jobs::builders::ListJobsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in this request.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_jobs::builders::ListJobsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_jobs::builders::ListJobsFluentBuilder::set_next_token):<br>required: **false**<br><p>A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the NextToken value from the response object of the previous page call.</p><br>
    ///   - [`project_name(impl Into<String>)`](crate::operation::list_jobs::builders::ListJobsFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::list_jobs::builders::ListJobsFluentBuilder::set_project_name):<br>required: **false**<br><p>The name of a project. Using this parameter indicates to return only those jobs that are associated with the specified project.</p><br>
    /// - On success, responds with [`ListJobsOutput`](crate::operation::list_jobs::ListJobsOutput) with field(s):
    ///   - [`jobs(Vec::<Job>)`](crate::operation::list_jobs::ListJobsOutput::jobs): <p>A list of jobs that are defined.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_jobs::ListJobsOutput::next_token): <p>A token that you can use in a subsequent call to retrieve the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListJobsError>`](crate::operation::list_jobs::ListJobsError)
    pub fn list_jobs(&self) -> crate::operation::list_jobs::builders::ListJobsFluentBuilder {
        crate::operation::list_jobs::builders::ListJobsFluentBuilder::new(self.handle.clone())
    }
}