aws_sdk_devicefarm/client/stop_job.rs
// 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:
/// - [`arn(impl Into<String>)`](crate::operation::stop_job::builders::StopJobFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::stop_job::builders::StopJobFluentBuilder::set_arn):<br>required: **true**<br><p>Represents the Amazon Resource Name (ARN) of the Device Farm job to stop.</p><br>
/// - On success, responds with [`StopJobOutput`](crate::operation::stop_job::StopJobOutput) with field(s):
/// - [`job(Option<Job>)`](crate::operation::stop_job::StopJobOutput::job): <p>The job that was stopped.</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())
}
}