public Task <TransformStartTransformResponse> TransformStartTransformAsync(Elastic.Clients.Elasticsearch.Id transform_id, Action <TransformStartTransformRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default) { var descriptor = new TransformStartTransformRequestDescriptor(transform_id); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequestAsync <TransformStartTransformRequestDescriptor, TransformStartTransformResponse>(descriptor)); }
public TransformStartTransformResponse TransformStartTransform(Elastic.Clients.Elasticsearch.Id transform_id, Action <TransformStartTransformRequestDescriptor> configureRequest = null) { var descriptor = new TransformStartTransformRequestDescriptor(transform_id); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequest <TransformStartTransformRequestDescriptor, TransformStartTransformResponse>(descriptor)); }