1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StopJob`](crate::operation::stop_job::builders::StopJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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): <p> The unique ID for an Amplify app. </p>
    ///   - [`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): <p> The name for the branch, for the job. </p>
    ///   - [`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): <p> The unique id for the job. </p>
    /// - On success, responds with [`StopJobOutput`](crate::operation::stop_job::StopJobOutput) with field(s):
    ///   - [`job_summary(Option<JobSummary>)`](crate::operation::stop_job::StopJobOutput::job_summary): <p> The summary for the job. </p>
    /// - On failure, responds with [`SdkError<StopJobError>`](crate::operation::stop_job::StopJobError)
    pub fn stop_job(&self) -> crate::operation::stop_job::builders::StopJobFluentBuilder {
        crate::operation::stop_job::builders::StopJobFluentBuilder::new(self.handle.clone())
    }
}