aws_sdk_elastictranscoder/client/
read_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 [`ReadJob`](crate::operation::read_job::builders::ReadJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::read_job::builders::ReadJobFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::read_job::builders::ReadJobFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of the job for which you want to get detailed information.</p><br>
7    /// - On success, responds with [`ReadJobOutput`](crate::operation::read_job::ReadJobOutput) with field(s):
8    ///   - [`job(Option<Job>)`](crate::operation::read_job::ReadJobOutput::job): <p>A section of the response body that provides information about the job.</p>
9    /// - On failure, responds with [`SdkError<ReadJobError>`](crate::operation::read_job::ReadJobError)
10    pub fn read_job(&self) -> crate::operation::read_job::builders::ReadJobFluentBuilder {
11        crate::operation::read_job::builders::ReadJobFluentBuilder::new(self.handle.clone())
12    }
13}