Amazon.CodeDeploy.AmazonCodeDeployClient.ListOnPremisesInstancesAsync C# (CSharp) Method

ListOnPremisesInstancesAsync() public method

Initiates the asynchronous execution of the ListOnPremisesInstances operation.
public ListOnPremisesInstancesAsync ( ListOnPremisesInstancesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeDeploy.Model.ListOnPremisesInstancesRequest Container for the necessary parameters to execute the ListOnPremisesInstances operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<ListOnPremisesInstancesResponse> ListOnPremisesInstancesAsync(ListOnPremisesInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ListOnPremisesInstancesRequestMarshaller();
            var unmarshaller = ListOnPremisesInstancesResponseUnmarshaller.Instance;

            return InvokeAsync<ListOnPremisesInstancesRequest,ListOnPremisesInstancesResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCodeDeployClient