aws_sdk_glue/client/
batch_get_jobs.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`BatchGetJobs`](crate::operation::batch_get_jobs::builders::BatchGetJobsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`job_names(impl Into<String>)`](crate::operation::batch_get_jobs::builders::BatchGetJobsFluentBuilder::job_names) / [`set_job_names(Option<Vec::<String>>)`](crate::operation::batch_get_jobs::builders::BatchGetJobsFluentBuilder::set_job_names):<br>required: **true**<br><p>A list of job names, which might be the names returned from the <code>ListJobs</code> operation.</p><br>
7    /// - On success, responds with [`BatchGetJobsOutput`](crate::operation::batch_get_jobs::BatchGetJobsOutput) with field(s):
8    ///   - [`jobs(Option<Vec::<Job>>)`](crate::operation::batch_get_jobs::BatchGetJobsOutput::jobs): <p>A list of job definitions.</p>
9    ///   - [`jobs_not_found(Option<Vec::<String>>)`](crate::operation::batch_get_jobs::BatchGetJobsOutput::jobs_not_found): <p>A list of names of jobs not found.</p>
10    /// - On failure, responds with [`SdkError<BatchGetJobsError>`](crate::operation::batch_get_jobs::BatchGetJobsError)
11    pub fn batch_get_jobs(&self) -> crate::operation::batch_get_jobs::builders::BatchGetJobsFluentBuilder {
12        crate::operation::batch_get_jobs::builders::BatchGetJobsFluentBuilder::new(self.handle.clone())
13    }
14}