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 ListDevices operation. Gets information about unique device types.
Namespace: Amazon.DeviceFarm.Model
Assembly: AWSSDK.DeviceFarm.dll
Version: 3.x.y.z
public class ListDevicesRequest : AmazonDeviceFarmRequest IAmazonWebServiceRequest
The ListDevicesRequest type exposes the following members
Name | Description | |
---|---|---|
ListDevicesRequest() |
Name | Type | Description | |
---|---|---|---|
Arn | System.String |
Gets and sets the property Arn. The Amazon Resource Name (ARN) of the project. |
|
Filters | System.Collections.Generic.List<Amazon.DeviceFarm.Model.DeviceFilter> |
Gets and sets the property Filters. Used to select a set of devices. A filter is made up of an attribute, an operator, and one or more values.
|
|
NextToken | System.String |
Gets and sets the property NextToken. An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list. |
The following example returns information about the available devices in a specific project.
var client = new AmazonDeviceFarmClient(); var response = client.ListDevices(new ListDevicesRequest { Arn = "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. });
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5