aws_sdk_glue/client/
get_job_run.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 [`GetJobRun`](crate::operation::get_job_run::builders::GetJobRunFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`job_name(impl Into<String>)`](crate::operation::get_job_run::builders::GetJobRunFluentBuilder::job_name) / [`set_job_name(Option<String>)`](crate::operation::get_job_run::builders::GetJobRunFluentBuilder::set_job_name):<br>required: **true**<br><p>Name of the job definition being run.</p><br>
7    ///   - [`run_id(impl Into<String>)`](crate::operation::get_job_run::builders::GetJobRunFluentBuilder::run_id) / [`set_run_id(Option<String>)`](crate::operation::get_job_run::builders::GetJobRunFluentBuilder::set_run_id):<br>required: **true**<br><p>The ID of the job run.</p><br>
8    ///   - [`predecessors_included(bool)`](crate::operation::get_job_run::builders::GetJobRunFluentBuilder::predecessors_included) / [`set_predecessors_included(Option<bool>)`](crate::operation::get_job_run::builders::GetJobRunFluentBuilder::set_predecessors_included):<br>required: **false**<br><p>True if a list of predecessor runs should be returned.</p><br>
9    /// - On success, responds with [`GetJobRunOutput`](crate::operation::get_job_run::GetJobRunOutput) with field(s):
10    ///   - [`job_run(Option<JobRun>)`](crate::operation::get_job_run::GetJobRunOutput::job_run): <p>The requested job-run metadata.</p>
11    /// - On failure, responds with [`SdkError<GetJobRunError>`](crate::operation::get_job_run::GetJobRunError)
12    pub fn get_job_run(&self) -> crate::operation::get_job_run::builders::GetJobRunFluentBuilder {
13        crate::operation::get_job_run::builders::GetJobRunFluentBuilder::new(self.handle.clone())
14    }
15}