aws_sdk_devicefarm/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 /// - [`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>
7 /// - On success, responds with [`StopJobOutput`](crate::operation::stop_job::StopJobOutput) with field(s):
8 /// - [`job(Option<Job>)`](crate::operation::stop_job::StopJobOutput::job): <p>The job that was stopped.</p>
9 /// - On failure, responds with [`SdkError<StopJobError>`](crate::operation::stop_job::StopJobError)
10 pub fn stop_job(&self) -> crate::operation::stop_job::builders::StopJobFluentBuilder {
11 crate::operation::stop_job::builders::StopJobFluentBuilder::new(self.handle.clone())
12 }
13}