aws_sdk_deadline/client/get_job.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetJob`](crate::operation::get_job::builders::GetJobFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`farm_id(impl Into<String>)`](crate::operation::get_job::builders::GetJobFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::get_job::builders::GetJobFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID of the farm in the job.</p><br>
/// - [`job_id(impl Into<String>)`](crate::operation::get_job::builders::GetJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::get_job::builders::GetJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The job ID.</p><br>
/// - [`queue_id(impl Into<String>)`](crate::operation::get_job::builders::GetJobFluentBuilder::queue_id) / [`set_queue_id(Option<String>)`](crate::operation::get_job::builders::GetJobFluentBuilder::set_queue_id):<br>required: **true**<br><p>The queue ID associated with the job.</p><br>
/// - On success, responds with [`GetJobOutput`](crate::operation::get_job::GetJobOutput) with field(s):
/// - [`job_id(String)`](crate::operation::get_job::GetJobOutput::job_id): <p>The job ID.</p>
/// - [`name(String)`](crate::operation::get_job::GetJobOutput::name): <p>The name of the job.</p>
/// - [`lifecycle_status(JobLifecycleStatus)`](crate::operation::get_job::GetJobOutput::lifecycle_status): <p>The life cycle status for the job.</p>
/// - [`lifecycle_status_message(String)`](crate::operation::get_job::GetJobOutput::lifecycle_status_message): <p>A message that communicates the status of the life cycle for the job.</p>
/// - [`priority(i32)`](crate::operation::get_job::GetJobOutput::priority): <p>The job priority.</p>
/// - [`created_at(DateTime)`](crate::operation::get_job::GetJobOutput::created_at): <p>The date and time the resource was created.</p>
/// - [`created_by(String)`](crate::operation::get_job::GetJobOutput::created_by): <p>The user or system that created this resource.</p>
/// - [`updated_at(Option<DateTime>)`](crate::operation::get_job::GetJobOutput::updated_at): <p>The date and time the resource was updated.</p>
/// - [`updated_by(Option<String>)`](crate::operation::get_job::GetJobOutput::updated_by): <p>The user or system that updated this resource.</p>
/// - [`started_at(Option<DateTime>)`](crate::operation::get_job::GetJobOutput::started_at): <p>The date and time the resource started running.</p>
/// - [`ended_at(Option<DateTime>)`](crate::operation::get_job::GetJobOutput::ended_at): <p>The date and time the resource ended running.</p>
/// - [`task_run_status(Option<TaskRunStatus>)`](crate::operation::get_job::GetJobOutput::task_run_status): <p>The task run status for the job.</p>
/// - [`target_task_run_status(Option<JobTargetTaskRunStatus>)`](crate::operation::get_job::GetJobOutput::target_task_run_status): <p>The task status with which the job started.</p>
/// - [`task_run_status_counts(Option<HashMap::<TaskRunStatus, i32>>)`](crate::operation::get_job::GetJobOutput::task_run_status_counts): <p>The number of tasks running on the job.</p>
/// - [`storage_profile_id(Option<String>)`](crate::operation::get_job::GetJobOutput::storage_profile_id): <p>The storage profile ID associated with the job.</p>
/// - [`max_failed_tasks_count(Option<i32>)`](crate::operation::get_job::GetJobOutput::max_failed_tasks_count): <p>The number of task failures before the job stops running and is marked as <code>FAILED</code>.</p>
/// - [`max_retries_per_task(Option<i32>)`](crate::operation::get_job::GetJobOutput::max_retries_per_task): <p>The maximum number of retries per failed tasks.</p>
/// - [`parameters(Option<HashMap::<String, JobParameter>>)`](crate::operation::get_job::GetJobOutput::parameters): <p>The parameters for the job.</p>
/// - [`attachments(Option<Attachments>)`](crate::operation::get_job::GetJobOutput::attachments): <p>The attachments for the job.</p>
/// - [`description(Option<String>)`](crate::operation::get_job::GetJobOutput::description): <p>The description of the job.</p><important> <p>This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.</p> </important>
/// - [`source_job_id(Option<String>)`](crate::operation::get_job::GetJobOutput::source_job_id): <p>The job ID for the source job.</p>
/// - On failure, responds with [`SdkError<GetJobError>`](crate::operation::get_job::GetJobError)
pub fn get_job(&self) -> crate::operation::get_job::builders::GetJobFluentBuilder {
crate::operation::get_job::builders::GetJobFluentBuilder::new(self.handle.clone())
}
}