diff --git a/opensearchapi/opensearchapi.go b/opensearchapi/opensearchapi.go index 38d6d803b..5c1605078 100644 --- a/opensearchapi/opensearchapi.go +++ b/opensearchapi/opensearchapi.go @@ -53,6 +53,7 @@ type Client struct { Template templateClient DataStream dataStreamClient PointInTime pointInTimeClient + Ingest ingestClient } // clientInit inits the Client with all sub clients @@ -77,6 +78,7 @@ func clientInit(rootClient *opensearch.Client) *Client { client.Template = templateClient{apiClient: client} client.DataStream = dataStreamClient{apiClient: client} client.PointInTime = pointInTimeClient{apiClient: client} + client.Ingest = ingestClient{apiClient: client} return client }