/// <summary> /// Invokes the pipeline asynchronously. /// </summary> /// <param name="executionContext">Request context</param> /// <returns>Response context</returns> public System.Threading.Tasks.Task <T> InvokeAsync <T>(IExecutionContext executionContext) where T : AmazonWebServiceResponse, new() { ThrowIfDisposed(); return(_handler.InvokeAsync <T>(executionContext)); }
public async Task <IResponseContext> InvokeAsync(IExecutionContext executionContext) { ThrowIfDisposed(); await _handler.InvokeAsync(executionContext).ConfigureAwait(false); return(executionContext.ResponseContext); }
public IAsyncResult InvokeAsync(IAsyncExecutionContext executionContext) { ThrowIfDisposed(); return(_handler.InvokeAsync(executionContext)); }