/// <inheritdoc /> public Task <IDeletePipelineResponse> DeletePipelineAsync(IDeletePipelineRequest request, CancellationToken cancellationToken = default(CancellationToken) ) => Dispatcher.DispatchAsync <IDeletePipelineRequest, DeletePipelineRequestParameters, DeletePipelineResponse, IDeletePipelineResponse>( request, cancellationToken, (p, d, c) => LowLevelDispatch.IngestDeletePipelineDispatchAsync <DeletePipelineResponse>(p, c) );
/// <summary> /// <c>DELETE</c> request to the <c>ingest.delete_pipeline</c> API, read more about this API online: /// <para></para> /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html</a> /// </summary> public Task <DeletePipelineResponse> DeletePipelineAsync(IDeletePipelineRequest request, CancellationToken ct = default) => DoRequestAsync <IDeletePipelineRequest, DeletePipelineResponse>(request, request.RequestParameters, ct);
/// <summary> /// <c>DELETE</c> request to the <c>ingest.delete_pipeline</c> API, read more about this API online: /// <para></para> /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html</a> /// </summary> public DeletePipelineResponse DeletePipeline(IDeletePipelineRequest request) => DoRequest <IDeletePipelineRequest, DeletePipelineResponse>(request, request.RequestParameters);
/// <inheritdoc /> public IDeletePipelineResponse DeletePipeline(IDeletePipelineRequest request) => Dispatcher.Dispatch <IDeletePipelineRequest, DeletePipelineRequestParameters, DeletePipelineResponse>( request, (p, d) => LowLevelDispatch.IngestDeletePipelineDispatch <DeletePipelineResponse>(p) );
/// <inheritdoc/> public Task<IDeletePipelineResponse> DeletePipelineAsync(IDeletePipelineRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.Dispatcher.DispatchAsync<IDeletePipelineRequest, DeletePipelineRequestParameters, DeletePipelineResponse, IDeletePipelineResponse>( request, cancellationToken, (p, d, c) => this.LowLevelDispatch.IngestDeletePipelineDispatchAsync<DeletePipelineResponse>(p, c) );
/// <inheritdoc/> public IDeletePipelineResponse DeletePipeline(IDeletePipelineRequest request) => this.Dispatcher.Dispatch<IDeletePipelineRequest, DeletePipelineRequestParameters, DeletePipelineResponse>( request, (p, d) => this.LowLevelDispatch.IngestDeletePipelineDispatch<DeletePipelineResponse>(p) );
public static Task <DeletePipelineResponse> DeletePipelineAsync(this IElasticClient client, IDeletePipelineRequest request, CancellationToken ct = default ) => client.Ingest.DeletePipelineAsync(request, ct);
public static DeletePipelineResponse DeletePipeline(this IElasticClient client, IDeletePipelineRequest request) => client.Ingest.DeletePipeline(request);
/// <inheritdoc/> public Task <IDeletePipelineResponse> DeletePipelineAsync(IDeletePipelineRequest request) => this.Dispatcher.DispatchAsync <IDeletePipelineRequest, DeletePipelineRequestParameters, DeletePipelineResponse, IDeletePipelineResponse>( request, (p, d) => this.LowLevelDispatch.IngestDeletePipelineDispatchAsync <DeletePipelineResponse>(p) );