@elastic/elasticsearch 9.3.2 → 9.3.4
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/esm/api/api/async_search.d.ts.map +1 -1
- package/esm/api/api/async_search.js +20 -93
- package/esm/api/api/async_search.js.map +1 -1
- package/esm/api/api/autoscaling.d.ts.map +1 -1
- package/esm/api/api/autoscaling.js +20 -18
- package/esm/api/api/autoscaling.js.map +1 -1
- package/esm/api/api/bulk.js +5 -16
- package/esm/api/api/bulk.js.map +1 -1
- package/esm/api/api/capabilities.js +5 -8
- package/esm/api/api/capabilities.js.map +1 -1
- package/esm/api/api/cat.d.ts.map +1 -1
- package/esm/api/api/cat.js +135 -185
- package/esm/api/api/cat.js.map +1 -1
- package/esm/api/api/ccr.d.ts.map +1 -1
- package/esm/api/api/ccr.js +65 -96
- package/esm/api/api/ccr.js.map +1 -1
- package/esm/api/api/clear_scroll.js +5 -4
- package/esm/api/api/clear_scroll.js.map +1 -1
- package/esm/api/api/close_point_in_time.js +5 -3
- package/esm/api/api/close_point_in_time.js.map +1 -1
- package/esm/api/api/cluster.d.ts.map +1 -1
- package/esm/api/api/cluster.js +80 -112
- package/esm/api/api/cluster.js.map +1 -1
- package/esm/api/api/connector.d.ts.map +1 -1
- package/esm/api/api/connector.js +170 -168
- package/esm/api/api/connector.js.map +1 -1
- package/esm/api/api/count.js +5 -19
- package/esm/api/api/count.js.map +1 -1
- package/esm/api/api/create.js +5 -15
- package/esm/api/api/create.js.map +1 -1
- package/esm/api/api/dangling_indices.d.ts.map +1 -1
- package/esm/api/api/dangling_indices.js +15 -13
- package/esm/api/api/dangling_indices.js.map +1 -1
- package/esm/api/api/delete.js +5 -12
- package/esm/api/api/delete.js.map +1 -1
- package/esm/api/api/delete_by_query.js +5 -36
- package/esm/api/api/delete_by_query.js.map +1 -1
- package/esm/api/api/delete_by_query_rethrottle.js +5 -4
- package/esm/api/api/delete_by_query_rethrottle.js.map +1 -1
- package/esm/api/api/delete_script.js +5 -5
- package/esm/api/api/delete_script.js.map +1 -1
- package/esm/api/api/enrich.d.ts.map +1 -1
- package/esm/api/api/enrich.js +25 -23
- package/esm/api/api/enrich.js.map +1 -1
- package/esm/api/api/eql.d.ts.map +1 -1
- package/esm/api/api/eql.js +20 -41
- package/esm/api/api/eql.js.map +1 -1
- package/esm/api/api/esql.d.ts.map +1 -1
- package/esm/api/api/esql.js +50 -63
- package/esm/api/api/esql.js.map +1 -1
- package/esm/api/api/exists.js +5 -14
- package/esm/api/api/exists.js.map +1 -1
- package/esm/api/api/exists_source.js +5 -13
- package/esm/api/api/exists_source.js.map +1 -1
- package/esm/api/api/explain.js +5 -17
- package/esm/api/api/explain.js.map +1 -1
- package/esm/api/api/features.d.ts.map +1 -1
- package/esm/api/api/features.js +10 -6
- package/esm/api/api/features.js.map +1 -1
- package/esm/api/api/field_caps.js +5 -15
- package/esm/api/api/field_caps.js.map +1 -1
- package/esm/api/api/fleet.d.ts.map +1 -1
- package/esm/api/api/fleet.js +30 -111
- package/esm/api/api/fleet.js.map +1 -1
- package/esm/api/api/get.js +5 -16
- package/esm/api/api/get.js.map +1 -1
- package/esm/api/api/get_script.js +5 -4
- package/esm/api/api/get_script.js.map +1 -1
- package/esm/api/api/get_script_context.js +5 -1
- package/esm/api/api/get_script_context.js.map +1 -1
- package/esm/api/api/get_script_languages.js +5 -1
- package/esm/api/api/get_script_languages.js.map +1 -1
- package/esm/api/api/get_source.js +5 -13
- package/esm/api/api/get_source.js.map +1 -1
- package/esm/api/api/graph.d.ts.map +1 -1
- package/esm/api/api/graph.js +5 -9
- package/esm/api/api/graph.js.map +1 -1
- package/esm/api/api/health_report.js +5 -6
- package/esm/api/api/health_report.js.map +1 -1
- package/esm/api/api/ilm.d.ts.map +1 -1
- package/esm/api/api/ilm.js +55 -48
- package/esm/api/api/ilm.js.map +1 -1
- package/esm/api/api/index.js +5 -18
- package/esm/api/api/index.js.map +1 -1
- package/esm/api/api/indices.d.ts +1 -1
- package/esm/api/api/indices.d.ts.map +1 -1
- package/esm/api/api/indices.js +385 -583
- package/esm/api/api/indices.js.map +1 -1
- package/esm/api/api/inference.d.ts +1 -1
- package/esm/api/api/inference.d.ts.map +1 -1
- package/esm/api/api/inference.js +180 -280
- package/esm/api/api/inference.js.map +1 -1
- package/esm/api/api/info.js +5 -1
- package/esm/api/api/info.js.map +1 -1
- package/esm/api/api/ingest.d.ts.map +1 -1
- package/esm/api/api/ingest.js +60 -60
- package/esm/api/api/ingest.js.map +1 -1
- package/esm/api/api/knn_search.js +5 -10
- package/esm/api/api/knn_search.js.map +1 -1
- package/esm/api/api/license.d.ts.map +1 -1
- package/esm/api/api/license.js +35 -27
- package/esm/api/api/license.js.map +1 -1
- package/esm/api/api/logstash.d.ts.map +1 -1
- package/esm/api/api/logstash.js +15 -10
- package/esm/api/api/logstash.js.map +1 -1
- package/esm/api/api/mget.js +5 -14
- package/esm/api/api/mget.js.map +1 -1
- package/esm/api/api/migration.d.ts +1 -1
- package/esm/api/api/migration.d.ts.map +1 -1
- package/esm/api/api/migration.js +15 -5
- package/esm/api/api/migration.js.map +1 -1
- package/esm/api/api/ml.d.ts.map +1 -1
- package/esm/api/api/ml.js +365 -574
- package/esm/api/api/ml.js.map +1 -1
- package/esm/api/api/monitoring.d.ts.map +1 -1
- package/esm/api/api/monitoring.js +5 -6
- package/esm/api/api/monitoring.js.map +1 -1
- package/esm/api/api/msearch.js +5 -19
- package/esm/api/api/msearch.js.map +1 -1
- package/esm/api/api/msearch_template.js +5 -10
- package/esm/api/api/msearch_template.js.map +1 -1
- package/esm/api/api/mtermvectors.js +5 -17
- package/esm/api/api/mtermvectors.js.map +1 -1
- package/esm/api/api/nodes.d.ts.map +1 -1
- package/esm/api/api/nodes.js +35 -47
- package/esm/api/api/nodes.js.map +1 -1
- package/esm/api/api/open_point_in_time.js +5 -12
- package/esm/api/api/open_point_in_time.js.map +1 -1
- package/esm/api/api/ping.js +5 -1
- package/esm/api/api/ping.js.map +1 -1
- package/esm/api/api/profiling.d.ts.map +1 -1
- package/esm/api/api/profiling.js +20 -14
- package/esm/api/api/profiling.js.map +1 -1
- package/esm/api/api/project.d.ts.map +1 -1
- package/esm/api/api/project.js +5 -3
- package/esm/api/api/project.js.map +1 -1
- package/esm/api/api/put_script.js +5 -8
- package/esm/api/api/put_script.js.map +1 -1
- package/esm/api/api/query_rules.d.ts.map +1 -1
- package/esm/api/api/query_rules.js +40 -34
- package/esm/api/api/query_rules.js.map +1 -1
- package/esm/api/api/rank_eval.js +5 -9
- package/esm/api/api/rank_eval.js.map +1 -1
- package/esm/api/api/reindex.js +5 -16
- package/esm/api/api/reindex.js.map +1 -1
- package/esm/api/api/reindex_rethrottle.js +5 -4
- package/esm/api/api/reindex_rethrottle.js.map +1 -1
- package/esm/api/api/render_search_template.js +5 -7
- package/esm/api/api/render_search_template.js.map +1 -1
- package/esm/api/api/rollup.d.ts.map +1 -1
- package/esm/api/api/rollup.js +40 -40
- package/esm/api/api/rollup.js.map +1 -1
- package/esm/api/api/scripts_painless_execute.js +5 -5
- package/esm/api/api/scripts_painless_execute.js.map +1 -1
- package/esm/api/api/scroll.js +5 -8
- package/esm/api/api/scroll.js.map +1 -1
- package/esm/api/api/search.js +5 -84
- package/esm/api/api/search.js.map +1 -1
- package/esm/api/api/search_application.d.ts.map +1 -1
- package/esm/api/api/search_application.js +50 -40
- package/esm/api/api/search_application.js.map +1 -1
- package/esm/api/api/search_mvt.js +5 -30
- package/esm/api/api/search_mvt.js.map +1 -1
- package/esm/api/api/search_shards.js +5 -10
- package/esm/api/api/search_shards.js.map +1 -1
- package/esm/api/api/search_template.js +5 -22
- package/esm/api/api/search_template.js.map +1 -1
- package/esm/api/api/searchable_snapshots.d.ts.map +1 -1
- package/esm/api/api/searchable_snapshots.js +20 -25
- package/esm/api/api/searchable_snapshots.js.map +1 -1
- package/esm/api/api/security.d.ts.map +1 -1
- package/esm/api/api/security.js +325 -339
- package/esm/api/api/security.js.map +1 -1
- package/esm/api/api/shutdown.d.ts.map +1 -1
- package/esm/api/api/shutdown.js +15 -18
- package/esm/api/api/shutdown.js.map +1 -1
- package/esm/api/api/simulate.d.ts.map +1 -1
- package/esm/api/api/simulate.js +5 -10
- package/esm/api/api/simulate.js.map +1 -1
- package/esm/api/api/slm.d.ts.map +1 -1
- package/esm/api/api/slm.js +45 -45
- package/esm/api/api/slm.js.map +1 -1
- package/esm/api/api/snapshot.d.ts.map +1 -1
- package/esm/api/api/snapshot.js +65 -119
- package/esm/api/api/snapshot.js.map +1 -1
- package/esm/api/api/sql.d.ts.map +1 -1
- package/esm/api/api/sql.js +30 -43
- package/esm/api/api/sql.js.map +1 -1
- package/esm/api/api/ssl.d.ts.map +1 -1
- package/esm/api/api/ssl.js +5 -1
- package/esm/api/api/ssl.js.map +1 -1
- package/esm/api/api/streams.d.ts.map +1 -1
- package/esm/api/api/streams.js +15 -11
- package/esm/api/api/streams.js.map +1 -1
- package/esm/api/api/synonyms.d.ts.map +1 -1
- package/esm/api/api/synonyms.js +35 -32
- package/esm/api/api/synonyms.js.map +1 -1
- package/esm/api/api/tasks.d.ts.map +1 -1
- package/esm/api/api/tasks.js +15 -21
- package/esm/api/api/tasks.js.map +1 -1
- package/esm/api/api/terms_enum.js +5 -10
- package/esm/api/api/terms_enum.js.map +1 -1
- package/esm/api/api/termvectors.js +5 -27
- package/esm/api/api/termvectors.js.map +1 -1
- package/esm/api/api/text_structure.d.ts.map +1 -1
- package/esm/api/api/text_structure.js +20 -53
- package/esm/api/api/text_structure.js.map +1 -1
- package/esm/api/api/transform.d.ts.map +1 -1
- package/esm/api/api/transform.js +65 -92
- package/esm/api/api/transform.js.map +1 -1
- package/esm/api/api/update.js +5 -24
- package/esm/api/api/update.js.map +1 -1
- package/esm/api/api/update_by_query.js +5 -39
- package/esm/api/api/update_by_query.js.map +1 -1
- package/esm/api/api/update_by_query_rethrottle.js +5 -4
- package/esm/api/api/update_by_query_rethrottle.js.map +1 -1
- package/esm/api/api/watcher.d.ts.map +1 -1
- package/esm/api/api/watcher.js +65 -69
- package/esm/api/api/watcher.js.map +1 -1
- package/esm/api/api/xpack.d.ts.map +1 -1
- package/esm/api/api/xpack.js +10 -8
- package/esm/api/api/xpack.js.map +1 -1
- package/esm/api/types.d.ts +27 -4
- package/esm/api/types.d.ts.map +1 -1
- package/esm/version.generated.js +2 -2
- package/lib/api/api/async_search.js +20 -93
- package/lib/api/api/async_search.js.map +1 -1
- package/lib/api/api/autoscaling.js +20 -18
- package/lib/api/api/autoscaling.js.map +1 -1
- package/lib/api/api/bulk.js +5 -16
- package/lib/api/api/bulk.js.map +1 -1
- package/lib/api/api/capabilities.js +5 -8
- package/lib/api/api/capabilities.js.map +1 -1
- package/lib/api/api/cat.js +135 -185
- package/lib/api/api/cat.js.map +1 -1
- package/lib/api/api/ccr.js +65 -96
- package/lib/api/api/ccr.js.map +1 -1
- package/lib/api/api/clear_scroll.js +5 -4
- package/lib/api/api/clear_scroll.js.map +1 -1
- package/lib/api/api/close_point_in_time.js +5 -3
- package/lib/api/api/close_point_in_time.js.map +1 -1
- package/lib/api/api/cluster.js +80 -112
- package/lib/api/api/cluster.js.map +1 -1
- package/lib/api/api/connector.js +170 -168
- package/lib/api/api/connector.js.map +1 -1
- package/lib/api/api/count.js +5 -19
- package/lib/api/api/count.js.map +1 -1
- package/lib/api/api/create.js +5 -15
- package/lib/api/api/create.js.map +1 -1
- package/lib/api/api/dangling_indices.js +15 -13
- package/lib/api/api/dangling_indices.js.map +1 -1
- package/lib/api/api/delete.js +5 -12
- package/lib/api/api/delete.js.map +1 -1
- package/lib/api/api/delete_by_query.js +5 -36
- package/lib/api/api/delete_by_query.js.map +1 -1
- package/lib/api/api/delete_by_query_rethrottle.js +5 -4
- package/lib/api/api/delete_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/delete_script.js +5 -5
- package/lib/api/api/delete_script.js.map +1 -1
- package/lib/api/api/enrich.js +25 -23
- package/lib/api/api/enrich.js.map +1 -1
- package/lib/api/api/eql.js +20 -41
- package/lib/api/api/eql.js.map +1 -1
- package/lib/api/api/esql.js +50 -63
- package/lib/api/api/esql.js.map +1 -1
- package/lib/api/api/exists.js +5 -14
- package/lib/api/api/exists.js.map +1 -1
- package/lib/api/api/exists_source.js +5 -13
- package/lib/api/api/exists_source.js.map +1 -1
- package/lib/api/api/explain.js +5 -17
- package/lib/api/api/explain.js.map +1 -1
- package/lib/api/api/features.js +10 -6
- package/lib/api/api/features.js.map +1 -1
- package/lib/api/api/field_caps.js +5 -15
- package/lib/api/api/field_caps.js.map +1 -1
- package/lib/api/api/fleet.js +30 -111
- package/lib/api/api/fleet.js.map +1 -1
- package/lib/api/api/get.js +5 -16
- package/lib/api/api/get.js.map +1 -1
- package/lib/api/api/get_script.js +5 -4
- package/lib/api/api/get_script.js.map +1 -1
- package/lib/api/api/get_script_context.js +5 -1
- package/lib/api/api/get_script_context.js.map +1 -1
- package/lib/api/api/get_script_languages.js +5 -1
- package/lib/api/api/get_script_languages.js.map +1 -1
- package/lib/api/api/get_source.js +5 -13
- package/lib/api/api/get_source.js.map +1 -1
- package/lib/api/api/graph.js +5 -9
- package/lib/api/api/graph.js.map +1 -1
- package/lib/api/api/health_report.js +5 -6
- package/lib/api/api/health_report.js.map +1 -1
- package/lib/api/api/ilm.js +55 -48
- package/lib/api/api/ilm.js.map +1 -1
- package/lib/api/api/index.js +5 -18
- package/lib/api/api/index.js.map +1 -1
- package/lib/api/api/indices.d.ts +1 -1
- package/lib/api/api/indices.js +385 -583
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/inference.d.ts +1 -1
- package/lib/api/api/inference.js +180 -280
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.js +5 -1
- package/lib/api/api/info.js.map +1 -1
- package/lib/api/api/ingest.js +60 -60
- package/lib/api/api/ingest.js.map +1 -1
- package/lib/api/api/knn_search.js +5 -10
- package/lib/api/api/knn_search.js.map +1 -1
- package/lib/api/api/license.js +35 -27
- package/lib/api/api/license.js.map +1 -1
- package/lib/api/api/logstash.js +15 -10
- package/lib/api/api/logstash.js.map +1 -1
- package/lib/api/api/mget.js +5 -14
- package/lib/api/api/mget.js.map +1 -1
- package/lib/api/api/migration.d.ts +1 -1
- package/lib/api/api/migration.js +15 -5
- package/lib/api/api/migration.js.map +1 -1
- package/lib/api/api/ml.js +365 -574
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.js +5 -6
- package/lib/api/api/monitoring.js.map +1 -1
- package/lib/api/api/msearch.js +5 -19
- package/lib/api/api/msearch.js.map +1 -1
- package/lib/api/api/msearch_template.js +5 -10
- package/lib/api/api/msearch_template.js.map +1 -1
- package/lib/api/api/mtermvectors.js +5 -17
- package/lib/api/api/mtermvectors.js.map +1 -1
- package/lib/api/api/nodes.js +35 -47
- package/lib/api/api/nodes.js.map +1 -1
- package/lib/api/api/open_point_in_time.js +5 -12
- package/lib/api/api/open_point_in_time.js.map +1 -1
- package/lib/api/api/ping.js +5 -1
- package/lib/api/api/ping.js.map +1 -1
- package/lib/api/api/profiling.js +20 -14
- package/lib/api/api/profiling.js.map +1 -1
- package/lib/api/api/project.js +5 -3
- package/lib/api/api/project.js.map +1 -1
- package/lib/api/api/put_script.js +5 -8
- package/lib/api/api/put_script.js.map +1 -1
- package/lib/api/api/query_rules.js +40 -34
- package/lib/api/api/query_rules.js.map +1 -1
- package/lib/api/api/rank_eval.js +5 -9
- package/lib/api/api/rank_eval.js.map +1 -1
- package/lib/api/api/reindex.js +5 -16
- package/lib/api/api/reindex.js.map +1 -1
- package/lib/api/api/reindex_rethrottle.js +5 -4
- package/lib/api/api/reindex_rethrottle.js.map +1 -1
- package/lib/api/api/render_search_template.js +5 -7
- package/lib/api/api/render_search_template.js.map +1 -1
- package/lib/api/api/rollup.js +40 -40
- package/lib/api/api/rollup.js.map +1 -1
- package/lib/api/api/scripts_painless_execute.js +5 -5
- package/lib/api/api/scripts_painless_execute.js.map +1 -1
- package/lib/api/api/scroll.js +5 -8
- package/lib/api/api/scroll.js.map +1 -1
- package/lib/api/api/search.js +5 -84
- package/lib/api/api/search.js.map +1 -1
- package/lib/api/api/search_application.js +50 -40
- package/lib/api/api/search_application.js.map +1 -1
- package/lib/api/api/search_mvt.js +5 -30
- package/lib/api/api/search_mvt.js.map +1 -1
- package/lib/api/api/search_shards.js +5 -10
- package/lib/api/api/search_shards.js.map +1 -1
- package/lib/api/api/search_template.js +5 -22
- package/lib/api/api/search_template.js.map +1 -1
- package/lib/api/api/searchable_snapshots.js +20 -25
- package/lib/api/api/searchable_snapshots.js.map +1 -1
- package/lib/api/api/security.js +325 -339
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/shutdown.js +15 -18
- package/lib/api/api/shutdown.js.map +1 -1
- package/lib/api/api/simulate.js +5 -10
- package/lib/api/api/simulate.js.map +1 -1
- package/lib/api/api/slm.js +45 -45
- package/lib/api/api/slm.js.map +1 -1
- package/lib/api/api/snapshot.js +65 -119
- package/lib/api/api/snapshot.js.map +1 -1
- package/lib/api/api/sql.js +30 -43
- package/lib/api/api/sql.js.map +1 -1
- package/lib/api/api/ssl.js +5 -1
- package/lib/api/api/ssl.js.map +1 -1
- package/lib/api/api/streams.js +15 -11
- package/lib/api/api/streams.js.map +1 -1
- package/lib/api/api/synonyms.js +35 -32
- package/lib/api/api/synonyms.js.map +1 -1
- package/lib/api/api/tasks.js +15 -21
- package/lib/api/api/tasks.js.map +1 -1
- package/lib/api/api/terms_enum.js +5 -10
- package/lib/api/api/terms_enum.js.map +1 -1
- package/lib/api/api/termvectors.js +5 -27
- package/lib/api/api/termvectors.js.map +1 -1
- package/lib/api/api/text_structure.js +20 -53
- package/lib/api/api/text_structure.js.map +1 -1
- package/lib/api/api/transform.js +65 -92
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/api/update.js +5 -24
- package/lib/api/api/update.js.map +1 -1
- package/lib/api/api/update_by_query.js +5 -39
- package/lib/api/api/update_by_query.js.map +1 -1
- package/lib/api/api/update_by_query_rethrottle.js +5 -4
- package/lib/api/api/update_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/watcher.js +65 -69
- package/lib/api/api/watcher.js.map +1 -1
- package/lib/api/api/xpack.js +10 -8
- package/lib/api/api/xpack.js.map +1 -1
- package/lib/api/types.d.ts +27 -4
- package/lib/version.generated.js +2 -2
- package/package.json +3 -3
package/esm/api/api/ml.js
CHANGED
|
@@ -999,9 +999,11 @@ class Ml {
|
|
|
999
999
|
pathParts: {
|
|
1000
1000
|
model_id: params.model_id
|
|
1001
1001
|
},
|
|
1002
|
-
acceptedParams:
|
|
1003
|
-
'model_id'
|
|
1004
|
-
|
|
1002
|
+
acceptedParams: {
|
|
1003
|
+
path: ['model_id'],
|
|
1004
|
+
body: [],
|
|
1005
|
+
query: []
|
|
1006
|
+
}
|
|
1005
1007
|
};
|
|
1006
1008
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1007
1009
|
}
|
|
@@ -1047,15 +1049,11 @@ class Ml {
|
|
|
1047
1049
|
pathParts: {
|
|
1048
1050
|
job_id: params.job_id
|
|
1049
1051
|
},
|
|
1050
|
-
acceptedParams:
|
|
1051
|
-
'job_id',
|
|
1052
|
-
'allow_no_match',
|
|
1053
|
-
'force',
|
|
1054
|
-
|
|
1055
|
-
'allow_no_match',
|
|
1056
|
-
'force',
|
|
1057
|
-
'timeout'
|
|
1058
|
-
]
|
|
1052
|
+
acceptedParams: {
|
|
1053
|
+
path: ['job_id'],
|
|
1054
|
+
body: ['allow_no_match', 'force', 'timeout'],
|
|
1055
|
+
query: ['allow_no_match', 'force', 'timeout']
|
|
1056
|
+
}
|
|
1059
1057
|
};
|
|
1060
1058
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1061
1059
|
}
|
|
@@ -1089,9 +1087,11 @@ class Ml {
|
|
|
1089
1087
|
pathParts: {
|
|
1090
1088
|
calendar_id: params.calendar_id
|
|
1091
1089
|
},
|
|
1092
|
-
acceptedParams:
|
|
1093
|
-
'calendar_id'
|
|
1094
|
-
|
|
1090
|
+
acceptedParams: {
|
|
1091
|
+
path: ['calendar_id'],
|
|
1092
|
+
body: [],
|
|
1093
|
+
query: []
|
|
1094
|
+
}
|
|
1095
1095
|
};
|
|
1096
1096
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1097
1097
|
}
|
|
@@ -1126,10 +1126,11 @@ class Ml {
|
|
|
1126
1126
|
calendar_id: params.calendar_id,
|
|
1127
1127
|
event_id: params.event_id
|
|
1128
1128
|
},
|
|
1129
|
-
acceptedParams:
|
|
1130
|
-
'calendar_id',
|
|
1131
|
-
|
|
1132
|
-
|
|
1129
|
+
acceptedParams: {
|
|
1130
|
+
path: ['calendar_id', 'event_id'],
|
|
1131
|
+
body: [],
|
|
1132
|
+
query: []
|
|
1133
|
+
}
|
|
1133
1134
|
};
|
|
1134
1135
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1135
1136
|
}
|
|
@@ -1164,10 +1165,11 @@ class Ml {
|
|
|
1164
1165
|
calendar_id: params.calendar_id,
|
|
1165
1166
|
job_id: params.job_id
|
|
1166
1167
|
},
|
|
1167
|
-
acceptedParams:
|
|
1168
|
-
'calendar_id',
|
|
1169
|
-
|
|
1170
|
-
|
|
1168
|
+
acceptedParams: {
|
|
1169
|
+
path: ['calendar_id', 'job_id'],
|
|
1170
|
+
body: [],
|
|
1171
|
+
query: []
|
|
1172
|
+
}
|
|
1171
1173
|
};
|
|
1172
1174
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1173
1175
|
}
|
|
@@ -1201,11 +1203,11 @@ class Ml {
|
|
|
1201
1203
|
pathParts: {
|
|
1202
1204
|
id: params.id
|
|
1203
1205
|
},
|
|
1204
|
-
acceptedParams:
|
|
1205
|
-
'id',
|
|
1206
|
-
|
|
1207
|
-
'timeout'
|
|
1208
|
-
|
|
1206
|
+
acceptedParams: {
|
|
1207
|
+
path: ['id'],
|
|
1208
|
+
body: [],
|
|
1209
|
+
query: ['force', 'timeout']
|
|
1210
|
+
}
|
|
1209
1211
|
};
|
|
1210
1212
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1211
1213
|
}
|
|
@@ -1239,10 +1241,11 @@ class Ml {
|
|
|
1239
1241
|
pathParts: {
|
|
1240
1242
|
datafeed_id: params.datafeed_id
|
|
1241
1243
|
},
|
|
1242
|
-
acceptedParams:
|
|
1243
|
-
'datafeed_id',
|
|
1244
|
-
|
|
1245
|
-
|
|
1244
|
+
acceptedParams: {
|
|
1245
|
+
path: ['datafeed_id'],
|
|
1246
|
+
body: [],
|
|
1247
|
+
query: ['force']
|
|
1248
|
+
}
|
|
1246
1249
|
};
|
|
1247
1250
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1248
1251
|
}
|
|
@@ -1297,13 +1300,11 @@ class Ml {
|
|
|
1297
1300
|
pathParts: {
|
|
1298
1301
|
job_id: params.job_id
|
|
1299
1302
|
},
|
|
1300
|
-
acceptedParams:
|
|
1301
|
-
'job_id',
|
|
1302
|
-
'requests_per_second',
|
|
1303
|
-
'timeout'
|
|
1304
|
-
|
|
1305
|
-
'timeout'
|
|
1306
|
-
]
|
|
1303
|
+
acceptedParams: {
|
|
1304
|
+
path: ['job_id'],
|
|
1305
|
+
body: ['requests_per_second', 'timeout'],
|
|
1306
|
+
query: ['requests_per_second', 'timeout']
|
|
1307
|
+
}
|
|
1307
1308
|
};
|
|
1308
1309
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1309
1310
|
}
|
|
@@ -1337,9 +1338,11 @@ class Ml {
|
|
|
1337
1338
|
pathParts: {
|
|
1338
1339
|
filter_id: params.filter_id
|
|
1339
1340
|
},
|
|
1340
|
-
acceptedParams:
|
|
1341
|
-
'filter_id'
|
|
1342
|
-
|
|
1341
|
+
acceptedParams: {
|
|
1342
|
+
path: ['filter_id'],
|
|
1343
|
+
body: [],
|
|
1344
|
+
query: []
|
|
1345
|
+
}
|
|
1343
1346
|
};
|
|
1344
1347
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1345
1348
|
}
|
|
@@ -1382,12 +1385,11 @@ class Ml {
|
|
|
1382
1385
|
job_id: params.job_id,
|
|
1383
1386
|
forecast_id: params.forecast_id
|
|
1384
1387
|
},
|
|
1385
|
-
acceptedParams:
|
|
1386
|
-
'job_id',
|
|
1387
|
-
|
|
1388
|
-
'allow_no_forecasts',
|
|
1389
|
-
|
|
1390
|
-
]
|
|
1388
|
+
acceptedParams: {
|
|
1389
|
+
path: ['job_id', 'forecast_id'],
|
|
1390
|
+
body: [],
|
|
1391
|
+
query: ['allow_no_forecasts', 'timeout']
|
|
1392
|
+
}
|
|
1391
1393
|
};
|
|
1392
1394
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1393
1395
|
}
|
|
@@ -1421,12 +1423,11 @@ class Ml {
|
|
|
1421
1423
|
pathParts: {
|
|
1422
1424
|
job_id: params.job_id
|
|
1423
1425
|
},
|
|
1424
|
-
acceptedParams:
|
|
1425
|
-
'job_id',
|
|
1426
|
-
|
|
1427
|
-
'delete_user_annotations',
|
|
1428
|
-
|
|
1429
|
-
]
|
|
1426
|
+
acceptedParams: {
|
|
1427
|
+
path: ['job_id'],
|
|
1428
|
+
body: [],
|
|
1429
|
+
query: ['force', 'delete_user_annotations', 'wait_for_completion']
|
|
1430
|
+
}
|
|
1430
1431
|
};
|
|
1431
1432
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1432
1433
|
}
|
|
@@ -1461,10 +1462,11 @@ class Ml {
|
|
|
1461
1462
|
job_id: params.job_id,
|
|
1462
1463
|
snapshot_id: params.snapshot_id
|
|
1463
1464
|
},
|
|
1464
|
-
acceptedParams:
|
|
1465
|
-
'job_id',
|
|
1466
|
-
|
|
1467
|
-
|
|
1465
|
+
acceptedParams: {
|
|
1466
|
+
path: ['job_id', 'snapshot_id'],
|
|
1467
|
+
body: [],
|
|
1468
|
+
query: []
|
|
1469
|
+
}
|
|
1468
1470
|
};
|
|
1469
1471
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1470
1472
|
}
|
|
@@ -1498,11 +1500,11 @@ class Ml {
|
|
|
1498
1500
|
pathParts: {
|
|
1499
1501
|
model_id: params.model_id
|
|
1500
1502
|
},
|
|
1501
|
-
acceptedParams:
|
|
1502
|
-
'model_id',
|
|
1503
|
-
|
|
1504
|
-
'timeout'
|
|
1505
|
-
|
|
1503
|
+
acceptedParams: {
|
|
1504
|
+
path: ['model_id'],
|
|
1505
|
+
body: [],
|
|
1506
|
+
query: ['force', 'timeout']
|
|
1507
|
+
}
|
|
1506
1508
|
};
|
|
1507
1509
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1508
1510
|
}
|
|
@@ -1537,10 +1539,11 @@ class Ml {
|
|
|
1537
1539
|
model_alias: params.model_alias,
|
|
1538
1540
|
model_id: params.model_id
|
|
1539
1541
|
},
|
|
1540
|
-
acceptedParams:
|
|
1541
|
-
'model_alias',
|
|
1542
|
-
|
|
1543
|
-
|
|
1542
|
+
acceptedParams: {
|
|
1543
|
+
path: ['model_alias', 'model_id'],
|
|
1544
|
+
body: [],
|
|
1545
|
+
query: []
|
|
1546
|
+
}
|
|
1544
1547
|
};
|
|
1545
1548
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1546
1549
|
}
|
|
@@ -1584,11 +1587,11 @@ class Ml {
|
|
|
1584
1587
|
const path = '/_ml/anomaly_detectors/_estimate_model_memory';
|
|
1585
1588
|
const meta = {
|
|
1586
1589
|
name: 'ml.estimate_model_memory',
|
|
1587
|
-
acceptedParams:
|
|
1588
|
-
|
|
1589
|
-
'max_bucket_cardinality',
|
|
1590
|
-
|
|
1591
|
-
|
|
1590
|
+
acceptedParams: {
|
|
1591
|
+
path: [],
|
|
1592
|
+
body: ['analysis_config', 'max_bucket_cardinality', 'overall_cardinality'],
|
|
1593
|
+
query: []
|
|
1594
|
+
}
|
|
1592
1595
|
};
|
|
1593
1596
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1594
1597
|
}
|
|
@@ -1631,11 +1634,11 @@ class Ml {
|
|
|
1631
1634
|
const path = '/_ml/data_frame/_evaluate';
|
|
1632
1635
|
const meta = {
|
|
1633
1636
|
name: 'ml.evaluate_data_frame',
|
|
1634
|
-
acceptedParams:
|
|
1635
|
-
|
|
1636
|
-
'index',
|
|
1637
|
-
|
|
1638
|
-
|
|
1637
|
+
acceptedParams: {
|
|
1638
|
+
path: [],
|
|
1639
|
+
body: ['evaluation', 'index', 'query'],
|
|
1640
|
+
query: []
|
|
1641
|
+
}
|
|
1639
1642
|
};
|
|
1640
1643
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1641
1644
|
}
|
|
@@ -1690,17 +1693,11 @@ class Ml {
|
|
|
1690
1693
|
pathParts: {
|
|
1691
1694
|
id: params.id
|
|
1692
1695
|
},
|
|
1693
|
-
acceptedParams:
|
|
1694
|
-
'id',
|
|
1695
|
-
'source',
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
'description',
|
|
1699
|
-
'model_memory_limit',
|
|
1700
|
-
'max_num_threads',
|
|
1701
|
-
'analyzed_fields',
|
|
1702
|
-
'allow_lazy_start'
|
|
1703
|
-
]
|
|
1696
|
+
acceptedParams: {
|
|
1697
|
+
path: ['id'],
|
|
1698
|
+
body: ['source', 'dest', 'analysis', 'description', 'model_memory_limit', 'max_num_threads', 'analyzed_fields', 'allow_lazy_start'],
|
|
1699
|
+
query: []
|
|
1700
|
+
}
|
|
1704
1701
|
};
|
|
1705
1702
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1706
1703
|
}
|
|
@@ -1746,19 +1743,11 @@ class Ml {
|
|
|
1746
1743
|
pathParts: {
|
|
1747
1744
|
job_id: params.job_id
|
|
1748
1745
|
},
|
|
1749
|
-
acceptedParams:
|
|
1750
|
-
'job_id',
|
|
1751
|
-
'advance_time',
|
|
1752
|
-
'calc_interim',
|
|
1753
|
-
|
|
1754
|
-
'skip_time',
|
|
1755
|
-
'start',
|
|
1756
|
-
'advance_time',
|
|
1757
|
-
'calc_interim',
|
|
1758
|
-
'end',
|
|
1759
|
-
'skip_time',
|
|
1760
|
-
'start'
|
|
1761
|
-
]
|
|
1746
|
+
acceptedParams: {
|
|
1747
|
+
path: ['job_id'],
|
|
1748
|
+
body: ['advance_time', 'calc_interim', 'end', 'skip_time', 'start'],
|
|
1749
|
+
query: ['advance_time', 'calc_interim', 'end', 'skip_time', 'start']
|
|
1750
|
+
}
|
|
1762
1751
|
};
|
|
1763
1752
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1764
1753
|
}
|
|
@@ -1804,15 +1793,11 @@ class Ml {
|
|
|
1804
1793
|
pathParts: {
|
|
1805
1794
|
job_id: params.job_id
|
|
1806
1795
|
},
|
|
1807
|
-
acceptedParams:
|
|
1808
|
-
'job_id',
|
|
1809
|
-
'duration',
|
|
1810
|
-
'expires_in',
|
|
1811
|
-
|
|
1812
|
-
'duration',
|
|
1813
|
-
'expires_in',
|
|
1814
|
-
'max_model_memory'
|
|
1815
|
-
]
|
|
1796
|
+
acceptedParams: {
|
|
1797
|
+
path: ['job_id'],
|
|
1798
|
+
body: ['duration', 'expires_in', 'max_model_memory'],
|
|
1799
|
+
query: ['duration', 'expires_in', 'max_model_memory']
|
|
1800
|
+
}
|
|
1816
1801
|
};
|
|
1817
1802
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1818
1803
|
}
|
|
@@ -1867,27 +1852,11 @@ class Ml {
|
|
|
1867
1852
|
job_id: params.job_id,
|
|
1868
1853
|
timestamp: params.timestamp
|
|
1869
1854
|
},
|
|
1870
|
-
acceptedParams:
|
|
1871
|
-
'job_id',
|
|
1872
|
-
'
|
|
1873
|
-
'anomaly_score',
|
|
1874
|
-
|
|
1875
|
-
'end',
|
|
1876
|
-
'exclude_interim',
|
|
1877
|
-
'expand',
|
|
1878
|
-
'page',
|
|
1879
|
-
'sort',
|
|
1880
|
-
'start',
|
|
1881
|
-
'anomaly_score',
|
|
1882
|
-
'desc',
|
|
1883
|
-
'end',
|
|
1884
|
-
'exclude_interim',
|
|
1885
|
-
'expand',
|
|
1886
|
-
'from',
|
|
1887
|
-
'size',
|
|
1888
|
-
'sort',
|
|
1889
|
-
'start'
|
|
1890
|
-
]
|
|
1855
|
+
acceptedParams: {
|
|
1856
|
+
path: ['job_id', 'timestamp'],
|
|
1857
|
+
body: ['anomaly_score', 'desc', 'end', 'exclude_interim', 'expand', 'page', 'sort', 'start'],
|
|
1858
|
+
query: ['anomaly_score', 'desc', 'end', 'exclude_interim', 'expand', 'from', 'size', 'sort', 'start']
|
|
1859
|
+
}
|
|
1891
1860
|
};
|
|
1892
1861
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1893
1862
|
}
|
|
@@ -1921,14 +1890,11 @@ class Ml {
|
|
|
1921
1890
|
pathParts: {
|
|
1922
1891
|
calendar_id: params.calendar_id
|
|
1923
1892
|
},
|
|
1924
|
-
acceptedParams:
|
|
1925
|
-
'calendar_id',
|
|
1926
|
-
|
|
1927
|
-
'from',
|
|
1928
|
-
|
|
1929
|
-
'size',
|
|
1930
|
-
'start'
|
|
1931
|
-
]
|
|
1893
|
+
acceptedParams: {
|
|
1894
|
+
path: ['calendar_id'],
|
|
1895
|
+
body: [],
|
|
1896
|
+
query: ['end', 'from', 'job_id', 'size', 'start']
|
|
1897
|
+
}
|
|
1932
1898
|
};
|
|
1933
1899
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1934
1900
|
}
|
|
@@ -1983,12 +1949,11 @@ class Ml {
|
|
|
1983
1949
|
pathParts: {
|
|
1984
1950
|
calendar_id: params.calendar_id
|
|
1985
1951
|
},
|
|
1986
|
-
acceptedParams:
|
|
1987
|
-
'calendar_id',
|
|
1988
|
-
'page',
|
|
1989
|
-
'from',
|
|
1990
|
-
|
|
1991
|
-
]
|
|
1952
|
+
acceptedParams: {
|
|
1953
|
+
path: ['calendar_id'],
|
|
1954
|
+
body: ['page'],
|
|
1955
|
+
query: ['from', 'size']
|
|
1956
|
+
}
|
|
1992
1957
|
};
|
|
1993
1958
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
1994
1959
|
}
|
|
@@ -2043,14 +2008,11 @@ class Ml {
|
|
|
2043
2008
|
job_id: params.job_id,
|
|
2044
2009
|
category_id: params.category_id
|
|
2045
2010
|
},
|
|
2046
|
-
acceptedParams:
|
|
2047
|
-
'job_id',
|
|
2048
|
-
'
|
|
2049
|
-
'
|
|
2050
|
-
|
|
2051
|
-
'partition_field_value',
|
|
2052
|
-
'size'
|
|
2053
|
-
]
|
|
2011
|
+
acceptedParams: {
|
|
2012
|
+
path: ['job_id', 'category_id'],
|
|
2013
|
+
body: ['page'],
|
|
2014
|
+
query: ['from', 'partition_field_value', 'size']
|
|
2015
|
+
}
|
|
2054
2016
|
};
|
|
2055
2017
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2056
2018
|
}
|
|
@@ -2093,13 +2055,11 @@ class Ml {
|
|
|
2093
2055
|
pathParts: {
|
|
2094
2056
|
id: params.id
|
|
2095
2057
|
},
|
|
2096
|
-
acceptedParams:
|
|
2097
|
-
'id',
|
|
2098
|
-
|
|
2099
|
-
'from',
|
|
2100
|
-
|
|
2101
|
-
'exclude_generated'
|
|
2102
|
-
]
|
|
2058
|
+
acceptedParams: {
|
|
2059
|
+
path: ['id'],
|
|
2060
|
+
body: [],
|
|
2061
|
+
query: ['allow_no_match', 'from', 'size', 'exclude_generated']
|
|
2062
|
+
}
|
|
2103
2063
|
};
|
|
2104
2064
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2105
2065
|
}
|
|
@@ -2142,13 +2102,11 @@ class Ml {
|
|
|
2142
2102
|
pathParts: {
|
|
2143
2103
|
id: params.id
|
|
2144
2104
|
},
|
|
2145
|
-
acceptedParams:
|
|
2146
|
-
'id',
|
|
2147
|
-
|
|
2148
|
-
'from',
|
|
2149
|
-
|
|
2150
|
-
'verbose'
|
|
2151
|
-
]
|
|
2105
|
+
acceptedParams: {
|
|
2106
|
+
path: ['id'],
|
|
2107
|
+
body: [],
|
|
2108
|
+
query: ['allow_no_match', 'from', 'size', 'verbose']
|
|
2109
|
+
}
|
|
2152
2110
|
};
|
|
2153
2111
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2154
2112
|
}
|
|
@@ -2191,10 +2149,11 @@ class Ml {
|
|
|
2191
2149
|
pathParts: {
|
|
2192
2150
|
datafeed_id: params.datafeed_id
|
|
2193
2151
|
},
|
|
2194
|
-
acceptedParams:
|
|
2195
|
-
'datafeed_id',
|
|
2196
|
-
|
|
2197
|
-
|
|
2152
|
+
acceptedParams: {
|
|
2153
|
+
path: ['datafeed_id'],
|
|
2154
|
+
body: [],
|
|
2155
|
+
query: ['allow_no_match']
|
|
2156
|
+
}
|
|
2198
2157
|
};
|
|
2199
2158
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2200
2159
|
}
|
|
@@ -2237,11 +2196,11 @@ class Ml {
|
|
|
2237
2196
|
pathParts: {
|
|
2238
2197
|
datafeed_id: params.datafeed_id
|
|
2239
2198
|
},
|
|
2240
|
-
acceptedParams:
|
|
2241
|
-
'datafeed_id',
|
|
2242
|
-
|
|
2243
|
-
'exclude_generated'
|
|
2244
|
-
|
|
2199
|
+
acceptedParams: {
|
|
2200
|
+
path: ['datafeed_id'],
|
|
2201
|
+
body: [],
|
|
2202
|
+
query: ['allow_no_match', 'exclude_generated']
|
|
2203
|
+
}
|
|
2245
2204
|
};
|
|
2246
2205
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2247
2206
|
}
|
|
@@ -2284,11 +2243,11 @@ class Ml {
|
|
|
2284
2243
|
pathParts: {
|
|
2285
2244
|
filter_id: params.filter_id
|
|
2286
2245
|
},
|
|
2287
|
-
acceptedParams:
|
|
2288
|
-
'filter_id',
|
|
2289
|
-
|
|
2290
|
-
'size'
|
|
2291
|
-
|
|
2246
|
+
acceptedParams: {
|
|
2247
|
+
path: ['filter_id'],
|
|
2248
|
+
body: [],
|
|
2249
|
+
query: ['from', 'size']
|
|
2250
|
+
}
|
|
2292
2251
|
};
|
|
2293
2252
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2294
2253
|
}
|
|
@@ -2334,18 +2293,11 @@ class Ml {
|
|
|
2334
2293
|
pathParts: {
|
|
2335
2294
|
job_id: params.job_id
|
|
2336
2295
|
},
|
|
2337
|
-
acceptedParams:
|
|
2338
|
-
'job_id',
|
|
2339
|
-
'page',
|
|
2340
|
-
'desc',
|
|
2341
|
-
|
|
2342
|
-
'exclude_interim',
|
|
2343
|
-
'influencer_score',
|
|
2344
|
-
'from',
|
|
2345
|
-
'size',
|
|
2346
|
-
'sort',
|
|
2347
|
-
'start'
|
|
2348
|
-
]
|
|
2296
|
+
acceptedParams: {
|
|
2297
|
+
path: ['job_id'],
|
|
2298
|
+
body: ['page'],
|
|
2299
|
+
query: ['desc', 'end', 'exclude_interim', 'influencer_score', 'from', 'size', 'sort', 'start']
|
|
2300
|
+
}
|
|
2349
2301
|
};
|
|
2350
2302
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2351
2303
|
}
|
|
@@ -2388,10 +2340,11 @@ class Ml {
|
|
|
2388
2340
|
pathParts: {
|
|
2389
2341
|
job_id: params.job_id
|
|
2390
2342
|
},
|
|
2391
|
-
acceptedParams:
|
|
2392
|
-
'job_id',
|
|
2393
|
-
|
|
2394
|
-
|
|
2343
|
+
acceptedParams: {
|
|
2344
|
+
path: ['job_id'],
|
|
2345
|
+
body: [],
|
|
2346
|
+
query: ['allow_no_match']
|
|
2347
|
+
}
|
|
2395
2348
|
};
|
|
2396
2349
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2397
2350
|
}
|
|
@@ -2434,11 +2387,11 @@ class Ml {
|
|
|
2434
2387
|
pathParts: {
|
|
2435
2388
|
job_id: params.job_id
|
|
2436
2389
|
},
|
|
2437
|
-
acceptedParams:
|
|
2438
|
-
'job_id',
|
|
2439
|
-
|
|
2440
|
-
'exclude_generated'
|
|
2441
|
-
|
|
2390
|
+
acceptedParams: {
|
|
2391
|
+
path: ['job_id'],
|
|
2392
|
+
body: [],
|
|
2393
|
+
query: ['allow_no_match', 'exclude_generated']
|
|
2394
|
+
}
|
|
2442
2395
|
};
|
|
2443
2396
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2444
2397
|
}
|
|
@@ -2481,11 +2434,11 @@ class Ml {
|
|
|
2481
2434
|
pathParts: {
|
|
2482
2435
|
node_id: params.node_id
|
|
2483
2436
|
},
|
|
2484
|
-
acceptedParams:
|
|
2485
|
-
'node_id',
|
|
2486
|
-
|
|
2487
|
-
'timeout'
|
|
2488
|
-
|
|
2437
|
+
acceptedParams: {
|
|
2438
|
+
path: ['node_id'],
|
|
2439
|
+
body: [],
|
|
2440
|
+
query: ['master_timeout', 'timeout']
|
|
2441
|
+
}
|
|
2489
2442
|
};
|
|
2490
2443
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2491
2444
|
}
|
|
@@ -2520,11 +2473,11 @@ class Ml {
|
|
|
2520
2473
|
job_id: params.job_id,
|
|
2521
2474
|
snapshot_id: params.snapshot_id
|
|
2522
2475
|
},
|
|
2523
|
-
acceptedParams:
|
|
2524
|
-
'job_id',
|
|
2525
|
-
|
|
2526
|
-
'allow_no_match'
|
|
2527
|
-
|
|
2476
|
+
acceptedParams: {
|
|
2477
|
+
path: ['job_id', 'snapshot_id'],
|
|
2478
|
+
body: [],
|
|
2479
|
+
query: ['allow_no_match']
|
|
2480
|
+
}
|
|
2528
2481
|
};
|
|
2529
2482
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2530
2483
|
}
|
|
@@ -2579,21 +2532,11 @@ class Ml {
|
|
|
2579
2532
|
job_id: params.job_id,
|
|
2580
2533
|
snapshot_id: params.snapshot_id
|
|
2581
2534
|
},
|
|
2582
|
-
acceptedParams:
|
|
2583
|
-
'job_id',
|
|
2584
|
-
'
|
|
2585
|
-
'desc',
|
|
2586
|
-
|
|
2587
|
-
'page',
|
|
2588
|
-
'sort',
|
|
2589
|
-
'start',
|
|
2590
|
-
'desc',
|
|
2591
|
-
'end',
|
|
2592
|
-
'from',
|
|
2593
|
-
'size',
|
|
2594
|
-
'sort',
|
|
2595
|
-
'start'
|
|
2596
|
-
]
|
|
2535
|
+
acceptedParams: {
|
|
2536
|
+
path: ['job_id', 'snapshot_id'],
|
|
2537
|
+
body: ['desc', 'end', 'page', 'sort', 'start'],
|
|
2538
|
+
query: ['desc', 'end', 'from', 'size', 'sort', 'start']
|
|
2539
|
+
}
|
|
2597
2540
|
};
|
|
2598
2541
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2599
2542
|
}
|
|
@@ -2639,23 +2582,11 @@ class Ml {
|
|
|
2639
2582
|
pathParts: {
|
|
2640
2583
|
job_id: params.job_id
|
|
2641
2584
|
},
|
|
2642
|
-
acceptedParams:
|
|
2643
|
-
'job_id',
|
|
2644
|
-
'allow_no_match',
|
|
2645
|
-
'bucket_span',
|
|
2646
|
-
|
|
2647
|
-
'exclude_interim',
|
|
2648
|
-
'overall_score',
|
|
2649
|
-
'start',
|
|
2650
|
-
'top_n',
|
|
2651
|
-
'allow_no_match',
|
|
2652
|
-
'bucket_span',
|
|
2653
|
-
'end',
|
|
2654
|
-
'exclude_interim',
|
|
2655
|
-
'overall_score',
|
|
2656
|
-
'start',
|
|
2657
|
-
'top_n'
|
|
2658
|
-
]
|
|
2585
|
+
acceptedParams: {
|
|
2586
|
+
path: ['job_id'],
|
|
2587
|
+
body: ['allow_no_match', 'bucket_span', 'end', 'exclude_interim', 'overall_score', 'start', 'top_n'],
|
|
2588
|
+
query: ['allow_no_match', 'bucket_span', 'end', 'exclude_interim', 'overall_score', 'start', 'top_n']
|
|
2589
|
+
}
|
|
2659
2590
|
};
|
|
2660
2591
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2661
2592
|
}
|
|
@@ -2701,24 +2632,11 @@ class Ml {
|
|
|
2701
2632
|
pathParts: {
|
|
2702
2633
|
job_id: params.job_id
|
|
2703
2634
|
},
|
|
2704
|
-
acceptedParams:
|
|
2705
|
-
'job_id',
|
|
2706
|
-
'desc',
|
|
2707
|
-
'end',
|
|
2708
|
-
|
|
2709
|
-
'page',
|
|
2710
|
-
'record_score',
|
|
2711
|
-
'sort',
|
|
2712
|
-
'start',
|
|
2713
|
-
'desc',
|
|
2714
|
-
'end',
|
|
2715
|
-
'exclude_interim',
|
|
2716
|
-
'from',
|
|
2717
|
-
'record_score',
|
|
2718
|
-
'size',
|
|
2719
|
-
'sort',
|
|
2720
|
-
'start'
|
|
2721
|
-
]
|
|
2635
|
+
acceptedParams: {
|
|
2636
|
+
path: ['job_id'],
|
|
2637
|
+
body: ['desc', 'end', 'exclude_interim', 'page', 'record_score', 'sort', 'start'],
|
|
2638
|
+
query: ['desc', 'end', 'exclude_interim', 'from', 'record_score', 'size', 'sort', 'start']
|
|
2639
|
+
}
|
|
2722
2640
|
};
|
|
2723
2641
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2724
2642
|
}
|
|
@@ -2761,16 +2679,11 @@ class Ml {
|
|
|
2761
2679
|
pathParts: {
|
|
2762
2680
|
model_id: params.model_id
|
|
2763
2681
|
},
|
|
2764
|
-
acceptedParams:
|
|
2765
|
-
'model_id',
|
|
2766
|
-
|
|
2767
|
-
'decompress_definition',
|
|
2768
|
-
|
|
2769
|
-
'from',
|
|
2770
|
-
'include',
|
|
2771
|
-
'size',
|
|
2772
|
-
'tags'
|
|
2773
|
-
]
|
|
2682
|
+
acceptedParams: {
|
|
2683
|
+
path: ['model_id'],
|
|
2684
|
+
body: [],
|
|
2685
|
+
query: ['allow_no_match', 'decompress_definition', 'exclude_generated', 'from', 'include', 'size', 'tags']
|
|
2686
|
+
}
|
|
2774
2687
|
};
|
|
2775
2688
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2776
2689
|
}
|
|
@@ -2813,12 +2726,11 @@ class Ml {
|
|
|
2813
2726
|
pathParts: {
|
|
2814
2727
|
model_id: params.model_id
|
|
2815
2728
|
},
|
|
2816
|
-
acceptedParams:
|
|
2817
|
-
'model_id',
|
|
2818
|
-
|
|
2819
|
-
'from',
|
|
2820
|
-
|
|
2821
|
-
]
|
|
2729
|
+
acceptedParams: {
|
|
2730
|
+
path: ['model_id'],
|
|
2731
|
+
body: [],
|
|
2732
|
+
query: ['allow_no_match', 'from', 'size']
|
|
2733
|
+
}
|
|
2822
2734
|
};
|
|
2823
2735
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2824
2736
|
}
|
|
@@ -2864,12 +2776,11 @@ class Ml {
|
|
|
2864
2776
|
pathParts: {
|
|
2865
2777
|
model_id: params.model_id
|
|
2866
2778
|
},
|
|
2867
|
-
acceptedParams:
|
|
2868
|
-
'model_id',
|
|
2869
|
-
'docs',
|
|
2870
|
-
'
|
|
2871
|
-
|
|
2872
|
-
]
|
|
2779
|
+
acceptedParams: {
|
|
2780
|
+
path: ['model_id'],
|
|
2781
|
+
body: ['docs', 'inference_config'],
|
|
2782
|
+
query: ['timeout']
|
|
2783
|
+
}
|
|
2873
2784
|
};
|
|
2874
2785
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2875
2786
|
}
|
|
@@ -2901,7 +2812,11 @@ class Ml {
|
|
|
2901
2812
|
const path = '/_ml/info';
|
|
2902
2813
|
const meta = {
|
|
2903
2814
|
name: 'ml.info',
|
|
2904
|
-
acceptedParams:
|
|
2815
|
+
acceptedParams: {
|
|
2816
|
+
path: [],
|
|
2817
|
+
body: [],
|
|
2818
|
+
query: []
|
|
2819
|
+
}
|
|
2905
2820
|
};
|
|
2906
2821
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2907
2822
|
}
|
|
@@ -2947,11 +2862,11 @@ class Ml {
|
|
|
2947
2862
|
pathParts: {
|
|
2948
2863
|
job_id: params.job_id
|
|
2949
2864
|
},
|
|
2950
|
-
acceptedParams:
|
|
2951
|
-
'job_id',
|
|
2952
|
-
'timeout',
|
|
2953
|
-
'timeout'
|
|
2954
|
-
|
|
2865
|
+
acceptedParams: {
|
|
2866
|
+
path: ['job_id'],
|
|
2867
|
+
body: ['timeout'],
|
|
2868
|
+
query: ['timeout']
|
|
2869
|
+
}
|
|
2955
2870
|
};
|
|
2956
2871
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
2957
2872
|
}
|
|
@@ -2997,10 +2912,11 @@ class Ml {
|
|
|
2997
2912
|
pathParts: {
|
|
2998
2913
|
calendar_id: params.calendar_id
|
|
2999
2914
|
},
|
|
3000
|
-
acceptedParams:
|
|
3001
|
-
'calendar_id',
|
|
3002
|
-
'events'
|
|
3003
|
-
|
|
2915
|
+
acceptedParams: {
|
|
2916
|
+
path: ['calendar_id'],
|
|
2917
|
+
body: ['events'],
|
|
2918
|
+
query: []
|
|
2919
|
+
}
|
|
3004
2920
|
};
|
|
3005
2921
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3006
2922
|
}
|
|
@@ -3037,12 +2953,11 @@ class Ml {
|
|
|
3037
2953
|
pathParts: {
|
|
3038
2954
|
job_id: params.job_id
|
|
3039
2955
|
},
|
|
3040
|
-
acceptedParams:
|
|
3041
|
-
'job_id',
|
|
3042
|
-
'data',
|
|
3043
|
-
'reset_end',
|
|
3044
|
-
|
|
3045
|
-
]
|
|
2956
|
+
acceptedParams: {
|
|
2957
|
+
path: ['job_id'],
|
|
2958
|
+
body: ['data'],
|
|
2959
|
+
query: ['reset_end', 'reset_start']
|
|
2960
|
+
}
|
|
3046
2961
|
};
|
|
3047
2962
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3048
2963
|
}
|
|
@@ -3097,10 +3012,11 @@ class Ml {
|
|
|
3097
3012
|
pathParts: {
|
|
3098
3013
|
id: params.id
|
|
3099
3014
|
},
|
|
3100
|
-
acceptedParams:
|
|
3101
|
-
'id',
|
|
3102
|
-
'config'
|
|
3103
|
-
|
|
3015
|
+
acceptedParams: {
|
|
3016
|
+
path: ['id'],
|
|
3017
|
+
body: ['config'],
|
|
3018
|
+
query: []
|
|
3019
|
+
}
|
|
3104
3020
|
};
|
|
3105
3021
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3106
3022
|
}
|
|
@@ -3155,13 +3071,11 @@ class Ml {
|
|
|
3155
3071
|
pathParts: {
|
|
3156
3072
|
datafeed_id: params.datafeed_id
|
|
3157
3073
|
},
|
|
3158
|
-
acceptedParams:
|
|
3159
|
-
'datafeed_id',
|
|
3160
|
-
'datafeed_config',
|
|
3161
|
-
'
|
|
3162
|
-
|
|
3163
|
-
'end'
|
|
3164
|
-
]
|
|
3074
|
+
acceptedParams: {
|
|
3075
|
+
path: ['datafeed_id'],
|
|
3076
|
+
body: ['datafeed_config', 'job_config'],
|
|
3077
|
+
query: ['start', 'end']
|
|
3078
|
+
}
|
|
3165
3079
|
};
|
|
3166
3080
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3167
3081
|
}
|
|
@@ -3207,11 +3121,11 @@ class Ml {
|
|
|
3207
3121
|
pathParts: {
|
|
3208
3122
|
calendar_id: params.calendar_id
|
|
3209
3123
|
},
|
|
3210
|
-
acceptedParams:
|
|
3211
|
-
'calendar_id',
|
|
3212
|
-
'job_ids',
|
|
3213
|
-
|
|
3214
|
-
|
|
3124
|
+
acceptedParams: {
|
|
3125
|
+
path: ['calendar_id'],
|
|
3126
|
+
body: ['job_ids', 'description'],
|
|
3127
|
+
query: []
|
|
3128
|
+
}
|
|
3215
3129
|
};
|
|
3216
3130
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3217
3131
|
}
|
|
@@ -3246,10 +3160,11 @@ class Ml {
|
|
|
3246
3160
|
calendar_id: params.calendar_id,
|
|
3247
3161
|
job_id: params.job_id
|
|
3248
3162
|
},
|
|
3249
|
-
acceptedParams:
|
|
3250
|
-
'calendar_id',
|
|
3251
|
-
|
|
3252
|
-
|
|
3163
|
+
acceptedParams: {
|
|
3164
|
+
path: ['calendar_id', 'job_id'],
|
|
3165
|
+
body: [],
|
|
3166
|
+
query: []
|
|
3167
|
+
}
|
|
3253
3168
|
};
|
|
3254
3169
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3255
3170
|
}
|
|
@@ -3295,20 +3210,11 @@ class Ml {
|
|
|
3295
3210
|
pathParts: {
|
|
3296
3211
|
id: params.id
|
|
3297
3212
|
},
|
|
3298
|
-
acceptedParams:
|
|
3299
|
-
'id',
|
|
3300
|
-
'allow_lazy_start',
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
'description',
|
|
3304
|
-
'dest',
|
|
3305
|
-
'max_num_threads',
|
|
3306
|
-
'_meta',
|
|
3307
|
-
'model_memory_limit',
|
|
3308
|
-
'source',
|
|
3309
|
-
'headers',
|
|
3310
|
-
'version'
|
|
3311
|
-
]
|
|
3213
|
+
acceptedParams: {
|
|
3214
|
+
path: ['id'],
|
|
3215
|
+
body: ['allow_lazy_start', 'analysis', 'analyzed_fields', 'description', 'dest', 'max_num_threads', '_meta', 'model_memory_limit', 'source', 'headers', 'version'],
|
|
3216
|
+
query: []
|
|
3217
|
+
}
|
|
3312
3218
|
};
|
|
3313
3219
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3314
3220
|
}
|
|
@@ -3354,29 +3260,11 @@ class Ml {
|
|
|
3354
3260
|
pathParts: {
|
|
3355
3261
|
datafeed_id: params.datafeed_id
|
|
3356
3262
|
},
|
|
3357
|
-
acceptedParams:
|
|
3358
|
-
'datafeed_id',
|
|
3359
|
-
'aggregations',
|
|
3360
|
-
'
|
|
3361
|
-
|
|
3362
|
-
'delayed_data_check_config',
|
|
3363
|
-
'frequency',
|
|
3364
|
-
'indices',
|
|
3365
|
-
'indexes',
|
|
3366
|
-
'indices_options',
|
|
3367
|
-
'job_id',
|
|
3368
|
-
'max_empty_searches',
|
|
3369
|
-
'query',
|
|
3370
|
-
'query_delay',
|
|
3371
|
-
'runtime_mappings',
|
|
3372
|
-
'script_fields',
|
|
3373
|
-
'scroll_size',
|
|
3374
|
-
'headers',
|
|
3375
|
-
'allow_no_indices',
|
|
3376
|
-
'expand_wildcards',
|
|
3377
|
-
'ignore_throttled',
|
|
3378
|
-
'ignore_unavailable'
|
|
3379
|
-
]
|
|
3263
|
+
acceptedParams: {
|
|
3264
|
+
path: ['datafeed_id'],
|
|
3265
|
+
body: ['aggregations', 'aggs', 'chunking_config', 'delayed_data_check_config', 'frequency', 'indices', 'indexes', 'indices_options', 'job_id', 'max_empty_searches', 'query', 'query_delay', 'runtime_mappings', 'script_fields', 'scroll_size', 'headers'],
|
|
3266
|
+
query: ['allow_no_indices', 'expand_wildcards', 'ignore_throttled', 'ignore_unavailable']
|
|
3267
|
+
}
|
|
3380
3268
|
};
|
|
3381
3269
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3382
3270
|
}
|
|
@@ -3422,11 +3310,11 @@ class Ml {
|
|
|
3422
3310
|
pathParts: {
|
|
3423
3311
|
filter_id: params.filter_id
|
|
3424
3312
|
},
|
|
3425
|
-
acceptedParams:
|
|
3426
|
-
'filter_id',
|
|
3427
|
-
'description',
|
|
3428
|
-
|
|
3429
|
-
|
|
3313
|
+
acceptedParams: {
|
|
3314
|
+
path: ['filter_id'],
|
|
3315
|
+
body: ['description', 'items'],
|
|
3316
|
+
query: []
|
|
3317
|
+
}
|
|
3430
3318
|
};
|
|
3431
3319
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3432
3320
|
}
|
|
@@ -3472,29 +3360,11 @@ class Ml {
|
|
|
3472
3360
|
pathParts: {
|
|
3473
3361
|
job_id: params.job_id
|
|
3474
3362
|
},
|
|
3475
|
-
acceptedParams:
|
|
3476
|
-
'job_id',
|
|
3477
|
-
'allow_lazy_open',
|
|
3478
|
-
'
|
|
3479
|
-
|
|
3480
|
-
'background_persist_interval',
|
|
3481
|
-
'custom_settings',
|
|
3482
|
-
'daily_model_snapshot_retention_after_days',
|
|
3483
|
-
'data_description',
|
|
3484
|
-
'datafeed_config',
|
|
3485
|
-
'description',
|
|
3486
|
-
'job_id',
|
|
3487
|
-
'groups',
|
|
3488
|
-
'model_plot_config',
|
|
3489
|
-
'model_snapshot_retention_days',
|
|
3490
|
-
'renormalization_window_days',
|
|
3491
|
-
'results_index_name',
|
|
3492
|
-
'results_retention_days',
|
|
3493
|
-
'allow_no_indices',
|
|
3494
|
-
'expand_wildcards',
|
|
3495
|
-
'ignore_throttled',
|
|
3496
|
-
'ignore_unavailable'
|
|
3497
|
-
]
|
|
3363
|
+
acceptedParams: {
|
|
3364
|
+
path: ['job_id'],
|
|
3365
|
+
body: ['allow_lazy_open', 'analysis_config', 'analysis_limits', 'background_persist_interval', 'custom_settings', 'daily_model_snapshot_retention_after_days', 'data_description', 'datafeed_config', 'description', 'job_id', 'groups', 'model_plot_config', 'model_snapshot_retention_days', 'renormalization_window_days', 'results_index_name', 'results_retention_days'],
|
|
3366
|
+
query: ['allow_no_indices', 'expand_wildcards', 'ignore_throttled', 'ignore_unavailable']
|
|
3367
|
+
}
|
|
3498
3368
|
};
|
|
3499
3369
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3500
3370
|
}
|
|
@@ -3540,22 +3410,11 @@ class Ml {
|
|
|
3540
3410
|
pathParts: {
|
|
3541
3411
|
model_id: params.model_id
|
|
3542
3412
|
},
|
|
3543
|
-
acceptedParams:
|
|
3544
|
-
'model_id',
|
|
3545
|
-
'compressed_definition',
|
|
3546
|
-
'
|
|
3547
|
-
|
|
3548
|
-
'inference_config',
|
|
3549
|
-
'input',
|
|
3550
|
-
'metadata',
|
|
3551
|
-
'model_type',
|
|
3552
|
-
'model_size_bytes',
|
|
3553
|
-
'platform_architecture',
|
|
3554
|
-
'tags',
|
|
3555
|
-
'prefix_strings',
|
|
3556
|
-
'defer_definition_decompression',
|
|
3557
|
-
'wait_for_completion'
|
|
3558
|
-
]
|
|
3413
|
+
acceptedParams: {
|
|
3414
|
+
path: ['model_id'],
|
|
3415
|
+
body: ['compressed_definition', 'definition', 'description', 'inference_config', 'input', 'metadata', 'model_type', 'model_size_bytes', 'platform_architecture', 'tags', 'prefix_strings'],
|
|
3416
|
+
query: ['defer_definition_decompression', 'wait_for_completion']
|
|
3417
|
+
}
|
|
3559
3418
|
};
|
|
3560
3419
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3561
3420
|
}
|
|
@@ -3590,11 +3449,11 @@ class Ml {
|
|
|
3590
3449
|
model_alias: params.model_alias,
|
|
3591
3450
|
model_id: params.model_id
|
|
3592
3451
|
},
|
|
3593
|
-
acceptedParams:
|
|
3594
|
-
'model_alias',
|
|
3595
|
-
|
|
3596
|
-
'reassign'
|
|
3597
|
-
|
|
3452
|
+
acceptedParams: {
|
|
3453
|
+
path: ['model_alias', 'model_id'],
|
|
3454
|
+
body: [],
|
|
3455
|
+
query: ['reassign']
|
|
3456
|
+
}
|
|
3598
3457
|
};
|
|
3599
3458
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3600
3459
|
}
|
|
@@ -3641,13 +3500,11 @@ class Ml {
|
|
|
3641
3500
|
model_id: params.model_id,
|
|
3642
3501
|
part: params.part
|
|
3643
3502
|
},
|
|
3644
|
-
acceptedParams:
|
|
3645
|
-
'model_id',
|
|
3646
|
-
'
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
'total_parts'
|
|
3650
|
-
]
|
|
3503
|
+
acceptedParams: {
|
|
3504
|
+
path: ['model_id', 'part'],
|
|
3505
|
+
body: ['definition', 'total_definition_length', 'total_parts'],
|
|
3506
|
+
query: []
|
|
3507
|
+
}
|
|
3651
3508
|
};
|
|
3652
3509
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3653
3510
|
}
|
|
@@ -3693,12 +3550,11 @@ class Ml {
|
|
|
3693
3550
|
pathParts: {
|
|
3694
3551
|
model_id: params.model_id
|
|
3695
3552
|
},
|
|
3696
|
-
acceptedParams:
|
|
3697
|
-
'model_id',
|
|
3698
|
-
'vocabulary',
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
]
|
|
3553
|
+
acceptedParams: {
|
|
3554
|
+
path: ['model_id'],
|
|
3555
|
+
body: ['vocabulary', 'merges', 'scores'],
|
|
3556
|
+
query: []
|
|
3557
|
+
}
|
|
3702
3558
|
};
|
|
3703
3559
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3704
3560
|
}
|
|
@@ -3732,11 +3588,11 @@ class Ml {
|
|
|
3732
3588
|
pathParts: {
|
|
3733
3589
|
job_id: params.job_id
|
|
3734
3590
|
},
|
|
3735
|
-
acceptedParams:
|
|
3736
|
-
'job_id',
|
|
3737
|
-
|
|
3738
|
-
'delete_user_annotations'
|
|
3739
|
-
|
|
3591
|
+
acceptedParams: {
|
|
3592
|
+
path: ['job_id'],
|
|
3593
|
+
body: [],
|
|
3594
|
+
query: ['wait_for_completion', 'delete_user_annotations']
|
|
3595
|
+
}
|
|
3740
3596
|
};
|
|
3741
3597
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3742
3598
|
}
|
|
@@ -3783,12 +3639,11 @@ class Ml {
|
|
|
3783
3639
|
job_id: params.job_id,
|
|
3784
3640
|
snapshot_id: params.snapshot_id
|
|
3785
3641
|
},
|
|
3786
|
-
acceptedParams:
|
|
3787
|
-
'job_id',
|
|
3788
|
-
'
|
|
3789
|
-
'delete_intervening_results'
|
|
3790
|
-
|
|
3791
|
-
]
|
|
3642
|
+
acceptedParams: {
|
|
3643
|
+
path: ['job_id', 'snapshot_id'],
|
|
3644
|
+
body: ['delete_intervening_results'],
|
|
3645
|
+
query: ['delete_intervening_results']
|
|
3646
|
+
}
|
|
3792
3647
|
};
|
|
3793
3648
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3794
3649
|
}
|
|
@@ -3820,10 +3675,11 @@ class Ml {
|
|
|
3820
3675
|
const path = '/_ml/set_upgrade_mode';
|
|
3821
3676
|
const meta = {
|
|
3822
3677
|
name: 'ml.set_upgrade_mode',
|
|
3823
|
-
acceptedParams:
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3678
|
+
acceptedParams: {
|
|
3679
|
+
path: [],
|
|
3680
|
+
body: [],
|
|
3681
|
+
query: ['enabled', 'timeout']
|
|
3682
|
+
}
|
|
3827
3683
|
};
|
|
3828
3684
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3829
3685
|
}
|
|
@@ -3869,12 +3725,11 @@ class Ml {
|
|
|
3869
3725
|
pathParts: {
|
|
3870
3726
|
id: params.id
|
|
3871
3727
|
},
|
|
3872
|
-
acceptedParams:
|
|
3873
|
-
'id',
|
|
3874
|
-
'id',
|
|
3875
|
-
'timeout'
|
|
3876
|
-
|
|
3877
|
-
]
|
|
3728
|
+
acceptedParams: {
|
|
3729
|
+
path: ['id'],
|
|
3730
|
+
body: ['id', 'timeout'],
|
|
3731
|
+
query: ['timeout']
|
|
3732
|
+
}
|
|
3878
3733
|
};
|
|
3879
3734
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3880
3735
|
}
|
|
@@ -3920,15 +3775,11 @@ class Ml {
|
|
|
3920
3775
|
pathParts: {
|
|
3921
3776
|
datafeed_id: params.datafeed_id
|
|
3922
3777
|
},
|
|
3923
|
-
acceptedParams:
|
|
3924
|
-
'datafeed_id',
|
|
3925
|
-
'end',
|
|
3926
|
-
'start',
|
|
3927
|
-
|
|
3928
|
-
'end',
|
|
3929
|
-
'start',
|
|
3930
|
-
'timeout'
|
|
3931
|
-
]
|
|
3778
|
+
acceptedParams: {
|
|
3779
|
+
path: ['datafeed_id'],
|
|
3780
|
+
body: ['end', 'start', 'timeout'],
|
|
3781
|
+
query: ['end', 'start', 'timeout']
|
|
3782
|
+
}
|
|
3932
3783
|
};
|
|
3933
3784
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3934
3785
|
}
|
|
@@ -3974,18 +3825,11 @@ class Ml {
|
|
|
3974
3825
|
pathParts: {
|
|
3975
3826
|
model_id: params.model_id
|
|
3976
3827
|
},
|
|
3977
|
-
acceptedParams:
|
|
3978
|
-
'model_id',
|
|
3979
|
-
'adaptive_allocations',
|
|
3980
|
-
'cache_size',
|
|
3981
|
-
|
|
3982
|
-
'number_of_allocations',
|
|
3983
|
-
'priority',
|
|
3984
|
-
'queue_capacity',
|
|
3985
|
-
'threads_per_allocation',
|
|
3986
|
-
'timeout',
|
|
3987
|
-
'wait_for'
|
|
3988
|
-
]
|
|
3828
|
+
acceptedParams: {
|
|
3829
|
+
path: ['model_id'],
|
|
3830
|
+
body: ['adaptive_allocations'],
|
|
3831
|
+
query: ['cache_size', 'deployment_id', 'number_of_allocations', 'priority', 'queue_capacity', 'threads_per_allocation', 'timeout', 'wait_for']
|
|
3832
|
+
}
|
|
3989
3833
|
};
|
|
3990
3834
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
3991
3835
|
}
|
|
@@ -4031,16 +3875,11 @@ class Ml {
|
|
|
4031
3875
|
pathParts: {
|
|
4032
3876
|
id: params.id
|
|
4033
3877
|
},
|
|
4034
|
-
acceptedParams:
|
|
4035
|
-
'id',
|
|
4036
|
-
'id',
|
|
4037
|
-
'allow_no_match',
|
|
4038
|
-
|
|
4039
|
-
'timeout',
|
|
4040
|
-
'allow_no_match',
|
|
4041
|
-
'force',
|
|
4042
|
-
'timeout'
|
|
4043
|
-
]
|
|
3878
|
+
acceptedParams: {
|
|
3879
|
+
path: ['id'],
|
|
3880
|
+
body: ['id', 'allow_no_match', 'force', 'timeout'],
|
|
3881
|
+
query: ['allow_no_match', 'force', 'timeout']
|
|
3882
|
+
}
|
|
4044
3883
|
};
|
|
4045
3884
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
4046
3885
|
}
|
|
@@ -4086,17 +3925,11 @@ class Ml {
|
|
|
4086
3925
|
pathParts: {
|
|
4087
3926
|
datafeed_id: params.datafeed_id
|
|
4088
3927
|
},
|
|
4089
|
-
acceptedParams:
|
|
4090
|
-
'datafeed_id',
|
|
4091
|
-
'allow_no_match',
|
|
4092
|
-
'force',
|
|
4093
|
-
|
|
4094
|
-
'close_job',
|
|
4095
|
-
'allow_no_match',
|
|
4096
|
-
'force',
|
|
4097
|
-
'timeout',
|
|
4098
|
-
'close_job'
|
|
4099
|
-
]
|
|
3928
|
+
acceptedParams: {
|
|
3929
|
+
path: ['datafeed_id'],
|
|
3930
|
+
body: ['allow_no_match', 'force', 'timeout', 'close_job'],
|
|
3931
|
+
query: ['allow_no_match', 'force', 'timeout', 'close_job']
|
|
3932
|
+
}
|
|
4100
3933
|
};
|
|
4101
3934
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
4102
3935
|
}
|
|
@@ -4142,14 +3975,11 @@ class Ml {
|
|
|
4142
3975
|
pathParts: {
|
|
4143
3976
|
model_id: params.model_id
|
|
4144
3977
|
},
|
|
4145
|
-
acceptedParams:
|
|
4146
|
-
'model_id',
|
|
4147
|
-
'id',
|
|
4148
|
-
'allow_no_match',
|
|
4149
|
-
|
|
4150
|
-
'allow_no_match',
|
|
4151
|
-
'force'
|
|
4152
|
-
]
|
|
3978
|
+
acceptedParams: {
|
|
3979
|
+
path: ['model_id'],
|
|
3980
|
+
body: ['id', 'allow_no_match', 'force'],
|
|
3981
|
+
query: ['allow_no_match', 'force']
|
|
3982
|
+
}
|
|
4153
3983
|
};
|
|
4154
3984
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
4155
3985
|
}
|
|
@@ -4195,13 +4025,11 @@ class Ml {
|
|
|
4195
4025
|
pathParts: {
|
|
4196
4026
|
id: params.id
|
|
4197
4027
|
},
|
|
4198
|
-
acceptedParams:
|
|
4199
|
-
'id',
|
|
4200
|
-
'description',
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
'allow_lazy_start'
|
|
4204
|
-
]
|
|
4028
|
+
acceptedParams: {
|
|
4029
|
+
path: ['id'],
|
|
4030
|
+
body: ['description', 'model_memory_limit', 'max_num_threads', 'allow_lazy_start'],
|
|
4031
|
+
query: []
|
|
4032
|
+
}
|
|
4205
4033
|
};
|
|
4206
4034
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
4207
4035
|
}
|
|
@@ -4247,27 +4075,11 @@ class Ml {
|
|
|
4247
4075
|
pathParts: {
|
|
4248
4076
|
datafeed_id: params.datafeed_id
|
|
4249
4077
|
},
|
|
4250
|
-
acceptedParams:
|
|
4251
|
-
'datafeed_id',
|
|
4252
|
-
'aggregations',
|
|
4253
|
-
'
|
|
4254
|
-
|
|
4255
|
-
'frequency',
|
|
4256
|
-
'indices',
|
|
4257
|
-
'indexes',
|
|
4258
|
-
'indices_options',
|
|
4259
|
-
'job_id',
|
|
4260
|
-
'max_empty_searches',
|
|
4261
|
-
'query',
|
|
4262
|
-
'query_delay',
|
|
4263
|
-
'runtime_mappings',
|
|
4264
|
-
'script_fields',
|
|
4265
|
-
'scroll_size',
|
|
4266
|
-
'allow_no_indices',
|
|
4267
|
-
'expand_wildcards',
|
|
4268
|
-
'ignore_throttled',
|
|
4269
|
-
'ignore_unavailable'
|
|
4270
|
-
]
|
|
4078
|
+
acceptedParams: {
|
|
4079
|
+
path: ['datafeed_id'],
|
|
4080
|
+
body: ['aggregations', 'chunking_config', 'delayed_data_check_config', 'frequency', 'indices', 'indexes', 'indices_options', 'job_id', 'max_empty_searches', 'query', 'query_delay', 'runtime_mappings', 'script_fields', 'scroll_size'],
|
|
4081
|
+
query: ['allow_no_indices', 'expand_wildcards', 'ignore_throttled', 'ignore_unavailable']
|
|
4082
|
+
}
|
|
4271
4083
|
};
|
|
4272
4084
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
4273
4085
|
}
|
|
@@ -4313,12 +4125,11 @@ class Ml {
|
|
|
4313
4125
|
pathParts: {
|
|
4314
4126
|
filter_id: params.filter_id
|
|
4315
4127
|
},
|
|
4316
|
-
acceptedParams:
|
|
4317
|
-
'filter_id',
|
|
4318
|
-
'add_items',
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
]
|
|
4128
|
+
acceptedParams: {
|
|
4129
|
+
path: ['filter_id'],
|
|
4130
|
+
body: ['add_items', 'description', 'remove_items'],
|
|
4131
|
+
query: []
|
|
4132
|
+
}
|
|
4322
4133
|
};
|
|
4323
4134
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
4324
4135
|
}
|
|
@@ -4364,24 +4175,11 @@ class Ml {
|
|
|
4364
4175
|
pathParts: {
|
|
4365
4176
|
job_id: params.job_id
|
|
4366
4177
|
},
|
|
4367
|
-
acceptedParams:
|
|
4368
|
-
'job_id',
|
|
4369
|
-
'allow_lazy_open',
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
'custom_settings',
|
|
4373
|
-
'categorization_filters',
|
|
4374
|
-
'description',
|
|
4375
|
-
'model_plot_config',
|
|
4376
|
-
'model_prune_window',
|
|
4377
|
-
'daily_model_snapshot_retention_after_days',
|
|
4378
|
-
'model_snapshot_retention_days',
|
|
4379
|
-
'renormalization_window_days',
|
|
4380
|
-
'results_retention_days',
|
|
4381
|
-
'groups',
|
|
4382
|
-
'detectors',
|
|
4383
|
-
'per_partition_categorization'
|
|
4384
|
-
]
|
|
4178
|
+
acceptedParams: {
|
|
4179
|
+
path: ['job_id'],
|
|
4180
|
+
body: ['allow_lazy_open', 'analysis_limits', 'background_persist_interval', 'custom_settings', 'categorization_filters', 'description', 'model_plot_config', 'model_prune_window', 'daily_model_snapshot_retention_after_days', 'model_snapshot_retention_days', 'renormalization_window_days', 'results_retention_days', 'groups', 'detectors', 'per_partition_categorization'],
|
|
4181
|
+
query: []
|
|
4182
|
+
}
|
|
4385
4183
|
};
|
|
4386
4184
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
4387
4185
|
}
|
|
@@ -4428,12 +4226,11 @@ class Ml {
|
|
|
4428
4226
|
job_id: params.job_id,
|
|
4429
4227
|
snapshot_id: params.snapshot_id
|
|
4430
4228
|
},
|
|
4431
|
-
acceptedParams:
|
|
4432
|
-
'job_id',
|
|
4433
|
-
'
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
]
|
|
4229
|
+
acceptedParams: {
|
|
4230
|
+
path: ['job_id', 'snapshot_id'],
|
|
4231
|
+
body: ['description', 'retain'],
|
|
4232
|
+
query: []
|
|
4233
|
+
}
|
|
4437
4234
|
};
|
|
4438
4235
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
4439
4236
|
}
|
|
@@ -4479,12 +4276,11 @@ class Ml {
|
|
|
4479
4276
|
pathParts: {
|
|
4480
4277
|
model_id: params.model_id
|
|
4481
4278
|
},
|
|
4482
|
-
acceptedParams:
|
|
4483
|
-
'model_id',
|
|
4484
|
-
'number_of_allocations',
|
|
4485
|
-
'
|
|
4486
|
-
|
|
4487
|
-
]
|
|
4279
|
+
acceptedParams: {
|
|
4280
|
+
path: ['model_id'],
|
|
4281
|
+
body: ['number_of_allocations', 'adaptive_allocations'],
|
|
4282
|
+
query: ['number_of_allocations']
|
|
4283
|
+
}
|
|
4488
4284
|
};
|
|
4489
4285
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
4490
4286
|
}
|
|
@@ -4519,12 +4315,11 @@ class Ml {
|
|
|
4519
4315
|
job_id: params.job_id,
|
|
4520
4316
|
snapshot_id: params.snapshot_id
|
|
4521
4317
|
},
|
|
4522
|
-
acceptedParams:
|
|
4523
|
-
'job_id',
|
|
4524
|
-
|
|
4525
|
-
'wait_for_completion',
|
|
4526
|
-
|
|
4527
|
-
]
|
|
4318
|
+
acceptedParams: {
|
|
4319
|
+
path: ['job_id', 'snapshot_id'],
|
|
4320
|
+
body: [],
|
|
4321
|
+
query: ['wait_for_completion', 'timeout']
|
|
4322
|
+
}
|
|
4528
4323
|
};
|
|
4529
4324
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
4530
4325
|
}
|
|
@@ -4568,17 +4363,11 @@ class Ml {
|
|
|
4568
4363
|
const path = '/_ml/anomaly_detectors/_validate';
|
|
4569
4364
|
const meta = {
|
|
4570
4365
|
name: 'ml.validate',
|
|
4571
|
-
acceptedParams:
|
|
4572
|
-
|
|
4573
|
-
'analysis_config',
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
'description',
|
|
4577
|
-
'model_plot',
|
|
4578
|
-
'model_snapshot_id',
|
|
4579
|
-
'model_snapshot_retention_days',
|
|
4580
|
-
'results_index_name'
|
|
4581
|
-
]
|
|
4366
|
+
acceptedParams: {
|
|
4367
|
+
path: [],
|
|
4368
|
+
body: ['job_id', 'analysis_config', 'analysis_limits', 'data_description', 'description', 'model_plot', 'model_snapshot_id', 'model_snapshot_retention_days', 'results_index_name'],
|
|
4369
|
+
query: []
|
|
4370
|
+
}
|
|
4582
4371
|
};
|
|
4583
4372
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
4584
4373
|
}
|
|
@@ -4612,9 +4401,11 @@ class Ml {
|
|
|
4612
4401
|
const path = '/_ml/anomaly_detectors/_validate/detector';
|
|
4613
4402
|
const meta = {
|
|
4614
4403
|
name: 'ml.validate_detector',
|
|
4615
|
-
acceptedParams:
|
|
4616
|
-
|
|
4617
|
-
|
|
4404
|
+
acceptedParams: {
|
|
4405
|
+
path: [],
|
|
4406
|
+
body: ['detector'],
|
|
4407
|
+
query: []
|
|
4408
|
+
}
|
|
4618
4409
|
};
|
|
4619
4410
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
4620
4411
|
}
|