public void DeviceFarmGetDevicePool() { #region getdevicepool-example-1470870873136 var response = client.GetDevicePool(new GetDevicePoolRequest { Arn = "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" // You can obtain the project ARN by using the list-projects CLI command. }); DevicePool devicePool = response.DevicePool; #endregion }
private Amazon.DeviceFarm.Model.GetDevicePoolResponse CallAWSServiceOperation(IAmazonDeviceFarm client, Amazon.DeviceFarm.Model.GetDevicePoolRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Device Farm", "GetDevicePool"); try { #if DESKTOP return(client.GetDevicePool(request)); #elif CORECLR return(client.GetDevicePoolAsync(request).GetAwaiter().GetResult()); #else #error "Unknown build edition" #endif } catch (AmazonServiceException exc) { var webException = exc.InnerException as System.Net.WebException; if (webException != null) { throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); } throw; } }