internal ListAssociatedStacksResponse ListAssociatedStacks(ListAssociatedStacksRequest request) { var marshaller = new ListAssociatedStacksRequestMarshaller(); var unmarshaller = ListAssociatedStacksResponseUnmarshaller.Instance; return(Invoke <ListAssociatedStacksRequest, ListAssociatedStacksResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the ListAssociatedStacks operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAssociatedStacks 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/ListAssociatedStacks">REST API Reference for ListAssociatedStacks Operation</seealso> public Task <ListAssociatedStacksResponse> ListAssociatedStacksAsync(ListAssociatedStacksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new ListAssociatedStacksRequestMarshaller(); var unmarshaller = ListAssociatedStacksResponseUnmarshaller.Instance; return(InvokeAsync <ListAssociatedStacksRequest, ListAssociatedStacksResponse>(request, marshaller, unmarshaller, cancellationToken)); }