AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateRemoteAccessSession operation. Specifies and starts a remote access session.
Namespace: Amazon.DeviceFarm.Model
Assembly: AWSSDK.DeviceFarm.dll
Version: 3.x.y.z
public class CreateRemoteAccessSessionRequest : AmazonDeviceFarmRequest IAmazonWebServiceRequest
The CreateRemoteAccessSessionRequest type exposes the following members
Name | Description | |
---|---|---|
CreateRemoteAccessSessionRequest() |
Name | Type | Description | |
---|---|---|---|
ClientId | System.String |
Gets and sets the property ClientId.
Unique identifier for the client. If you want access to multiple devices on the same
client, you should pass the same Remote debugging is no longer supported. |
|
Configuration | Amazon.DeviceFarm.Model.CreateRemoteAccessSessionConfiguration |
Gets and sets the property Configuration. The configuration information for the remote access session request. |
|
DeviceArn | System.String |
Gets and sets the property DeviceArn. The ARN of the device for which you want to create a remote access session. |
|
InstanceArn | System.String |
Gets and sets the property InstanceArn. The Amazon Resource Name (ARN) of the device instance for which you want to create a remote access session. |
|
InteractionMode | Amazon.DeviceFarm.InteractionMode |
Gets and sets the property InteractionMode. The interaction mode of the remote access session. Valid values are:
|
|
Name | System.String |
Gets and sets the property Name. The name of the remote access session to create. |
|
ProjectArn | System.String |
Gets and sets the property ProjectArn. The Amazon Resource Name (ARN) of the project for which you want to create a remote access session. |
|
RemoteDebugEnabled | System.Boolean |
Gets and sets the property RemoteDebugEnabled.
Set to Remote debugging is no longer supported. |
|
RemoteRecordAppArn | System.String |
Gets and sets the property RemoteRecordAppArn. The Amazon Resource Name (ARN) for the app to be recorded in the remote access session. |
|
RemoteRecordEnabled | System.Boolean |
Gets and sets the property RemoteRecordEnabled.
Set to |
|
SkipAppResign | System.Boolean |
Gets and sets the property SkipAppResign.
When set to For more information on how Device Farm modifies your uploads during tests, see Do you modify my app? |
|
SshPublicKey | System.String |
Gets and sets the property SshPublicKey.
Ignored. The public key of the Remote debugging is no longer supported. |
The following example creates a remote access session named MySession.
var client = new AmazonDeviceFarmClient(); var response = client.CreateRemoteAccessSession(new CreateRemoteAccessSessionRequest { Name = "MySession", Configuration = new CreateRemoteAccessSessionConfiguration { BillingMethod = "METERED" }, DeviceArn = "arn:aws:devicefarm:us-west-2::device:123EXAMPLE", // You can get the device ARN by using the list-devices CLI command. ProjectArn = "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" // You can get the project ARN by using the list-projects CLI command. }); RemoteAccessSession remoteAccessSession = response.RemoteAccessSession;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5