Amazon.DeviceFarm.AmazonDeviceFarmClient.CreateDevicePoolAsync C# (CSharp) Method

CreateDevicePoolAsync() public method

Initiates the asynchronous execution of the CreateDevicePool operation.
public CreateDevicePoolAsync ( Amazon.DeviceFarm.Model.CreateDevicePoolRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.DeviceFarm.Model.CreateDevicePoolRequest Container for the necessary parameters to execute the CreateDevicePool operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<CreateDevicePoolResponse> CreateDevicePoolAsync(CreateDevicePoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateDevicePoolRequestMarshaller();
            var unmarshaller = CreateDevicePoolResponseUnmarshaller.Instance;

            return InvokeAsync<CreateDevicePoolRequest,CreateDevicePoolResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonDeviceFarmClient