diff --git a/opensearchapi/opensearchapi.go b/opensearchapi/opensearchapi.go index 0c559da3a..38d6d803b 100644 --- a/opensearchapi/opensearchapi.go +++ b/opensearchapi/opensearchapi.go @@ -52,6 +52,7 @@ type Client struct { IndexTemplate indexTemplateClient Template templateClient DataStream dataStreamClient + PointInTime pointInTimeClient } // clientInit inits the Client with all sub clients @@ -75,6 +76,7 @@ func clientInit(rootClient *opensearch.Client) *Client { client.IndexTemplate = indexTemplateClient{apiClient: client} client.Template = templateClient{apiClient: client} client.DataStream = dataStreamClient{apiClient: client} + client.PointInTime = pointInTimeClient{apiClient: client} return client }