/// <inheritdoc />
 public Task <IDeleteDatafeedResponse> DeleteDatafeedAsync(IDeleteDatafeedRequest request,
                                                           CancellationToken cancellationToken = default(CancellationToken)
                                                           ) =>
 Dispatcher.DispatchAsync <IDeleteDatafeedRequest, DeleteDatafeedRequestParameters, DeleteDatafeedResponse, IDeleteDatafeedResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackMlDeleteDatafeedDispatchAsync <DeleteDatafeedResponse>(p, c)
     );
 /// <inheritdoc />
 public IDeleteDatafeedResponse DeleteDatafeed(IDeleteDatafeedRequest request) =>
 Dispatcher.Dispatch <IDeleteDatafeedRequest, DeleteDatafeedRequestParameters, DeleteDatafeedResponse>(
     request,
     (p, d) => LowLevelDispatch.XpackMlDeleteDatafeedDispatch <DeleteDatafeedResponse>(p)
     );
 /// <inheritdoc />
 public Task <DeleteDatafeedResponse> DeleteDatafeedAsync(IDeleteDatafeedRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IDeleteDatafeedRequest, DeleteDatafeedResponse>(request, request.RequestParameters, ct);
 /// <inheritdoc />
 public DeleteDatafeedResponse DeleteDatafeed(IDeleteDatafeedRequest request) =>
 DoRequest <IDeleteDatafeedRequest, DeleteDatafeedResponse>(request, request.RequestParameters);
예제 #5
0
 public static Task <DeleteDatafeedResponse> DeleteDatafeedAsync(this IElasticClient client, IDeleteDatafeedRequest request,
                                                                 CancellationToken ct = default
                                                                 )
 => client.MachineLearning.DeleteDatafeedAsync(request, ct);
예제 #6
0
 public static DeleteDatafeedResponse DeleteDatafeed(this IElasticClient client, IDeleteDatafeedRequest request)
 => client.MachineLearning.DeleteDatafeed(request);