aws_sdk_glue/client/
get_job.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 [`GetJob`](crate::operation::get_job::builders::GetJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`job_name(impl Into<String>)`](crate::operation::get_job::builders::GetJobFluentBuilder::job_name) / [`set_job_name(Option<String>)`](crate::operation::get_job::builders::GetJobFluentBuilder::set_job_name):<br>required: **true**<br><p>The name of the job definition to retrieve.</p><br>
7    /// - On success, responds with [`GetJobOutput`](crate::operation::get_job::GetJobOutput) with field(s):
8    ///   - [`job(Option<Job>)`](crate::operation::get_job::GetJobOutput::job): <p>The requested job definition.</p>
9    /// - On failure, responds with [`SdkError<GetJobError>`](crate::operation::get_job::GetJobError)
10    pub fn get_job(&self) -> crate::operation::get_job::builders::GetJobFluentBuilder {
11        crate::operation::get_job::builders::GetJobFluentBuilder::new(self.handle.clone())
12    }
13}