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 GetRun operation. Gets information about a run.

Inheritance Hierarchy

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

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

Syntax

C#
public class GetRunRequest : AmazonDeviceFarmRequest
         IAmazonWebServiceRequest

The GetRunRequest type exposes the following members

Constructors

NameDescription
Public Method GetRunRequest()

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property Arn.

The run's ARN.

Examples

The following example gets information about a specific test run.

To get information about a test run


var client = new AmazonDeviceFarmClient();
var response = client.GetRun(new GetRunRequest 
{
    Arn = "arn:aws:devicefarm:us-west-2:123456789101:run:5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/0fcac17b-6122-44d7-ae5a-12345EXAMPLE" // You can get the run ARN by using the list-runs CLI command.
});

Run run = response.Run;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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