diff --git a/elasticsearch-api/lib/elasticsearch/api.rb b/elasticsearch-api/lib/elasticsearch/api.rb index 5141709dd9..2548b1b82b 100644 --- a/elasticsearch-api/lib/elasticsearch/api.rb +++ b/elasticsearch-api/lib/elasticsearch/api.rb @@ -87,8 +87,7 @@ def self.included(base) Elasticsearch::API::Inference, Elasticsearch::API::Profiling, Elasticsearch::API::Simulate, - Elasticsearch::API::Connector, - Elasticsearch::API::DataStreams + Elasticsearch::API::Connector end # The serializer class diff --git a/elasticsearch-api/lib/elasticsearch/api/namespace/data_streams.rb b/elasticsearch-api/lib/elasticsearch/api/namespace/data_streams.rb deleted file mode 100644 index 2ed6da1f27..0000000000 --- a/elasticsearch-api/lib/elasticsearch/api/namespace/data_streams.rb +++ /dev/null @@ -1,36 +0,0 @@ -# Licensed to Elasticsearch B.V. under one or more contributor -# license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright -# ownership. Elasticsearch B.V. licenses this file to you under -# the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -module Elasticsearch - module API - module DataStreams - module Actions; end - - # Client for the "data_streams" namespace (includes the {DataStreams::Actions} methods) - # - class DataStreamsClient - include Common::Client, Common::Client::Base, DataStreams::Actions - end - - # Proxy method for {DataStreamsClient}, available in the receiving object - # - def data_streams - @data_streams ||= DataStreamsClient.new(self) - end - end - end -end