/// <summary> /// Initiates the asynchronous execution of the CancelElasticsearchServiceSoftwareUpdate operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CancelElasticsearchServiceSoftwareUpdate 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> public virtual Task <CancelElasticsearchServiceSoftwareUpdateResponse> CancelElasticsearchServiceSoftwareUpdateAsync(CancelElasticsearchServiceSoftwareUpdateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelElasticsearchServiceSoftwareUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelElasticsearchServiceSoftwareUpdateResponseUnmarshaller.Instance; return(InvokeAsync <CancelElasticsearchServiceSoftwareUpdateResponse>(request, options, cancellationToken)); }
internal virtual CancelElasticsearchServiceSoftwareUpdateResponse CancelElasticsearchServiceSoftwareUpdate(CancelElasticsearchServiceSoftwareUpdateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelElasticsearchServiceSoftwareUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelElasticsearchServiceSoftwareUpdateResponseUnmarshaller.Instance; return(Invoke <CancelElasticsearchServiceSoftwareUpdateResponse>(request, options)); }