aws_sdk_databrew/client/stop_job_run.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopJobRun`](crate::operation::stop_job_run::builders::StopJobRunFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::stop_job_run::builders::StopJobRunFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::stop_job_run::builders::StopJobRunFluentBuilder::set_name):<br>required: **true**<br><p>The name of the job to be stopped.</p><br>
/// - [`run_id(impl Into<String>)`](crate::operation::stop_job_run::builders::StopJobRunFluentBuilder::run_id) / [`set_run_id(Option<String>)`](crate::operation::stop_job_run::builders::StopJobRunFluentBuilder::set_run_id):<br>required: **true**<br><p>The ID of the job run to be stopped.</p><br>
/// - On success, responds with [`StopJobRunOutput`](crate::operation::stop_job_run::StopJobRunOutput) with field(s):
/// - [`run_id(String)`](crate::operation::stop_job_run::StopJobRunOutput::run_id): <p>The ID of the job run that you stopped.</p>
/// - On failure, responds with [`SdkError<StopJobRunError>`](crate::operation::stop_job_run::StopJobRunError)
pub fn stop_job_run(&self) -> crate::operation::stop_job_run::builders::StopJobRunFluentBuilder {
crate::operation::stop_job_run::builders::StopJobRunFluentBuilder::new(self.handle.clone())
}
}