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.
Represents the result of a get device request.
Namespace: Amazon.DeviceFarm.Model
Assembly: AWSSDK.DeviceFarm.dll
Version: 3.x.y.z
public class GetDeviceResponse : AmazonWebServiceResponse
The GetDeviceResponse type exposes the following members
Name | Description | |
---|---|---|
![]() |
GetDeviceResponse() |
Name | Type | Description | |
---|---|---|---|
![]() |
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
Device | Amazon.DeviceFarm.Model.Device |
Gets and sets the property Device. An object that contains information about the requested device. |
![]() |
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
The following example returns information about a specific device.
var client = new AmazonDeviceFarmClient(); var response = client.GetDevice(new GetDeviceRequest { Arn = "arn:aws:devicefarm:us-west-2::device:123EXAMPLE" }); Device device = response.Device;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5