aws_sdk_devicefarm/client/
stop_run.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 [`StopRun`](crate::operation::stop_run::builders::StopRunFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::stop_run::builders::StopRunFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::stop_run::builders::StopRunFluentBuilder::set_arn):<br>required: **true**<br><p>Represents the Amazon Resource Name (ARN) of the Device Farm run to stop.</p><br>
7    /// - On success, responds with [`StopRunOutput`](crate::operation::stop_run::StopRunOutput) with field(s):
8    ///   - [`run(Option<Run>)`](crate::operation::stop_run::StopRunOutput::run): <p>The run that was stopped.</p>
9    /// - On failure, responds with [`SdkError<StopRunError>`](crate::operation::stop_run::StopRunError)
10    pub fn stop_run(&self) -> crate::operation::stop_run::builders::StopRunFluentBuilder {
11        crate::operation::stop_run::builders::StopRunFluentBuilder::new(self.handle.clone())
12    }
13}