public Task <TransformStopTransformResponse> TransformStopTransformAsync(Elastic.Clients.Elasticsearch.Name transform_id, Action <TransformStopTransformRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default) { var descriptor = new TransformStopTransformRequestDescriptor(transform_id); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequestAsync <TransformStopTransformRequestDescriptor, TransformStopTransformResponse>(descriptor)); }
public TransformStopTransformResponse TransformStopTransform(Elastic.Clients.Elasticsearch.Name transform_id, Action <TransformStopTransformRequestDescriptor> configureRequest = null) { var descriptor = new TransformStopTransformRequestDescriptor(transform_id); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequest <TransformStopTransformRequestDescriptor, TransformStopTransformResponse>(descriptor)); }