internal DescribeDirectoryConfigsResponse DescribeDirectoryConfigs(DescribeDirectoryConfigsRequest request) { var marshaller = new DescribeDirectoryConfigsRequestMarshaller(); var unmarshaller = DescribeDirectoryConfigsResponseUnmarshaller.Instance; return(Invoke <DescribeDirectoryConfigsRequest, DescribeDirectoryConfigsResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DescribeDirectoryConfigs operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeDirectoryConfigs operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs">REST API Reference for DescribeDirectoryConfigs Operation</seealso> public Task <DescribeDirectoryConfigsResponse> DescribeDirectoryConfigsAsync(DescribeDirectoryConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DescribeDirectoryConfigsRequestMarshaller(); var unmarshaller = DescribeDirectoryConfigsResponseUnmarshaller.Instance; return(InvokeAsync <DescribeDirectoryConfigsRequest, DescribeDirectoryConfigsResponse>(request, marshaller, unmarshaller, cancellationToken)); }