@opensearch-project/opensearch 3.0.0-beta.6 → 3.0.0-beta.7
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/{lib → api}/OpenSearchAPI.d.ts +129 -9
- package/api/OpenSearchAPI.js +185 -0
- package/api/_core/bulk.d.ts +3 -2
- package/api/_core/bulk.js +4 -3
- package/api/_core/clearScroll.d.ts +3 -2
- package/api/_core/clearScroll.js +4 -3
- package/api/_core/count.d.ts +4 -2
- package/api/_core/count.js +4 -3
- package/api/_core/create.d.ts +3 -2
- package/api/_core/create.js +4 -3
- package/api/_core/createPit.d.ts +3 -2
- package/api/_core/createPit.js +4 -3
- package/api/_core/delete.d.ts +3 -2
- package/api/_core/delete.js +4 -3
- package/api/_core/deleteAllPits.d.ts +3 -2
- package/api/_core/deleteAllPits.js +4 -3
- package/api/_core/deleteByQuery.d.ts +3 -2
- package/api/_core/deleteByQuery.js +5 -4
- package/api/_core/deleteByQueryRethrottle.d.ts +3 -2
- package/api/_core/deleteByQueryRethrottle.js +4 -3
- package/api/_core/deletePit.d.ts +3 -2
- package/api/_core/deletePit.js +4 -3
- package/api/_core/deleteScript.d.ts +3 -2
- package/api/_core/deleteScript.js +4 -3
- package/api/_core/exists.d.ts +3 -2
- package/api/_core/exists.js +4 -3
- package/api/_core/existsSource.d.ts +3 -2
- package/api/_core/existsSource.js +4 -3
- package/api/_core/explain.d.ts +3 -2
- package/api/_core/explain.js +4 -3
- package/api/_core/fieldCaps.d.ts +3 -2
- package/api/_core/fieldCaps.js +4 -3
- package/api/_core/get.d.ts +3 -2
- package/api/_core/get.js +4 -3
- package/api/_core/getAllPits.d.ts +3 -2
- package/api/_core/getAllPits.js +4 -3
- package/api/_core/getScript.d.ts +3 -2
- package/api/_core/getScript.js +4 -3
- package/api/_core/getScriptContext.d.ts +3 -2
- package/api/_core/getScriptContext.js +4 -3
- package/api/_core/getScriptLanguages.d.ts +3 -2
- package/api/_core/getScriptLanguages.js +4 -3
- package/api/_core/getSource.d.ts +3 -2
- package/api/_core/getSource.js +4 -3
- package/api/_core/index.d.ts +3 -2
- package/api/_core/index.js +4 -3
- package/api/_core/info.d.ts +3 -2
- package/api/_core/info.js +4 -3
- package/api/_core/mget.d.ts +3 -2
- package/api/_core/mget.js +4 -3
- package/api/_core/msearch.d.ts +3 -2
- package/api/_core/msearch.js +4 -3
- package/api/_core/msearchTemplate.d.ts +3 -2
- package/api/_core/msearchTemplate.js +4 -3
- package/api/_core/mtermvectors.d.ts +3 -2
- package/api/_core/mtermvectors.js +4 -3
- package/api/_core/ping.d.ts +3 -2
- package/api/_core/ping.js +4 -3
- package/api/_core/putScript.d.ts +3 -2
- package/api/_core/putScript.js +4 -3
- package/api/_core/rankEval.d.ts +3 -2
- package/api/_core/rankEval.js +4 -3
- package/api/_core/reindex.d.ts +3 -2
- package/api/_core/reindex.js +5 -4
- package/api/_core/reindexRethrottle.d.ts +3 -2
- package/api/_core/reindexRethrottle.js +4 -3
- package/api/_core/renderSearchTemplate.d.ts +3 -2
- package/api/_core/renderSearchTemplate.js +4 -3
- package/api/_core/scriptsPainlessExecute.d.ts +3 -2
- package/api/_core/scriptsPainlessExecute.js +4 -3
- package/api/_core/scroll.d.ts +3 -2
- package/api/_core/scroll.js +4 -3
- package/api/_core/search.d.ts +4 -3
- package/api/_core/search.js +4 -3
- package/api/_core/searchShards.d.ts +3 -2
- package/api/_core/searchShards.js +4 -3
- package/api/_core/searchTemplate.d.ts +3 -2
- package/api/_core/searchTemplate.js +4 -3
- package/api/_core/termvectors.d.ts +3 -2
- package/api/_core/termvectors.js +4 -3
- package/api/_core/update.d.ts +3 -2
- package/api/_core/update.js +4 -3
- package/api/_core/updateByQuery.d.ts +3 -2
- package/api/_core/updateByQuery.js +5 -4
- package/api/_core/updateByQueryRethrottle.d.ts +3 -2
- package/api/_core/updateByQueryRethrottle.js +4 -3
- package/api/_types/_common.aggregations.d.ts +3 -2
- package/api/_types/_common.analysis.d.ts +3 -2
- package/api/_types/_common.d.ts +96 -97
- package/api/_types/_common.mapping.d.ts +36 -18
- package/api/_types/_common.query_dsl.d.ts +62 -18
- package/api/_types/_core._common.d.ts +3 -2
- package/api/_types/_core.bulk.d.ts +3 -2
- package/api/_types/_core.explain.d.ts +3 -2
- package/api/_types/_core.field_caps.d.ts +3 -2
- package/api/_types/_core.get.d.ts +3 -2
- package/api/_types/_core.get_script_context.d.ts +3 -2
- package/api/_types/_core.get_script_languages.d.ts +3 -2
- package/api/_types/_core.mget.d.ts +3 -2
- package/api/_types/_core.msearch.d.ts +5 -4
- package/api/_types/_core.msearch_template.d.ts +3 -2
- package/api/_types/_core.mtermvectors.d.ts +3 -2
- package/api/_types/_core.rank_eval.d.ts +3 -2
- package/api/_types/_core.reindex.d.ts +3 -2
- package/api/_types/_core.reindex_rethrottle.d.ts +3 -2
- package/api/_types/_core.scripts_painless_execute.d.ts +3 -2
- package/api/_types/_core.search.d.ts +3 -2
- package/api/_types/_core.search_shards.d.ts +3 -2
- package/api/_types/_core.termvectors.d.ts +3 -2
- package/api/_types/_core.update.d.ts +3 -2
- package/api/_types/_core.update_by_query_rethrottle.d.ts +3 -2
- package/api/_types/_global.d.ts +3 -2
- package/api/_types/asynchronous_search._common.d.ts +87 -0
- package/api/_types/cat._common.d.ts +3 -2
- package/api/_types/cat.aliases.d.ts +3 -2
- package/api/_types/cat.allocation.d.ts +7 -6
- package/api/_types/cat.cluster_manager.d.ts +3 -2
- package/api/_types/cat.count.d.ts +3 -2
- package/api/_types/cat.fielddata.d.ts +3 -2
- package/api/_types/cat.health.d.ts +3 -2
- package/api/_types/cat.indices.d.ts +133 -128
- package/api/_types/cat.master.d.ts +3 -2
- package/api/_types/cat.nodeattrs.d.ts +3 -2
- package/api/_types/cat.nodes.d.ts +13 -5
- package/api/_types/cat.pending_tasks.d.ts +3 -2
- package/api/_types/cat.plugins.d.ts +3 -2
- package/api/_types/cat.recovery.d.ts +5 -4
- package/api/_types/cat.repositories.d.ts +3 -2
- package/api/_types/cat.segments.d.ts +5 -4
- package/api/_types/cat.shards.d.ts +80 -70
- package/api/_types/cat.snapshots.d.ts +3 -2
- package/api/_types/cat.tasks.d.ts +3 -2
- package/api/_types/cat.templates.d.ts +3 -2
- package/api/_types/cat.thread_pool.d.ts +4 -2
- package/api/_types/cluster._common.d.ts +3 -2
- package/api/_types/cluster.allocation_explain.d.ts +11 -7
- package/api/_types/cluster.decommission_awareness.d.ts +21 -0
- package/api/_types/cluster.health.d.ts +15 -2
- package/api/_types/cluster.pending_tasks.d.ts +3 -2
- package/api/_types/cluster.remote_info.d.ts +3 -2
- package/api/_types/cluster.reroute.d.ts +3 -2
- package/api/_types/cluster.state.d.ts +3 -2
- package/api/_types/cluster.stats.d.ts +43 -29
- package/api/_types/cluster.weighted_routing.d.ts +30 -0
- package/api/_types/dangling_indices.list_dangling_indices.d.ts +3 -2
- package/api/_types/flow_framework.common.d.ts +71 -0
- package/api/_types/flow_framework.errors.d.ts +35 -0
- package/api/_types/indices._common.d.ts +9 -8
- package/api/_types/indices.add_block.d.ts +3 -2
- package/api/_types/indices.analyze.d.ts +3 -2
- package/api/_types/indices.close.d.ts +3 -2
- package/api/_types/indices.data_streams_stats.d.ts +5 -4
- package/api/_types/indices.get_alias.d.ts +3 -2
- package/api/_types/indices.get_field_mapping.d.ts +3 -2
- package/api/_types/indices.get_index_template.d.ts +3 -2
- package/api/_types/indices.get_mapping.d.ts +3 -2
- package/api/_types/indices.put_index_template.d.ts +3 -2
- package/api/_types/indices.recovery.d.ts +11 -10
- package/api/_types/indices.resolve_index.d.ts +3 -2
- package/api/_types/indices.rollover.d.ts +11 -10
- package/api/_types/indices.segments.d.ts +8 -4
- package/api/_types/indices.shard_stores.d.ts +3 -2
- package/api/_types/indices.simulate_template.d.ts +3 -2
- package/api/_types/indices.stats.d.ts +27 -66
- package/api/_types/indices.update_aliases.d.ts +3 -2
- package/api/_types/indices.validate_query.d.ts +3 -2
- package/api/_types/ingest._common.d.ts +3 -2
- package/api/_types/ingest.simulate.d.ts +3 -2
- package/api/_types/knn._common.d.ts +3 -2
- package/api/_types/ml._common.d.ts +14 -3
- package/api/_types/nodes._common.d.ts +112 -77
- package/api/_types/nodes.info.d.ts +36 -35
- package/api/_types/nodes.reload_secure_settings.d.ts +3 -2
- package/api/_types/nodes.stats.d.ts +3 -2
- package/api/_types/nodes.usage.d.ts +3 -2
- package/api/_types/notifications._common.d.ts +3 -2
- package/api/_types/observability._common.d.ts +117 -0
- package/api/_types/query._common.d.ts +66 -0
- package/api/_types/remote_store._common.d.ts +3 -2
- package/api/_types/rollups._common.d.ts +3 -2
- package/api/_types/search_pipeline._common.d.ts +101 -3
- package/api/_types/security._common.d.ts +82 -64
- package/api/_types/snapshot._common.d.ts +7 -6
- package/api/_types/snapshot.cleanup_repository.d.ts +3 -2
- package/api/_types/snapshot.get.d.ts +3 -2
- package/api/_types/snapshot.restore.d.ts +3 -2
- package/api/_types/snapshot.verify_repository.d.ts +3 -2
- package/api/_types/sql._common.d.ts +3 -2
- package/api/_types/tasks._common.d.ts +3 -2
- package/api/_types/transforms._common.d.ts +3 -2
- package/api/asynchronousSearch/_api.js +29 -0
- package/api/asynchronousSearch/delete.d.ts +31 -0
- package/api/asynchronousSearch/delete.js +49 -0
- package/api/asynchronousSearch/get.d.ts +30 -0
- package/api/asynchronousSearch/get.js +49 -0
- package/api/asynchronousSearch/search.d.ts +34 -0
- package/api/asynchronousSearch/search.js +51 -0
- package/api/asynchronousSearch/stats.d.ts +28 -0
- package/api/asynchronousSearch/stats.js +45 -0
- package/api/cat/_api.js +16 -3
- package/api/cat/aliases.d.ts +3 -2
- package/api/cat/aliases.js +4 -3
- package/api/cat/allPitSegments.d.ts +4 -3
- package/api/cat/allPitSegments.js +4 -3
- package/api/cat/allocation.d.ts +4 -3
- package/api/cat/allocation.js +4 -3
- package/api/cat/clusterManager.d.ts +3 -2
- package/api/cat/clusterManager.js +4 -3
- package/api/cat/count.d.ts +3 -2
- package/api/cat/count.js +4 -3
- package/api/cat/fielddata.d.ts +4 -3
- package/api/cat/fielddata.js +4 -3
- package/api/cat/health.d.ts +3 -2
- package/api/cat/health.js +4 -3
- package/api/cat/help.d.ts +3 -2
- package/api/cat/help.js +4 -3
- package/api/cat/indices.d.ts +4 -3
- package/api/cat/indices.js +4 -3
- package/api/cat/master.d.ts +3 -2
- package/api/cat/master.js +4 -3
- package/api/cat/nodeattrs.d.ts +3 -2
- package/api/cat/nodeattrs.js +4 -3
- package/api/cat/nodes.d.ts +4 -3
- package/api/cat/nodes.js +4 -3
- package/api/cat/pendingTasks.d.ts +3 -2
- package/api/cat/pendingTasks.js +4 -3
- package/api/cat/pitSegments.d.ts +4 -3
- package/api/cat/pitSegments.js +4 -3
- package/api/cat/plugins.d.ts +3 -2
- package/api/cat/plugins.js +4 -3
- package/api/cat/recovery.d.ts +4 -3
- package/api/cat/recovery.js +4 -3
- package/api/cat/repositories.d.ts +3 -2
- package/api/cat/repositories.js +4 -3
- package/api/cat/segmentReplication.d.ts +4 -3
- package/api/cat/segmentReplication.js +4 -3
- package/api/cat/segments.d.ts +4 -3
- package/api/cat/segments.js +4 -3
- package/api/cat/shards.d.ts +4 -3
- package/api/cat/shards.js +4 -3
- package/api/cat/snapshots.d.ts +3 -2
- package/api/cat/snapshots.js +4 -3
- package/api/cat/tasks.d.ts +3 -2
- package/api/cat/tasks.js +4 -3
- package/api/cat/templates.d.ts +3 -2
- package/api/cat/templates.js +4 -3
- package/api/cat/threadPool.d.ts +3 -2
- package/api/cat/threadPool.js +5 -4
- package/api/cluster/_api.js +38 -3
- package/api/cluster/allocationExplain.d.ts +3 -2
- package/api/cluster/allocationExplain.js +4 -3
- package/api/cluster/deleteComponentTemplate.d.ts +3 -2
- package/api/cluster/deleteComponentTemplate.js +4 -3
- package/api/cluster/deleteDecommissionAwareness.d.ts +5 -3
- package/api/cluster/deleteDecommissionAwareness.js +4 -3
- package/api/cluster/deleteVotingConfigExclusions.d.ts +3 -2
- package/api/cluster/deleteVotingConfigExclusions.js +4 -3
- package/api/cluster/deleteWeightedRouting.d.ts +9 -4
- package/api/cluster/deleteWeightedRouting.js +7 -4
- package/api/cluster/existsComponentTemplate.d.ts +3 -2
- package/api/cluster/existsComponentTemplate.js +4 -3
- package/api/cluster/getComponentTemplate.d.ts +3 -2
- package/api/cluster/getComponentTemplate.js +4 -3
- package/api/cluster/getDecommissionAwareness.d.ts +5 -3
- package/api/cluster/getDecommissionAwareness.js +4 -3
- package/api/cluster/getSettings.d.ts +6 -5
- package/api/cluster/getSettings.js +4 -3
- package/api/cluster/getWeightedRouting.d.ts +5 -3
- package/api/cluster/getWeightedRouting.js +4 -3
- package/api/cluster/health.d.ts +3 -2
- package/api/cluster/health.js +4 -3
- package/api/cluster/pendingTasks.d.ts +3 -2
- package/api/cluster/pendingTasks.js +4 -3
- package/api/cluster/postVotingConfigExclusions.d.ts +3 -2
- package/api/cluster/postVotingConfigExclusions.js +4 -3
- package/api/cluster/putComponentTemplate.d.ts +3 -2
- package/api/cluster/putComponentTemplate.js +4 -3
- package/api/cluster/putDecommissionAwareness.d.ts +5 -3
- package/api/cluster/putDecommissionAwareness.js +4 -3
- package/api/cluster/putSettings.d.ts +3 -2
- package/api/cluster/putSettings.js +4 -3
- package/api/cluster/putWeightedRouting.d.ts +5 -2
- package/api/cluster/putWeightedRouting.js +5 -3
- package/api/cluster/remoteInfo.d.ts +3 -2
- package/api/cluster/remoteInfo.js +4 -3
- package/api/cluster/reroute.d.ts +3 -2
- package/api/cluster/reroute.js +4 -3
- package/api/cluster/state.d.ts +3 -2
- package/api/cluster/state.js +4 -3
- package/api/cluster/stats.d.ts +3 -2
- package/api/cluster/stats.js +4 -3
- package/api/danglingIndices/_api.js +12 -5
- package/api/danglingIndices/deleteDanglingIndex.d.ts +3 -2
- package/api/danglingIndices/deleteDanglingIndex.js +4 -3
- package/api/danglingIndices/importDanglingIndex.d.ts +3 -2
- package/api/danglingIndices/importDanglingIndex.js +4 -3
- package/api/danglingIndices/listDanglingIndices.d.ts +3 -2
- package/api/danglingIndices/listDanglingIndices.js +4 -3
- package/api/flowFramework/_api.js +29 -0
- package/api/flowFramework/create.d.ts +36 -0
- package/api/flowFramework/create.js +51 -0
- package/api/flowFramework/delete.d.ts +30 -0
- package/api/flowFramework/delete.js +50 -0
- package/api/flowFramework/get.d.ts +29 -0
- package/api/flowFramework/get.js +49 -0
- package/api/flowFramework/update.d.ts +34 -0
- package/api/flowFramework/update.js +51 -0
- package/api/http/_api.js +4 -3
- package/api/http/connect.js +3 -2
- package/api/http/delete.js +3 -2
- package/api/http/get.js +3 -2
- package/api/http/head.js +3 -2
- package/api/http/options.js +3 -2
- package/api/http/patch.js +3 -2
- package/api/http/post.js +3 -2
- package/api/http/put.js +3 -2
- package/api/http/trace.js +3 -2
- package/api/index.d.ts +55 -6
- package/api/indices/_api.js +64 -3
- package/api/indices/addBlock.d.ts +3 -2
- package/api/indices/addBlock.js +4 -3
- package/api/indices/analyze.d.ts +3 -2
- package/api/indices/analyze.js +4 -3
- package/api/indices/clearCache.d.ts +3 -2
- package/api/indices/clearCache.js +4 -3
- package/api/indices/clone.d.ts +3 -2
- package/api/indices/clone.js +4 -3
- package/api/indices/close.d.ts +3 -2
- package/api/indices/close.js +4 -3
- package/api/indices/create.d.ts +3 -2
- package/api/indices/create.js +4 -3
- package/api/indices/createDataStream.d.ts +3 -2
- package/api/indices/createDataStream.js +4 -3
- package/api/indices/dataStreamsStats.d.ts +5 -4
- package/api/indices/dataStreamsStats.js +4 -3
- package/api/indices/delete.d.ts +3 -2
- package/api/indices/delete.js +4 -3
- package/api/indices/deleteAlias.d.ts +3 -2
- package/api/indices/deleteAlias.js +4 -3
- package/api/indices/deleteDataStream.d.ts +3 -2
- package/api/indices/deleteDataStream.js +4 -3
- package/api/indices/deleteIndexTemplate.d.ts +3 -2
- package/api/indices/deleteIndexTemplate.js +4 -3
- package/api/indices/deleteTemplate.d.ts +3 -2
- package/api/indices/deleteTemplate.js +4 -3
- package/api/indices/exists.d.ts +3 -2
- package/api/indices/exists.js +4 -3
- package/api/indices/existsAlias.d.ts +3 -2
- package/api/indices/existsAlias.js +4 -3
- package/api/indices/existsIndexTemplate.d.ts +3 -2
- package/api/indices/existsIndexTemplate.js +4 -3
- package/api/indices/existsTemplate.d.ts +3 -2
- package/api/indices/existsTemplate.js +4 -3
- package/api/indices/flush.d.ts +3 -2
- package/api/indices/flush.js +4 -3
- package/api/indices/forcemerge.d.ts +3 -2
- package/api/indices/forcemerge.js +4 -3
- package/api/indices/get.d.ts +3 -2
- package/api/indices/get.js +4 -3
- package/api/indices/getAlias.d.ts +3 -2
- package/api/indices/getAlias.js +4 -3
- package/api/indices/getDataStream.d.ts +3 -2
- package/api/indices/getDataStream.js +4 -3
- package/api/indices/getFieldMapping.d.ts +3 -2
- package/api/indices/getFieldMapping.js +4 -3
- package/api/indices/getIndexTemplate.d.ts +3 -2
- package/api/indices/getIndexTemplate.js +4 -3
- package/api/indices/getMapping.d.ts +3 -2
- package/api/indices/getMapping.js +4 -3
- package/api/indices/getSettings.d.ts +3 -2
- package/api/indices/getSettings.js +4 -3
- package/api/indices/getTemplate.d.ts +3 -2
- package/api/indices/getTemplate.js +4 -3
- package/api/indices/getUpgrade.d.ts +3 -2
- package/api/indices/getUpgrade.js +4 -3
- package/api/indices/open.d.ts +3 -2
- package/api/indices/open.js +4 -3
- package/api/indices/putAlias.d.ts +3 -2
- package/api/indices/putAlias.js +4 -3
- package/api/indices/putIndexTemplate.d.ts +3 -2
- package/api/indices/putIndexTemplate.js +4 -3
- package/api/indices/putMapping.d.ts +3 -2
- package/api/indices/putMapping.js +4 -3
- package/api/indices/putSettings.d.ts +3 -2
- package/api/indices/putSettings.js +4 -3
- package/api/indices/putTemplate.d.ts +3 -2
- package/api/indices/putTemplate.js +4 -3
- package/api/indices/recovery.d.ts +3 -2
- package/api/indices/recovery.js +4 -3
- package/api/indices/refresh.d.ts +3 -2
- package/api/indices/refresh.js +4 -3
- package/api/indices/resolveIndex.d.ts +3 -2
- package/api/indices/resolveIndex.js +4 -3
- package/api/indices/rollover.d.ts +3 -2
- package/api/indices/rollover.js +4 -3
- package/api/indices/segments.d.ts +3 -2
- package/api/indices/segments.js +4 -3
- package/api/indices/shardStores.d.ts +3 -2
- package/api/indices/shardStores.js +4 -3
- package/api/indices/shrink.d.ts +3 -2
- package/api/indices/shrink.js +4 -3
- package/api/indices/simulateIndexTemplate.d.ts +3 -2
- package/api/indices/simulateIndexTemplate.js +4 -3
- package/api/indices/simulateTemplate.d.ts +3 -2
- package/api/indices/simulateTemplate.js +4 -3
- package/api/indices/split.d.ts +3 -2
- package/api/indices/split.js +4 -3
- package/api/indices/stats.d.ts +4 -3
- package/api/indices/stats.js +4 -3
- package/api/indices/updateAliases.d.ts +3 -2
- package/api/indices/updateAliases.js +4 -3
- package/api/indices/upgrade.d.ts +3 -2
- package/api/indices/upgrade.js +4 -3
- package/api/indices/validateQuery.d.ts +3 -2
- package/api/indices/validateQuery.js +4 -3
- package/api/ingest/_api.js +12 -3
- package/api/ingest/deletePipeline.d.ts +3 -2
- package/api/ingest/deletePipeline.js +4 -3
- package/api/ingest/getPipeline.d.ts +3 -2
- package/api/ingest/getPipeline.js +4 -3
- package/api/ingest/processorGrok.d.ts +3 -2
- package/api/ingest/processorGrok.js +4 -3
- package/api/ingest/putPipeline.d.ts +3 -2
- package/api/ingest/putPipeline.js +4 -3
- package/api/ingest/simulate.d.ts +3 -2
- package/api/ingest/simulate.js +4 -3
- package/api/knn/_api.js +12 -3
- package/api/knn/deleteModel.d.ts +3 -2
- package/api/knn/deleteModel.js +4 -3
- package/api/knn/getModel.d.ts +3 -2
- package/api/knn/getModel.js +4 -3
- package/api/knn/searchModels.d.ts +3 -2
- package/api/knn/searchModels.js +11 -10
- package/api/knn/stats.d.ts +3 -2
- package/api/knn/stats.js +4 -3
- package/api/knn/trainModel.d.ts +3 -2
- package/api/knn/trainModel.js +4 -3
- package/api/knn/warmup.d.ts +3 -2
- package/api/knn/warmup.js +4 -3
- package/api/ml/_api.js +27 -3
- package/api/ml/deleteModel.d.ts +5 -4
- package/api/ml/deleteModel.js +4 -3
- package/api/ml/deleteModelGroup.d.ts +5 -4
- package/api/ml/deleteModelGroup.js +4 -3
- package/api/ml/deleteTask.d.ts +30 -0
- package/api/ml/deleteTask.js +49 -0
- package/api/ml/deployModel.d.ts +33 -0
- package/api/{security/generateUserTokenLegacy.js → ml/deployModel.js} +14 -13
- package/api/ml/getModelGroup.d.ts +3 -2
- package/api/ml/getModelGroup.js +4 -3
- package/api/ml/getTask.d.ts +3 -2
- package/api/ml/getTask.js +4 -3
- package/api/ml/registerModel.d.ts +7 -4
- package/api/ml/registerModel.js +4 -3
- package/api/ml/registerModelGroup.d.ts +3 -2
- package/api/ml/registerModelGroup.js +4 -3
- package/api/ml/searchModels.d.ts +3 -2
- package/api/ml/searchModels.js +4 -3
- package/api/ml/undeployModel.d.ts +30 -0
- package/api/ml/undeployModel.js +49 -0
- package/api/nodes/_api.js +8 -3
- package/api/nodes/hotThreads.d.ts +3 -2
- package/api/nodes/hotThreads.js +6 -5
- package/api/nodes/info.d.ts +3 -2
- package/api/nodes/info.js +4 -3
- package/api/nodes/reloadSecureSettings.d.ts +3 -2
- package/api/nodes/reloadSecureSettings.js +4 -3
- package/api/nodes/stats.d.ts +3 -2
- package/api/nodes/stats.js +4 -3
- package/api/nodes/usage.d.ts +3 -2
- package/api/nodes/usage.js +4 -3
- package/api/notifications/_api.js +22 -3
- package/api/notifications/createConfig.d.ts +3 -2
- package/api/notifications/createConfig.js +4 -3
- package/api/notifications/deleteConfig.d.ts +3 -2
- package/api/notifications/deleteConfig.js +4 -3
- package/api/notifications/deleteConfigs.d.ts +3 -2
- package/api/notifications/deleteConfigs.js +4 -3
- package/api/notifications/getConfig.d.ts +3 -2
- package/api/notifications/getConfig.js +4 -3
- package/api/notifications/getConfigs.d.ts +3 -2
- package/api/notifications/getConfigs.js +6 -5
- package/api/notifications/listChannels.d.ts +3 -2
- package/api/notifications/listChannels.js +4 -3
- package/api/notifications/listFeatures.d.ts +3 -2
- package/api/notifications/listFeatures.js +4 -3
- package/api/notifications/sendTest.d.ts +3 -2
- package/api/notifications/sendTest.js +4 -3
- package/api/notifications/updateConfig.d.ts +3 -2
- package/api/notifications/updateConfig.js +4 -3
- package/api/observability/_api.js +46 -0
- package/api/observability/createObject.d.ts +32 -0
- package/api/observability/createObject.js +47 -0
- package/api/observability/deleteObject.d.ts +31 -0
- package/api/observability/deleteObject.js +49 -0
- package/api/observability/deleteObjects.d.ts +32 -0
- package/api/observability/deleteObjects.js +48 -0
- package/api/observability/getLocalstats.d.ts +27 -0
- package/api/observability/getLocalstats.js +45 -0
- package/api/observability/getObject.d.ts +30 -0
- package/api/observability/getObject.js +49 -0
- package/api/observability/listObjects.d.ts +28 -0
- package/api/observability/listObjects.js +45 -0
- package/api/observability/updateObject.d.ts +33 -0
- package/api/observability/updateObject.js +50 -0
- package/api/ppl/_api.js +8 -3
- package/api/ppl/explain.d.ts +3 -2
- package/api/ppl/explain.js +4 -3
- package/api/ppl/getStats.d.ts +3 -2
- package/api/ppl/getStats.js +4 -3
- package/api/ppl/postStats.d.ts +3 -2
- package/api/ppl/postStats.js +4 -3
- package/api/ppl/query.d.ts +3 -2
- package/api/ppl/query.js +4 -3
- package/api/query/_api.js +40 -0
- package/api/query/datasourceDelete.d.ts +29 -0
- package/api/query/datasourceDelete.js +49 -0
- package/api/query/datasourceRetrieve.d.ts +30 -0
- package/api/query/datasourceRetrieve.js +49 -0
- package/api/query/datasourcesCreate.d.ts +30 -0
- package/api/query/datasourcesCreate.js +47 -0
- package/api/query/datasourcesList.d.ts +28 -0
- package/api/query/datasourcesList.js +45 -0
- package/api/query/datasourcesUpdate.d.ts +30 -0
- package/api/query/datasourcesUpdate.js +47 -0
- package/api/remoteStore/_api.js +6 -5
- package/api/remoteStore/restore.d.ts +3 -2
- package/api/remoteStore/restore.js +4 -3
- package/api/rollups/_api.js +4 -3
- package/api/rollups/delete.d.ts +3 -2
- package/api/rollups/delete.js +4 -3
- package/api/rollups/explain.d.ts +3 -2
- package/api/rollups/explain.js +4 -3
- package/api/rollups/get.d.ts +3 -2
- package/api/rollups/get.js +4 -3
- package/api/rollups/put.d.ts +3 -2
- package/api/rollups/put.js +4 -3
- package/api/rollups/start.d.ts +3 -2
- package/api/rollups/start.js +4 -3
- package/api/rollups/stop.d.ts +3 -2
- package/api/rollups/stop.js +4 -3
- package/api/searchPipeline/_api.js +6 -5
- package/api/searchPipeline/delete.d.ts +3 -2
- package/api/searchPipeline/delete.js +4 -3
- package/api/searchPipeline/get.d.ts +3 -2
- package/api/searchPipeline/get.js +4 -3
- package/api/searchPipeline/put.d.ts +3 -2
- package/api/searchPipeline/put.js +4 -3
- package/api/security/_api.js +146 -4
- package/api/security/authinfo.d.ts +3 -2
- package/api/security/authinfo.js +4 -3
- package/api/security/authtoken.d.ts +3 -2
- package/api/security/authtoken.js +4 -3
- package/api/security/changePassword.d.ts +3 -2
- package/api/security/changePassword.js +4 -3
- package/api/security/configUpgradeCheck.d.ts +3 -2
- package/api/security/configUpgradeCheck.js +5 -4
- package/api/security/configUpgradePerform.d.ts +3 -2
- package/api/security/configUpgradePerform.js +5 -4
- package/api/security/createActionGroup.d.ts +3 -2
- package/api/security/createActionGroup.js +4 -3
- package/api/security/createAllowlist.d.ts +3 -2
- package/api/security/createAllowlist.js +4 -3
- package/api/security/createRole.d.ts +3 -2
- package/api/security/createRole.js +5 -4
- package/api/security/createRoleMapping.d.ts +3 -2
- package/api/security/createRoleMapping.js +5 -4
- package/api/security/createTenant.d.ts +3 -2
- package/api/security/createTenant.js +5 -4
- package/api/security/createUpdateTenancyConfig.d.ts +4 -5
- package/api/security/createUpdateTenancyConfig.js +5 -4
- package/api/security/createUser.d.ts +3 -2
- package/api/security/createUser.js +5 -4
- package/api/security/createUserLegacy.d.ts +3 -2
- package/api/security/createUserLegacy.js +5 -4
- package/api/security/deleteActionGroup.d.ts +3 -2
- package/api/security/deleteActionGroup.js +5 -4
- package/api/security/deleteDistinguishedName.d.ts +3 -2
- package/api/security/deleteDistinguishedName.js +5 -4
- package/api/security/deleteRole.d.ts +3 -2
- package/api/security/deleteRole.js +5 -4
- package/api/security/deleteRoleMapping.d.ts +3 -2
- package/api/security/deleteRoleMapping.js +5 -4
- package/api/security/deleteTenant.d.ts +3 -2
- package/api/security/deleteTenant.js +5 -4
- package/api/security/deleteUser.d.ts +3 -2
- package/api/security/deleteUser.js +5 -4
- package/api/security/deleteUserLegacy.d.ts +3 -2
- package/api/security/deleteUserLegacy.js +5 -4
- package/api/security/flushCache.d.ts +3 -2
- package/api/security/flushCache.js +4 -3
- package/api/security/generateOboToken.d.ts +3 -2
- package/api/security/generateOboToken.js +4 -3
- package/api/security/generateUserToken.d.ts +3 -2
- package/api/security/generateUserToken.js +5 -4
- package/api/security/getAccountDetails.d.ts +3 -2
- package/api/security/getAccountDetails.js +4 -3
- package/api/security/getActionGroup.d.ts +3 -2
- package/api/security/getActionGroup.js +5 -4
- package/api/security/getActionGroups.d.ts +3 -2
- package/api/security/getActionGroups.js +4 -3
- package/api/security/getAllCertificates.d.ts +32 -0
- package/api/security/getAllCertificates.js +48 -0
- package/api/security/getAllowlist.d.ts +3 -2
- package/api/security/getAllowlist.js +4 -3
- package/api/security/getAuditConfiguration.d.ts +3 -2
- package/api/security/getAuditConfiguration.js +4 -3
- package/api/security/getCertificates.d.ts +3 -2
- package/api/security/getCertificates.js +4 -3
- package/api/security/getConfiguration.d.ts +4 -3
- package/api/security/getConfiguration.js +4 -3
- package/api/security/getDashboardsInfo.d.ts +3 -2
- package/api/security/getDashboardsInfo.js +4 -3
- package/api/security/getDistinguishedName.d.ts +3 -2
- package/api/security/getDistinguishedName.js +6 -5
- package/api/security/getDistinguishedNames.d.ts +3 -2
- package/api/security/getDistinguishedNames.js +5 -4
- package/api/security/getNodeCertificates.d.ts +33 -0
- package/api/security/getNodeCertificates.js +51 -0
- package/api/security/getPermissionsInfo.d.ts +3 -2
- package/api/security/getPermissionsInfo.js +4 -3
- package/api/security/getRole.d.ts +3 -2
- package/api/security/getRole.js +4 -3
- package/api/security/getRoleMapping.d.ts +3 -2
- package/api/security/getRoleMapping.js +4 -3
- package/api/security/getRoleMappings.d.ts +3 -2
- package/api/security/getRoleMappings.js +4 -3
- package/api/security/getRoles.d.ts +3 -2
- package/api/security/getRoles.js +4 -3
- package/api/security/getSslinfo.d.ts +4 -3
- package/api/security/getSslinfo.js +5 -4
- package/api/security/getTenancyConfig.d.ts +3 -2
- package/api/security/getTenancyConfig.js +4 -3
- package/api/security/getTenant.d.ts +3 -2
- package/api/security/getTenant.js +5 -4
- package/api/security/getTenants.d.ts +3 -2
- package/api/security/getTenants.js +4 -3
- package/api/security/getUser.d.ts +3 -2
- package/api/security/getUser.js +5 -4
- package/api/security/getUserLegacy.d.ts +3 -2
- package/api/security/getUserLegacy.js +5 -4
- package/api/security/getUsers.d.ts +3 -2
- package/api/security/getUsers.js +4 -3
- package/api/security/getUsersLegacy.d.ts +3 -2
- package/api/security/getUsersLegacy.js +4 -3
- package/api/security/health.d.ts +3 -2
- package/api/security/health.js +5 -4
- package/api/security/migrate.d.ts +3 -2
- package/api/security/migrate.js +4 -3
- package/api/security/patchActionGroup.d.ts +3 -2
- package/api/security/patchActionGroup.js +5 -4
- package/api/security/patchActionGroups.d.ts +3 -2
- package/api/security/patchActionGroups.js +4 -3
- package/api/security/patchAllowlist.d.ts +3 -2
- package/api/security/patchAllowlist.js +4 -3
- package/api/security/patchAuditConfiguration.d.ts +3 -2
- package/api/security/patchAuditConfiguration.js +4 -3
- package/api/security/patchConfiguration.d.ts +3 -2
- package/api/security/patchConfiguration.js +4 -3
- package/api/security/patchDistinguishedName.d.ts +3 -2
- package/api/security/patchDistinguishedName.js +5 -4
- package/api/security/patchDistinguishedNames.d.ts +3 -2
- package/api/security/patchDistinguishedNames.js +4 -3
- package/api/security/patchRole.d.ts +3 -2
- package/api/security/patchRole.js +5 -4
- package/api/security/patchRoleMapping.d.ts +3 -2
- package/api/security/patchRoleMapping.js +5 -4
- package/api/security/patchRoleMappings.d.ts +3 -2
- package/api/security/patchRoleMappings.js +4 -3
- package/api/security/patchRoles.d.ts +3 -2
- package/api/security/patchRoles.js +4 -3
- package/api/security/patchTenant.d.ts +3 -2
- package/api/security/patchTenant.js +5 -4
- package/api/security/patchTenants.d.ts +3 -2
- package/api/security/patchTenants.js +4 -3
- package/api/security/patchUser.d.ts +3 -2
- package/api/security/patchUser.js +5 -4
- package/api/security/patchUsers.d.ts +3 -2
- package/api/security/patchUsers.js +4 -3
- package/api/security/postDashboardsInfo.d.ts +4 -5
- package/api/security/postDashboardsInfo.js +5 -6
- package/api/security/reloadHttpCertificates.d.ts +3 -2
- package/api/security/reloadHttpCertificates.js +4 -3
- package/api/security/reloadTransportCertificates.d.ts +3 -2
- package/api/security/reloadTransportCertificates.js +4 -3
- package/api/security/tenantInfo.d.ts +3 -2
- package/api/security/tenantInfo.js +4 -3
- package/api/security/updateAuditConfiguration.d.ts +3 -2
- package/api/security/updateAuditConfiguration.js +4 -3
- package/api/security/updateConfiguration.d.ts +3 -2
- package/api/security/updateConfiguration.js +4 -3
- package/api/security/updateDistinguishedName.d.ts +4 -3
- package/api/security/updateDistinguishedName.js +5 -4
- package/api/security/validate.d.ts +3 -2
- package/api/security/validate.js +5 -4
- package/api/security/whoAmI.d.ts +3 -2
- package/api/security/whoAmI.js +4 -3
- package/api/security/whoAmIProtected.d.ts +3 -2
- package/api/security/whoAmIProtected.js +4 -3
- package/api/snapshot/_api.js +14 -3
- package/api/snapshot/cleanupRepository.d.ts +3 -2
- package/api/snapshot/cleanupRepository.js +4 -3
- package/api/snapshot/clone.d.ts +3 -2
- package/api/snapshot/clone.js +4 -3
- package/api/snapshot/create.d.ts +3 -2
- package/api/snapshot/create.js +4 -3
- package/api/snapshot/createRepository.d.ts +3 -2
- package/api/snapshot/createRepository.js +4 -3
- package/api/snapshot/delete.d.ts +3 -2
- package/api/snapshot/delete.js +4 -3
- package/api/snapshot/deleteRepository.d.ts +3 -2
- package/api/snapshot/deleteRepository.js +4 -3
- package/api/snapshot/get.d.ts +3 -2
- package/api/snapshot/get.js +4 -3
- package/api/snapshot/getRepository.d.ts +3 -2
- package/api/snapshot/getRepository.js +4 -3
- package/api/snapshot/restore.d.ts +3 -2
- package/api/snapshot/restore.js +4 -3
- package/api/snapshot/status.d.ts +3 -2
- package/api/snapshot/status.js +4 -3
- package/api/snapshot/verifyRepository.d.ts +3 -2
- package/api/snapshot/verifyRepository.js +4 -3
- package/api/sql/_api.js +8 -3
- package/api/sql/close.d.ts +3 -2
- package/api/sql/close.js +4 -3
- package/api/sql/explain.d.ts +3 -2
- package/api/sql/explain.js +4 -3
- package/api/sql/getStats.d.ts +3 -2
- package/api/sql/getStats.js +4 -3
- package/api/sql/postStats.d.ts +3 -2
- package/api/sql/postStats.js +4 -3
- package/api/sql/query.d.ts +3 -2
- package/api/sql/query.js +4 -3
- package/api/sql/settings.d.ts +3 -2
- package/api/sql/settings.js +4 -3
- package/api/tasks/_api.js +4 -3
- package/api/tasks/cancel.d.ts +3 -2
- package/api/tasks/cancel.js +4 -3
- package/api/tasks/get.d.ts +3 -2
- package/api/tasks/get.js +4 -3
- package/api/tasks/list.d.ts +3 -2
- package/api/tasks/list.js +4 -3
- package/api/transforms/_api.js +4 -3
- package/api/transforms/delete.d.ts +3 -2
- package/api/transforms/delete.js +4 -3
- package/api/transforms/explain.d.ts +3 -2
- package/api/transforms/explain.js +4 -3
- package/api/transforms/get.d.ts +3 -2
- package/api/transforms/get.js +4 -3
- package/api/transforms/preview.d.ts +3 -2
- package/api/transforms/preview.js +4 -3
- package/api/transforms/put.d.ts +3 -2
- package/api/transforms/put.js +4 -3
- package/api/transforms/search.d.ts +3 -2
- package/api/transforms/search.js +4 -3
- package/api/transforms/start.d.ts +3 -2
- package/api/transforms/start.js +4 -3
- package/api/transforms/stop.d.ts +3 -2
- package/api/transforms/stop.js +4 -3
- package/api/utils.js +7 -6
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/index.mjs +2 -0
- package/lib/Client.d.ts +2 -1
- package/lib/Client.js +35 -35
- package/lib/Helpers.d.ts +18 -21
- package/lib/Helpers.js +0 -2
- package/lib/errors.d.ts +13 -13
- package/package.json +11 -6
- package/CHANGELOG.md +0 -295
- package/NOTICE.txt +0 -8
- package/api/security/generateUserTokenLegacy.d.ts +0 -29
- package/lib/OpenSearchAPI.js +0 -117
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
import * as Common from './_common'
|
|
@@ -5,22 +5,23 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
import * as Common from './_common'
|
|
17
18
|
|
|
18
19
|
export interface AllocationRecord {
|
|
19
|
-
'disk.avail'?:
|
|
20
|
-
'disk.indices'?:
|
|
20
|
+
'disk.avail'?: undefined | string;
|
|
21
|
+
'disk.indices'?: undefined | string;
|
|
21
22
|
'disk.percent'?: Common.Percentage | undefined;
|
|
22
|
-
'disk.total'?:
|
|
23
|
-
'disk.used'?:
|
|
23
|
+
'disk.total'?: undefined | string;
|
|
24
|
+
'disk.used'?: undefined | string;
|
|
24
25
|
host?: Common.Host | undefined;
|
|
25
26
|
ip?: Common.Ip | undefined;
|
|
26
27
|
node?: string;
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
import * as Common from './_common'
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
import * as Common from './_common'
|
|
@@ -5,156 +5,161 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
export interface IndicesRecord {
|
|
18
|
-
'
|
|
19
|
-
'bulk.avg_time'?: string;
|
|
20
|
-
'bulk.total_operations'?: string;
|
|
21
|
-
'bulk.total_size_in_bytes'?: string;
|
|
22
|
-
'bulk.total_time'?: string;
|
|
23
|
-
'completion.size'?: string;
|
|
19
|
+
'completion.size'?: undefined | string;
|
|
24
20
|
'creation.date'?: string;
|
|
25
21
|
'creation.date.string'?: string;
|
|
26
22
|
'docs.count'?: undefined | string;
|
|
27
23
|
'docs.deleted'?: undefined | string;
|
|
28
|
-
'fielddata.evictions'?: string;
|
|
29
|
-
'fielddata.memory_size'?: string;
|
|
30
|
-
'flush.total'?: string;
|
|
31
|
-
'flush.total_time'?: string;
|
|
32
|
-
'get.current'?: string;
|
|
33
|
-
'get.exists_time'?: string;
|
|
34
|
-
'get.exists_total'?: string;
|
|
35
|
-
'get.missing_time'?: string;
|
|
36
|
-
'get.missing_total'?: string;
|
|
37
|
-
'get.time'?: string;
|
|
38
|
-
'get.total'?: string;
|
|
24
|
+
'fielddata.evictions'?: undefined | string;
|
|
25
|
+
'fielddata.memory_size'?: undefined | string;
|
|
26
|
+
'flush.total'?: undefined | string;
|
|
27
|
+
'flush.total_time'?: undefined | string;
|
|
28
|
+
'get.current'?: undefined | string;
|
|
29
|
+
'get.exists_time'?: undefined | string;
|
|
30
|
+
'get.exists_total'?: undefined | string;
|
|
31
|
+
'get.missing_time'?: undefined | string;
|
|
32
|
+
'get.missing_total'?: undefined | string;
|
|
33
|
+
'get.time'?: undefined | string;
|
|
34
|
+
'get.total'?: undefined | string;
|
|
39
35
|
health?: string;
|
|
40
36
|
index?: string;
|
|
41
|
-
'indexing.delete_current'?: string;
|
|
42
|
-
'indexing.delete_time'?: string;
|
|
43
|
-
'indexing.delete_total'?: string;
|
|
44
|
-
'indexing.index_current'?: string;
|
|
45
|
-
'indexing.index_failed'?: string;
|
|
46
|
-
'indexing.index_time'?: string;
|
|
47
|
-
'indexing.index_total'?: string;
|
|
37
|
+
'indexing.delete_current'?: undefined | string;
|
|
38
|
+
'indexing.delete_time'?: undefined | string;
|
|
39
|
+
'indexing.delete_total'?: undefined | string;
|
|
40
|
+
'indexing.index_current'?: undefined | string;
|
|
41
|
+
'indexing.index_failed'?: undefined | string;
|
|
42
|
+
'indexing.index_time'?: undefined | string;
|
|
43
|
+
'indexing.index_total'?: undefined | string;
|
|
48
44
|
'memory.total'?: string;
|
|
49
|
-
'merges.current'?: string;
|
|
50
|
-
'merges.current_docs'?: string;
|
|
51
|
-
'merges.current_size'?: string;
|
|
52
|
-
'merges.total'?: string;
|
|
53
|
-
'merges.total_docs'?: string;
|
|
54
|
-
'merges.total_size'?: string;
|
|
55
|
-
'merges.total_time'?: string;
|
|
45
|
+
'merges.current'?: undefined | string;
|
|
46
|
+
'merges.current_docs'?: undefined | string;
|
|
47
|
+
'merges.current_size'?: undefined | string;
|
|
48
|
+
'merges.total'?: undefined | string;
|
|
49
|
+
'merges.total_docs'?: undefined | string;
|
|
50
|
+
'merges.total_size'?: undefined | string;
|
|
51
|
+
'merges.total_time'?: undefined | string;
|
|
56
52
|
pri?: string;
|
|
57
|
-
'pri.
|
|
58
|
-
'pri.
|
|
59
|
-
'pri.
|
|
60
|
-
'pri.
|
|
61
|
-
'pri.
|
|
62
|
-
'pri.
|
|
63
|
-
'pri.
|
|
64
|
-
'pri.
|
|
65
|
-
'pri.
|
|
66
|
-
'pri.
|
|
67
|
-
'pri.get.
|
|
68
|
-
'pri.get.
|
|
69
|
-
'pri.
|
|
70
|
-
'pri.
|
|
71
|
-
'pri.
|
|
72
|
-
'pri.
|
|
73
|
-
'pri.
|
|
74
|
-
'pri.indexing.
|
|
75
|
-
'pri.indexing.
|
|
76
|
-
'pri.indexing.delete_total'?: string;
|
|
77
|
-
'pri.indexing.index_current'?: string;
|
|
78
|
-
'pri.indexing.index_failed'?: string;
|
|
79
|
-
'pri.indexing.index_time'?: string;
|
|
80
|
-
'pri.indexing.index_total'?: string;
|
|
53
|
+
'pri.completion.size'?: undefined | string;
|
|
54
|
+
'pri.fielddata.evictions'?: undefined | string;
|
|
55
|
+
'pri.fielddata.memory_size'?: undefined | string;
|
|
56
|
+
'pri.flush.total'?: undefined | string;
|
|
57
|
+
'pri.flush.total_time'?: undefined | string;
|
|
58
|
+
'pri.get.current'?: undefined | string;
|
|
59
|
+
'pri.get.exists_time'?: undefined | string;
|
|
60
|
+
'pri.get.exists_total'?: undefined | string;
|
|
61
|
+
'pri.get.missing_time'?: undefined | string;
|
|
62
|
+
'pri.get.missing_total'?: undefined | string;
|
|
63
|
+
'pri.get.time'?: undefined | string;
|
|
64
|
+
'pri.get.total'?: undefined | string;
|
|
65
|
+
'pri.indexing.delete_current'?: undefined | string;
|
|
66
|
+
'pri.indexing.delete_time'?: undefined | string;
|
|
67
|
+
'pri.indexing.delete_total'?: undefined | string;
|
|
68
|
+
'pri.indexing.index_current'?: undefined | string;
|
|
69
|
+
'pri.indexing.index_failed'?: undefined | string;
|
|
70
|
+
'pri.indexing.index_time'?: undefined | string;
|
|
71
|
+
'pri.indexing.index_total'?: undefined | string;
|
|
81
72
|
'pri.memory.total'?: string;
|
|
82
|
-
'pri.merges.current'?: string;
|
|
83
|
-
'pri.merges.current_docs'?: string;
|
|
84
|
-
'pri.merges.current_size'?: string;
|
|
85
|
-
'pri.merges.total'?: string;
|
|
86
|
-
'pri.merges.total_docs'?: string;
|
|
87
|
-
'pri.merges.total_size'?: string;
|
|
88
|
-
'pri.merges.total_time'?: string;
|
|
89
|
-
'pri.query_cache.evictions'?: string;
|
|
90
|
-
'pri.query_cache.memory_size'?: string;
|
|
91
|
-
'pri.refresh.external_time'?: string;
|
|
92
|
-
'pri.refresh.external_total'?: string;
|
|
93
|
-
'pri.refresh.listeners'?: string;
|
|
94
|
-
'pri.refresh.time'?: string;
|
|
95
|
-
'pri.refresh.total'?: string;
|
|
96
|
-
'pri.request_cache.evictions'?: string;
|
|
97
|
-
'pri.request_cache.hit_count'?: string;
|
|
98
|
-
'pri.request_cache.memory_size'?: string;
|
|
99
|
-
'pri.request_cache.miss_count'?: string;
|
|
100
|
-
'pri.search.
|
|
101
|
-
'pri.search.
|
|
102
|
-
'pri.search.
|
|
103
|
-
'pri.search.
|
|
104
|
-
'pri.search.
|
|
105
|
-
'pri.search.
|
|
106
|
-
'pri.search.
|
|
107
|
-
'pri.search.
|
|
108
|
-
'pri.search.
|
|
109
|
-
'pri.search.
|
|
110
|
-
'pri.
|
|
111
|
-
'pri.
|
|
112
|
-
'pri.
|
|
113
|
-
'pri.
|
|
114
|
-
'pri.
|
|
73
|
+
'pri.merges.current'?: undefined | string;
|
|
74
|
+
'pri.merges.current_docs'?: undefined | string;
|
|
75
|
+
'pri.merges.current_size'?: undefined | string;
|
|
76
|
+
'pri.merges.total'?: undefined | string;
|
|
77
|
+
'pri.merges.total_docs'?: undefined | string;
|
|
78
|
+
'pri.merges.total_size'?: undefined | string;
|
|
79
|
+
'pri.merges.total_time'?: undefined | string;
|
|
80
|
+
'pri.query_cache.evictions'?: undefined | string;
|
|
81
|
+
'pri.query_cache.memory_size'?: undefined | string;
|
|
82
|
+
'pri.refresh.external_time'?: undefined | string;
|
|
83
|
+
'pri.refresh.external_total'?: undefined | string;
|
|
84
|
+
'pri.refresh.listeners'?: undefined | string;
|
|
85
|
+
'pri.refresh.time'?: undefined | string;
|
|
86
|
+
'pri.refresh.total'?: undefined | string;
|
|
87
|
+
'pri.request_cache.evictions'?: undefined | string;
|
|
88
|
+
'pri.request_cache.hit_count'?: undefined | string;
|
|
89
|
+
'pri.request_cache.memory_size'?: undefined | string;
|
|
90
|
+
'pri.request_cache.miss_count'?: undefined | string;
|
|
91
|
+
'pri.search.concurrent_avg_slice_count'?: undefined | string;
|
|
92
|
+
'pri.search.concurrent_query_current'?: undefined | string;
|
|
93
|
+
'pri.search.concurrent_query_time'?: undefined | string;
|
|
94
|
+
'pri.search.concurrent_query_total'?: undefined | string;
|
|
95
|
+
'pri.search.fetch_current'?: undefined | string;
|
|
96
|
+
'pri.search.fetch_time'?: undefined | string;
|
|
97
|
+
'pri.search.fetch_total'?: undefined | string;
|
|
98
|
+
'pri.search.open_contexts'?: undefined | string;
|
|
99
|
+
'pri.search.point_in_time_current'?: undefined | string;
|
|
100
|
+
'pri.search.point_in_time_time'?: undefined | string;
|
|
101
|
+
'pri.search.point_in_time_total'?: undefined | string;
|
|
102
|
+
'pri.search.query_current'?: undefined | string;
|
|
103
|
+
'pri.search.query_time'?: undefined | string;
|
|
104
|
+
'pri.search.query_total'?: undefined | string;
|
|
105
|
+
'pri.search.scroll_current'?: undefined | string;
|
|
106
|
+
'pri.search.scroll_time'?: undefined | string;
|
|
107
|
+
'pri.search.scroll_total'?: undefined | string;
|
|
108
|
+
'pri.segments.count'?: undefined | string;
|
|
109
|
+
'pri.segments.fixed_bitset_memory'?: undefined | string;
|
|
110
|
+
'pri.segments.index_writer_memory'?: undefined | string;
|
|
111
|
+
'pri.segments.memory'?: undefined | string;
|
|
112
|
+
'pri.segments.version_map_memory'?: undefined | string;
|
|
115
113
|
'pri.store.size'?: undefined | string;
|
|
116
|
-
'pri.suggest.current'?: string;
|
|
117
|
-
'pri.suggest.time'?: string;
|
|
118
|
-
'pri.suggest.total'?: string;
|
|
119
|
-
'pri.warmer.current'?: string;
|
|
120
|
-
'pri.warmer.total'?: string;
|
|
121
|
-
'pri.warmer.total_time'?: string;
|
|
122
|
-
'query_cache.evictions'?: string;
|
|
123
|
-
'query_cache.memory_size'?: string;
|
|
124
|
-
'refresh.external_time'?: string;
|
|
125
|
-
'refresh.external_total'?: string;
|
|
126
|
-
'refresh.listeners'?: string;
|
|
127
|
-
'refresh.time'?: string;
|
|
128
|
-
'refresh.total'?: string;
|
|
114
|
+
'pri.suggest.current'?: undefined | string;
|
|
115
|
+
'pri.suggest.time'?: undefined | string;
|
|
116
|
+
'pri.suggest.total'?: undefined | string;
|
|
117
|
+
'pri.warmer.current'?: undefined | string;
|
|
118
|
+
'pri.warmer.total'?: undefined | string;
|
|
119
|
+
'pri.warmer.total_time'?: undefined | string;
|
|
120
|
+
'query_cache.evictions'?: undefined | string;
|
|
121
|
+
'query_cache.memory_size'?: undefined | string;
|
|
122
|
+
'refresh.external_time'?: undefined | string;
|
|
123
|
+
'refresh.external_total'?: undefined | string;
|
|
124
|
+
'refresh.listeners'?: undefined | string;
|
|
125
|
+
'refresh.time'?: undefined | string;
|
|
126
|
+
'refresh.total'?: undefined | string;
|
|
129
127
|
rep?: string;
|
|
130
|
-
'request_cache.evictions'?: string;
|
|
131
|
-
'request_cache.hit_count'?: string;
|
|
132
|
-
'request_cache.memory_size'?: string;
|
|
133
|
-
'request_cache.miss_count'?: string;
|
|
134
|
-
'search.
|
|
135
|
-
'search.
|
|
136
|
-
'search.
|
|
137
|
-
'search.
|
|
138
|
-
'search.
|
|
139
|
-
'search.
|
|
140
|
-
'search.
|
|
141
|
-
'search.
|
|
142
|
-
'search.
|
|
143
|
-
'search.
|
|
128
|
+
'request_cache.evictions'?: undefined | string;
|
|
129
|
+
'request_cache.hit_count'?: undefined | string;
|
|
130
|
+
'request_cache.memory_size'?: undefined | string;
|
|
131
|
+
'request_cache.miss_count'?: undefined | string;
|
|
132
|
+
'search.concurrent_avg_slice_count'?: undefined | string;
|
|
133
|
+
'search.concurrent_query_current'?: undefined | string;
|
|
134
|
+
'search.concurrent_query_time'?: undefined | string;
|
|
135
|
+
'search.concurrent_query_total'?: undefined | string;
|
|
136
|
+
'search.fetch_current'?: undefined | string;
|
|
137
|
+
'search.fetch_time'?: undefined | string;
|
|
138
|
+
'search.fetch_total'?: undefined | string;
|
|
139
|
+
'search.open_contexts'?: undefined | string;
|
|
140
|
+
'search.point_in_time_current'?: undefined | string;
|
|
141
|
+
'search.point_in_time_time'?: undefined | string;
|
|
142
|
+
'search.point_in_time_total'?: undefined | string;
|
|
143
|
+
'search.query_current'?: undefined | string;
|
|
144
|
+
'search.query_time'?: undefined | string;
|
|
145
|
+
'search.query_total'?: undefined | string;
|
|
146
|
+
'search.scroll_current'?: undefined | string;
|
|
147
|
+
'search.scroll_time'?: undefined | string;
|
|
148
|
+
'search.scroll_total'?: undefined | string;
|
|
144
149
|
'search.throttled'?: string;
|
|
145
|
-
'segments.count'?: string;
|
|
146
|
-
'segments.fixed_bitset_memory'?: string;
|
|
147
|
-
'segments.index_writer_memory'?: string;
|
|
148
|
-
'segments.memory'?: string;
|
|
149
|
-
'segments.version_map_memory'?: string;
|
|
150
|
+
'segments.count'?: undefined | string;
|
|
151
|
+
'segments.fixed_bitset_memory'?: undefined | string;
|
|
152
|
+
'segments.index_writer_memory'?: undefined | string;
|
|
153
|
+
'segments.memory'?: undefined | string;
|
|
154
|
+
'segments.version_map_memory'?: undefined | string;
|
|
150
155
|
status?: string;
|
|
151
156
|
'store.size'?: undefined | string;
|
|
152
|
-
'suggest.current'?: string;
|
|
153
|
-
'suggest.time'?: string;
|
|
154
|
-
'suggest.total'?: string;
|
|
157
|
+
'suggest.current'?: undefined | string;
|
|
158
|
+
'suggest.time'?: undefined | string;
|
|
159
|
+
'suggest.total'?: undefined | string;
|
|
155
160
|
uuid?: string;
|
|
156
|
-
'warmer.current'?: string;
|
|
157
|
-
'warmer.total'?: string;
|
|
158
|
-
'warmer.total_time'?: string;
|
|
161
|
+
'warmer.current'?: undefined | string;
|
|
162
|
+
'warmer.total'?: undefined | string;
|
|
163
|
+
'warmer.total_time'?: undefined | string;
|
|
159
164
|
}
|
|
160
165
|
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
import * as Common from './_common'
|
|
@@ -25,9 +26,9 @@ export interface NodesRecord {
|
|
|
25
26
|
cluster_manager?: string;
|
|
26
27
|
'completion.size'?: string;
|
|
27
28
|
cpu?: string;
|
|
28
|
-
'disk.avail'?:
|
|
29
|
-
'disk.total'?:
|
|
30
|
-
'disk.used'?:
|
|
29
|
+
'disk.avail'?: string;
|
|
30
|
+
'disk.total'?: string;
|
|
31
|
+
'disk.used'?: string;
|
|
31
32
|
'disk.used_percent'?: Common.Percentage;
|
|
32
33
|
'fielddata.evictions'?: string;
|
|
33
34
|
'fielddata.memory_size'?: string;
|
|
@@ -93,10 +94,17 @@ export interface NodesRecord {
|
|
|
93
94
|
'script.cache_evictions'?: string;
|
|
94
95
|
'script.compilation_limit_triggered'?: string;
|
|
95
96
|
'script.compilations'?: string;
|
|
97
|
+
'search.concurrent_avg_slice_count'?: string;
|
|
98
|
+
'search.concurrent_query_current'?: string;
|
|
99
|
+
'search.concurrent_query_time'?: string;
|
|
100
|
+
'search.concurrent_query_total'?: string;
|
|
96
101
|
'search.fetch_current'?: string;
|
|
97
102
|
'search.fetch_time'?: string;
|
|
98
103
|
'search.fetch_total'?: string;
|
|
99
104
|
'search.open_contexts'?: string;
|
|
105
|
+
'search.point_in_time_current'?: string;
|
|
106
|
+
'search.point_in_time_time'?: string;
|
|
107
|
+
'search.point_in_time_total'?: string;
|
|
100
108
|
'search.query_current'?: string;
|
|
101
109
|
'search.query_time'?: string;
|
|
102
110
|
'search.query_total'?: string;
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
import * as Common from './_common'
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
import * as Common from './_common'
|
|
@@ -32,9 +33,9 @@ export interface RecoveryRecord {
|
|
|
32
33
|
source_node?: string;
|
|
33
34
|
stage?: string;
|
|
34
35
|
start_time?: Common.DateTime;
|
|
35
|
-
start_time_millis?: Common.
|
|
36
|
+
start_time_millis?: Common.StringifiedEpochTimeUnitMillis;
|
|
36
37
|
stop_time?: Common.DateTime;
|
|
37
|
-
stop_time_millis?: Common.
|
|
38
|
+
stop_time_millis?: Common.StringifiedEpochTimeUnitMillis;
|
|
38
39
|
target_host?: string;
|
|
39
40
|
target_node?: string;
|
|
40
41
|
time?: Common.Duration;
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
17
|
import * as Common from './_common'
|
|
@@ -28,8 +29,8 @@ export interface SegmentsRecord {
|
|
|
28
29
|
searchable?: string;
|
|
29
30
|
segment?: string;
|
|
30
31
|
shard?: string;
|
|
31
|
-
size?: Common.
|
|
32
|
-
'size.memory'?:
|
|
32
|
+
size?: Common.StorageSize;
|
|
33
|
+
'size.memory'?: string;
|
|
33
34
|
version?: Common.VersionString;
|
|
34
35
|
}
|
|
35
36
|
|