pub struct CreateRemoteAccessSession { /* private fields */ }Expand description
Fluent builder constructing a request to CreateRemoteAccessSession.
Specifies and starts a remote access session.
Implementations
sourceimpl CreateRemoteAccessSession
impl CreateRemoteAccessSession
sourcepub async fn send(
self
) -> Result<CreateRemoteAccessSessionOutput, SdkError<CreateRemoteAccessSessionError>>
pub async fn send(
self
) -> Result<CreateRemoteAccessSessionOutput, SdkError<CreateRemoteAccessSessionError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn project_arn(self, input: impl Into<String>) -> Self
pub fn project_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the project for which you want to create a remote access session.
sourcepub fn set_project_arn(self, input: Option<String>) -> Self
pub fn set_project_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the project for which you want to create a remote access session.
sourcepub fn device_arn(self, input: impl Into<String>) -> Self
pub fn device_arn(self, input: impl Into<String>) -> Self
The ARN of the device for which you want to create a remote access session.
sourcepub fn set_device_arn(self, input: Option<String>) -> Self
pub fn set_device_arn(self, input: Option<String>) -> Self
The ARN of the device for which you want to create a remote access session.
sourcepub fn instance_arn(self, input: impl Into<String>) -> Self
pub fn instance_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the device instance for which you want to create a remote access session.
sourcepub fn set_instance_arn(self, input: Option<String>) -> Self
pub fn set_instance_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the device instance for which you want to create a remote access session.
sourcepub fn ssh_public_key(self, input: impl Into<String>) -> Self
pub fn ssh_public_key(self, input: impl Into<String>) -> Self
Ignored. The public key of the ssh key pair you want to use for connecting to remote devices in your remote debugging session. This key is required only if remoteDebugEnabled is set to true.
Remote debugging is no longer supported.
sourcepub fn set_ssh_public_key(self, input: Option<String>) -> Self
pub fn set_ssh_public_key(self, input: Option<String>) -> Self
Ignored. The public key of the ssh key pair you want to use for connecting to remote devices in your remote debugging session. This key is required only if remoteDebugEnabled is set to true.
Remote debugging is no longer supported.
sourcepub fn remote_debug_enabled(self, input: bool) -> Self
pub fn remote_debug_enabled(self, input: bool) -> Self
Set to true if you want to access devices remotely for debugging in your remote access session.
Remote debugging is no longer supported.
sourcepub fn set_remote_debug_enabled(self, input: Option<bool>) -> Self
pub fn set_remote_debug_enabled(self, input: Option<bool>) -> Self
Set to true if you want to access devices remotely for debugging in your remote access session.
Remote debugging is no longer supported.
sourcepub fn remote_record_enabled(self, input: bool) -> Self
pub fn remote_record_enabled(self, input: bool) -> Self
Set to true to enable remote recording for the remote access session.
sourcepub fn set_remote_record_enabled(self, input: Option<bool>) -> Self
pub fn set_remote_record_enabled(self, input: Option<bool>) -> Self
Set to true to enable remote recording for the remote access session.
sourcepub fn remote_record_app_arn(self, input: impl Into<String>) -> Self
pub fn remote_record_app_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the app to be recorded in the remote access session.
sourcepub fn set_remote_record_app_arn(self, input: Option<String>) -> Self
pub fn set_remote_record_app_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the app to be recorded in the remote access session.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the remote access session to create.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the remote access session to create.
sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
Unique identifier for the client. If you want access to multiple devices on the same client, you should pass the same clientId value in each call to CreateRemoteAccessSession. This identifier is required only if remoteDebugEnabled is set to true.
Remote debugging is no longer supported.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
Unique identifier for the client. If you want access to multiple devices on the same client, you should pass the same clientId value in each call to CreateRemoteAccessSession. This identifier is required only if remoteDebugEnabled is set to true.
Remote debugging is no longer supported.
sourcepub fn configuration(
self,
input: CreateRemoteAccessSessionConfiguration
) -> Self
pub fn configuration(
self,
input: CreateRemoteAccessSessionConfiguration
) -> Self
The configuration information for the remote access session request.
sourcepub fn set_configuration(
self,
input: Option<CreateRemoteAccessSessionConfiguration>
) -> Self
pub fn set_configuration(
self,
input: Option<CreateRemoteAccessSessionConfiguration>
) -> Self
The configuration information for the remote access session request.
sourcepub fn interaction_mode(self, input: InteractionMode) -> Self
pub fn interaction_mode(self, input: InteractionMode) -> Self
The interaction mode of the remote access session. Valid values are:
-
INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You cannot run XCUITest framework-based tests in this mode.
-
NO_VIDEO: You are connected to the device, but cannot interact with it or view the screen. This mode has the fastest test execution speed. You can run XCUITest framework-based tests in this mode.
-
VIDEO_ONLY: You can view the screen, but cannot touch or rotate it. You can run XCUITest framework-based tests and watch the screen in this mode.
sourcepub fn set_interaction_mode(self, input: Option<InteractionMode>) -> Self
pub fn set_interaction_mode(self, input: Option<InteractionMode>) -> Self
The interaction mode of the remote access session. Valid values are:
-
INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You cannot run XCUITest framework-based tests in this mode.
-
NO_VIDEO: You are connected to the device, but cannot interact with it or view the screen. This mode has the fastest test execution speed. You can run XCUITest framework-based tests in this mode.
-
VIDEO_ONLY: You can view the screen, but cannot touch or rotate it. You can run XCUITest framework-based tests and watch the screen in this mode.
sourcepub fn skip_app_resign(self, input: bool) -> Self
pub fn skip_app_resign(self, input: bool) -> Self
When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again.
For more information on how Device Farm modifies your uploads during tests, see Do you modify my app?
sourcepub fn set_skip_app_resign(self, input: Option<bool>) -> Self
pub fn set_skip_app_resign(self, input: Option<bool>) -> Self
When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again.
For more information on how Device Farm modifies your uploads during tests, see Do you modify my app?
Trait Implementations
sourceimpl Clone for CreateRemoteAccessSession
impl Clone for CreateRemoteAccessSession
sourcefn clone(&self) -> CreateRemoteAccessSession
fn clone(&self) -> CreateRemoteAccessSession
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CreateRemoteAccessSession
impl Send for CreateRemoteAccessSession
impl Sync for CreateRemoteAccessSession
impl Unpin for CreateRemoteAccessSession
impl !UnwindSafe for CreateRemoteAccessSession
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more