aws_sdk_devicefarm/client/stop_remote_access_session.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopRemoteAccessSession`](crate::operation::stop_remote_access_session::builders::StopRemoteAccessSessionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`arn(impl Into<String>)`](crate::operation::stop_remote_access_session::builders::StopRemoteAccessSessionFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::stop_remote_access_session::builders::StopRemoteAccessSessionFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the remote access session to stop.</p><br>
/// - On success, responds with [`StopRemoteAccessSessionOutput`](crate::operation::stop_remote_access_session::StopRemoteAccessSessionOutput) with field(s):
/// - [`remote_access_session(Option<RemoteAccessSession>)`](crate::operation::stop_remote_access_session::StopRemoteAccessSessionOutput::remote_access_session): <p>A container that represents the metadata from the service about the remote access session you are stopping.</p>
/// - On failure, responds with [`SdkError<StopRemoteAccessSessionError>`](crate::operation::stop_remote_access_session::StopRemoteAccessSessionError)
pub fn stop_remote_access_session(&self) -> crate::operation::stop_remote_access_session::builders::StopRemoteAccessSessionFluentBuilder {
crate::operation::stop_remote_access_session::builders::StopRemoteAccessSessionFluentBuilder::new(self.handle.clone())
}
}