aws_sdk_devicefarm/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    ///   - [`arn(impl Into<String>)`](crate::operation::get_job::builders::GetJobFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_job::builders::GetJobFluentBuilder::set_arn):<br>required: **true**<br><p>The job's ARN.</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>An object that contains information about the requested job.</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}