internal virtual GetCompatibleElasticsearchVersionsResponse GetCompatibleElasticsearchVersions(GetCompatibleElasticsearchVersionsRequest request) { var marshaller = GetCompatibleElasticsearchVersionsRequestMarshaller.Instance; var unmarshaller = GetCompatibleElasticsearchVersionsResponseUnmarshaller.Instance; return(Invoke <GetCompatibleElasticsearchVersionsRequest, GetCompatibleElasticsearchVersionsResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the GetCompatibleElasticsearchVersions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetCompatibleElasticsearchVersions 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 <GetCompatibleElasticsearchVersionsResponse> GetCompatibleElasticsearchVersionsAsync(GetCompatibleElasticsearchVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = GetCompatibleElasticsearchVersionsRequestMarshaller.Instance; var unmarshaller = GetCompatibleElasticsearchVersionsResponseUnmarshaller.Instance; return(InvokeAsync <GetCompatibleElasticsearchVersionsRequest, GetCompatibleElasticsearchVersionsResponse>(request, marshaller, unmarshaller, cancellationToken)); }
internal virtual GetCompatibleElasticsearchVersionsResponse GetCompatibleElasticsearchVersions(GetCompatibleElasticsearchVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCompatibleElasticsearchVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCompatibleElasticsearchVersionsResponseUnmarshaller.Instance; return(Invoke <GetCompatibleElasticsearchVersionsResponse>(request, options)); }