NAME

Paws::DeviceFarm::CreateRemoteAccessSession - Arguments for method CreateRemoteAccessSession on Paws::DeviceFarm

DESCRIPTION

This class represents the parameters used for calling the method CreateRemoteAccessSession on the AWS Device Farm service. Use the attributes of this class as arguments to method CreateRemoteAccessSession.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateRemoteAccessSession.

SYNOPSIS

    my $devicefarm = Paws->service('DeviceFarm');
    # To create a remote access session
    # The following example creates a remote access session named MySession.
    my $CreateRemoteAccessSessionResult =
      $devicefarm->CreateRemoteAccessSession(
      'Configuration' => {
        'BillingMethod' => 'METERED'
      },
      'DeviceArn' => 'arn:aws:devicefarm:us-west-2::device:123EXAMPLE',
      'Name'      => 'MySession',
      'ProjectArn' =>
        'arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456'
      );

    # Results:
    my $remoteAccessSession =
      $CreateRemoteAccessSessionResult->remoteAccessSession;

    # Returns a L<Paws::DeviceFarm::CreateRemoteAccessSessionResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/devicefarm/CreateRemoteAccessSession

ATTRIBUTES

ClientId => Str

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 is required only if remoteDebugEnabled is set to true.

Configuration => Paws::DeviceFarm::CreateRemoteAccessSessionConfiguration

The configuration information for the remote access session request.

REQUIRED DeviceArn => Str

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

InstanceArn => Str

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

InteractionMode => Str

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.

Valid values are: "INTERACTIVE", "NO_VIDEO", "VIDEO_ONLY"

Name => Str

The name of the remote access session that you wish to create.

REQUIRED ProjectArn => Str

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

RemoteDebugEnabled => Bool

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

RemoteRecordAppArn => Str

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

RemoteRecordEnabled => Bool

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

SkipAppResign => Bool

When set to true, for private devices, Device Farm will not sign your app again. For public devices, Device Farm always signs your apps again and this parameter has no effect.

For more information about how Device Farm re-signs your app(s), see Do you modify my app? (https://aws.amazon.com/device-farm/faq/) in the AWS Device Farm FAQs.

SshPublicKey => Str

The public key of the ssh key pair you want to use for connecting to remote devices in your remote debugging session. This is only required if remoteDebugEnabled is set to true.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateRemoteAccessSession in Paws::DeviceFarm

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues