Amazon.WorkSpaces.AmazonWorkSpacesClient.DescribeWorkspaceDirectoriesAsync C# (CSharp) Method

DescribeWorkspaceDirectoriesAsync() public method

Retrieves information about the AWS Directory Service directories in the region that are registered with Amazon WorkSpaces and are available to your account.

This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the NextToken response member contains a token that you pass in the next call to this operation to retrieve the next set of items.

/// One or more parameter values are not valid. ///
public DescribeWorkspaceDirectoriesAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DescribeWorkspaceDirectoriesResponse> DescribeWorkspaceDirectoriesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new DescribeWorkspaceDirectoriesRequest();
            return DescribeWorkspaceDirectoriesAsync(request, cancellationToken);
        }

Same methods

AmazonWorkSpacesClient::DescribeWorkspaceDirectoriesAsync ( Amazon.WorkSpaces.Model.DescribeWorkspaceDirectoriesRequest request, System cancellationToken = default(CancellationToken) ) : Task