aws_sdk_amplify/client/stop_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 [`StopJob`](crate::operation::stop_job::builders::StopJobFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`app_id(impl Into<String>)`](crate::operation::stop_job::builders::StopJobFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::stop_job::builders::StopJobFluentBuilder::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::stop_job::builders::StopJobFluentBuilder::branch_name) / [`set_branch_name(Option<String>)`](crate::operation::stop_job::builders::StopJobFluentBuilder::set_branch_name):<br>required: **true**<br><p>The name of the branch to use for the stop job request.</p><br>
8 /// - [`job_id(impl Into<String>)`](crate::operation::stop_job::builders::StopJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::stop_job::builders::StopJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The unique id for the job.</p><br>
9 /// - On success, responds with [`StopJobOutput`](crate::operation::stop_job::StopJobOutput) with field(s):
10 /// - [`job_summary(Option<JobSummary>)`](crate::operation::stop_job::StopJobOutput::job_summary): <p>The summary for the job.</p>
11 /// - On failure, responds with [`SdkError<StopJobError>`](crate::operation::stop_job::StopJobError)
12 pub fn stop_job(&self) -> crate::operation::stop_job::builders::StopJobFluentBuilder {
13 crate::operation::stop_job::builders::StopJobFluentBuilder::new(self.handle.clone())
14 }
15}