@opensearch-project/opensearch 3.5.1 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/OpenSearchApi.d.ts +366 -0
- package/api/OpenSearchApi.js +202 -135
- package/api/_core/bulk.d.ts +3 -8
- package/api/_core/bulk.js +3 -3
- package/api/_core/bulkStream.d.ts +2 -7
- package/api/_core/bulkStream.js +2 -2
- package/api/_core/clearScroll.js +3 -3
- package/api/_core/count.js +3 -3
- package/api/_core/create.js +4 -4
- package/api/_core/createPit.d.ts +7 -4
- package/api/_core/createPit.js +8 -4
- package/api/_core/delete.js +4 -4
- package/api/_core/deleteAllPits.js +1 -1
- package/api/_core/deleteByQuery.js +3 -3
- package/api/_core/deleteByQueryRethrottle.js +1 -1
- package/api/_core/deletePit.js +1 -1
- package/api/_core/deleteScript.js +1 -1
- package/api/_core/exists.js +4 -4
- package/api/_core/existsSource.js +4 -4
- package/api/_core/explain.d.ts +4 -2
- package/api/_core/explain.js +3 -3
- package/api/_core/fieldCaps.js +4 -4
- package/api/_core/get.d.ts +3 -1
- package/api/_core/get.js +5 -5
- package/api/_core/getAllPits.js +1 -1
- package/api/_core/getScript.js +1 -1
- package/api/_core/getScriptContext.js +1 -1
- package/api/_core/getScriptLanguages.js +1 -1
- package/api/_core/getSource.d.ts +1 -1
- package/api/_core/getSource.js +5 -5
- package/api/_core/index.js +4 -4
- package/api/_core/info.js +1 -1
- package/api/_core/mget.js +4 -4
- package/api/_core/msearch.d.ts +1 -0
- package/api/_core/msearch.js +3 -2
- package/api/_core/msearchTemplate.js +2 -2
- package/api/_core/mtermvectors.js +9 -9
- package/api/_core/ping.js +1 -1
- package/api/_core/putScript.js +1 -1
- package/api/_core/rankEval.js +2 -2
- package/api/_core/reindex.js +1 -1
- package/api/_core/reindexRethrottle.js +1 -1
- package/api/_core/renderSearchTemplate.js +1 -1
- package/api/_core/scriptsPainlessExecute.d.ts +1 -1
- package/api/_core/scriptsPainlessExecute.js +1 -1
- package/api/_core/scroll.d.ts +1 -1
- package/api/_core/scroll.js +1 -1
- package/api/_core/search.d.ts +7 -3
- package/api/_core/search.js +4 -3
- package/api/_core/searchShards.d.ts +5 -0
- package/api/_core/searchShards.js +3 -2
- package/api/_core/searchTemplate.d.ts +4 -17
- package/api/_core/searchTemplate.js +5 -3
- package/api/_core/termvectors.js +9 -9
- package/api/_core/update.js +2 -2
- package/api/_core/updateByQuery.js +3 -3
- package/api/_core/updateByQueryRethrottle.js +1 -1
- package/api/_types/_common.aggregations.d.ts +288 -386
- package/api/_types/_common.analysis.d.ts +12 -5
- package/api/_types/_common.d.ts +80 -54
- package/api/_types/_common.mapping.d.ts +35 -3
- package/api/_types/_common.query_dsl.d.ts +54 -26
- package/api/_types/_core.bulk.d.ts +33 -9
- package/api/_types/_core.explain.d.ts +1 -7
- package/api/_types/_core.get.d.ts +7 -3
- package/api/_types/_core.msearch.d.ts +1 -1
- package/api/_types/_core.pit.d.ts +2 -2
- package/api/_types/_core.search.d.ts +82 -33
- package/api/_types/asynchronous_search._common.d.ts +3 -4
- package/api/_types/cat._common.d.ts +19 -0
- package/api/_types/cat.indices.d.ts +28 -0
- package/api/_types/cat.nodes.d.ts +13 -0
- package/api/_types/cat.shards.d.ts +13 -0
- package/api/_types/cat.thread_pool.d.ts +1 -0
- package/api/_types/cluster._common.d.ts +2 -0
- package/api/_types/cluster.allocation_explain.d.ts +3 -0
- package/api/_types/cluster.decommission_awareness.d.ts +1 -3
- package/api/_types/cluster.pending_tasks.d.ts +2 -0
- package/api/_types/cluster.stats.d.ts +3 -3
- package/api/_types/cluster.weighted_routing.d.ts +1 -8
- package/api/_types/flow_framework.common.d.ts +5 -2
- package/api/_types/geospatial._common.d.ts +153 -0
- package/api/_types/index.d.ts +22 -0
- package/api/_types/indices._common.d.ts +75 -19
- package/api/_types/indices.modify_data_stream.d.ts +33 -0
- package/api/_types/ingest._common.d.ts +37 -0
- package/api/_types/ingestion._common.d.ts +70 -0
- package/api/_types/insights._common.d.ts +8 -35
- package/api/_types/ism._common.d.ts +3 -3
- package/api/_types/knn._common.d.ts +45 -6
- package/api/_types/list._common.d.ts +19 -0
- package/api/_types/ltr._common.d.ts +63 -2
- package/api/_types/ml._common.d.ts +218 -168
- package/api/_types/neural._common.d.ts +229 -0
- package/api/_types/nodes._common.d.ts +1 -1
- package/api/_types/nodes.info.d.ts +8 -2
- package/api/_types/nodes.stats.d.ts +51 -2
- package/api/_types/observability._common.d.ts +0 -16
- package/api/_types/ppl._common.d.ts +19 -0
- package/api/_types/query._common.d.ts +0 -20
- package/api/_types/replication._common.d.ts +4 -1
- package/api/_types/rollups._common.d.ts +2 -0
- package/api/_types/search_pipeline._common.d.ts +52 -1
- package/api/_types/search_relevance._common.d.ts +132 -0
- package/api/_types/security._common.d.ts +31 -22
- package/api/_types/security_analytics.alerts.d.ts +59 -0
- package/api/_types/security_analytics.findings.d.ts +65 -0
- package/api/_types/sm._common.d.ts +3 -39
- package/api/_types/sql._common.d.ts +8 -0
- package/api/_types/transforms._common.d.ts +0 -23
- package/api/_types/ubi._common.d.ts +19 -0
- package/api/_types/wlm._common.d.ts +5 -3
- package/api/asynchronousSearch/_api.js +12 -4
- package/api/asynchronousSearch/delete.js +1 -1
- package/api/asynchronousSearch/get.js +1 -1
- package/api/asynchronousSearch/search.js +1 -1
- package/api/asynchronousSearch/stats.js +1 -1
- package/api/cat/_api.js +58 -30
- package/api/cat/aliases.d.ts +2 -1
- package/api/cat/aliases.js +2 -2
- package/api/cat/allPitSegments.d.ts +2 -1
- package/api/cat/allPitSegments.js +2 -2
- package/api/cat/allocation.d.ts +2 -1
- package/api/cat/allocation.js +2 -2
- package/api/cat/clusterManager.d.ts +2 -1
- package/api/cat/clusterManager.js +2 -2
- package/api/cat/count.d.ts +2 -1
- package/api/cat/count.js +3 -3
- package/api/cat/fielddata.d.ts +2 -1
- package/api/cat/fielddata.js +2 -2
- package/api/cat/health.d.ts +2 -1
- package/api/cat/health.js +2 -2
- package/api/cat/help.js +1 -1
- package/api/cat/indices.d.ts +2 -1
- package/api/cat/indices.js +2 -2
- package/api/cat/master.d.ts +2 -1
- package/api/cat/master.js +2 -2
- package/api/cat/nodeattrs.d.ts +2 -1
- package/api/cat/nodeattrs.js +2 -2
- package/api/cat/nodes.d.ts +2 -1
- package/api/cat/nodes.js +3 -3
- package/api/cat/pendingTasks.d.ts +2 -1
- package/api/cat/pendingTasks.js +3 -3
- package/api/cat/pitSegments.d.ts +2 -1
- package/api/cat/pitSegments.js +2 -2
- package/api/cat/plugins.d.ts +2 -1
- package/api/cat/plugins.js +2 -2
- package/api/cat/recovery.d.ts +2 -1
- package/api/cat/recovery.js +3 -3
- package/api/cat/repositories.d.ts +2 -1
- package/api/cat/repositories.js +2 -2
- package/api/cat/segmentReplication.d.ts +2 -1
- package/api/cat/segmentReplication.js +3 -3
- package/api/cat/segments.d.ts +2 -1
- package/api/cat/segments.js +2 -2
- package/api/cat/shards.d.ts +2 -1
- package/api/cat/shards.js +3 -3
- package/api/cat/snapshots.d.ts +2 -1
- package/api/cat/snapshots.js +3 -3
- package/api/cat/tasks.d.ts +2 -1
- package/api/cat/tasks.js +3 -3
- package/api/cat/templates.d.ts +2 -1
- package/api/cat/templates.js +2 -2
- package/api/cat/threadPool.d.ts +2 -1
- package/api/cat/threadPool.js +2 -2
- package/api/cluster/_api.js +63 -38
- package/api/cluster/allocationExplain.js +1 -1
- package/api/cluster/deleteComponentTemplate.js +2 -2
- package/api/cluster/deleteDecommissionAwareness.js +1 -1
- package/api/cluster/deleteVotingConfigExclusions.js +1 -1
- package/api/cluster/deleteWeightedRouting.d.ts +5 -2
- package/api/cluster/deleteWeightedRouting.js +1 -1
- package/api/cluster/existsComponentTemplate.js +3 -3
- package/api/cluster/getComponentTemplate.js +2 -2
- package/api/cluster/getDecommissionAwareness.d.ts +1 -1
- package/api/cluster/getDecommissionAwareness.js +1 -1
- package/api/cluster/getSettings.js +2 -2
- package/api/cluster/getWeightedRouting.d.ts +3 -1
- package/api/cluster/getWeightedRouting.js +1 -1
- package/api/cluster/health.d.ts +2 -1
- package/api/cluster/health.js +3 -3
- package/api/cluster/pendingTasks.js +2 -2
- package/api/cluster/postVotingConfigExclusions.js +1 -1
- package/api/cluster/putComponentTemplate.js +3 -3
- package/api/cluster/putDecommissionAwareness.js +1 -1
- package/api/cluster/putSettings.js +2 -2
- package/api/cluster/putWeightedRouting.d.ts +5 -2
- package/api/cluster/putWeightedRouting.js +1 -1
- package/api/cluster/remoteInfo.js +1 -1
- package/api/cluster/reroute.js +2 -2
- package/api/cluster/state.js +3 -3
- package/api/cluster/stats.js +3 -3
- package/api/danglingIndices/_api.js +13 -6
- package/api/danglingIndices/deleteDanglingIndex.js +1 -1
- package/api/danglingIndices/importDanglingIndex.js +1 -1
- package/api/danglingIndices/listDanglingIndices.d.ts +2 -2
- package/api/danglingIndices/listDanglingIndices.js +1 -1
- package/api/flowFramework/_api.js +27 -13
- package/api/flowFramework/create.js +7 -7
- package/api/flowFramework/delete.js +4 -4
- package/api/flowFramework/deprovision.js +4 -4
- package/api/flowFramework/get.js +3 -3
- package/api/flowFramework/getStatus.js +4 -4
- package/api/flowFramework/getSteps.js +3 -3
- package/api/flowFramework/provision.js +3 -3
- package/api/flowFramework/search.js +1 -1
- package/api/flowFramework/searchState.js +1 -1
- package/api/flowFramework/update.js +8 -8
- package/api/geospatial/_api.js +57 -0
- package/api/geospatial/deleteIp2GeoDatasource.d.ts +30 -0
- package/api/geospatial/deleteIp2GeoDatasource.js +49 -0
- package/api/geospatial/geojsonUploadPost.d.ts +30 -0
- package/api/geospatial/geojsonUploadPost.js +49 -0
- package/api/geospatial/geojsonUploadPut.d.ts +30 -0
- package/api/geospatial/geojsonUploadPut.js +49 -0
- package/api/geospatial/getIp2GeoDatasource.d.ts +31 -0
- package/api/geospatial/getIp2GeoDatasource.js +48 -0
- package/api/geospatial/getUploadStats.d.ts +28 -0
- package/api/geospatial/getUploadStats.js +45 -0
- package/api/geospatial/putIp2GeoDatasource.d.ts +32 -0
- package/api/geospatial/putIp2GeoDatasource.js +53 -0
- package/api/geospatial/putIp2GeoDatasourceSettings.d.ts +32 -0
- package/api/geospatial/putIp2GeoDatasourceSettings.js +50 -0
- package/api/http/_api.js +22 -9
- package/api/index.d.ts +168 -10
- package/api/indices/_api.js +134 -78
- package/api/indices/addBlock.js +1 -1
- package/api/indices/analyze.js +1 -1
- package/api/indices/clearCache.js +3 -3
- package/api/indices/clone.js +1 -1
- package/api/indices/close.js +2 -2
- package/api/indices/create.js +2 -2
- package/api/indices/createDataStream.js +1 -1
- package/api/indices/dataStreamsStats.js +2 -2
- package/api/indices/delete.js +2 -2
- package/api/indices/deleteAlias.js +3 -3
- package/api/indices/deleteDataStream.js +2 -2
- package/api/indices/deleteIndexTemplate.js +2 -2
- package/api/indices/deleteTemplate.js +1 -1
- package/api/indices/exists.js +2 -2
- package/api/indices/existsAlias.js +3 -3
- package/api/indices/existsIndexTemplate.js +2 -2
- package/api/indices/existsTemplate.js +1 -1
- package/api/indices/flush.js +2 -2
- package/api/indices/forcemerge.js +1 -1
- package/api/indices/get.js +2 -2
- package/api/indices/getAlias.js +3 -3
- package/api/indices/getDataStream.js +2 -2
- package/api/indices/getFieldMapping.js +3 -3
- package/api/indices/getIndexTemplate.js +2 -2
- package/api/indices/getMapping.js +2 -2
- package/api/indices/getSettings.js +3 -3
- package/api/indices/getTemplate.js +2 -2
- package/api/indices/getUpgrade.js +2 -2
- package/api/indices/modifyDataStream.d.ts +37 -0
- package/api/indices/modifyDataStream.js +50 -0
- package/api/indices/open.js +2 -2
- package/api/indices/putAlias.js +2 -2
- package/api/indices/putIndexTemplate.js +1 -1
- package/api/indices/putMapping.js +1 -1
- package/api/indices/putSettings.js +3 -3
- package/api/indices/putTemplate.js +1 -1
- package/api/indices/recovery.js +2 -2
- package/api/indices/refresh.js +2 -2
- package/api/indices/resolveIndex.js +1 -1
- package/api/indices/rollover.js +2 -2
- package/api/indices/segments.js +2 -2
- package/api/indices/shardStores.js +5 -5
- package/api/indices/shrink.js +1 -1
- package/api/indices/simulateIndexTemplate.js +1 -1
- package/api/indices/simulateTemplate.js +3 -3
- package/api/indices/split.js +1 -1
- package/api/indices/stats.js +5 -5
- package/api/indices/updateAliases.js +1 -1
- package/api/indices/upgrade.js +2 -2
- package/api/indices/validateQuery.js +2 -2
- package/api/ingest/_api.js +18 -9
- package/api/ingest/deletePipeline.js +1 -1
- package/api/ingest/getPipeline.js +1 -1
- package/api/ingest/processorGrok.js +1 -1
- package/api/ingest/putPipeline.js +1 -1
- package/api/ingest/simulate.js +1 -1
- package/api/ingestion/_api.js +37 -0
- package/api/ingestion/getState.d.ts +34 -0
- package/api/ingestion/getState.js +52 -0
- package/api/ingestion/pause.d.ts +33 -0
- package/api/ingestion/pause.js +51 -0
- package/api/ingestion/resume.d.ts +34 -0
- package/api/ingestion/resume.js +52 -0
- package/api/insights/_api.js +7 -2
- package/api/insights/topQueries.d.ts +1 -1
- package/api/ism/_api.js +40 -24
- package/api/ism/addPolicy.d.ts +1 -1
- package/api/ism/addPolicy.js +2 -2
- package/api/ism/changePolicy.d.ts +1 -1
- package/api/ism/changePolicy.js +2 -2
- package/api/ism/deletePolicy.js +1 -1
- package/api/ism/existsPolicy.js +2 -2
- package/api/ism/explainPolicy.d.ts +1 -1
- package/api/ism/explainPolicy.js +3 -3
- package/api/ism/getPolicies.js +2 -2
- package/api/ism/getPolicy.js +2 -2
- package/api/ism/putPolicies.js +2 -2
- package/api/ism/putPolicy.js +1 -1
- package/api/ism/refreshSearchAnalyzers.d.ts +1 -1
- package/api/ism/refreshSearchAnalyzers.js +3 -3
- package/api/ism/removePolicy.d.ts +1 -1
- package/api/ism/removePolicy.js +2 -2
- package/api/ism/retryIndex.d.ts +1 -1
- package/api/ism/retryIndex.js +3 -3
- package/api/knn/_api.js +20 -10
- package/api/knn/deleteModel.js +1 -1
- package/api/knn/getModel.js +1 -1
- package/api/knn/searchModels.d.ts +1 -1
- package/api/knn/searchModels.js +5 -5
- package/api/knn/stats.d.ts +1 -1
- package/api/knn/stats.js +3 -3
- package/api/knn/trainModel.js +1 -1
- package/api/knn/warmup.js +2 -2
- package/api/list/_api.js +10 -3
- package/api/list/help.js +1 -1
- package/api/list/indices.d.ts +3 -2
- package/api/list/indices.js +5 -5
- package/api/list/shards.d.ts +3 -2
- package/api/list/shards.js +4 -4
- package/api/ltr/_api.js +106 -1
- package/api/ltr/addFeaturesToSet.d.ts +37 -0
- package/api/ltr/addFeaturesToSet.js +55 -0
- package/api/ltr/addFeaturesToSetByQuery.d.ts +35 -0
- package/api/ltr/addFeaturesToSetByQuery.js +57 -0
- package/api/ltr/cacheStats.d.ts +28 -0
- package/api/ltr/cacheStats.js +45 -0
- package/api/ltr/clearCache.d.ts +30 -0
- package/api/ltr/clearCache.js +48 -0
- package/api/ltr/createDefaultStore.d.ts +28 -0
- package/api/ltr/createDefaultStore.js +45 -0
- package/api/ltr/createFeature.d.ts +35 -0
- package/api/ltr/createFeature.js +53 -0
- package/api/ltr/createFeatureset.d.ts +35 -0
- package/api/ltr/createFeatureset.js +53 -0
- package/api/ltr/createModel.d.ts +35 -0
- package/api/ltr/createModel.js +53 -0
- package/api/ltr/createModelFromSet.d.ts +35 -0
- package/api/ltr/createModelFromSet.js +53 -0
- package/api/ltr/createStore.d.ts +30 -0
- package/api/ltr/createStore.js +49 -0
- package/api/ltr/deleteDefaultStore.d.ts +28 -0
- package/api/ltr/deleteDefaultStore.js +45 -0
- package/api/ltr/deleteFeature.d.ts +31 -0
- package/api/ltr/deleteFeature.js +51 -0
- package/api/ltr/deleteFeatureset.d.ts +31 -0
- package/api/ltr/deleteFeatureset.js +51 -0
- package/api/ltr/deleteModel.d.ts +31 -0
- package/api/ltr/deleteModel.js +51 -0
- package/api/ltr/deleteStore.d.ts +30 -0
- package/api/ltr/deleteStore.js +49 -0
- package/api/ltr/getFeature.d.ts +30 -0
- package/api/ltr/getFeature.js +51 -0
- package/api/ltr/getFeatureset.d.ts +30 -0
- package/api/ltr/getFeatureset.js +51 -0
- package/api/ltr/getModel.d.ts +30 -0
- package/api/ltr/getModel.js +51 -0
- package/api/ltr/getStore.d.ts +30 -0
- package/api/ltr/getStore.js +49 -0
- package/api/ltr/listStores.d.ts +28 -0
- package/api/ltr/listStores.js +45 -0
- package/api/ltr/searchFeatures.d.ts +33 -0
- package/api/ltr/searchFeatures.js +51 -0
- package/api/ltr/searchFeaturesets.d.ts +33 -0
- package/api/ltr/searchFeaturesets.js +51 -0
- package/api/ltr/searchModels.d.ts +33 -0
- package/api/ltr/searchModels.js +51 -0
- package/api/ltr/stats.d.ts +1 -1
- package/api/ltr/stats.js +2 -2
- package/api/ltr/updateFeature.d.ts +35 -0
- package/api/ltr/updateFeature.js +53 -0
- package/api/ltr/updateFeatureset.d.ts +35 -0
- package/api/ltr/updateFeatureset.js +53 -0
- package/api/ml/_api.js +239 -116
- package/api/ml/addAgenticMemory.d.ts +45 -0
- package/api/ml/addAgenticMemory.js +50 -0
- package/api/ml/createConnector.d.ts +1 -1
- package/api/ml/createMemoryContainer.d.ts +40 -0
- package/api/ml/createMemoryContainer.js +47 -0
- package/api/ml/createMemoryContainerSession.d.ts +41 -0
- package/api/ml/createMemoryContainerSession.js +50 -0
- package/api/ml/createModelMeta.d.ts +1 -0
- package/api/ml/deleteAgenticMemory.d.ts +33 -0
- package/api/ml/deleteAgenticMemory.js +55 -0
- package/api/ml/deleteAgenticMemoryQuery.d.ts +37 -0
- package/api/ml/deleteAgenticMemoryQuery.js +53 -0
- package/api/ml/deleteMemoryContainer.d.ts +33 -0
- package/api/ml/deleteMemoryContainer.js +51 -0
- package/api/ml/executeAgentStream.d.ts +35 -0
- package/api/ml/executeAgentStream.js +50 -0
- package/api/ml/executeAlgorithm.d.ts +2 -2
- package/api/ml/executeAlgorithm.js +1 -1
- package/api/ml/executeTool.d.ts +35 -0
- package/api/ml/executeTool.js +50 -0
- package/api/ml/getAgenticMemory.d.ts +32 -0
- package/api/ml/getAgenticMemory.js +55 -0
- package/api/ml/getMemoryContainer.d.ts +30 -0
- package/api/ml/getMemoryContainer.js +49 -0
- package/api/ml/getStats.d.ts +1 -1
- package/api/ml/getTool.d.ts +1 -1
- package/api/ml/loadModel.d.ts +2 -1
- package/api/ml/predictModel.d.ts +6 -1
- package/api/ml/predictModelStream.d.ts +37 -0
- package/api/ml/predictModelStream.js +50 -0
- package/api/ml/registerModel.d.ts +3 -0
- package/api/ml/registerModelGroup.d.ts +1 -1
- package/api/ml/registerModelMeta.d.ts +1 -0
- package/api/ml/searchAgenticMemory.d.ts +40 -0
- package/api/ml/searchAgenticMemory.js +53 -0
- package/api/ml/searchAgents.d.ts +4 -2
- package/api/ml/searchConnectors.d.ts +4 -2
- package/api/ml/searchMemory.d.ts +4 -2
- package/api/ml/searchMemoryContainer.d.ts +38 -0
- package/api/ml/searchMemoryContainer.js +47 -0
- package/api/ml/searchMessage.d.ts +4 -2
- package/api/ml/searchModelGroup.d.ts +4 -2
- package/api/ml/searchModels.d.ts +4 -2
- package/api/ml/searchTasks.d.ts +4 -2
- package/api/ml/updateAgenticMemory.d.ts +46 -0
- package/api/ml/updateAgenticMemory.js +56 -0
- package/api/ml/updateConnector.d.ts +2 -2
- package/api/ml/updateMemoryContainer.d.ts +38 -0
- package/api/ml/updateMemoryContainer.js +50 -0
- package/api/neural/_api.js +31 -0
- package/api/neural/stats.d.ts +36 -0
- package/api/neural/stats.js +55 -0
- package/api/nodes/_api.js +16 -7
- package/api/nodes/hotThreads.js +7 -7
- package/api/nodes/info.js +4 -4
- package/api/nodes/reloadSecureSettings.js +2 -2
- package/api/nodes/stats.js +10 -10
- package/api/nodes/usage.js +1 -1
- package/api/notifications/_api.js +31 -18
- package/api/notifications/createConfig.js +1 -1
- package/api/notifications/deleteConfig.js +1 -1
- package/api/notifications/deleteConfigs.js +1 -1
- package/api/notifications/getConfigs.js +1 -1
- package/api/notifications/listChannels.js +1 -1
- package/api/notifications/listFeatures.js +1 -1
- package/api/notifications/sendTest.js +1 -1
- package/api/notifications/updateConfig.js +1 -1
- package/api/observability/_api.js +25 -14
- package/api/observability/createObject.js +1 -1
- package/api/observability/deleteObject.js +1 -1
- package/api/observability/deleteObjects.js +2 -2
- package/api/observability/getObject.js +1 -1
- package/api/observability/updateObject.js +2 -2
- package/api/ppl/_api.js +14 -6
- package/api/ppl/explain.d.ts +2 -1
- package/api/ppl/explain.js +5 -5
- package/api/ppl/getStats.d.ts +2 -1
- package/api/ppl/getStats.js +4 -4
- package/api/ppl/postStats.d.ts +2 -1
- package/api/ppl/postStats.js +5 -5
- package/api/ppl/query.d.ts +2 -1
- package/api/ppl/query.js +5 -5
- package/api/query/_api.js +19 -10
- package/api/query/datasourceDelete.js +2 -2
- package/api/query/datasourceRetrieve.js +2 -2
- package/api/query/datasourcesCreate.js +2 -2
- package/api/query/datasourcesList.js +1 -1
- package/api/query/datasourcesUpdate.js +2 -2
- package/api/remoteStore/_api.js +6 -1
- package/api/remoteStore/restore.js +1 -1
- package/api/replication/_api.js +32 -17
- package/api/replication/autofollowStats.js +1 -1
- package/api/replication/createReplicationRule.js +1 -1
- package/api/replication/deleteReplicationRule.js +1 -1
- package/api/replication/followerStats.js +1 -1
- package/api/replication/leaderStats.js +1 -1
- package/api/replication/pause.js +1 -1
- package/api/replication/resume.js +1 -1
- package/api/replication/start.js +1 -1
- package/api/replication/status.js +1 -1
- package/api/replication/stop.js +1 -1
- package/api/replication/updateSettings.js +1 -1
- package/api/rollups/_api.js +16 -6
- package/api/rollups/delete.js +3 -3
- package/api/rollups/explain.js +3 -3
- package/api/rollups/get.js +3 -3
- package/api/rollups/put.js +6 -6
- package/api/rollups/start.js +3 -3
- package/api/rollups/stop.js +3 -3
- package/api/searchPipeline/_api.js +10 -3
- package/api/searchPipeline/put.js +1 -1
- package/api/searchRelevance/_api.js +117 -0
- package/api/searchRelevance/deleteExperiments.d.ts +30 -0
- package/api/searchRelevance/deleteExperiments.js +49 -0
- package/api/searchRelevance/deleteJudgments.d.ts +30 -0
- package/api/searchRelevance/deleteJudgments.js +49 -0
- package/api/searchRelevance/deleteQuerySets.d.ts +30 -0
- package/api/searchRelevance/deleteQuerySets.js +49 -0
- package/api/searchRelevance/deleteScheduledExperiments.d.ts +30 -0
- package/api/searchRelevance/deleteScheduledExperiments.js +49 -0
- package/api/searchRelevance/deleteSearchConfigurations.d.ts +30 -0
- package/api/searchRelevance/deleteSearchConfigurations.js +49 -0
- package/api/searchRelevance/experimentsSearch.d.ts +31 -0
- package/api/searchRelevance/experimentsSearch.js +47 -0
- package/api/searchRelevance/getExperiments.d.ts +30 -0
- package/api/searchRelevance/getExperiments.js +48 -0
- package/api/searchRelevance/getJudgments.d.ts +30 -0
- package/api/searchRelevance/getJudgments.js +48 -0
- package/api/searchRelevance/getNodeStats.d.ts +42 -0
- package/api/searchRelevance/getNodeStats.js +56 -0
- package/api/searchRelevance/getQuerySets.d.ts +30 -0
- package/api/searchRelevance/getQuerySets.js +48 -0
- package/api/searchRelevance/getScheduledExperiments.d.ts +30 -0
- package/api/searchRelevance/getScheduledExperiments.js +48 -0
- package/api/searchRelevance/getSearchConfigurations.d.ts +30 -0
- package/api/searchRelevance/getSearchConfigurations.js +48 -0
- package/api/searchRelevance/getStats.d.ts +41 -0
- package/api/searchRelevance/getStats.js +53 -0
- package/api/searchRelevance/judgmentsSearch.d.ts +31 -0
- package/api/searchRelevance/judgmentsSearch.js +47 -0
- package/api/searchRelevance/postQuerySets.d.ts +30 -0
- package/api/searchRelevance/postQuerySets.js +47 -0
- package/api/searchRelevance/postScheduledExperiments.d.ts +30 -0
- package/api/searchRelevance/postScheduledExperiments.js +47 -0
- package/api/searchRelevance/putExperiments.d.ts +32 -0
- package/api/searchRelevance/putExperiments.js +47 -0
- package/api/searchRelevance/putJudgments.d.ts +32 -0
- package/api/searchRelevance/putJudgments.js +47 -0
- package/api/searchRelevance/putQuerySets.d.ts +30 -0
- package/api/searchRelevance/putQuerySets.js +47 -0
- package/api/searchRelevance/putSearchConfigurations.d.ts +30 -0
- package/api/searchRelevance/putSearchConfigurations.js +47 -0
- package/api/searchRelevance/querySetsSearch.d.ts +31 -0
- package/api/searchRelevance/querySetsSearch.js +47 -0
- package/api/searchRelevance/searchConfigurationsSearch.d.ts +31 -0
- package/api/searchRelevance/searchConfigurationsSearch.js +47 -0
- package/api/security/_api.js +227 -147
- package/api/security/changePassword.js +1 -1
- package/api/security/configUpgradeCheck.js +1 -1
- package/api/security/configUpgradePerform.js +1 -1
- package/api/security/createActionGroup.js +1 -1
- package/api/security/createAllowlist.js +1 -1
- package/api/security/createRole.js +1 -1
- package/api/security/createRoleMapping.js +1 -1
- package/api/security/createTenant.js +1 -1
- package/api/security/createUpdateTenancyConfig.js +1 -1
- package/api/security/createUser.js +1 -1
- package/api/security/deleteActionGroup.js +1 -1
- package/api/security/deleteDistinguishedName.js +1 -1
- package/api/security/deleteRole.js +1 -1
- package/api/security/deleteRoleMapping.js +1 -1
- package/api/security/deleteTenant.js +1 -1
- package/api/security/deleteUser.js +1 -1
- package/api/security/flushCache.js +1 -1
- package/api/security/generateOboToken.js +1 -1
- package/api/security/getAccountDetails.js +1 -1
- package/api/security/getActionGroup.js +1 -1
- package/api/security/getActionGroups.js +1 -1
- package/api/security/getAllowlist.js +1 -1
- package/api/security/getAuditConfiguration.js +1 -1
- package/api/security/getCertificates.js +1 -1
- package/api/security/getConfiguration.js +1 -1
- package/api/security/getDistinguishedName.js +1 -1
- package/api/security/getDistinguishedNames.js +1 -1
- package/api/security/getRole.js +1 -1
- package/api/security/getRoleMapping.js +1 -1
- package/api/security/getRoleMappings.js +1 -1
- package/api/security/getRoles.js +1 -1
- package/api/security/getSslinfo.d.ts +2 -1
- package/api/security/getSslinfo.js +1 -1
- package/api/security/getTenancyConfig.js +1 -1
- package/api/security/getTenant.js +1 -1
- package/api/security/getTenants.js +1 -1
- package/api/security/getUser.js +1 -1
- package/api/security/getUsers.js +1 -1
- package/api/security/health.js +1 -1
- package/api/security/patchActionGroup.js +1 -1
- package/api/security/patchActionGroups.js +1 -1
- package/api/security/patchAllowlist.js +1 -1
- package/api/security/patchAuditConfiguration.js +1 -1
- package/api/security/patchConfiguration.js +1 -1
- package/api/security/patchDistinguishedName.d.ts +3 -1
- package/api/security/patchDistinguishedNames.js +1 -1
- package/api/security/patchRole.js +1 -1
- package/api/security/patchRoleMapping.js +1 -1
- package/api/security/patchRoleMappings.js +1 -1
- package/api/security/patchRoles.js +1 -1
- package/api/security/patchTenant.js +1 -1
- package/api/security/patchTenants.js +1 -1
- package/api/security/patchUser.js +1 -1
- package/api/security/patchUsers.js +1 -1
- package/api/security/reloadHttpCertificates.js +1 -1
- package/api/security/reloadTransportCertificates.js +1 -1
- package/api/security/updateAuditConfiguration.js +1 -1
- package/api/security/updateConfiguration.js +1 -1
- package/api/security/updateDistinguishedName.js +1 -1
- package/api/securityAnalytics/_api.js +41 -0
- package/api/securityAnalytics/getAlerts.d.ts +42 -0
- package/api/securityAnalytics/getAlerts.js +58 -0
- package/api/securityAnalytics/getFindings.d.ts +43 -0
- package/api/securityAnalytics/getFindings.js +59 -0
- package/api/securityAnalytics/searchFindingCorrelations.d.ts +33 -0
- package/api/securityAnalytics/searchFindingCorrelations.js +52 -0
- package/api/sm/_api.js +28 -16
- package/api/sm/deletePolicy.d.ts +2 -2
- package/api/sm/getPolicies.d.ts +2 -1
- package/api/sm/getPolicies.js +1 -1
- package/api/snapshot/_api.js +31 -16
- package/api/snapshot/cleanupRepository.js +2 -2
- package/api/snapshot/clone.js +2 -2
- package/api/snapshot/create.js +2 -2
- package/api/snapshot/createRepository.js +2 -2
- package/api/snapshot/delete.js +2 -2
- package/api/snapshot/deleteRepository.js +2 -2
- package/api/snapshot/get.js +3 -3
- package/api/snapshot/getRepository.js +2 -2
- package/api/snapshot/restore.d.ts +1 -0
- package/api/snapshot/restore.js +2 -2
- package/api/snapshot/status.js +2 -2
- package/api/snapshot/verifyRepository.js +2 -2
- package/api/sql/_api.js +18 -8
- package/api/sql/close.d.ts +1 -1
- package/api/sql/close.js +5 -5
- package/api/sql/explain.d.ts +1 -1
- package/api/sql/explain.js +5 -5
- package/api/sql/getStats.d.ts +2 -1
- package/api/sql/getStats.js +4 -4
- package/api/sql/postStats.d.ts +1 -1
- package/api/sql/postStats.js +5 -5
- package/api/sql/query.d.ts +1 -1
- package/api/sql/query.js +5 -5
- package/api/sql/settings.d.ts +1 -1
- package/api/sql/settings.js +4 -4
- package/api/tasks/_api.js +12 -3
- package/api/tasks/cancel.js +1 -1
- package/api/tasks/delete.d.ts +30 -0
- package/api/tasks/delete.js +49 -0
- package/api/tasks/get.js +1 -1
- package/api/tasks/list.js +1 -1
- package/api/transforms/_api.js +20 -8
- package/api/transforms/delete.d.ts +2 -2
- package/api/transforms/delete.js +1 -1
- package/api/transforms/explain.js +1 -1
- package/api/transforms/get.js +1 -1
- package/api/transforms/preview.js +1 -1
- package/api/transforms/put.js +1 -1
- package/api/transforms/search.js +1 -1
- package/api/transforms/start.js +1 -1
- package/api/transforms/stop.js +1 -1
- package/api/ubi/_api.js +31 -0
- package/api/ubi/initialize.d.ts +27 -0
- package/api/ubi/initialize.js +45 -0
- package/api/wlm/_api.js +16 -8
- package/lib/Connection.d.ts +1 -2
- package/lib/Connection.js +5 -3
- package/lib/Helpers.js +8 -8
- package/lib/ProxyAgent.js +125 -0
- package/lib/aws/shared.js +4 -3
- package/package.json +9 -4
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*
|
|
5
|
+
* The OpenSearch Contributors require contributions made to
|
|
6
|
+
* this file be licensed under the Apache-2.0 license or a
|
|
7
|
+
* compatible open source license.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
13
|
+
* manually. If you want to make changes, either update the spec or
|
|
14
|
+
* modify the API generator.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
'use strict';
|
|
18
|
+
|
|
19
|
+
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Update a specific memory by its type and ID.
|
|
23
|
+
* <br/> See Also: {@link undefined - ml.update_agentic_memory}
|
|
24
|
+
*
|
|
25
|
+
* @memberOf API-Ml
|
|
26
|
+
*
|
|
27
|
+
* @param {object} params
|
|
28
|
+
* @param {string} params.id
|
|
29
|
+
* @param {string} params.memory_container_id
|
|
30
|
+
* @param {string} params.type
|
|
31
|
+
* @param {object} [params.body]
|
|
32
|
+
*
|
|
33
|
+
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
34
|
+
* @param {function} [callback] - Callback that handles errors and response
|
|
35
|
+
*
|
|
36
|
+
* @returns {{abort: function(), then: function(), catch: function()}|Promise<never>|*}
|
|
37
|
+
*/
|
|
38
|
+
function updateAgenticMemoryFunc(params, options, callback) {
|
|
39
|
+
[params, options, callback] = normalizeArguments(params, options, callback);
|
|
40
|
+
if (params.id == null) return handleMissingParam('id', this, callback);
|
|
41
|
+
if (params.memory_container_id == null) return handleMissingParam('memory_container_id', this, callback);
|
|
42
|
+
if (params.type == null) return handleMissingParam('type', this, callback);
|
|
43
|
+
|
|
44
|
+
let { body, id, memory_container_id, type, ...querystring } = params;
|
|
45
|
+
id = parsePathParam(id);
|
|
46
|
+
memory_container_id = parsePathParam(memory_container_id);
|
|
47
|
+
type = parsePathParam(type);
|
|
48
|
+
|
|
49
|
+
const path = '/_plugins/_ml/memory_containers/' + memory_container_id + '/memories/' + type + '/' + id;
|
|
50
|
+
const method = 'PUT';
|
|
51
|
+
body = body || '';
|
|
52
|
+
|
|
53
|
+
return this.transport.request({ method, path, querystring, body }, options, callback);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
module.exports = updateAgenticMemoryFunc;
|
|
@@ -25,7 +25,7 @@ export interface Ml_UpdateConnector_Request extends Global.Params {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export type Ml_UpdateConnector_RequestBody = {
|
|
28
|
-
access_mode?:
|
|
28
|
+
access_mode?: Ml_Common.ModelGroupAccessMode;
|
|
29
29
|
actions?: Ml_Common.Action[];
|
|
30
30
|
backend_roles?: string[];
|
|
31
31
|
credential?: Ml_Common.Credential;
|
|
@@ -33,7 +33,7 @@ export type Ml_UpdateConnector_RequestBody = {
|
|
|
33
33
|
name?: Common.Name;
|
|
34
34
|
parameters?: Ml_Common.Parameters;
|
|
35
35
|
'parameters.skip_validating_missing_parameters'?: boolean;
|
|
36
|
-
protocol?:
|
|
36
|
+
protocol?: Ml_Common.ConnectorProtocol;
|
|
37
37
|
version?: Common.VersionNumber;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*
|
|
5
|
+
* The OpenSearch Contributors require contributions made to
|
|
6
|
+
* this file be licensed under the Apache-2.0 license or a
|
|
7
|
+
* compatible open source license.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
13
|
+
* manually. If you want to make changes, either update the spec or
|
|
14
|
+
* modify the API generator.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
18
|
+
import * as Common from '../_types/_common'
|
|
19
|
+
import * as Global from '../_types/_global'
|
|
20
|
+
import * as Ml_Common from '../_types/ml._common'
|
|
21
|
+
|
|
22
|
+
export interface Ml_UpdateMemoryContainer_Request extends Global.Params {
|
|
23
|
+
body?: Ml_UpdateMemoryContainer_RequestBody;
|
|
24
|
+
memory_container_id: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type Ml_UpdateMemoryContainer_RequestBody = {
|
|
28
|
+
configuration?: Ml_Common.MemoryContainerConfiguration;
|
|
29
|
+
description?: string;
|
|
30
|
+
name?: Common.Name;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface Ml_UpdateMemoryContainer_Response extends ApiResponse {
|
|
34
|
+
body: Ml_UpdateMemoryContainer_ResponseBody;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type Ml_UpdateMemoryContainer_ResponseBody = Common.WriteResponseBase
|
|
38
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*
|
|
5
|
+
* The OpenSearch Contributors require contributions made to
|
|
6
|
+
* this file be licensed under the Apache-2.0 license or a
|
|
7
|
+
* compatible open source license.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
13
|
+
* manually. If you want to make changes, either update the spec or
|
|
14
|
+
* modify the API generator.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
'use strict';
|
|
18
|
+
|
|
19
|
+
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Update a memory container.
|
|
23
|
+
* <br/> See Also: {@link undefined - ml.update_memory_container}
|
|
24
|
+
*
|
|
25
|
+
* @memberOf API-Ml
|
|
26
|
+
*
|
|
27
|
+
* @param {object} params
|
|
28
|
+
* @param {string} params.memory_container_id
|
|
29
|
+
* @param {object} [params.body]
|
|
30
|
+
*
|
|
31
|
+
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
32
|
+
* @param {function} [callback] - Callback that handles errors and response
|
|
33
|
+
*
|
|
34
|
+
* @returns {{abort: function(), then: function(), catch: function()}|Promise<never>|*}
|
|
35
|
+
*/
|
|
36
|
+
function updateMemoryContainerFunc(params, options, callback) {
|
|
37
|
+
[params, options, callback] = normalizeArguments(params, options, callback);
|
|
38
|
+
if (params.memory_container_id == null) return handleMissingParam('memory_container_id', this, callback);
|
|
39
|
+
|
|
40
|
+
let { body, memory_container_id, ...querystring } = params;
|
|
41
|
+
memory_container_id = parsePathParam(memory_container_id);
|
|
42
|
+
|
|
43
|
+
const path = '/_plugins/_ml/memory_containers/' + memory_container_id;
|
|
44
|
+
const method = 'PUT';
|
|
45
|
+
body = body || '';
|
|
46
|
+
|
|
47
|
+
return this.transport.request({ method, path, querystring, body }, options, callback);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
module.exports = updateMemoryContainerFunc;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*
|
|
5
|
+
* The OpenSearch Contributors require contributions made to
|
|
6
|
+
* this file be licensed under the Apache-2.0 license or a
|
|
7
|
+
* compatible open source license.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
13
|
+
* manually. If you want to make changes, either update the spec or
|
|
14
|
+
* modify the API generator.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
'use strict';
|
|
18
|
+
|
|
19
|
+
/** @namespace API-Neural */
|
|
20
|
+
|
|
21
|
+
// All operation modules are required once at module load time (not per
|
|
22
|
+
// instance) to avoid paying `require()` resolution cost on every Client
|
|
23
|
+
// construction.
|
|
24
|
+
const statsFn = require('./stats');
|
|
25
|
+
|
|
26
|
+
function NeuralApi(bindObj) {
|
|
27
|
+
this.stats = statsFn.bind(bindObj);
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
module.exports = NeuralApi;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*
|
|
5
|
+
* The OpenSearch Contributors require contributions made to
|
|
6
|
+
* this file be licensed under the Apache-2.0 license or a
|
|
7
|
+
* compatible open source license.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
13
|
+
* manually. If you want to make changes, either update the spec or
|
|
14
|
+
* modify the API generator.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
18
|
+
import * as Global from '../_types/_global'
|
|
19
|
+
import * as Neural_Common from '../_types/neural._common'
|
|
20
|
+
|
|
21
|
+
export interface Neural_Stats_Request extends Global.Params {
|
|
22
|
+
flat_stat_paths?: boolean;
|
|
23
|
+
include_all_nodes?: boolean;
|
|
24
|
+
include_individual_nodes?: boolean;
|
|
25
|
+
include_info?: boolean;
|
|
26
|
+
include_metadata?: boolean;
|
|
27
|
+
node_id?: string;
|
|
28
|
+
stat?: Neural_Common.NeuralStatName | Neural_Common.NeuralStatName[];
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface Neural_Stats_Response extends ApiResponse {
|
|
32
|
+
body: Neural_Stats_ResponseBody;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type Neural_Stats_ResponseBody = Neural_Common.NeuralStats
|
|
36
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*
|
|
5
|
+
* The OpenSearch Contributors require contributions made to
|
|
6
|
+
* this file be licensed under the Apache-2.0 license or a
|
|
7
|
+
* compatible open source license.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
13
|
+
* manually. If you want to make changes, either update the spec or
|
|
14
|
+
* modify the API generator.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
'use strict';
|
|
18
|
+
|
|
19
|
+
const { normalizeArguments, parsePathParam } = require('../utils');
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Provides information about the current status of the neural-search plugin.
|
|
23
|
+
* <br/> See Also: {@link undefined - neural.stats}
|
|
24
|
+
*
|
|
25
|
+
* @memberOf API-Neural
|
|
26
|
+
*
|
|
27
|
+
* @param {object} [params]
|
|
28
|
+
* @param {boolean} [params.flat_stat_paths=false] - Whether to return stats in the flat form, which can improve readability, especially for heavily nested stats. For example, the flat form of `"processors": { "ingest": { "text_embedding_executions": 20181212 } }` is `"processors.ingest.text_embedding_executions": "20181212"`.
|
|
29
|
+
* @param {boolean} [params.include_all_nodes=true] - When `true` includes aggregated statistics across all nodes in the `all_nodes` category. When `false`, excludes the `all_nodes` category from the response.
|
|
30
|
+
* @param {boolean} [params.include_individual_nodes=true] - When `true` includes statistics for individual nodes in the `nodes` category. When `false`, excludes the `nodes` category from the response.
|
|
31
|
+
* @param {boolean} [params.include_info=true] - When `true` includes cluster-wide information in the `info` category. When `false`, excludes the `info` category from the response.
|
|
32
|
+
* @param {boolean} [params.include_metadata=false] - Whether to return stat metadata instead of the raw stat value, includes additional information about the stat. These can include things like type hints, time since last stats being recorded, or recent rolling interval values
|
|
33
|
+
* @param {string} [params.node_id] - A comma-separated list of node IDs or names to limit the returned information; leave empty to get information from all nodes.
|
|
34
|
+
* @param {string} [params.stat] - A comma-separated list of stats to retrieve; use empty string to retrieve all stats.
|
|
35
|
+
*
|
|
36
|
+
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
37
|
+
* @param {function} [callback] - Callback that handles errors and response
|
|
38
|
+
*
|
|
39
|
+
* @returns {{abort: function(), then: function(), catch: function()}|Promise<never>|*}
|
|
40
|
+
*/
|
|
41
|
+
function statsFunc(params, options, callback) {
|
|
42
|
+
[params, options, callback] = normalizeArguments(params, options, callback);
|
|
43
|
+
|
|
44
|
+
let { body, node_id, stat, ...querystring } = params;
|
|
45
|
+
node_id = parsePathParam(node_id);
|
|
46
|
+
stat = parsePathParam(stat);
|
|
47
|
+
|
|
48
|
+
const path = ['/_plugins/_neural', node_id, 'stats', stat].filter(c => c != null).join('/');
|
|
49
|
+
const method = 'GET';
|
|
50
|
+
body = body || '';
|
|
51
|
+
|
|
52
|
+
return this.transport.request({ method, path, querystring, body }, options, callback);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
module.exports = statsFunc;
|
package/api/nodes/_api.js
CHANGED
|
@@ -18,17 +18,26 @@
|
|
|
18
18
|
|
|
19
19
|
/** @namespace API-Nodes */
|
|
20
20
|
|
|
21
|
+
// All operation modules are required once at module load time (not per
|
|
22
|
+
// instance) to avoid paying `require()` resolution cost on every Client
|
|
23
|
+
// construction.
|
|
24
|
+
const hotThreadsFn = require('./hotThreads');
|
|
25
|
+
const infoFn = require('./info');
|
|
26
|
+
const reloadSecureSettingsFn = require('./reloadSecureSettings');
|
|
27
|
+
const statsFn = require('./stats');
|
|
28
|
+
const usageFn = require('./usage');
|
|
29
|
+
|
|
21
30
|
function NodesApi(bindObj) {
|
|
22
|
-
this.hotThreads =
|
|
23
|
-
this.info =
|
|
24
|
-
this.reloadSecureSettings =
|
|
25
|
-
this.stats =
|
|
26
|
-
this.usage =
|
|
31
|
+
this.hotThreads = hotThreadsFn.bind(bindObj);
|
|
32
|
+
this.info = infoFn.bind(bindObj);
|
|
33
|
+
this.reloadSecureSettings = reloadSecureSettingsFn.bind(bindObj);
|
|
34
|
+
this.stats = statsFn.bind(bindObj);
|
|
35
|
+
this.usage = usageFn.bind(bindObj);
|
|
27
36
|
|
|
28
37
|
// Deprecated: Use hotThreads instead.
|
|
29
|
-
this.hot_threads =
|
|
38
|
+
this.hot_threads = hotThreadsFn.bind(bindObj);
|
|
30
39
|
// Deprecated: Use reloadSecureSettings instead.
|
|
31
|
-
this.reload_secure_settings =
|
|
40
|
+
this.reload_secure_settings = reloadSecureSettingsFn.bind(bindObj);
|
|
32
41
|
}
|
|
33
42
|
|
|
34
43
|
module.exports = NodesApi;
|
package/api/nodes/hotThreads.js
CHANGED
|
@@ -20,18 +20,18 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns information about hot threads on each node in the cluster.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/nodes-apis/nodes-hot-threads/ - nodes.hot_threads}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Nodes
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {boolean} [params.ignore_idle_threads=true] -
|
|
29
|
-
* @param {string} [params.interval] - The interval
|
|
30
|
-
* @param {number} [params.snapshots=10] -
|
|
31
|
-
* @param {number} [params.threads=3] -
|
|
32
|
-
* @param {string} [params.timeout] -
|
|
28
|
+
* @param {boolean} [params.ignore_idle_threads=true] - Whether to show threads that are in known-idle places, such as waiting on a socket select or pulling from an empty task queue.
|
|
29
|
+
* @param {string} [params.interval] - The time interval between thread stack trace samples.
|
|
30
|
+
* @param {number} [params.snapshots=10] - The number of thread stack trace samples to collect.
|
|
31
|
+
* @param {number} [params.threads=3] - The number of threads to provide information for.
|
|
32
|
+
* @param {string} [params.timeout] - The amount of time to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
|
|
33
33
|
* @param {string} [params.type] - The type to sample.
|
|
34
|
-
* @param {array} [params.node_id] -
|
|
34
|
+
* @param {array} [params.node_id] - A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes.
|
|
35
35
|
*
|
|
36
36
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
37
37
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/nodes/info.js
CHANGED
|
@@ -20,15 +20,15 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns information about nodes in the cluster.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/nodes-apis/nodes-info/ - nodes.info}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Nodes
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {boolean} [params.flat_settings=false] -
|
|
29
|
-
* @param {string} [params.timeout] -
|
|
28
|
+
* @param {boolean} [params.flat_settings=false] - When `true`, returns settings in flat format.
|
|
29
|
+
* @param {string} [params.timeout] - The amount of time to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
|
|
30
30
|
* @param {array} [params.metric] - Limits the information returned to the specific metrics. Supports a comma-separated list, such as `http,ingest`.
|
|
31
|
-
* @param {string} [params.node_id] -
|
|
31
|
+
* @param {string} [params.node_id] - A comma-separated list of node IDs or names used to limit returned information.
|
|
32
32
|
*
|
|
33
33
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
34
34
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -20,12 +20,12 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Reloads secure settings.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/nodes-apis/nodes-reload-secure/ - nodes.reload_secure_settings}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Nodes
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.timeout] -
|
|
28
|
+
* @param {string} [params.timeout] - The amount of time to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
|
|
29
29
|
* @param {string} [params.node_id] - The names of particular nodes in the cluster to target.
|
|
30
30
|
* @param {object} [params.body] - An object containing the password for the OpenSearch keystore.
|
|
31
31
|
*
|
package/api/nodes/stats.js
CHANGED
|
@@ -20,22 +20,22 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns statistical information about nodes in the cluster.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/nodes-apis/nodes-usage/ - nodes.stats}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Nodes
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.completion_fields] -
|
|
29
|
-
* @param {string} [params.fielddata_fields] -
|
|
30
|
-
* @param {string} [params.fields] -
|
|
31
|
-
* @param {array} [params.groups] -
|
|
32
|
-
* @param {boolean} [params.include_segment_file_sizes=false] -
|
|
28
|
+
* @param {string} [params.completion_fields] - A comma-separated list or wildcard expressions of fields to include in field data and suggest statistics.
|
|
29
|
+
* @param {string} [params.fielddata_fields] - A comma-separated list or wildcard expressions of fields to include in field data statistics.
|
|
30
|
+
* @param {string} [params.fields] - A comma-separated list or wildcard expressions of fields to include in the statistics.
|
|
31
|
+
* @param {array} [params.groups] - A comma-separated list of search groups to include in the search statistics.
|
|
32
|
+
* @param {boolean} [params.include_segment_file_sizes=false] - When `true`, reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).
|
|
33
33
|
* @param {string} [params.level] - Indicates whether statistics are aggregated at the cluster, index, or shard level.
|
|
34
|
-
* @param {string} [params.timeout] -
|
|
34
|
+
* @param {string} [params.timeout] - The amount of time to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
|
|
35
35
|
* @param {array} [params.types] - A comma-separated list of document types for the indexing index metric.
|
|
36
|
-
* @param {string} [params.node_id] -
|
|
37
|
-
* @param {array} [params.metric] - Limit the information returned to the specified metrics
|
|
38
|
-
* @param {array} [params.index_metric] - Limit the information returned for indexes metric to the
|
|
36
|
+
* @param {string} [params.node_id] - A comma-separated list of node IDs or names used to limit returned information.
|
|
37
|
+
* @param {array} [params.metric] - Limit the information returned to the specified metrics.
|
|
38
|
+
* @param {array} [params.index_metric] - Limit the information returned for indexes metric to the specified index metrics. It can be used only if indexes (or all) metric is specified.
|
|
39
39
|
*
|
|
40
40
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
41
41
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/nodes/usage.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns low-level information about REST actions usage on nodes.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/ - nodes.usage}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Nodes
|
|
26
26
|
*
|
|
@@ -18,35 +18,48 @@
|
|
|
18
18
|
|
|
19
19
|
/** @namespace API-Notifications */
|
|
20
20
|
|
|
21
|
+
// All operation modules are required once at module load time (not per
|
|
22
|
+
// instance) to avoid paying `require()` resolution cost on every Client
|
|
23
|
+
// construction.
|
|
24
|
+
const createConfigFn = require('./createConfig');
|
|
25
|
+
const deleteConfigFn = require('./deleteConfig');
|
|
26
|
+
const deleteConfigsFn = require('./deleteConfigs');
|
|
27
|
+
const getConfigFn = require('./getConfig');
|
|
28
|
+
const getConfigsFn = require('./getConfigs');
|
|
29
|
+
const listChannelsFn = require('./listChannels');
|
|
30
|
+
const listFeaturesFn = require('./listFeatures');
|
|
31
|
+
const sendTestFn = require('./sendTest');
|
|
32
|
+
const updateConfigFn = require('./updateConfig');
|
|
33
|
+
|
|
21
34
|
function NotificationsApi(bindObj) {
|
|
22
|
-
this.createConfig =
|
|
23
|
-
this.deleteConfig =
|
|
24
|
-
this.deleteConfigs =
|
|
25
|
-
this.getConfig =
|
|
26
|
-
this.getConfigs =
|
|
27
|
-
this.listChannels =
|
|
28
|
-
this.listFeatures =
|
|
29
|
-
this.sendTest =
|
|
30
|
-
this.updateConfig =
|
|
35
|
+
this.createConfig = createConfigFn.bind(bindObj);
|
|
36
|
+
this.deleteConfig = deleteConfigFn.bind(bindObj);
|
|
37
|
+
this.deleteConfigs = deleteConfigsFn.bind(bindObj);
|
|
38
|
+
this.getConfig = getConfigFn.bind(bindObj);
|
|
39
|
+
this.getConfigs = getConfigsFn.bind(bindObj);
|
|
40
|
+
this.listChannels = listChannelsFn.bind(bindObj);
|
|
41
|
+
this.listFeatures = listFeaturesFn.bind(bindObj);
|
|
42
|
+
this.sendTest = sendTestFn.bind(bindObj);
|
|
43
|
+
this.updateConfig = updateConfigFn.bind(bindObj);
|
|
31
44
|
|
|
32
45
|
// Deprecated: Use createConfig instead.
|
|
33
|
-
this.create_config =
|
|
46
|
+
this.create_config = createConfigFn.bind(bindObj);
|
|
34
47
|
// Deprecated: Use deleteConfig instead.
|
|
35
|
-
this.delete_config =
|
|
48
|
+
this.delete_config = deleteConfigFn.bind(bindObj);
|
|
36
49
|
// Deprecated: Use deleteConfigs instead.
|
|
37
|
-
this.delete_configs =
|
|
50
|
+
this.delete_configs = deleteConfigsFn.bind(bindObj);
|
|
38
51
|
// Deprecated: Use getConfig instead.
|
|
39
|
-
this.get_config =
|
|
52
|
+
this.get_config = getConfigFn.bind(bindObj);
|
|
40
53
|
// Deprecated: Use getConfigs instead.
|
|
41
|
-
this.get_configs =
|
|
54
|
+
this.get_configs = getConfigsFn.bind(bindObj);
|
|
42
55
|
// Deprecated: Use listChannels instead.
|
|
43
|
-
this.list_channels =
|
|
56
|
+
this.list_channels = listChannelsFn.bind(bindObj);
|
|
44
57
|
// Deprecated: Use listFeatures instead.
|
|
45
|
-
this.list_features =
|
|
58
|
+
this.list_features = listFeaturesFn.bind(bindObj);
|
|
46
59
|
// Deprecated: Use sendTest instead.
|
|
47
|
-
this.send_test =
|
|
60
|
+
this.send_test = sendTestFn.bind(bindObj);
|
|
48
61
|
// Deprecated: Use updateConfig instead.
|
|
49
|
-
this.update_config =
|
|
62
|
+
this.update_config = updateConfigFn.bind(bindObj);
|
|
50
63
|
}
|
|
51
64
|
|
|
52
65
|
module.exports = NotificationsApi;
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Create channel configuration.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/observing-your-data/notifications/api/#create-channel-configuration - notifications.create_config}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Notifications
|
|
26
26
|
*
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Delete a channel configuration.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/observing-your-data/notifications/api/#delete-channel-configuration - notifications.delete_config}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Notifications
|
|
26
26
|
*
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Delete multiple channel configurations.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/observing-your-data/notifications/api/#delete-channel-configuration - notifications.delete_configs}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Notifications
|
|
26
26
|
*
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Get multiple channel configurations with filtering.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/observing-your-data/notifications/api/#list-all-notification-configurations - notifications.get_configs}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Notifications
|
|
26
26
|
*
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* List created notification channels.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/observing-your-data/notifications/api/#list-all-notification-channels - notifications.list_channels}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Notifications
|
|
26
26
|
*
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* List supported channel configurations.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/observing-your-data/notifications/api/#list-supported-channel-configurations - notifications.list_features}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Notifications
|
|
26
26
|
*
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Send a test notification.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/observing-your-data/notifications/api/#send-test-notification - notifications.send_test}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Notifications
|
|
26
26
|
*
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Update channel configuration.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/observing-your-data/notifications/api/#update-channel-configuration - notifications.update_config}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Notifications
|
|
26
26
|
*
|
|
@@ -18,29 +18,40 @@
|
|
|
18
18
|
|
|
19
19
|
/** @namespace API-Observability */
|
|
20
20
|
|
|
21
|
+
// All operation modules are required once at module load time (not per
|
|
22
|
+
// instance) to avoid paying `require()` resolution cost on every Client
|
|
23
|
+
// construction.
|
|
24
|
+
const createObjectFn = require('./createObject');
|
|
25
|
+
const deleteObjectFn = require('./deleteObject');
|
|
26
|
+
const deleteObjectsFn = require('./deleteObjects');
|
|
27
|
+
const getLocalstatsFn = require('./getLocalstats');
|
|
28
|
+
const getObjectFn = require('./getObject');
|
|
29
|
+
const listObjectsFn = require('./listObjects');
|
|
30
|
+
const updateObjectFn = require('./updateObject');
|
|
31
|
+
|
|
21
32
|
function ObservabilityApi(bindObj) {
|
|
22
|
-
this.createObject =
|
|
23
|
-
this.deleteObject =
|
|
24
|
-
this.deleteObjects =
|
|
25
|
-
this.getLocalstats =
|
|
26
|
-
this.getObject =
|
|
27
|
-
this.listObjects =
|
|
28
|
-
this.updateObject =
|
|
33
|
+
this.createObject = createObjectFn.bind(bindObj);
|
|
34
|
+
this.deleteObject = deleteObjectFn.bind(bindObj);
|
|
35
|
+
this.deleteObjects = deleteObjectsFn.bind(bindObj);
|
|
36
|
+
this.getLocalstats = getLocalstatsFn.bind(bindObj);
|
|
37
|
+
this.getObject = getObjectFn.bind(bindObj);
|
|
38
|
+
this.listObjects = listObjectsFn.bind(bindObj);
|
|
39
|
+
this.updateObject = updateObjectFn.bind(bindObj);
|
|
29
40
|
|
|
30
41
|
// Deprecated: Use createObject instead.
|
|
31
|
-
this.create_object =
|
|
42
|
+
this.create_object = createObjectFn.bind(bindObj);
|
|
32
43
|
// Deprecated: Use deleteObject instead.
|
|
33
|
-
this.delete_object =
|
|
44
|
+
this.delete_object = deleteObjectFn.bind(bindObj);
|
|
34
45
|
// Deprecated: Use deleteObjects instead.
|
|
35
|
-
this.delete_objects =
|
|
46
|
+
this.delete_objects = deleteObjectsFn.bind(bindObj);
|
|
36
47
|
// Deprecated: Use getLocalstats instead.
|
|
37
|
-
this.get_localstats =
|
|
48
|
+
this.get_localstats = getLocalstatsFn.bind(bindObj);
|
|
38
49
|
// Deprecated: Use getObject instead.
|
|
39
|
-
this.get_object =
|
|
50
|
+
this.get_object = getObjectFn.bind(bindObj);
|
|
40
51
|
// Deprecated: Use listObjects instead.
|
|
41
|
-
this.list_objects =
|
|
52
|
+
this.list_objects = listObjectsFn.bind(bindObj);
|
|
42
53
|
// Deprecated: Use updateObject instead.
|
|
43
|
-
this.update_object =
|
|
54
|
+
this.update_object = updateObjectFn.bind(bindObj);
|
|
44
55
|
}
|
|
45
56
|
|
|
46
57
|
module.exports = ObservabilityApi;
|