aws_sdk_amplify/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 /// - [`app_id(impl Into<String>)`](crate::operation::get_job::builders::GetJobFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::get_job::builders::GetJobFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique ID for an Amplify app.</p><br>
7 /// - [`branch_name(impl Into<String>)`](crate::operation::get_job::builders::GetJobFluentBuilder::branch_name) / [`set_branch_name(Option<String>)`](crate::operation::get_job::builders::GetJobFluentBuilder::set_branch_name):<br>required: **true**<br><p>The name of the branch to use for the job.</p><br>
8 /// - [`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 ID for the job.</p><br>
9 /// - On success, responds with [`GetJobOutput`](crate::operation::get_job::GetJobOutput) with field(s):
10 /// - [`job(Option<Job>)`](crate::operation::get_job::GetJobOutput::job): <p>Describes an execution job for an Amplify app.</p>
11 /// - On failure, responds with [`SdkError<GetJobError>`](crate::operation::get_job::GetJobError)
12 pub fn get_job(&self) -> crate::operation::get_job::builders::GetJobFluentBuilder {
13 crate::operation::get_job::builders::GetJobFluentBuilder::new(self.handle.clone())
14 }
15}