aws_sdk_dataexchange/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_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 unique identifier for a job.</p><br>
7    /// - On success, responds with [`GetJobOutput`](crate::operation::get_job::GetJobOutput) with field(s):
8    ///   - [`arn(Option<String>)`](crate::operation::get_job::GetJobOutput::arn): <p>The ARN for the job.</p>
9    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_job::GetJobOutput::created_at): <p>The date and time that the job was created, in ISO 8601 format.</p>
10    ///   - [`details(Option<ResponseDetails>)`](crate::operation::get_job::GetJobOutput::details): <p>Details about the job.</p>
11    ///   - [`errors(Option<Vec::<JobError>>)`](crate::operation::get_job::GetJobOutput::errors): <p>The errors associated with jobs.</p>
12    ///   - [`id(Option<String>)`](crate::operation::get_job::GetJobOutput::id): <p>The unique identifier for the job.</p>
13    ///   - [`state(Option<State>)`](crate::operation::get_job::GetJobOutput::state): <p>The state of the job.</p>
14    ///   - [`r#type(Option<Type>)`](crate::operation::get_job::GetJobOutput::type): <p>The job type.</p>
15    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_job::GetJobOutput::updated_at): <p>The date and time that the job was last updated, in ISO 8601 format.</p>
16    /// - On failure, responds with [`SdkError<GetJobError>`](crate::operation::get_job::GetJobError)
17    pub fn get_job(&self) -> crate::operation::get_job::builders::GetJobFluentBuilder {
18        crate::operation::get_job::builders::GetJobFluentBuilder::new(self.handle.clone())
19    }
20}