Amazon.CognitoIdentityProvider.AmazonCognitoIdentityProviderClient.ListUserPoolsAsync C# (CSharp) Method

ListUserPoolsAsync() public method

Initiates the asynchronous execution of the ListUserPools operation.
public ListUserPoolsAsync ( ListUserPoolsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CognitoIdentityProvider.Model.ListUserPoolsRequest Container for the necessary parameters to execute the ListUserPools operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<ListUserPoolsResponse> ListUserPoolsAsync(ListUserPoolsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ListUserPoolsRequestMarshaller();
            var unmarshaller = ListUserPoolsResponseUnmarshaller.Instance;

            return InvokeAsync<ListUserPoolsRequest,ListUserPoolsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCognitoIdentityProviderClient