public Task <TransformGetTransformStatsResponse> TransformGetTransformStatsAsync(Elastic.Clients.Elasticsearch.Names transform_id, Action <TransformGetTransformStatsRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new TransformGetTransformStatsRequestDescriptor(transform_id);

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <TransformGetTransformStatsRequestDescriptor, TransformGetTransformStatsResponse>(descriptor));
        }
        public TransformGetTransformStatsResponse TransformGetTransformStats(Elastic.Clients.Elasticsearch.Names transform_id, Action <TransformGetTransformStatsRequestDescriptor> configureRequest = null)
        {
            var descriptor = new TransformGetTransformStatsRequestDescriptor(transform_id);

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <TransformGetTransformStatsRequestDescriptor, TransformGetTransformStatsResponse>(descriptor));
        }