AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DeviceFarm.AmazonDeviceFarmRequest
      Amazon.DeviceFarm.Model.ScheduleRunRequest

Namespace: Amazon.DeviceFarm.Model
Assembly: AWSSDK.DeviceFarm.dll
Version: 3.x.y.z

Syntax

C#
public class ScheduleRunRequest : AmazonDeviceFarmRequest
         IAmazonWebServiceRequest

The ScheduleRunRequest type exposes the following members

Constructors

NameDescription
Public Method ScheduleRunRequest()

Properties

NameTypeDescription
Public Property AppArn System.String

Gets and sets the property AppArn.

The ARN of the app to schedule a run.

Public Property Configuration Amazon.DeviceFarm.Model.ScheduleRunConfiguration

Gets and sets the property Configuration.

Information about the settings for the run to be scheduled.

Public Property DevicePoolArn System.String

Gets and sets the property DevicePoolArn.

The ARN of the device pool for the run to be scheduled.

Public Property 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).

Public Property Name System.String

Gets and sets the property Name.

The name for the run to be scheduled.

Public Property ProjectArn System.String

Gets and sets the property ProjectArn.

The ARN of the project for the run to be scheduled.

Public Property Test Amazon.DeviceFarm.Model.ScheduleRunTest

Gets and sets the property Test.

Information about the test for the run to be scheduled.

Examples

The following example schedules a test run named MyRun.

To schedule a test run


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;

            

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms