You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::DeviceFarm::Types::CreateRemoteAccessSessionRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateRemoteAccessSessionRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  project_arn: "AmazonResourceName", # required
  device_arn: "AmazonResourceName", # required
  instance_arn: "AmazonResourceName",
  ssh_public_key: "SshPublicKey",
  remote_debug_enabled: false,
  remote_record_enabled: false,
  remote_record_app_arn: "AmazonResourceName",
  name: "Name",
  client_id: "ClientId",
  configuration: {
    billing_method: "METERED", # accepts METERED, UNMETERED
    vpce_configuration_arns: ["AmazonResourceName"],
  },
  interaction_mode: "INTERACTIVE", # accepts INTERACTIVE, NO_VIDEO, VIDEO_ONLY
  skip_app_resign: false,
}

Creates and submits a request to start a remote access session.

Instance Attribute Summary collapse

Instance Attribute Details

#client_idString

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.

Returns:

  • (String)

    Unique identifier for the client.

#configurationTypes::CreateRemoteAccessSessionConfiguration

The configuration information for the remote access session request.

Returns:

#device_arnString

The ARN of the device for which you want to create a remote access session.

Returns:

  • (String)

    The ARN of the device for which you want to create a remote access session.

#instance_arnString

The Amazon Resource Name (ARN) of the device instance for which you want to create a remote access session.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the device instance for which you want to create a remote access session.

#interaction_modeString

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.

    Possible values:

    • INTERACTIVE
    • NO_VIDEO
    • VIDEO_ONLY

Returns:

  • (String)

    The interaction mode of the remote access session.

#nameString

The name of the remote access session to create.

Returns:

  • (String)

    The name of the remote access session to create.

#project_arnString

The Amazon Resource Name (ARN) of the project for which you want to create a remote access session.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the project for which you want to create a remote access session.

#remote_debug_enabledBoolean

Set to true if you want to access devices remotely for debugging in your remote access session.

Remote debugging is no longer supported.

Returns:

  • (Boolean)

    Set to true if you want to access devices remotely for debugging in your remote access session.

#remote_record_app_arnString

The Amazon Resource Name (ARN) for the app to be recorded in the remote access session.

Returns:

  • (String)

    The Amazon Resource Name (ARN) for the app to be recorded in the remote access session.

#remote_record_enabledBoolean

Set to true to enable remote recording for the remote access session.

Returns:

  • (Boolean)

    Set to true to enable remote recording for the remote access session.

#skip_app_resignBoolean

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?

Returns:

  • (Boolean)

    When set to true, for private devices, Device Farm does not sign your app again.

#ssh_public_keyString

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.

Returns:

  • (String)

    Ignored.