Struct aws_sdk_devicefarm::operation::create_remote_access_session::builders::CreateRemoteAccessSessionFluentBuilder
source · pub struct CreateRemoteAccessSessionFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateRemoteAccessSession.
Specifies and starts a remote access session.
Implementations§
source§impl CreateRemoteAccessSessionFluentBuilder
impl CreateRemoteAccessSessionFluentBuilder
sourcepub fn as_input(&self) -> &CreateRemoteAccessSessionInputBuilder
pub fn as_input(&self) -> &CreateRemoteAccessSessionInputBuilder
Access the CreateRemoteAccessSession as a reference.
sourcepub async fn send(
self
) -> Result<CreateRemoteAccessSessionOutput, SdkError<CreateRemoteAccessSessionError, HttpResponse>>
pub async fn send( self ) -> Result<CreateRemoteAccessSessionOutput, SdkError<CreateRemoteAccessSessionError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<CreateRemoteAccessSessionOutput, CreateRemoteAccessSessionError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateRemoteAccessSessionOutput, CreateRemoteAccessSessionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_project_arn(&self) -> &Option<String>
pub fn get_project_arn(&self) -> &Option<String>
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 get_device_arn(&self) -> &Option<String>
pub fn get_device_arn(&self) -> &Option<String>
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 get_instance_arn(&self) -> &Option<String>
pub fn get_instance_arn(&self) -> &Option<String>
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 get_ssh_public_key(&self) -> &Option<String>
pub fn get_ssh_public_key(&self) -> &Option<String>
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 get_remote_debug_enabled(&self) -> &Option<bool>
pub fn get_remote_debug_enabled(&self) -> &Option<bool>
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 get_remote_record_enabled(&self) -> &Option<bool>
pub fn get_remote_record_enabled(&self) -> &Option<bool>
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 get_remote_record_app_arn(&self) -> &Option<String>
pub fn get_remote_record_app_arn(&self) -> &Option<String>
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 get_client_id(&self) -> &Option<String>
pub fn get_client_id(&self) -> &Option<String>
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 get_configuration(
&self
) -> &Option<CreateRemoteAccessSessionConfiguration>
pub fn get_configuration( &self ) -> &Option<CreateRemoteAccessSessionConfiguration>
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 get_interaction_mode(&self) -> &Option<InteractionMode>
pub fn get_interaction_mode(&self) -> &Option<InteractionMode>
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?
sourcepub fn get_skip_app_resign(&self) -> &Option<bool>
pub fn get_skip_app_resign(&self) -> &Option<bool>
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§
source§impl Clone for CreateRemoteAccessSessionFluentBuilder
impl Clone for CreateRemoteAccessSessionFluentBuilder
source§fn clone(&self) -> CreateRemoteAccessSessionFluentBuilder
fn clone(&self) -> CreateRemoteAccessSessionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more