public Task<CcrDeleteAutoFollowPatternResponse> DeleteAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, Action<CcrDeleteAutoFollowPatternRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default) { var descriptor = new CcrDeleteAutoFollowPatternRequestDescriptor(name); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return DoRequestAsync<CcrDeleteAutoFollowPatternRequestDescriptor, CcrDeleteAutoFollowPatternResponse>(descriptor); }
public CcrDeleteAutoFollowPatternResponse DeleteAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name, Action<CcrDeleteAutoFollowPatternRequestDescriptor> configureRequest = null) { var descriptor = new CcrDeleteAutoFollowPatternRequestDescriptor(name); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return DoRequest<CcrDeleteAutoFollowPatternRequestDescriptor, CcrDeleteAutoFollowPatternResponse>(descriptor); }