aws_sdk_devicefarm/client/stop_remote_access_session.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 [`StopRemoteAccessSession`](crate::operation::stop_remote_access_session::builders::StopRemoteAccessSessionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`StopRemoteAccessSessionOutput`](crate::operation::stop_remote_access_session::StopRemoteAccessSessionOutput) with field(s):
8 /// - [`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>
9 /// - On failure, responds with [`SdkError<StopRemoteAccessSessionError>`](crate::operation::stop_remote_access_session::StopRemoteAccessSessionError)
10 pub fn stop_remote_access_session(&self) -> crate::operation::stop_remote_access_session::builders::StopRemoteAccessSessionFluentBuilder {
11 crate::operation::stop_remote_access_session::builders::StopRemoteAccessSessionFluentBuilder::new(self.handle.clone())
12 }
13}