// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StartJob`](crate::operation::start_job::builders::StartJobFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`app_id(impl Into<String>)`](crate::operation::start_job::builders::StartJobFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::start_job::builders::StartJobFluentBuilder::set_app_id): <p> The unique ID for an Amplify app. </p>
/// - [`branch_name(impl Into<String>)`](crate::operation::start_job::builders::StartJobFluentBuilder::branch_name) / [`set_branch_name(Option<String>)`](crate::operation::start_job::builders::StartJobFluentBuilder::set_branch_name): <p> The branch name for the job. </p>
/// - [`job_id(impl Into<String>)`](crate::operation::start_job::builders::StartJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::start_job::builders::StartJobFluentBuilder::set_job_id): <p> The unique ID for an existing job. This is required if the value of <code>jobType</code> is <code>RETRY</code>. </p>
/// - [`job_type(JobType)`](crate::operation::start_job::builders::StartJobFluentBuilder::job_type) / [`set_job_type(Option<JobType>)`](crate::operation::start_job::builders::StartJobFluentBuilder::set_job_type): <p> Describes the type for the job. The job type <code>RELEASE</code> starts a new job with the latest change from the specified branch. This value is available only for apps that are connected to a repository. The job type <code>RETRY</code> retries an existing job. If the job type value is <code>RETRY</code>, the <code>jobId</code> is also required. </p>
/// - [`job_reason(impl Into<String>)`](crate::operation::start_job::builders::StartJobFluentBuilder::job_reason) / [`set_job_reason(Option<String>)`](crate::operation::start_job::builders::StartJobFluentBuilder::set_job_reason): <p> A descriptive reason for starting this job. </p>
/// - [`commit_id(impl Into<String>)`](crate::operation::start_job::builders::StartJobFluentBuilder::commit_id) / [`set_commit_id(Option<String>)`](crate::operation::start_job::builders::StartJobFluentBuilder::set_commit_id): <p> The commit ID from a third-party repository provider for the job. </p>
/// - [`commit_message(impl Into<String>)`](crate::operation::start_job::builders::StartJobFluentBuilder::commit_message) / [`set_commit_message(Option<String>)`](crate::operation::start_job::builders::StartJobFluentBuilder::set_commit_message): <p> The commit message from a third-party repository provider for the job. </p>
/// - [`commit_time(DateTime)`](crate::operation::start_job::builders::StartJobFluentBuilder::commit_time) / [`set_commit_time(Option<DateTime>)`](crate::operation::start_job::builders::StartJobFluentBuilder::set_commit_time): <p> The commit date and time for the job. </p>
/// - On success, responds with [`StartJobOutput`](crate::operation::start_job::StartJobOutput) with field(s):
/// - [`job_summary(Option<JobSummary>)`](crate::operation::start_job::StartJobOutput::job_summary): <p> The summary for the job. </p>
/// - On failure, responds with [`SdkError<StartJobError>`](crate::operation::start_job::StartJobError)
pub fn start_job(&self) -> crate::operation::start_job::builders::StartJobFluentBuilder {
crate::operation::start_job::builders::StartJobFluentBuilder::new(self.handle.clone())
}
}