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 ScheduleRun operation. Schedules a run.
Namespace: Amazon.DeviceFarm.Model
Assembly: AWSSDK.DeviceFarm.dll
Version: 3.x.y.z
public class ScheduleRunRequest : AmazonDeviceFarmRequest IAmazonWebServiceRequest
The ScheduleRunRequest type exposes the following members
Name | Description | |
---|---|---|
ScheduleRunRequest() |
Name | Type | Description | |
---|---|---|---|
AppArn | System.String |
Gets and sets the property AppArn. The ARN of an application package to run tests against, created with CreateUpload. See ListUploads. |
|
Configuration | Amazon.DeviceFarm.Model.ScheduleRunConfiguration |
Gets and sets the property Configuration. Information about the settings for the run to be scheduled. |
|
DevicePoolArn | System.String |
Gets and sets the property DevicePoolArn. The ARN of the device pool for the run to be scheduled. |
|
DeviceSelectionConfiguration | Amazon.DeviceFarm.Model.DeviceSelectionConfiguration |
Gets and sets the property DeviceSelectionConfiguration. The filter criteria used to dynamically select a set of devices for a test run and the maximum number of devices to be included in the run.
Either |
|
ExecutionConfiguration | Amazon.DeviceFarm.Model.ExecutionConfiguration |
Gets and sets the property ExecutionConfiguration. Specifies configuration information about a test run, such as the execution timeout (in minutes). |
|
Name | System.String |
Gets and sets the property Name. The name for the run to be scheduled. |
|
ProjectArn | System.String |
Gets and sets the property ProjectArn. The ARN of the project for the run to be scheduled. |
|
Test | Amazon.DeviceFarm.Model.ScheduleRunTest |
Gets and sets the property Test. Information about the test for the run to be scheduled. |
The following example schedules a test run named MyRun.
var client = new AmazonDeviceFarmClient(); var response = client.ScheduleRun(new ScheduleRunRequest { Name = "MyRun", DevicePoolArn = "arn:aws:devicefarm:us-west-2:123456789101:pool:EXAMPLE-GUID-123-456", // You can get the Amazon Resource Name (ARN) of the device pool by using the list-pools CLI command. ProjectArn = "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456", // You can get the Amazon Resource Name (ARN) of the project by using the list-projects CLI command. Test = new ScheduleRunTest { Type = "APPIUM_JAVA_JUNIT", TestPackageArn = "arn:aws:devicefarm:us-west-2:123456789101:test:EXAMPLE-GUID-123-456" } }); Run run = response.Run;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5