@elastic/elasticsearch 8.17.0 → 8.17.1
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/api/bulk.d.ts +1 -1
- package/lib/api/api/cat.d.ts +26 -26
- package/lib/api/api/ccr.d.ts +13 -13
- package/lib/api/api/cluster.d.ts +14 -14
- package/lib/api/api/connector.d.ts +20 -20
- package/lib/api/api/connector.js +69 -13
- package/lib/api/api/connector.js.map +1 -1
- package/lib/api/api/count.d.ts +1 -1
- package/lib/api/api/create.d.ts +1 -1
- package/lib/api/api/dangling_indices.d.ts +3 -3
- package/lib/api/api/delete.d.ts +1 -1
- package/lib/api/api/delete_by_query.d.ts +1 -1
- package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/delete_script.d.ts +1 -1
- package/lib/api/api/esql.d.ts +15 -8
- package/lib/api/api/esql.js +42 -5
- package/lib/api/api/esql.js.map +1 -1
- package/lib/api/api/exists.d.ts +1 -1
- package/lib/api/api/exists_source.d.ts +1 -1
- package/lib/api/api/explain.d.ts +1 -1
- package/lib/api/api/features.d.ts +2 -2
- package/lib/api/api/get.d.ts +1 -1
- package/lib/api/api/get_script_context.d.ts +1 -1
- package/lib/api/api/get_script_languages.d.ts +1 -1
- package/lib/api/api/get_source.d.ts +1 -1
- package/lib/api/api/health_report.d.ts +1 -1
- package/lib/api/api/ilm.d.ts +11 -11
- package/lib/api/api/index.d.ts +1 -1
- package/lib/api/api/indices.d.ts +49 -42
- package/lib/api/api/indices.js +21 -0
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/inference.d.ts +13 -6
- package/lib/api/api/inference.js +56 -3
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.d.ts +2 -2
- package/lib/api/api/ingest.d.ts +13 -13
- package/lib/api/api/ingest.js +12 -4
- package/lib/api/api/ingest.js.map +1 -1
- package/lib/api/api/knn_search.d.ts +2 -2
- package/lib/api/api/license.d.ts +7 -7
- package/lib/api/api/logstash.d.ts +3 -3
- package/lib/api/api/mget.d.ts +1 -1
- package/lib/api/api/migration.d.ts +5 -5
- package/lib/api/api/ml.d.ts +6 -6
- package/lib/api/api/ml.js +4 -4
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.d.ts +1 -1
- package/lib/api/api/msearch_template.d.ts +2 -2
- package/lib/api/api/mtermvectors.d.ts +1 -1
- package/lib/api/api/nodes.d.ts +7 -7
- package/lib/api/api/open_point_in_time.d.ts +1 -1
- package/lib/api/api/ping.d.ts +1 -1
- package/lib/api/api/put_script.d.ts +1 -1
- package/lib/api/api/query_rules.d.ts +4 -4
- package/lib/api/api/reindex.d.ts +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +1 -1
- package/lib/api/api/render_search_template.js +2 -2
- package/lib/api/api/render_search_template.js.map +1 -1
- package/lib/api/api/rollup.d.ts +8 -8
- package/lib/api/api/scroll.d.ts +1 -1
- package/lib/api/api/search.d.ts +1 -1
- package/lib/api/api/search_application.d.ts +10 -10
- package/lib/api/api/search_application.js +27 -6
- package/lib/api/api/search_application.js.map +1 -1
- package/lib/api/api/search_mvt.d.ts +1 -1
- package/lib/api/api/search_shards.d.ts +1 -1
- package/lib/api/api/search_template.d.ts +1 -1
- package/lib/api/api/searchable_snapshots.d.ts +7 -7
- package/lib/api/api/security.d.ts +72 -65
- package/lib/api/api/security.js +120 -13
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/shutdown.d.ts +6 -6
- package/lib/api/api/simulate.d.ts +4 -4
- package/lib/api/api/simulate.js +17 -3
- package/lib/api/api/simulate.js.map +1 -1
- package/lib/api/api/slm.d.ts +9 -9
- package/lib/api/api/snapshot.d.ts +27 -27
- package/lib/api/api/snapshot.js +4 -4
- package/lib/api/api/snapshot.js.map +1 -1
- package/lib/api/api/sql.d.ts +3 -3
- package/lib/api/api/sql.js +1 -1
- package/lib/api/api/sql.js.map +1 -1
- package/lib/api/api/synonyms.d.ts +4 -4
- package/lib/api/api/tasks.d.ts +3 -3
- package/lib/api/api/terms_enum.d.ts +1 -1
- package/lib/api/api/termvectors.d.ts +1 -1
- package/lib/api/api/text_structure.d.ts +10 -10
- package/lib/api/api/text_structure.js +18 -4
- package/lib/api/api/text_structure.js.map +1 -1
- package/lib/api/api/transform.d.ts +1 -1
- package/lib/api/api/update.d.ts +1 -1
- package/lib/api/api/update_by_query.d.ts +1 -1
- package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/watcher.d.ts +19 -19
- package/lib/api/api/watcher.js +19 -3
- package/lib/api/api/watcher.js.map +1 -1
- package/lib/api/api/xpack.d.ts +2 -2
- package/lib/api/types.d.ts +762 -150
- package/lib/api/typesWithBodyKey.d.ts +815 -150
- package/lib/client.js +9 -1
- package/lib/client.js.map +1 -1
- package/package.json +3 -3
package/lib/api/types.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export interface BulkCreateOperation extends BulkWriteOperation {
|
|
|
8
8
|
}
|
|
9
9
|
export interface BulkDeleteOperation extends BulkOperationBase {
|
|
10
10
|
}
|
|
11
|
+
export type BulkFailureStoreStatus = 'not_applicable_or_unknown' | 'used' | 'not_enabled' | 'failed';
|
|
11
12
|
export interface BulkIndexOperation extends BulkWriteOperation {
|
|
12
13
|
}
|
|
13
14
|
export interface BulkOperationBase {
|
|
@@ -28,6 +29,7 @@ export interface BulkOperationContainer {
|
|
|
28
29
|
export type BulkOperationType = 'index' | 'create' | 'update' | 'delete';
|
|
29
30
|
export interface BulkRequest<TDocument = unknown, TPartialDocument = unknown> extends RequestBase {
|
|
30
31
|
index?: IndexName;
|
|
32
|
+
list_executed_pipelines?: boolean;
|
|
31
33
|
pipeline?: string;
|
|
32
34
|
refresh?: Refresh;
|
|
33
35
|
routing?: Routing;
|
|
@@ -37,6 +39,7 @@ export interface BulkRequest<TDocument = unknown, TPartialDocument = unknown> ex
|
|
|
37
39
|
timeout?: Duration;
|
|
38
40
|
wait_for_active_shards?: WaitForActiveShards;
|
|
39
41
|
require_alias?: boolean;
|
|
42
|
+
require_data_stream?: boolean;
|
|
40
43
|
operations?: (BulkOperationContainer | BulkUpdateAction<TDocument, TPartialDocument> | TDocument)[];
|
|
41
44
|
}
|
|
42
45
|
export interface BulkResponse {
|
|
@@ -49,6 +52,7 @@ export interface BulkResponseItem {
|
|
|
49
52
|
_id?: string | null;
|
|
50
53
|
_index: string;
|
|
51
54
|
status: integer;
|
|
55
|
+
failure_store?: BulkFailureStoreStatus;
|
|
52
56
|
error?: ErrorCause;
|
|
53
57
|
_primary_term?: long;
|
|
54
58
|
result?: string;
|
|
@@ -1918,7 +1922,7 @@ export interface ErrorResponseBase {
|
|
|
1918
1922
|
error: ErrorCause;
|
|
1919
1923
|
status: integer;
|
|
1920
1924
|
}
|
|
1921
|
-
export type
|
|
1925
|
+
export type EsqlResult = ArrayBuffer;
|
|
1922
1926
|
export type ExpandWildcard = 'all' | 'open' | 'closed' | 'hidden' | 'none';
|
|
1923
1927
|
export type ExpandWildcards = ExpandWildcard | ExpandWildcard[];
|
|
1924
1928
|
export type Field = string;
|
|
@@ -2381,6 +2385,7 @@ export interface StoredScript {
|
|
|
2381
2385
|
options?: Record<string, string>;
|
|
2382
2386
|
source: string;
|
|
2383
2387
|
}
|
|
2388
|
+
export type StreamResult = ArrayBuffer;
|
|
2384
2389
|
export type SuggestMode = 'missing' | 'popular' | 'always';
|
|
2385
2390
|
export type SuggestionName = string;
|
|
2386
2391
|
export interface TaskFailure {
|
|
@@ -4712,6 +4717,7 @@ export interface MappingPropertyBase {
|
|
|
4712
4717
|
ignore_above?: integer;
|
|
4713
4718
|
dynamic?: MappingDynamicMapping;
|
|
4714
4719
|
fields?: Record<PropertyName, MappingProperty>;
|
|
4720
|
+
synthetic_source_keep?: MappingSyntheticSourceKeepEnum;
|
|
4715
4721
|
}
|
|
4716
4722
|
export interface MappingRangePropertyBase extends MappingDocValuesPropertyBase {
|
|
4717
4723
|
boost?: double;
|
|
@@ -4799,6 +4805,7 @@ export interface MappingSuggestContext {
|
|
|
4799
4805
|
type: string;
|
|
4800
4806
|
precision?: integer | string;
|
|
4801
4807
|
}
|
|
4808
|
+
export type MappingSyntheticSourceKeepEnum = 'none' | 'arrays' | 'all';
|
|
4802
4809
|
export type MappingTermVectorOption = 'no' | 'yes' | 'with_offsets' | 'with_positions' | 'with_positions_offsets' | 'with_positions_offsets_payloads' | 'with_positions_payloads';
|
|
4803
4810
|
export interface MappingTextIndexPrefixes {
|
|
4804
4811
|
max_chars: integer;
|
|
@@ -5602,6 +5609,7 @@ export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSea
|
|
|
5602
5609
|
export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
5603
5610
|
index?: Indices;
|
|
5604
5611
|
wait_for_completion_timeout?: Duration;
|
|
5612
|
+
keep_alive?: Duration;
|
|
5605
5613
|
keep_on_completion?: boolean;
|
|
5606
5614
|
allow_no_indices?: boolean;
|
|
5607
5615
|
allow_partial_search_results?: boolean;
|
|
@@ -5750,6 +5758,8 @@ export interface CatAliasesAliasesRecord {
|
|
|
5750
5758
|
export interface CatAliasesRequest extends CatCatRequestBase {
|
|
5751
5759
|
name?: Names;
|
|
5752
5760
|
expand_wildcards?: ExpandWildcards;
|
|
5761
|
+
local?: boolean;
|
|
5762
|
+
master_timeout?: Duration;
|
|
5753
5763
|
}
|
|
5754
5764
|
export type CatAliasesResponse = CatAliasesAliasesRecord[];
|
|
5755
5765
|
export interface CatAllocationAllocationRecord {
|
|
@@ -5790,11 +5800,13 @@ export interface CatAllocationAllocationRecord {
|
|
|
5790
5800
|
export interface CatAllocationRequest extends CatCatRequestBase {
|
|
5791
5801
|
node_id?: NodeIds;
|
|
5792
5802
|
bytes?: Bytes;
|
|
5803
|
+
local?: boolean;
|
|
5804
|
+
master_timeout?: Duration;
|
|
5793
5805
|
}
|
|
5794
5806
|
export type CatAllocationResponse = CatAllocationAllocationRecord[];
|
|
5795
5807
|
export interface CatComponentTemplatesComponentTemplate {
|
|
5796
5808
|
name: string;
|
|
5797
|
-
version: string;
|
|
5809
|
+
version: string | null;
|
|
5798
5810
|
alias_count: string;
|
|
5799
5811
|
mapping_count: string;
|
|
5800
5812
|
settings_count: string;
|
|
@@ -5803,6 +5815,8 @@ export interface CatComponentTemplatesComponentTemplate {
|
|
|
5803
5815
|
}
|
|
5804
5816
|
export interface CatComponentTemplatesRequest extends CatCatRequestBase {
|
|
5805
5817
|
name?: string;
|
|
5818
|
+
local?: boolean;
|
|
5819
|
+
master_timeout?: Duration;
|
|
5806
5820
|
}
|
|
5807
5821
|
export type CatComponentTemplatesResponse = CatComponentTemplatesComponentTemplate[];
|
|
5808
5822
|
export interface CatCountCountRecord {
|
|
@@ -5895,12 +5909,10 @@ export interface CatHealthRequest extends CatCatRequestBase {
|
|
|
5895
5909
|
ts?: boolean;
|
|
5896
5910
|
}
|
|
5897
5911
|
export type CatHealthResponse = CatHealthHealthRecord[];
|
|
5898
|
-
export interface
|
|
5899
|
-
endpoint: string;
|
|
5912
|
+
export interface CatHelpRequest {
|
|
5900
5913
|
}
|
|
5901
|
-
export interface
|
|
5914
|
+
export interface CatHelpResponse {
|
|
5902
5915
|
}
|
|
5903
|
-
export type CatHelpResponse = CatHelpHelpRecord[];
|
|
5904
5916
|
export interface CatIndicesIndicesRecord {
|
|
5905
5917
|
health?: string;
|
|
5906
5918
|
h?: string;
|
|
@@ -6199,6 +6211,7 @@ export interface CatIndicesRequest extends CatCatRequestBase {
|
|
|
6199
6211
|
include_unloaded_segments?: boolean;
|
|
6200
6212
|
pri?: boolean;
|
|
6201
6213
|
time?: TimeUnit;
|
|
6214
|
+
master_timeout?: Duration;
|
|
6202
6215
|
}
|
|
6203
6216
|
export type CatIndicesResponse = CatIndicesIndicesRecord[];
|
|
6204
6217
|
export interface CatMasterMasterRecord {
|
|
@@ -6210,6 +6223,8 @@ export interface CatMasterMasterRecord {
|
|
|
6210
6223
|
n?: string;
|
|
6211
6224
|
}
|
|
6212
6225
|
export interface CatMasterRequest extends CatCatRequestBase {
|
|
6226
|
+
local?: boolean;
|
|
6227
|
+
master_timeout?: Duration;
|
|
6213
6228
|
}
|
|
6214
6229
|
export type CatMasterResponse = CatMasterMasterRecord[];
|
|
6215
6230
|
export interface CatMlDataFrameAnalyticsDataFrameAnalyticsRecord {
|
|
@@ -6261,7 +6276,7 @@ export interface CatMlDataFrameAnalyticsRequest extends CatCatRequestBase {
|
|
|
6261
6276
|
bytes?: Bytes;
|
|
6262
6277
|
h?: CatCatDfaColumns;
|
|
6263
6278
|
s?: CatCatDfaColumns;
|
|
6264
|
-
time?:
|
|
6279
|
+
time?: TimeUnit;
|
|
6265
6280
|
}
|
|
6266
6281
|
export type CatMlDataFrameAnalyticsResponse = CatMlDataFrameAnalyticsDataFrameAnalyticsRecord[];
|
|
6267
6282
|
export interface CatMlDatafeedsDatafeedsRecord {
|
|
@@ -6499,6 +6514,7 @@ export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
|
|
|
6499
6514
|
s?: CatCatTrainedModelsColumns;
|
|
6500
6515
|
from?: integer;
|
|
6501
6516
|
size?: integer;
|
|
6517
|
+
time?: TimeUnit;
|
|
6502
6518
|
}
|
|
6503
6519
|
export type CatMlTrainedModelsResponse = CatMlTrainedModelsTrainedModelsRecord[];
|
|
6504
6520
|
export interface CatMlTrainedModelsTrainedModelsRecord {
|
|
@@ -6562,6 +6578,8 @@ export interface CatNodeattrsNodeAttributesRecord {
|
|
|
6562
6578
|
value?: string;
|
|
6563
6579
|
}
|
|
6564
6580
|
export interface CatNodeattrsRequest extends CatCatRequestBase {
|
|
6581
|
+
local?: boolean;
|
|
6582
|
+
master_timeout?: Duration;
|
|
6565
6583
|
}
|
|
6566
6584
|
export type CatNodeattrsResponse = CatNodeattrsNodeAttributesRecord[];
|
|
6567
6585
|
export interface CatNodesNodesRecord {
|
|
@@ -6837,6 +6855,8 @@ export interface CatNodesRequest extends CatCatRequestBase {
|
|
|
6837
6855
|
bytes?: Bytes;
|
|
6838
6856
|
full_id?: boolean | string;
|
|
6839
6857
|
include_unloaded_segments?: boolean;
|
|
6858
|
+
master_timeout?: Duration;
|
|
6859
|
+
time?: TimeUnit;
|
|
6840
6860
|
}
|
|
6841
6861
|
export type CatNodesResponse = CatNodesNodesRecord[];
|
|
6842
6862
|
export interface CatPendingTasksPendingTasksRecord {
|
|
@@ -6850,6 +6870,9 @@ export interface CatPendingTasksPendingTasksRecord {
|
|
|
6850
6870
|
s?: string;
|
|
6851
6871
|
}
|
|
6852
6872
|
export interface CatPendingTasksRequest extends CatCatRequestBase {
|
|
6873
|
+
local?: boolean;
|
|
6874
|
+
master_timeout?: Duration;
|
|
6875
|
+
time?: TimeUnit;
|
|
6853
6876
|
}
|
|
6854
6877
|
export type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[];
|
|
6855
6878
|
export interface CatPluginsPluginsRecord {
|
|
@@ -6866,6 +6889,9 @@ export interface CatPluginsPluginsRecord {
|
|
|
6866
6889
|
t?: string;
|
|
6867
6890
|
}
|
|
6868
6891
|
export interface CatPluginsRequest extends CatCatRequestBase {
|
|
6892
|
+
include_bootstrap?: boolean;
|
|
6893
|
+
local?: boolean;
|
|
6894
|
+
master_timeout?: Duration;
|
|
6869
6895
|
}
|
|
6870
6896
|
export type CatPluginsResponse = CatPluginsPluginsRecord[];
|
|
6871
6897
|
export interface CatRecoveryRecoveryRecord {
|
|
@@ -6930,6 +6956,7 @@ export interface CatRecoveryRequest extends CatCatRequestBase {
|
|
|
6930
6956
|
active_only?: boolean;
|
|
6931
6957
|
bytes?: Bytes;
|
|
6932
6958
|
detailed?: boolean;
|
|
6959
|
+
time?: TimeUnit;
|
|
6933
6960
|
}
|
|
6934
6961
|
export type CatRecoveryResponse = CatRecoveryRecoveryRecord[];
|
|
6935
6962
|
export interface CatRepositoriesRepositoriesRecord {
|
|
@@ -6939,11 +6966,15 @@ export interface CatRepositoriesRepositoriesRecord {
|
|
|
6939
6966
|
t?: string;
|
|
6940
6967
|
}
|
|
6941
6968
|
export interface CatRepositoriesRequest extends CatCatRequestBase {
|
|
6969
|
+
local?: boolean;
|
|
6970
|
+
master_timeout?: Duration;
|
|
6942
6971
|
}
|
|
6943
6972
|
export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
|
|
6944
6973
|
export interface CatSegmentsRequest extends CatCatRequestBase {
|
|
6945
6974
|
index?: Indices;
|
|
6946
6975
|
bytes?: Bytes;
|
|
6976
|
+
local?: boolean;
|
|
6977
|
+
master_timeout?: Duration;
|
|
6947
6978
|
}
|
|
6948
6979
|
export type CatSegmentsResponse = CatSegmentsSegmentsRecord[];
|
|
6949
6980
|
export interface CatSegmentsSegmentsRecord {
|
|
@@ -6990,6 +7021,8 @@ export interface CatSegmentsSegmentsRecord {
|
|
|
6990
7021
|
export interface CatShardsRequest extends CatCatRequestBase {
|
|
6991
7022
|
index?: Indices;
|
|
6992
7023
|
bytes?: Bytes;
|
|
7024
|
+
master_timeout?: Duration;
|
|
7025
|
+
time?: TimeUnit;
|
|
6993
7026
|
}
|
|
6994
7027
|
export type CatShardsResponse = CatShardsShardsRecord[];
|
|
6995
7028
|
export interface CatShardsShardsRecord {
|
|
@@ -7209,6 +7242,8 @@ export interface CatShardsShardsRecord {
|
|
|
7209
7242
|
export interface CatSnapshotsRequest extends CatCatRequestBase {
|
|
7210
7243
|
repository?: Names;
|
|
7211
7244
|
ignore_unavailable?: boolean;
|
|
7245
|
+
master_timeout?: Duration;
|
|
7246
|
+
time?: TimeUnit;
|
|
7212
7247
|
}
|
|
7213
7248
|
export type CatSnapshotsResponse = CatSnapshotsSnapshotsRecord[];
|
|
7214
7249
|
export interface CatSnapshotsSnapshotsRecord {
|
|
@@ -7247,8 +7282,11 @@ export interface CatSnapshotsSnapshotsRecord {
|
|
|
7247
7282
|
export interface CatTasksRequest extends CatCatRequestBase {
|
|
7248
7283
|
actions?: string[];
|
|
7249
7284
|
detailed?: boolean;
|
|
7250
|
-
|
|
7285
|
+
nodes?: string[];
|
|
7251
7286
|
parent_task_id?: string;
|
|
7287
|
+
time?: TimeUnit;
|
|
7288
|
+
timeout?: Duration;
|
|
7289
|
+
wait_for_completion?: boolean;
|
|
7252
7290
|
}
|
|
7253
7291
|
export type CatTasksResponse = CatTasksTasksRecord[];
|
|
7254
7292
|
export interface CatTasksTasksRecord {
|
|
@@ -7287,6 +7325,8 @@ export interface CatTasksTasksRecord {
|
|
|
7287
7325
|
}
|
|
7288
7326
|
export interface CatTemplatesRequest extends CatCatRequestBase {
|
|
7289
7327
|
name?: Name;
|
|
7328
|
+
local?: boolean;
|
|
7329
|
+
master_timeout?: Duration;
|
|
7290
7330
|
}
|
|
7291
7331
|
export type CatTemplatesResponse = CatTemplatesTemplatesRecord[];
|
|
7292
7332
|
export interface CatTemplatesTemplatesRecord {
|
|
@@ -7305,6 +7345,8 @@ export interface CatTemplatesTemplatesRecord {
|
|
|
7305
7345
|
export interface CatThreadPoolRequest extends CatCatRequestBase {
|
|
7306
7346
|
thread_pool_patterns?: Names;
|
|
7307
7347
|
time?: TimeUnit;
|
|
7348
|
+
local?: boolean;
|
|
7349
|
+
master_timeout?: Duration;
|
|
7308
7350
|
}
|
|
7309
7351
|
export type CatThreadPoolResponse = CatThreadPoolThreadPoolRecord[];
|
|
7310
7352
|
export interface CatThreadPoolThreadPoolRecord {
|
|
@@ -7640,6 +7682,7 @@ export interface ClusterComponentTemplateNode {
|
|
|
7640
7682
|
template: ClusterComponentTemplateSummary;
|
|
7641
7683
|
version?: VersionNumber;
|
|
7642
7684
|
_meta?: Metadata;
|
|
7685
|
+
deprecated?: boolean;
|
|
7643
7686
|
}
|
|
7644
7687
|
export interface ClusterComponentTemplateSummary {
|
|
7645
7688
|
_meta?: Metadata;
|
|
@@ -8492,10 +8535,28 @@ export interface ConnectorSyncJobCancelRequest extends RequestBase {
|
|
|
8492
8535
|
export interface ConnectorSyncJobCancelResponse {
|
|
8493
8536
|
result: Result;
|
|
8494
8537
|
}
|
|
8538
|
+
export interface ConnectorSyncJobCheckInRequest extends RequestBase {
|
|
8539
|
+
connector_sync_job_id: Id;
|
|
8540
|
+
}
|
|
8541
|
+
export interface ConnectorSyncJobCheckInResponse {
|
|
8542
|
+
}
|
|
8543
|
+
export interface ConnectorSyncJobClaimRequest extends RequestBase {
|
|
8544
|
+
connector_sync_job_id: Id;
|
|
8545
|
+
sync_cursor?: any;
|
|
8546
|
+
worker_hostname: string;
|
|
8547
|
+
}
|
|
8548
|
+
export interface ConnectorSyncJobClaimResponse {
|
|
8549
|
+
}
|
|
8495
8550
|
export interface ConnectorSyncJobDeleteRequest extends RequestBase {
|
|
8496
8551
|
connector_sync_job_id: Id;
|
|
8497
8552
|
}
|
|
8498
8553
|
export type ConnectorSyncJobDeleteResponse = AcknowledgedResponseBase;
|
|
8554
|
+
export interface ConnectorSyncJobErrorRequest extends RequestBase {
|
|
8555
|
+
connector_sync_job_id: Id;
|
|
8556
|
+
error: string;
|
|
8557
|
+
}
|
|
8558
|
+
export interface ConnectorSyncJobErrorResponse {
|
|
8559
|
+
}
|
|
8499
8560
|
export interface ConnectorSyncJobGetRequest extends RequestBase {
|
|
8500
8561
|
connector_sync_job_id: Id;
|
|
8501
8562
|
}
|
|
@@ -8519,6 +8580,17 @@ export interface ConnectorSyncJobPostRequest extends RequestBase {
|
|
|
8519
8580
|
export interface ConnectorSyncJobPostResponse {
|
|
8520
8581
|
id: Id;
|
|
8521
8582
|
}
|
|
8583
|
+
export interface ConnectorSyncJobUpdateStatsRequest extends RequestBase {
|
|
8584
|
+
connector_sync_job_id: Id;
|
|
8585
|
+
deleted_document_count: long;
|
|
8586
|
+
indexed_document_count: long;
|
|
8587
|
+
indexed_document_volume: long;
|
|
8588
|
+
last_seen?: Duration;
|
|
8589
|
+
metadata?: Metadata;
|
|
8590
|
+
total_document_count?: integer;
|
|
8591
|
+
}
|
|
8592
|
+
export interface ConnectorSyncJobUpdateStatsResponse {
|
|
8593
|
+
}
|
|
8522
8594
|
export interface ConnectorUpdateActiveFilteringRequest extends RequestBase {
|
|
8523
8595
|
connector_id: Id;
|
|
8524
8596
|
}
|
|
@@ -8548,6 +8620,13 @@ export interface ConnectorUpdateErrorRequest extends RequestBase {
|
|
|
8548
8620
|
export interface ConnectorUpdateErrorResponse {
|
|
8549
8621
|
result: Result;
|
|
8550
8622
|
}
|
|
8623
|
+
export interface ConnectorUpdateFeaturesRequest extends RequestBase {
|
|
8624
|
+
connector_id: Id;
|
|
8625
|
+
features: ConnectorConnectorFeatures;
|
|
8626
|
+
}
|
|
8627
|
+
export interface ConnectorUpdateFeaturesResponse {
|
|
8628
|
+
result: Result;
|
|
8629
|
+
}
|
|
8551
8630
|
export interface ConnectorUpdateFilteringRequest extends RequestBase {
|
|
8552
8631
|
connector_id: Id;
|
|
8553
8632
|
filtering?: ConnectorFilteringConfig[];
|
|
@@ -8785,6 +8864,34 @@ export type EsqlTableValuesIntegerValue = integer | integer[];
|
|
|
8785
8864
|
export type EsqlTableValuesKeywordValue = string | string[];
|
|
8786
8865
|
export type EsqlTableValuesLongDouble = double | double[];
|
|
8787
8866
|
export type EsqlTableValuesLongValue = long | long[];
|
|
8867
|
+
export interface EsqlAsyncQueryRequest extends RequestBase {
|
|
8868
|
+
delimiter?: string;
|
|
8869
|
+
drop_null_columns?: boolean;
|
|
8870
|
+
format?: EsqlQueryEsqlFormat;
|
|
8871
|
+
keep_alive?: Duration;
|
|
8872
|
+
keep_on_completion?: boolean;
|
|
8873
|
+
wait_for_completion_timeout?: Duration;
|
|
8874
|
+
columnar?: boolean;
|
|
8875
|
+
filter?: QueryDslQueryContainer;
|
|
8876
|
+
locale?: string;
|
|
8877
|
+
params?: FieldValue[];
|
|
8878
|
+
profile?: boolean;
|
|
8879
|
+
query: string;
|
|
8880
|
+
tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
|
|
8881
|
+
include_ccs_metadata?: boolean;
|
|
8882
|
+
}
|
|
8883
|
+
export type EsqlAsyncQueryResponse = EsqlResult;
|
|
8884
|
+
export interface EsqlAsyncQueryDeleteRequest extends RequestBase {
|
|
8885
|
+
id: Id;
|
|
8886
|
+
}
|
|
8887
|
+
export type EsqlAsyncQueryDeleteResponse = AcknowledgedResponseBase;
|
|
8888
|
+
export interface EsqlAsyncQueryGetRequest extends RequestBase {
|
|
8889
|
+
id: Id;
|
|
8890
|
+
drop_null_columns?: boolean;
|
|
8891
|
+
keep_alive?: Duration;
|
|
8892
|
+
wait_for_completion_timeout?: Duration;
|
|
8893
|
+
}
|
|
8894
|
+
export type EsqlAsyncQueryGetResponse = EsqlResult;
|
|
8788
8895
|
export type EsqlQueryEsqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile' | 'arrow';
|
|
8789
8896
|
export interface EsqlQueryRequest extends RequestBase {
|
|
8790
8897
|
format?: EsqlQueryEsqlFormat;
|
|
@@ -8797,8 +8904,9 @@ export interface EsqlQueryRequest extends RequestBase {
|
|
|
8797
8904
|
profile?: boolean;
|
|
8798
8905
|
query: string;
|
|
8799
8906
|
tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
|
|
8907
|
+
include_ccs_metadata?: boolean;
|
|
8800
8908
|
}
|
|
8801
|
-
export type EsqlQueryResponse =
|
|
8909
|
+
export type EsqlQueryResponse = EsqlResult;
|
|
8802
8910
|
export interface FeaturesFeature {
|
|
8803
8911
|
name: string;
|
|
8804
8912
|
description: string;
|
|
@@ -9020,7 +9128,7 @@ export interface IlmMigrateAction {
|
|
|
9020
9128
|
}
|
|
9021
9129
|
export interface IlmPhase {
|
|
9022
9130
|
actions?: IlmActions;
|
|
9023
|
-
min_age?: Duration
|
|
9131
|
+
min_age?: Duration;
|
|
9024
9132
|
}
|
|
9025
9133
|
export interface IlmPhases {
|
|
9026
9134
|
cold?: IlmPhase;
|
|
@@ -9074,7 +9182,7 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
|
9074
9182
|
age?: Duration;
|
|
9075
9183
|
failed_step?: Name;
|
|
9076
9184
|
failed_step_retry_count?: integer;
|
|
9077
|
-
index
|
|
9185
|
+
index: IndexName;
|
|
9078
9186
|
index_creation_date?: DateTime;
|
|
9079
9187
|
index_creation_date_millis?: EpochTime<UnitMillis>;
|
|
9080
9188
|
is_auto_retryable_error?: boolean;
|
|
@@ -9084,7 +9192,11 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
|
9084
9192
|
phase: Name;
|
|
9085
9193
|
phase_time?: DateTime;
|
|
9086
9194
|
phase_time_millis?: EpochTime<UnitMillis>;
|
|
9087
|
-
policy
|
|
9195
|
+
policy?: Name;
|
|
9196
|
+
previous_step_info?: Record<string, any>;
|
|
9197
|
+
repository_name?: string;
|
|
9198
|
+
snapshot_name?: string;
|
|
9199
|
+
shrink_index_name?: string;
|
|
9088
9200
|
step?: Name;
|
|
9089
9201
|
step_info?: Record<string, any>;
|
|
9090
9202
|
step_time?: DateTime;
|
|
@@ -9093,6 +9205,7 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
|
9093
9205
|
time_since_index_creation?: Duration;
|
|
9094
9206
|
}
|
|
9095
9207
|
export interface IlmExplainLifecycleLifecycleExplainPhaseExecution {
|
|
9208
|
+
phase_definition?: IlmPhase;
|
|
9096
9209
|
policy: Name;
|
|
9097
9210
|
version: VersionNumber;
|
|
9098
9211
|
modified_date_in_millis: EpochTime<UnitMillis>;
|
|
@@ -9387,6 +9500,7 @@ export interface IndicesIndexSettingsLifecycle {
|
|
|
9387
9500
|
parse_origination_date?: boolean;
|
|
9388
9501
|
step?: IndicesIndexSettingsLifecycleStep;
|
|
9389
9502
|
rollover_alias?: string;
|
|
9503
|
+
prefer_ilm?: boolean | string;
|
|
9390
9504
|
}
|
|
9391
9505
|
export interface IndicesIndexSettingsLifecycleStep {
|
|
9392
9506
|
wait_time_threshold?: Duration;
|
|
@@ -9453,7 +9567,8 @@ export interface IndicesMappingLimitSettings {
|
|
|
9453
9567
|
nested_objects?: IndicesMappingLimitSettingsNestedObjects;
|
|
9454
9568
|
field_name_length?: IndicesMappingLimitSettingsFieldNameLength;
|
|
9455
9569
|
dimension_fields?: IndicesMappingLimitSettingsDimensionFields;
|
|
9456
|
-
|
|
9570
|
+
source?: IndicesMappingLimitSettingsSourceFields;
|
|
9571
|
+
ignore_malformed?: boolean | string;
|
|
9457
9572
|
}
|
|
9458
9573
|
export interface IndicesMappingLimitSettingsDepth {
|
|
9459
9574
|
limit?: long;
|
|
@@ -9470,6 +9585,9 @@ export interface IndicesMappingLimitSettingsNestedFields {
|
|
|
9470
9585
|
export interface IndicesMappingLimitSettingsNestedObjects {
|
|
9471
9586
|
limit?: long;
|
|
9472
9587
|
}
|
|
9588
|
+
export interface IndicesMappingLimitSettingsSourceFields {
|
|
9589
|
+
mode: IndicesSourceMode;
|
|
9590
|
+
}
|
|
9473
9591
|
export interface IndicesMappingLimitSettingsTotalFields {
|
|
9474
9592
|
limit?: long | string;
|
|
9475
9593
|
ignore_dynamic_beyond_limit?: boolean | string;
|
|
@@ -9569,6 +9687,7 @@ export interface IndicesSoftDeletes {
|
|
|
9569
9687
|
enabled?: boolean;
|
|
9570
9688
|
retention_lease?: IndicesRetentionLease;
|
|
9571
9689
|
}
|
|
9690
|
+
export type IndicesSourceMode = 'DISABLED' | 'STORED' | 'SYNTHETIC';
|
|
9572
9691
|
export interface IndicesStorage {
|
|
9573
9692
|
type: IndicesStorageType;
|
|
9574
9693
|
allow_mmap?: boolean;
|
|
@@ -9972,6 +10091,19 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
|
|
|
9972
10091
|
export interface IndicesGetDataLifecycleResponse {
|
|
9973
10092
|
data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
|
|
9974
10093
|
}
|
|
10094
|
+
export interface IndicesGetDataLifecycleStatsDataStreamStats {
|
|
10095
|
+
backing_indices_in_error: integer;
|
|
10096
|
+
backing_indices_in_total: integer;
|
|
10097
|
+
name: DataStreamName;
|
|
10098
|
+
}
|
|
10099
|
+
export interface IndicesGetDataLifecycleStatsRequest extends RequestBase {
|
|
10100
|
+
}
|
|
10101
|
+
export interface IndicesGetDataLifecycleStatsResponse {
|
|
10102
|
+
data_stream_count: integer;
|
|
10103
|
+
data_streams: IndicesGetDataLifecycleStatsDataStreamStats[];
|
|
10104
|
+
last_run_duration_in_millis?: DurationValue<UnitMillis>;
|
|
10105
|
+
time_between_starts_in_millis?: DurationValue<UnitMillis>;
|
|
10106
|
+
}
|
|
9975
10107
|
export interface IndicesGetDataStreamRequest extends RequestBase {
|
|
9976
10108
|
name?: DataStreamNames;
|
|
9977
10109
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -10724,7 +10856,14 @@ export interface InferenceDeleteInferenceEndpointResult extends AcknowledgedResp
|
|
|
10724
10856
|
}
|
|
10725
10857
|
export type InferenceDenseByteVector = byte[];
|
|
10726
10858
|
export type InferenceDenseVector = float[];
|
|
10859
|
+
export interface InferenceInferenceChunkingSettings extends InferenceInferenceEndpoint {
|
|
10860
|
+
max_chunk_size?: integer;
|
|
10861
|
+
overlap?: integer;
|
|
10862
|
+
sentence_overlap?: integer;
|
|
10863
|
+
strategy?: string;
|
|
10864
|
+
}
|
|
10727
10865
|
export interface InferenceInferenceEndpoint {
|
|
10866
|
+
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
10728
10867
|
service: string;
|
|
10729
10868
|
service_settings: InferenceServiceSettings;
|
|
10730
10869
|
task_settings?: InferenceTaskSettings;
|
|
@@ -10742,7 +10881,7 @@ export interface InferenceInferenceResult {
|
|
|
10742
10881
|
}
|
|
10743
10882
|
export interface InferenceRankedDocument {
|
|
10744
10883
|
index: integer;
|
|
10745
|
-
|
|
10884
|
+
relevance_score: float;
|
|
10746
10885
|
text?: string;
|
|
10747
10886
|
}
|
|
10748
10887
|
export type InferenceServiceSettings = any;
|
|
@@ -10787,6 +10926,18 @@ export interface InferencePutRequest extends RequestBase {
|
|
|
10787
10926
|
inference_config?: InferenceInferenceEndpoint;
|
|
10788
10927
|
}
|
|
10789
10928
|
export type InferencePutResponse = InferenceInferenceEndpointInfo;
|
|
10929
|
+
export interface InferenceStreamInferenceRequest extends RequestBase {
|
|
10930
|
+
inference_id: Id;
|
|
10931
|
+
task_type?: InferenceTaskType;
|
|
10932
|
+
input: string | string[];
|
|
10933
|
+
}
|
|
10934
|
+
export type InferenceStreamInferenceResponse = StreamResult;
|
|
10935
|
+
export interface InferenceUpdateRequest extends RequestBase {
|
|
10936
|
+
inference_id: Id;
|
|
10937
|
+
task_type?: InferenceTaskType;
|
|
10938
|
+
inference_config?: InferenceInferenceEndpoint;
|
|
10939
|
+
}
|
|
10940
|
+
export type InferenceUpdateResponse = InferenceInferenceEndpointInfo;
|
|
10790
10941
|
export interface IngestAppendProcessor extends IngestProcessorBase {
|
|
10791
10942
|
field: Field;
|
|
10792
10943
|
value: any | any[];
|
|
@@ -10845,7 +10996,15 @@ export interface IngestCsvProcessor extends IngestProcessorBase {
|
|
|
10845
10996
|
}
|
|
10846
10997
|
export interface IngestDatabaseConfiguration {
|
|
10847
10998
|
name: Name;
|
|
10848
|
-
maxmind
|
|
10999
|
+
maxmind?: IngestMaxmind;
|
|
11000
|
+
ipinfo?: IngestIpinfo;
|
|
11001
|
+
}
|
|
11002
|
+
export interface IngestDatabaseConfigurationFull {
|
|
11003
|
+
web?: IngestWeb;
|
|
11004
|
+
local?: IngestLocal;
|
|
11005
|
+
name: Name;
|
|
11006
|
+
maxmind?: IngestMaxmind;
|
|
11007
|
+
ipinfo?: IngestIpinfo;
|
|
10849
11008
|
}
|
|
10850
11009
|
export interface IngestDateIndexNameProcessor extends IngestProcessorBase {
|
|
10851
11010
|
date_formats: string[];
|
|
@@ -10870,6 +11029,23 @@ export interface IngestDissectProcessor extends IngestProcessorBase {
|
|
|
10870
11029
|
ignore_missing?: boolean;
|
|
10871
11030
|
pattern: string;
|
|
10872
11031
|
}
|
|
11032
|
+
export interface IngestDocument {
|
|
11033
|
+
_id?: Id;
|
|
11034
|
+
_index?: IndexName;
|
|
11035
|
+
_source: any;
|
|
11036
|
+
}
|
|
11037
|
+
export interface IngestDocumentSimulationKeys {
|
|
11038
|
+
_id: Id;
|
|
11039
|
+
_index: IndexName;
|
|
11040
|
+
_ingest: IngestIngest;
|
|
11041
|
+
_routing?: string;
|
|
11042
|
+
_source: Record<string, any>;
|
|
11043
|
+
_version?: SpecUtilsStringified<VersionNumber>;
|
|
11044
|
+
_version_type?: VersionType;
|
|
11045
|
+
}
|
|
11046
|
+
export type IngestDocumentSimulation = IngestDocumentSimulationKeys & {
|
|
11047
|
+
[property: string]: string | Id | IndexName | IngestIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
|
|
11048
|
+
};
|
|
10873
11049
|
export interface IngestDotExpanderProcessor extends IngestProcessorBase {
|
|
10874
11050
|
field: Field;
|
|
10875
11051
|
override?: boolean;
|
|
@@ -10965,6 +11141,11 @@ export interface IngestInferenceProcessor extends IngestProcessorBase {
|
|
|
10965
11141
|
field_map?: Record<Field, any>;
|
|
10966
11142
|
inference_config?: IngestInferenceConfig;
|
|
10967
11143
|
}
|
|
11144
|
+
export interface IngestIngest {
|
|
11145
|
+
_redact?: IngestRedact;
|
|
11146
|
+
timestamp: DateTime;
|
|
11147
|
+
pipeline?: Name;
|
|
11148
|
+
}
|
|
10968
11149
|
export interface IngestIpLocationProcessor extends IngestProcessorBase {
|
|
10969
11150
|
database_file?: string;
|
|
10970
11151
|
field: Field;
|
|
@@ -10974,6 +11155,8 @@ export interface IngestIpLocationProcessor extends IngestProcessorBase {
|
|
|
10974
11155
|
target_field?: Field;
|
|
10975
11156
|
download_database_on_pipeline_creation?: boolean;
|
|
10976
11157
|
}
|
|
11158
|
+
export interface IngestIpinfo {
|
|
11159
|
+
}
|
|
10977
11160
|
export interface IngestJoinProcessor extends IngestProcessorBase {
|
|
10978
11161
|
field: Field;
|
|
10979
11162
|
separator: string;
|
|
@@ -11000,6 +11183,9 @@ export interface IngestKeyValueProcessor extends IngestProcessorBase {
|
|
|
11000
11183
|
trim_value?: string;
|
|
11001
11184
|
value_split: string;
|
|
11002
11185
|
}
|
|
11186
|
+
export interface IngestLocal {
|
|
11187
|
+
type: string;
|
|
11188
|
+
}
|
|
11003
11189
|
export interface IngestLowercaseProcessor extends IngestProcessorBase {
|
|
11004
11190
|
field: Field;
|
|
11005
11191
|
ignore_missing?: boolean;
|
|
@@ -11033,6 +11219,15 @@ export interface IngestPipelineProcessor extends IngestProcessorBase {
|
|
|
11033
11219
|
name: Name;
|
|
11034
11220
|
ignore_missing_pipeline?: boolean;
|
|
11035
11221
|
}
|
|
11222
|
+
export interface IngestPipelineSimulation {
|
|
11223
|
+
doc?: IngestDocumentSimulation;
|
|
11224
|
+
tag?: string;
|
|
11225
|
+
processor_type?: string;
|
|
11226
|
+
status?: WatcherActionStatusOptions;
|
|
11227
|
+
description?: string;
|
|
11228
|
+
ignored_error?: ErrorCause;
|
|
11229
|
+
error?: ErrorCause;
|
|
11230
|
+
}
|
|
11036
11231
|
export interface IngestProcessorBase {
|
|
11037
11232
|
description?: string;
|
|
11038
11233
|
if?: string;
|
|
@@ -11087,6 +11282,9 @@ export interface IngestProcessorContainer {
|
|
|
11087
11282
|
uri_parts?: IngestUriPartsProcessor;
|
|
11088
11283
|
user_agent?: IngestUserAgentProcessor;
|
|
11089
11284
|
}
|
|
11285
|
+
export interface IngestRedact {
|
|
11286
|
+
_is_redacted: boolean;
|
|
11287
|
+
}
|
|
11090
11288
|
export interface IngestRedactProcessor extends IngestProcessorBase {
|
|
11091
11289
|
field: Field;
|
|
11092
11290
|
patterns: GrokPattern[];
|
|
@@ -11136,6 +11334,11 @@ export interface IngestSetSecurityUserProcessor extends IngestProcessorBase {
|
|
|
11136
11334
|
properties?: string[];
|
|
11137
11335
|
}
|
|
11138
11336
|
export type IngestShapeType = 'geo_shape' | 'shape';
|
|
11337
|
+
export interface IngestSimulateDocumentResult {
|
|
11338
|
+
doc?: IngestDocumentSimulation;
|
|
11339
|
+
error?: ErrorCause;
|
|
11340
|
+
processor_results?: IngestPipelineSimulation[];
|
|
11341
|
+
}
|
|
11139
11342
|
export interface IngestSortProcessor extends IngestProcessorBase {
|
|
11140
11343
|
field: Field;
|
|
11141
11344
|
order?: SortOrder;
|
|
@@ -11181,12 +11384,20 @@ export interface IngestUserAgentProcessor extends IngestProcessorBase {
|
|
|
11181
11384
|
extract_device_type?: boolean;
|
|
11182
11385
|
}
|
|
11183
11386
|
export type IngestUserAgentProperty = 'name' | 'os' | 'device' | 'original' | 'version';
|
|
11387
|
+
export interface IngestWeb {
|
|
11388
|
+
}
|
|
11184
11389
|
export interface IngestDeleteGeoipDatabaseRequest extends RequestBase {
|
|
11185
11390
|
id: Ids;
|
|
11186
11391
|
master_timeout?: Duration;
|
|
11187
11392
|
timeout?: Duration;
|
|
11188
11393
|
}
|
|
11189
11394
|
export type IngestDeleteGeoipDatabaseResponse = AcknowledgedResponseBase;
|
|
11395
|
+
export interface IngestDeleteIpLocationDatabaseRequest extends RequestBase {
|
|
11396
|
+
id: Ids;
|
|
11397
|
+
master_timeout?: Duration;
|
|
11398
|
+
timeout?: Duration;
|
|
11399
|
+
}
|
|
11400
|
+
export type IngestDeleteIpLocationDatabaseResponse = AcknowledgedResponseBase;
|
|
11190
11401
|
export interface IngestDeletePipelineRequest extends RequestBase {
|
|
11191
11402
|
id: Id;
|
|
11192
11403
|
master_timeout?: Duration;
|
|
@@ -11227,6 +11438,20 @@ export interface IngestGetGeoipDatabaseRequest extends RequestBase {
|
|
|
11227
11438
|
export interface IngestGetGeoipDatabaseResponse {
|
|
11228
11439
|
databases: IngestGetGeoipDatabaseDatabaseConfigurationMetadata[];
|
|
11229
11440
|
}
|
|
11441
|
+
export interface IngestGetIpLocationDatabaseDatabaseConfigurationMetadata {
|
|
11442
|
+
id: Id;
|
|
11443
|
+
version: VersionNumber;
|
|
11444
|
+
modified_date_millis?: EpochTime<UnitMillis>;
|
|
11445
|
+
modified_date?: EpochTime<UnitMillis>;
|
|
11446
|
+
database: IngestDatabaseConfigurationFull;
|
|
11447
|
+
}
|
|
11448
|
+
export interface IngestGetIpLocationDatabaseRequest extends RequestBase {
|
|
11449
|
+
id?: Ids;
|
|
11450
|
+
master_timeout?: Duration;
|
|
11451
|
+
}
|
|
11452
|
+
export interface IngestGetIpLocationDatabaseResponse {
|
|
11453
|
+
databases: IngestGetIpLocationDatabaseDatabaseConfigurationMetadata[];
|
|
11454
|
+
}
|
|
11230
11455
|
export interface IngestGetPipelineRequest extends RequestBase {
|
|
11231
11456
|
id?: Id;
|
|
11232
11457
|
master_timeout?: Duration;
|
|
@@ -11246,6 +11471,13 @@ export interface IngestPutGeoipDatabaseRequest extends RequestBase {
|
|
|
11246
11471
|
maxmind: IngestMaxmind;
|
|
11247
11472
|
}
|
|
11248
11473
|
export type IngestPutGeoipDatabaseResponse = AcknowledgedResponseBase;
|
|
11474
|
+
export interface IngestPutIpLocationDatabaseRequest extends RequestBase {
|
|
11475
|
+
id: Id;
|
|
11476
|
+
master_timeout?: Duration;
|
|
11477
|
+
timeout?: Duration;
|
|
11478
|
+
configuration?: IngestDatabaseConfiguration;
|
|
11479
|
+
}
|
|
11480
|
+
export type IngestPutIpLocationDatabaseResponse = AcknowledgedResponseBase;
|
|
11249
11481
|
export interface IngestPutPipelineRequest extends RequestBase {
|
|
11250
11482
|
id: Id;
|
|
11251
11483
|
master_timeout?: Duration;
|
|
@@ -11259,53 +11491,14 @@ export interface IngestPutPipelineRequest extends RequestBase {
|
|
|
11259
11491
|
deprecated?: boolean;
|
|
11260
11492
|
}
|
|
11261
11493
|
export type IngestPutPipelineResponse = AcknowledgedResponseBase;
|
|
11262
|
-
export interface IngestSimulateDocument {
|
|
11263
|
-
_id?: Id;
|
|
11264
|
-
_index?: IndexName;
|
|
11265
|
-
_source: any;
|
|
11266
|
-
}
|
|
11267
|
-
export interface IngestSimulateDocumentSimulationKeys {
|
|
11268
|
-
_id: Id;
|
|
11269
|
-
_index: IndexName;
|
|
11270
|
-
_ingest: IngestSimulateIngest;
|
|
11271
|
-
_routing?: string;
|
|
11272
|
-
_source: Record<string, any>;
|
|
11273
|
-
_version?: SpecUtilsStringified<VersionNumber>;
|
|
11274
|
-
_version_type?: VersionType;
|
|
11275
|
-
}
|
|
11276
|
-
export type IngestSimulateDocumentSimulation = IngestSimulateDocumentSimulationKeys & {
|
|
11277
|
-
[property: string]: string | Id | IndexName | IngestSimulateIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
|
|
11278
|
-
};
|
|
11279
|
-
export interface IngestSimulateIngest {
|
|
11280
|
-
_redact?: IngestSimulateRedact;
|
|
11281
|
-
timestamp: DateTime;
|
|
11282
|
-
pipeline?: Name;
|
|
11283
|
-
}
|
|
11284
|
-
export interface IngestSimulatePipelineSimulation {
|
|
11285
|
-
doc?: IngestSimulateDocumentSimulation;
|
|
11286
|
-
tag?: string;
|
|
11287
|
-
processor_type?: string;
|
|
11288
|
-
status?: WatcherActionStatusOptions;
|
|
11289
|
-
description?: string;
|
|
11290
|
-
ignored_error?: ErrorCause;
|
|
11291
|
-
error?: ErrorCause;
|
|
11292
|
-
}
|
|
11293
|
-
export interface IngestSimulateRedact {
|
|
11294
|
-
_is_redacted: boolean;
|
|
11295
|
-
}
|
|
11296
11494
|
export interface IngestSimulateRequest extends RequestBase {
|
|
11297
11495
|
id?: Id;
|
|
11298
11496
|
verbose?: boolean;
|
|
11299
|
-
docs:
|
|
11497
|
+
docs: IngestDocument[];
|
|
11300
11498
|
pipeline?: IngestPipeline;
|
|
11301
11499
|
}
|
|
11302
11500
|
export interface IngestSimulateResponse {
|
|
11303
|
-
docs:
|
|
11304
|
-
}
|
|
11305
|
-
export interface IngestSimulateSimulateDocumentResult {
|
|
11306
|
-
doc?: IngestSimulateDocumentSimulation;
|
|
11307
|
-
error?: ErrorCause;
|
|
11308
|
-
processor_results?: IngestSimulatePipelineSimulation[];
|
|
11501
|
+
docs: IngestSimulateDocumentResult[];
|
|
11309
11502
|
}
|
|
11310
11503
|
export interface LicenseLicense {
|
|
11311
11504
|
expiry_date_in_millis: EpochTime<UnitMillis>;
|
|
@@ -11392,10 +11585,10 @@ export interface LicensePostStartTrialResponse {
|
|
|
11392
11585
|
export interface LogstashPipeline {
|
|
11393
11586
|
description: string;
|
|
11394
11587
|
last_modified: DateTime;
|
|
11395
|
-
pipeline_metadata: LogstashPipelineMetadata;
|
|
11396
|
-
username: string;
|
|
11397
11588
|
pipeline: string;
|
|
11589
|
+
pipeline_metadata: LogstashPipelineMetadata;
|
|
11398
11590
|
pipeline_settings: LogstashPipelineSettings;
|
|
11591
|
+
username: string;
|
|
11399
11592
|
}
|
|
11400
11593
|
export interface LogstashPipelineMetadata {
|
|
11401
11594
|
type: string;
|
|
@@ -11469,6 +11662,11 @@ export interface MigrationPostFeatureUpgradeResponse {
|
|
|
11469
11662
|
accepted: boolean;
|
|
11470
11663
|
features: MigrationPostFeatureUpgradeMigrationFeature[];
|
|
11471
11664
|
}
|
|
11665
|
+
export interface MlAdaptiveAllocationsSettings {
|
|
11666
|
+
enabled: boolean;
|
|
11667
|
+
min_number_of_allocations?: integer;
|
|
11668
|
+
max_number_of_allocations?: integer;
|
|
11669
|
+
}
|
|
11472
11670
|
export interface MlAnalysisConfig {
|
|
11473
11671
|
bucket_span?: Duration;
|
|
11474
11672
|
categorization_analyzer?: MlCategorizationAnalyzer;
|
|
@@ -11497,7 +11695,7 @@ export interface MlAnalysisConfigRead {
|
|
|
11497
11695
|
}
|
|
11498
11696
|
export interface MlAnalysisLimits {
|
|
11499
11697
|
categorization_examples_limit?: long;
|
|
11500
|
-
model_memory_limit?:
|
|
11698
|
+
model_memory_limit?: ByteSize;
|
|
11501
11699
|
}
|
|
11502
11700
|
export interface MlAnalysisMemoryLimit {
|
|
11503
11701
|
model_memory_limit: string;
|
|
@@ -11529,20 +11727,21 @@ export interface MlAnomaly {
|
|
|
11529
11727
|
typical?: double[];
|
|
11530
11728
|
}
|
|
11531
11729
|
export interface MlAnomalyCause {
|
|
11532
|
-
actual
|
|
11533
|
-
by_field_name
|
|
11534
|
-
by_field_value
|
|
11535
|
-
correlated_by_field_value
|
|
11536
|
-
field_name
|
|
11537
|
-
function
|
|
11538
|
-
function_description
|
|
11539
|
-
|
|
11540
|
-
|
|
11541
|
-
|
|
11542
|
-
|
|
11543
|
-
|
|
11730
|
+
actual?: double[];
|
|
11731
|
+
by_field_name?: Name;
|
|
11732
|
+
by_field_value?: string;
|
|
11733
|
+
correlated_by_field_value?: string;
|
|
11734
|
+
field_name?: Field;
|
|
11735
|
+
function?: string;
|
|
11736
|
+
function_description?: string;
|
|
11737
|
+
geo_results?: MlGeoResults;
|
|
11738
|
+
influencers?: MlInfluence[];
|
|
11739
|
+
over_field_name?: Name;
|
|
11740
|
+
over_field_value?: string;
|
|
11741
|
+
partition_field_name?: string;
|
|
11742
|
+
partition_field_value?: string;
|
|
11544
11743
|
probability: double;
|
|
11545
|
-
typical
|
|
11744
|
+
typical?: double[];
|
|
11546
11745
|
}
|
|
11547
11746
|
export interface MlAnomalyExplanation {
|
|
11548
11747
|
anomaly_characteristics_impact?: integer;
|
|
@@ -11629,6 +11828,13 @@ export interface MlClassificationInferenceOptions {
|
|
|
11629
11828
|
results_field?: string;
|
|
11630
11829
|
top_classes_results_field?: string;
|
|
11631
11830
|
}
|
|
11831
|
+
export interface MlCommonTokenizationConfig {
|
|
11832
|
+
do_lower_case?: boolean;
|
|
11833
|
+
max_sequence_length?: integer;
|
|
11834
|
+
span?: integer;
|
|
11835
|
+
truncate?: MlTokenizationTruncate;
|
|
11836
|
+
with_special_tokens?: boolean;
|
|
11837
|
+
}
|
|
11632
11838
|
export type MlConditionOperator = 'gt' | 'gte' | 'lt' | 'lte';
|
|
11633
11839
|
export type MlCustomSettings = any;
|
|
11634
11840
|
export interface MlDataCounts {
|
|
@@ -11709,14 +11915,15 @@ export type MlDatafeedState = 'started' | 'stopped' | 'starting' | 'stopping';
|
|
|
11709
11915
|
export interface MlDatafeedStats {
|
|
11710
11916
|
assignment_explanation?: string;
|
|
11711
11917
|
datafeed_id: Id;
|
|
11712
|
-
node?:
|
|
11918
|
+
node?: MlDiscoveryNodeCompact;
|
|
11713
11919
|
state: MlDatafeedState;
|
|
11714
|
-
timing_stats
|
|
11920
|
+
timing_stats?: MlDatafeedTimingStats;
|
|
11715
11921
|
running_state?: MlDatafeedRunningState;
|
|
11716
11922
|
}
|
|
11717
11923
|
export interface MlDatafeedTimingStats {
|
|
11718
11924
|
bucket_count: long;
|
|
11719
11925
|
exponential_average_search_time_per_hour_ms: DurationValue<UnitFloatMillis>;
|
|
11926
|
+
exponential_average_calculation_context?: MlExponentialAverageCalculationContext;
|
|
11720
11927
|
job_id: Id;
|
|
11721
11928
|
search_count: long;
|
|
11722
11929
|
total_search_time_ms: DurationValue<UnitFloatMillis>;
|
|
@@ -11883,6 +12090,7 @@ export interface MlDataframeAnalyticsSummary {
|
|
|
11883
12090
|
model_memory_limit?: string;
|
|
11884
12091
|
source: MlDataframeAnalyticsSource;
|
|
11885
12092
|
version?: VersionString;
|
|
12093
|
+
_meta?: Metadata;
|
|
11886
12094
|
}
|
|
11887
12095
|
export interface MlDataframeEvaluationClassification {
|
|
11888
12096
|
actual_field: Field;
|
|
@@ -11969,19 +12177,42 @@ export interface MlDetectorRead {
|
|
|
11969
12177
|
partition_field_name?: Field;
|
|
11970
12178
|
use_null?: boolean;
|
|
11971
12179
|
}
|
|
11972
|
-
export interface
|
|
11973
|
-
|
|
12180
|
+
export interface MlDetectorUpdate {
|
|
12181
|
+
detector_index: integer;
|
|
12182
|
+
description?: string;
|
|
12183
|
+
custom_rules?: MlDetectionRule[];
|
|
12184
|
+
}
|
|
12185
|
+
export type MlDiscoveryNode = Partial<Record<Id, MlDiscoveryNodeContent>>;
|
|
12186
|
+
export interface MlDiscoveryNodeCompact {
|
|
12187
|
+
name: Name;
|
|
11974
12188
|
ephemeral_id: Id;
|
|
11975
12189
|
id: Id;
|
|
11976
|
-
name: Name;
|
|
11977
12190
|
transport_address: TransportAddress;
|
|
12191
|
+
attributes: Record<string, string>;
|
|
12192
|
+
}
|
|
12193
|
+
export interface MlDiscoveryNodeContent {
|
|
12194
|
+
name?: Name;
|
|
12195
|
+
ephemeral_id: Id;
|
|
12196
|
+
transport_address: TransportAddress;
|
|
12197
|
+
external_id: string;
|
|
12198
|
+
attributes: Record<string, string>;
|
|
12199
|
+
roles: string[];
|
|
12200
|
+
version: VersionString;
|
|
12201
|
+
min_index_version: integer;
|
|
12202
|
+
max_index_version: integer;
|
|
11978
12203
|
}
|
|
11979
12204
|
export type MlExcludeFrequent = 'all' | 'none' | 'by' | 'over';
|
|
12205
|
+
export interface MlExponentialAverageCalculationContext {
|
|
12206
|
+
incremental_metric_value_ms: DurationValue<UnitFloatMillis>;
|
|
12207
|
+
latest_timestamp?: EpochTime<UnitMillis>;
|
|
12208
|
+
previous_exponential_average_ms?: DurationValue<UnitFloatMillis>;
|
|
12209
|
+
}
|
|
11980
12210
|
export interface MlFillMaskInferenceOptions {
|
|
11981
12211
|
mask_token?: string;
|
|
11982
12212
|
num_top_classes?: integer;
|
|
11983
12213
|
tokenization?: MlTokenizationConfigContainer;
|
|
11984
12214
|
results_field?: string;
|
|
12215
|
+
vocabulary: MlVocabulary;
|
|
11985
12216
|
}
|
|
11986
12217
|
export interface MlFillMaskInferenceUpdateOptions {
|
|
11987
12218
|
num_top_classes?: integer;
|
|
@@ -11999,8 +12230,8 @@ export interface MlFilterRef {
|
|
|
11999
12230
|
}
|
|
12000
12231
|
export type MlFilterType = 'include' | 'exclude';
|
|
12001
12232
|
export interface MlGeoResults {
|
|
12002
|
-
actual_point
|
|
12003
|
-
typical_point
|
|
12233
|
+
actual_point?: string;
|
|
12234
|
+
typical_point?: string;
|
|
12004
12235
|
}
|
|
12005
12236
|
export interface MlHyperparameter {
|
|
12006
12237
|
absolute_importance?: double;
|
|
@@ -12148,7 +12379,7 @@ export interface MlJobStats {
|
|
|
12148
12379
|
forecasts_stats: MlJobForecastStatistics;
|
|
12149
12380
|
job_id: string;
|
|
12150
12381
|
model_size_stats: MlModelSizeStats;
|
|
12151
|
-
node?:
|
|
12382
|
+
node?: MlDiscoveryNodeCompact;
|
|
12152
12383
|
open_time?: DateTime;
|
|
12153
12384
|
state: MlJobState;
|
|
12154
12385
|
timing_stats: MlJobTimingStats;
|
|
@@ -12165,6 +12396,22 @@ export interface MlJobTimingStats {
|
|
|
12165
12396
|
minimum_bucket_processing_time_ms?: DurationValue<UnitFloatMillis>;
|
|
12166
12397
|
}
|
|
12167
12398
|
export type MlMemoryStatus = 'ok' | 'soft_limit' | 'hard_limit';
|
|
12399
|
+
export interface MlModelPackageConfig {
|
|
12400
|
+
create_time?: EpochTime<UnitMillis>;
|
|
12401
|
+
description?: string;
|
|
12402
|
+
inference_config?: Record<string, any>;
|
|
12403
|
+
metadata?: Metadata;
|
|
12404
|
+
minimum_version?: string;
|
|
12405
|
+
model_repository?: string;
|
|
12406
|
+
model_type?: string;
|
|
12407
|
+
packaged_model_id: Id;
|
|
12408
|
+
platform_architecture?: string;
|
|
12409
|
+
prefix_strings?: MlTrainedModelPrefixStrings;
|
|
12410
|
+
size?: ByteSize;
|
|
12411
|
+
sha256?: string;
|
|
12412
|
+
tags?: string[];
|
|
12413
|
+
vocabulary_file?: string;
|
|
12414
|
+
}
|
|
12168
12415
|
export interface MlModelPlotConfig {
|
|
12169
12416
|
annotations_enabled?: boolean;
|
|
12170
12417
|
enabled?: boolean;
|
|
@@ -12178,6 +12425,7 @@ export interface MlModelSizeStats {
|
|
|
12178
12425
|
model_bytes: ByteSize;
|
|
12179
12426
|
model_bytes_exceeded?: ByteSize;
|
|
12180
12427
|
model_bytes_memory_limit?: ByteSize;
|
|
12428
|
+
output_memory_allocator_bytes?: ByteSize;
|
|
12181
12429
|
peak_model_bytes?: ByteSize;
|
|
12182
12430
|
assignment_memory_basis?: string;
|
|
12183
12431
|
result_type: string;
|
|
@@ -12222,19 +12470,10 @@ export interface MlNerInferenceUpdateOptions {
|
|
|
12222
12470
|
tokenization?: MlNlpTokenizationUpdateOptions;
|
|
12223
12471
|
results_field?: string;
|
|
12224
12472
|
}
|
|
12225
|
-
export interface MlNlpBertTokenizationConfig {
|
|
12226
|
-
do_lower_case?: boolean;
|
|
12227
|
-
with_special_tokens?: boolean;
|
|
12228
|
-
max_sequence_length?: integer;
|
|
12229
|
-
truncate?: MlTokenizationTruncate;
|
|
12230
|
-
span?: integer;
|
|
12473
|
+
export interface MlNlpBertTokenizationConfig extends MlCommonTokenizationConfig {
|
|
12231
12474
|
}
|
|
12232
|
-
export interface MlNlpRobertaTokenizationConfig {
|
|
12475
|
+
export interface MlNlpRobertaTokenizationConfig extends MlCommonTokenizationConfig {
|
|
12233
12476
|
add_prefix_space?: boolean;
|
|
12234
|
-
with_special_tokens?: boolean;
|
|
12235
|
-
max_sequence_length?: integer;
|
|
12236
|
-
truncate?: MlTokenizationTruncate;
|
|
12237
|
-
span?: integer;
|
|
12238
12477
|
}
|
|
12239
12478
|
export interface MlNlpTokenizationUpdateOptions {
|
|
12240
12479
|
truncate?: MlTokenizationTruncate;
|
|
@@ -12255,7 +12494,7 @@ export interface MlOverallBucket {
|
|
|
12255
12494
|
overall_score: double;
|
|
12256
12495
|
result_type: string;
|
|
12257
12496
|
timestamp: EpochTime<UnitMillis>;
|
|
12258
|
-
timestamp_string
|
|
12497
|
+
timestamp_string?: DateTime;
|
|
12259
12498
|
}
|
|
12260
12499
|
export interface MlOverallBucketJob {
|
|
12261
12500
|
job_id: Id;
|
|
@@ -12326,6 +12565,7 @@ export interface MlTextEmbeddingInferenceOptions {
|
|
|
12326
12565
|
embedding_size?: integer;
|
|
12327
12566
|
tokenization?: MlTokenizationConfigContainer;
|
|
12328
12567
|
results_field?: string;
|
|
12568
|
+
vocabulary: MlVocabulary;
|
|
12329
12569
|
}
|
|
12330
12570
|
export interface MlTextEmbeddingInferenceUpdateOptions {
|
|
12331
12571
|
tokenization?: MlNlpTokenizationUpdateOptions;
|
|
@@ -12334,6 +12574,7 @@ export interface MlTextEmbeddingInferenceUpdateOptions {
|
|
|
12334
12574
|
export interface MlTextExpansionInferenceOptions {
|
|
12335
12575
|
tokenization?: MlTokenizationConfigContainer;
|
|
12336
12576
|
results_field?: string;
|
|
12577
|
+
vocabulary: MlVocabulary;
|
|
12337
12578
|
}
|
|
12338
12579
|
export interface MlTextExpansionInferenceUpdateOptions {
|
|
12339
12580
|
tokenization?: MlNlpTokenizationUpdateOptions;
|
|
@@ -12345,6 +12586,7 @@ export interface MlTimingStats {
|
|
|
12345
12586
|
}
|
|
12346
12587
|
export interface MlTokenizationConfigContainer {
|
|
12347
12588
|
bert?: MlNlpBertTokenizationConfig;
|
|
12589
|
+
bert_ja?: MlNlpBertTokenizationConfig;
|
|
12348
12590
|
mpnet?: MlNlpBertTokenizationConfig;
|
|
12349
12591
|
roberta?: MlNlpRobertaTokenizationConfig;
|
|
12350
12592
|
}
|
|
@@ -12369,25 +12611,29 @@ export interface MlTotalFeatureImportanceStatistics {
|
|
|
12369
12611
|
min: integer;
|
|
12370
12612
|
}
|
|
12371
12613
|
export interface MlTrainedModelAssignment {
|
|
12614
|
+
adaptive_allocations?: MlAdaptiveAllocationsSettings | null;
|
|
12372
12615
|
assignment_state: MlDeploymentAssignmentState;
|
|
12373
12616
|
max_assigned_allocations?: integer;
|
|
12617
|
+
reason?: string;
|
|
12374
12618
|
routing_table: Record<string, MlTrainedModelAssignmentRoutingTable>;
|
|
12375
12619
|
start_time: DateTime;
|
|
12376
12620
|
task_parameters: MlTrainedModelAssignmentTaskParameters;
|
|
12377
12621
|
}
|
|
12378
12622
|
export interface MlTrainedModelAssignmentRoutingTable {
|
|
12379
|
-
reason
|
|
12623
|
+
reason?: string;
|
|
12380
12624
|
routing_state: MlRoutingState;
|
|
12381
12625
|
current_allocations: integer;
|
|
12382
12626
|
target_allocations: integer;
|
|
12383
12627
|
}
|
|
12384
12628
|
export interface MlTrainedModelAssignmentTaskParameters {
|
|
12385
|
-
model_bytes:
|
|
12629
|
+
model_bytes: ByteSize;
|
|
12386
12630
|
model_id: Id;
|
|
12387
12631
|
deployment_id: Id;
|
|
12388
|
-
cache_size
|
|
12632
|
+
cache_size?: ByteSize;
|
|
12389
12633
|
number_of_allocations: integer;
|
|
12390
12634
|
priority: MlTrainingPriority;
|
|
12635
|
+
per_deployment_memory_bytes: ByteSize;
|
|
12636
|
+
per_allocation_memory_bytes: ByteSize;
|
|
12391
12637
|
queue_capacity: integer;
|
|
12392
12638
|
threads_per_allocation: integer;
|
|
12393
12639
|
}
|
|
@@ -12409,6 +12655,7 @@ export interface MlTrainedModelConfig {
|
|
|
12409
12655
|
license_level?: string;
|
|
12410
12656
|
metadata?: MlTrainedModelConfigMetadata;
|
|
12411
12657
|
model_size_bytes?: ByteSize;
|
|
12658
|
+
model_package?: MlModelPackageConfig;
|
|
12412
12659
|
location?: MlTrainedModelLocation;
|
|
12413
12660
|
prefix_strings?: MlTrainedModelPrefixStrings;
|
|
12414
12661
|
}
|
|
@@ -12427,35 +12674,44 @@ export interface MlTrainedModelDeploymentAllocationStatus {
|
|
|
12427
12674
|
target_allocation_count: integer;
|
|
12428
12675
|
}
|
|
12429
12676
|
export interface MlTrainedModelDeploymentNodesStats {
|
|
12430
|
-
average_inference_time_ms
|
|
12431
|
-
|
|
12432
|
-
|
|
12433
|
-
|
|
12434
|
-
|
|
12435
|
-
|
|
12436
|
-
|
|
12437
|
-
|
|
12677
|
+
average_inference_time_ms?: DurationValue<UnitFloatMillis>;
|
|
12678
|
+
average_inference_time_ms_last_minute?: DurationValue<UnitFloatMillis>;
|
|
12679
|
+
average_inference_time_ms_excluding_cache_hits?: DurationValue<UnitFloatMillis>;
|
|
12680
|
+
error_count?: integer;
|
|
12681
|
+
inference_count?: long;
|
|
12682
|
+
inference_cache_hit_count?: long;
|
|
12683
|
+
inference_cache_hit_count_last_minute?: long;
|
|
12684
|
+
last_access?: EpochTime<UnitMillis>;
|
|
12685
|
+
node?: MlDiscoveryNode;
|
|
12686
|
+
number_of_allocations?: integer;
|
|
12687
|
+
number_of_pending_requests?: integer;
|
|
12688
|
+
peak_throughput_per_minute: long;
|
|
12689
|
+
rejection_execution_count?: integer;
|
|
12438
12690
|
routing_state: MlTrainedModelAssignmentRoutingTable;
|
|
12439
|
-
start_time
|
|
12440
|
-
threads_per_allocation
|
|
12441
|
-
|
|
12691
|
+
start_time?: EpochTime<UnitMillis>;
|
|
12692
|
+
threads_per_allocation?: integer;
|
|
12693
|
+
throughput_last_minute: integer;
|
|
12694
|
+
timeout_count?: integer;
|
|
12442
12695
|
}
|
|
12443
12696
|
export interface MlTrainedModelDeploymentStats {
|
|
12444
|
-
|
|
12697
|
+
adaptive_allocations?: MlAdaptiveAllocationsSettings;
|
|
12698
|
+
allocation_status?: MlTrainedModelDeploymentAllocationStatus;
|
|
12445
12699
|
cache_size?: ByteSize;
|
|
12446
12700
|
deployment_id: Id;
|
|
12447
|
-
error_count
|
|
12448
|
-
inference_count
|
|
12701
|
+
error_count?: integer;
|
|
12702
|
+
inference_count?: integer;
|
|
12449
12703
|
model_id: Id;
|
|
12450
12704
|
nodes: MlTrainedModelDeploymentNodesStats[];
|
|
12451
|
-
number_of_allocations
|
|
12452
|
-
|
|
12453
|
-
|
|
12454
|
-
|
|
12705
|
+
number_of_allocations?: integer;
|
|
12706
|
+
peak_throughput_per_minute: long;
|
|
12707
|
+
priority: MlTrainingPriority;
|
|
12708
|
+
queue_capacity?: integer;
|
|
12709
|
+
rejected_execution_count?: integer;
|
|
12710
|
+
reason?: string;
|
|
12455
12711
|
start_time: EpochTime<UnitMillis>;
|
|
12456
|
-
state
|
|
12457
|
-
threads_per_allocation
|
|
12458
|
-
timeout_count
|
|
12712
|
+
state?: MlDeploymentAssignmentState;
|
|
12713
|
+
threads_per_allocation?: integer;
|
|
12714
|
+
timeout_count?: integer;
|
|
12459
12715
|
}
|
|
12460
12716
|
export interface MlTrainedModelEntities {
|
|
12461
12717
|
class_name: string;
|
|
@@ -12981,6 +13237,7 @@ export interface MlGetTrainedModelsRequest extends RequestBase {
|
|
|
12981
13237
|
exclude_generated?: boolean;
|
|
12982
13238
|
from?: integer;
|
|
12983
13239
|
include?: MlInclude;
|
|
13240
|
+
include_model_definition?: boolean;
|
|
12984
13241
|
size?: integer;
|
|
12985
13242
|
tags?: string | string[];
|
|
12986
13243
|
}
|
|
@@ -13022,9 +13279,11 @@ export interface MlInfoDefaults {
|
|
|
13022
13279
|
datafeeds: MlInfoDatafeeds;
|
|
13023
13280
|
}
|
|
13024
13281
|
export interface MlInfoLimits {
|
|
13025
|
-
|
|
13026
|
-
|
|
13027
|
-
|
|
13282
|
+
max_single_ml_node_processors?: integer;
|
|
13283
|
+
total_ml_processors?: integer;
|
|
13284
|
+
max_model_memory_limit?: ByteSize;
|
|
13285
|
+
effective_max_model_memory_limit?: ByteSize;
|
|
13286
|
+
total_ml_memory: ByteSize;
|
|
13028
13287
|
}
|
|
13029
13288
|
export interface MlInfoNativeCode {
|
|
13030
13289
|
build_hash: string;
|
|
@@ -13060,21 +13319,24 @@ export interface MlPostDataRequest<TData = unknown> extends RequestBase {
|
|
|
13060
13319
|
data?: TData[];
|
|
13061
13320
|
}
|
|
13062
13321
|
export interface MlPostDataResponse {
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
|
|
13322
|
+
job_id: Id;
|
|
13323
|
+
processed_record_count: long;
|
|
13324
|
+
processed_field_count: long;
|
|
13066
13325
|
input_bytes: long;
|
|
13067
13326
|
input_field_count: long;
|
|
13068
|
-
input_record_count: long;
|
|
13069
13327
|
invalid_date_count: long;
|
|
13070
|
-
job_id: Id;
|
|
13071
|
-
last_data_time: integer;
|
|
13072
|
-
latest_record_timestamp: long;
|
|
13073
13328
|
missing_field_count: long;
|
|
13074
13329
|
out_of_order_timestamp_count: long;
|
|
13075
|
-
|
|
13076
|
-
processed_record_count: long;
|
|
13330
|
+
empty_bucket_count: long;
|
|
13077
13331
|
sparse_bucket_count: long;
|
|
13332
|
+
bucket_count: long;
|
|
13333
|
+
earliest_record_timestamp?: EpochTime<UnitMillis>;
|
|
13334
|
+
latest_record_timestamp?: EpochTime<UnitMillis>;
|
|
13335
|
+
last_data_time?: EpochTime<UnitMillis>;
|
|
13336
|
+
latest_empty_bucket_timestamp?: EpochTime<UnitMillis>;
|
|
13337
|
+
latest_sparse_bucket_timestamp?: EpochTime<UnitMillis>;
|
|
13338
|
+
input_record_count: long;
|
|
13339
|
+
log_time?: EpochTime<UnitMillis>;
|
|
13078
13340
|
}
|
|
13079
13341
|
export interface MlPreviewDataFrameAnalyticsDataframePreviewConfig {
|
|
13080
13342
|
source: MlDataframeAnalyticsSource;
|
|
@@ -13125,6 +13387,7 @@ export interface MlPutDataFrameAnalyticsRequest extends RequestBase {
|
|
|
13125
13387
|
description?: string;
|
|
13126
13388
|
dest: MlDataframeAnalyticsDestination;
|
|
13127
13389
|
max_num_threads?: integer;
|
|
13390
|
+
_meta?: Metadata;
|
|
13128
13391
|
model_memory_limit?: string;
|
|
13129
13392
|
source: MlDataframeAnalyticsSource;
|
|
13130
13393
|
headers?: HttpHeaders;
|
|
@@ -13140,6 +13403,7 @@ export interface MlPutDataFrameAnalyticsResponse {
|
|
|
13140
13403
|
dest: MlDataframeAnalyticsDestination;
|
|
13141
13404
|
id: Id;
|
|
13142
13405
|
max_num_threads: integer;
|
|
13406
|
+
_meta?: Metadata;
|
|
13143
13407
|
model_memory_limit: string;
|
|
13144
13408
|
source: MlDataframeAnalyticsSource;
|
|
13145
13409
|
version: VersionString;
|
|
@@ -13151,6 +13415,8 @@ export interface MlPutDatafeedRequest extends RequestBase {
|
|
|
13151
13415
|
ignore_throttled?: boolean;
|
|
13152
13416
|
ignore_unavailable?: boolean;
|
|
13153
13417
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
13418
|
+
/** @alias aggregations */
|
|
13419
|
+
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
13154
13420
|
chunking_config?: MlChunkingConfig;
|
|
13155
13421
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
13156
13422
|
frequency?: Duration;
|
|
@@ -13196,6 +13462,10 @@ export interface MlPutFilterResponse {
|
|
|
13196
13462
|
}
|
|
13197
13463
|
export interface MlPutJobRequest extends RequestBase {
|
|
13198
13464
|
job_id: Id;
|
|
13465
|
+
allow_no_indices?: boolean;
|
|
13466
|
+
expand_wildcards?: ExpandWildcards;
|
|
13467
|
+
ignore_throttled?: boolean;
|
|
13468
|
+
ignore_unavailable?: boolean;
|
|
13199
13469
|
allow_lazy_open?: boolean;
|
|
13200
13470
|
analysis_config: MlAnalysisConfig;
|
|
13201
13471
|
analysis_limits?: MlAnalysisLimits;
|
|
@@ -13500,7 +13770,7 @@ export interface MlUpdateJobRequest extends RequestBase {
|
|
|
13500
13770
|
renormalization_window_days?: long;
|
|
13501
13771
|
results_retention_days?: long;
|
|
13502
13772
|
groups?: string[];
|
|
13503
|
-
detectors?:
|
|
13773
|
+
detectors?: MlDetectorUpdate[];
|
|
13504
13774
|
per_partition_categorization?: MlPerPartitionCategorization;
|
|
13505
13775
|
}
|
|
13506
13776
|
export interface MlUpdateJobResponse {
|
|
@@ -14645,6 +14915,7 @@ export interface SearchApplicationAnalyticsCollection {
|
|
|
14645
14915
|
export interface SearchApplicationEventDataStream {
|
|
14646
14916
|
name: IndexName;
|
|
14647
14917
|
}
|
|
14918
|
+
export type SearchApplicationEventType = 'page_view' | 'search' | 'search_click';
|
|
14648
14919
|
export interface SearchApplicationSearchApplication {
|
|
14649
14920
|
name: Name;
|
|
14650
14921
|
indices: IndexName[];
|
|
@@ -14686,6 +14957,16 @@ export interface SearchApplicationListSearchApplicationListItem {
|
|
|
14686
14957
|
updated_at_millis: EpochTime<UnitMillis>;
|
|
14687
14958
|
analytics_collection_name?: Name;
|
|
14688
14959
|
}
|
|
14960
|
+
export interface SearchApplicationPostBehavioralAnalyticsEventRequest extends RequestBase {
|
|
14961
|
+
collection_name: Name;
|
|
14962
|
+
event_type: SearchApplicationEventType;
|
|
14963
|
+
debug?: boolean;
|
|
14964
|
+
payload?: any;
|
|
14965
|
+
}
|
|
14966
|
+
export interface SearchApplicationPostBehavioralAnalyticsEventResponse {
|
|
14967
|
+
accepted: boolean;
|
|
14968
|
+
event?: any;
|
|
14969
|
+
}
|
|
14689
14970
|
export interface SearchApplicationPutRequest extends RequestBase {
|
|
14690
14971
|
name: Name;
|
|
14691
14972
|
create?: boolean;
|
|
@@ -14701,6 +14982,12 @@ export interface SearchApplicationPutBehavioralAnalyticsRequest extends RequestB
|
|
|
14701
14982
|
name: Name;
|
|
14702
14983
|
}
|
|
14703
14984
|
export type SearchApplicationPutBehavioralAnalyticsResponse = SearchApplicationPutBehavioralAnalyticsAnalyticsAcknowledgeResponseBase;
|
|
14985
|
+
export interface SearchApplicationRenderQueryRequest extends RequestBase {
|
|
14986
|
+
name: Name;
|
|
14987
|
+
params?: Record<string, any>;
|
|
14988
|
+
}
|
|
14989
|
+
export interface SearchApplicationRenderQueryResponse {
|
|
14990
|
+
}
|
|
14704
14991
|
export interface SearchApplicationSearchRequest extends RequestBase {
|
|
14705
14992
|
name: Name;
|
|
14706
14993
|
typed_keys?: boolean;
|
|
@@ -14918,6 +15205,9 @@ export interface SecuritySearchAccess {
|
|
|
14918
15205
|
query?: SecurityIndicesPrivilegesQuery;
|
|
14919
15206
|
allow_restricted_indices?: boolean;
|
|
14920
15207
|
}
|
|
15208
|
+
export interface SecuritySecuritySettings {
|
|
15209
|
+
index?: IndicesIndexSettings;
|
|
15210
|
+
}
|
|
14921
15211
|
export type SecurityTemplateFormat = 'string' | 'json';
|
|
14922
15212
|
export interface SecurityUser {
|
|
14923
15213
|
email?: string | null;
|
|
@@ -15008,6 +15298,17 @@ export interface SecurityBulkPutRoleResponse {
|
|
|
15008
15298
|
noop?: string[];
|
|
15009
15299
|
errors?: SecurityBulkError;
|
|
15010
15300
|
}
|
|
15301
|
+
export interface SecurityBulkUpdateApiKeysRequest extends RequestBase {
|
|
15302
|
+
expiration?: Duration;
|
|
15303
|
+
ids: string | string[];
|
|
15304
|
+
metadata?: Metadata;
|
|
15305
|
+
role_descriptors?: Record<string, SecurityRoleDescriptor>;
|
|
15306
|
+
}
|
|
15307
|
+
export interface SecurityBulkUpdateApiKeysResponse {
|
|
15308
|
+
errors?: SecurityBulkError;
|
|
15309
|
+
noops: string[];
|
|
15310
|
+
updated: string[];
|
|
15311
|
+
}
|
|
15011
15312
|
export interface SecurityChangePasswordRequest extends RequestBase {
|
|
15012
15313
|
username?: Username;
|
|
15013
15314
|
refresh?: Refresh;
|
|
@@ -15100,6 +15401,33 @@ export interface SecurityCreateServiceTokenToken {
|
|
|
15100
15401
|
name: Name;
|
|
15101
15402
|
value: string;
|
|
15102
15403
|
}
|
|
15404
|
+
export interface SecurityDelegatePkiAuthentication {
|
|
15405
|
+
username: string;
|
|
15406
|
+
roles: string[];
|
|
15407
|
+
full_name: string | null;
|
|
15408
|
+
email: string | null;
|
|
15409
|
+
token?: Record<string, string>;
|
|
15410
|
+
metadata: Metadata;
|
|
15411
|
+
enabled: boolean;
|
|
15412
|
+
authentication_realm: SecurityDelegatePkiAuthenticationRealm;
|
|
15413
|
+
lookup_realm: SecurityDelegatePkiAuthenticationRealm;
|
|
15414
|
+
authentication_type: string;
|
|
15415
|
+
api_key?: Record<string, string>;
|
|
15416
|
+
}
|
|
15417
|
+
export interface SecurityDelegatePkiAuthenticationRealm {
|
|
15418
|
+
name: string;
|
|
15419
|
+
type: string;
|
|
15420
|
+
domain?: string;
|
|
15421
|
+
}
|
|
15422
|
+
export interface SecurityDelegatePkiRequest extends RequestBase {
|
|
15423
|
+
x509_certificate_chain: string[];
|
|
15424
|
+
}
|
|
15425
|
+
export interface SecurityDelegatePkiResponse {
|
|
15426
|
+
access_token: string;
|
|
15427
|
+
expires_in: long;
|
|
15428
|
+
type: string;
|
|
15429
|
+
authentication?: SecurityDelegatePkiAuthentication;
|
|
15430
|
+
}
|
|
15103
15431
|
export interface SecurityDeletePrivilegesFoundStatus {
|
|
15104
15432
|
found: boolean;
|
|
15105
15433
|
}
|
|
@@ -15251,6 +15579,14 @@ export interface SecurityGetServiceCredentialsResponse {
|
|
|
15251
15579
|
tokens: Record<string, Metadata>;
|
|
15252
15580
|
nodes_credentials: SecurityGetServiceCredentialsNodesCredentials;
|
|
15253
15581
|
}
|
|
15582
|
+
export interface SecurityGetSettingsRequest extends RequestBase {
|
|
15583
|
+
master_timeout?: Duration;
|
|
15584
|
+
}
|
|
15585
|
+
export interface SecurityGetSettingsResponse {
|
|
15586
|
+
security: SecuritySecuritySettings;
|
|
15587
|
+
'security-profile': SecuritySecuritySettings;
|
|
15588
|
+
'security-tokens': SecuritySecuritySettings;
|
|
15589
|
+
}
|
|
15254
15590
|
export type SecurityGetTokenAccessTokenGrantType = 'password' | 'client_credentials' | '_kerberos' | 'refresh_token';
|
|
15255
15591
|
export interface SecurityGetTokenAuthenticatedUser extends SecurityUser {
|
|
15256
15592
|
authentication_realm: SecurityGetTokenUserRealm;
|
|
@@ -15403,6 +15739,38 @@ export interface SecurityInvalidateTokenResponse {
|
|
|
15403
15739
|
invalidated_tokens: long;
|
|
15404
15740
|
previously_invalidated_tokens: long;
|
|
15405
15741
|
}
|
|
15742
|
+
export interface SecurityOidcAuthenticateRequest extends RequestBase {
|
|
15743
|
+
nonce: string;
|
|
15744
|
+
realm?: string;
|
|
15745
|
+
redirect_uri: string;
|
|
15746
|
+
state: string;
|
|
15747
|
+
}
|
|
15748
|
+
export interface SecurityOidcAuthenticateResponse {
|
|
15749
|
+
access_token: string;
|
|
15750
|
+
expires_in: integer;
|
|
15751
|
+
refresh_token: string;
|
|
15752
|
+
type: string;
|
|
15753
|
+
}
|
|
15754
|
+
export interface SecurityOidcLogoutRequest extends RequestBase {
|
|
15755
|
+
access_token: string;
|
|
15756
|
+
refresh_token?: string;
|
|
15757
|
+
}
|
|
15758
|
+
export interface SecurityOidcLogoutResponse {
|
|
15759
|
+
redirect: string;
|
|
15760
|
+
}
|
|
15761
|
+
export interface SecurityOidcPrepareAuthenticationRequest extends RequestBase {
|
|
15762
|
+
iss?: string;
|
|
15763
|
+
login_hint?: string;
|
|
15764
|
+
nonce?: string;
|
|
15765
|
+
realm?: string;
|
|
15766
|
+
state?: string;
|
|
15767
|
+
}
|
|
15768
|
+
export interface SecurityOidcPrepareAuthenticationResponse {
|
|
15769
|
+
nonce: string;
|
|
15770
|
+
realm: string;
|
|
15771
|
+
redirect: string;
|
|
15772
|
+
state: string;
|
|
15773
|
+
}
|
|
15406
15774
|
export interface SecurityPutPrivilegesActions {
|
|
15407
15775
|
actions: string[];
|
|
15408
15776
|
application?: string;
|
|
@@ -15659,6 +16027,16 @@ export interface SecurityUpdateCrossClusterApiKeyRequest extends RequestBase {
|
|
|
15659
16027
|
export interface SecurityUpdateCrossClusterApiKeyResponse {
|
|
15660
16028
|
updated: boolean;
|
|
15661
16029
|
}
|
|
16030
|
+
export interface SecurityUpdateSettingsRequest extends RequestBase {
|
|
16031
|
+
master_timeout?: Duration;
|
|
16032
|
+
timeout?: Duration;
|
|
16033
|
+
security?: SecuritySecuritySettings;
|
|
16034
|
+
'security-profile'?: SecuritySecuritySettings;
|
|
16035
|
+
'security-tokens'?: SecuritySecuritySettings;
|
|
16036
|
+
}
|
|
16037
|
+
export interface SecurityUpdateSettingsResponse {
|
|
16038
|
+
acknowledged: boolean;
|
|
16039
|
+
}
|
|
15662
16040
|
export interface SecurityUpdateUserProfileDataRequest extends RequestBase {
|
|
15663
16041
|
uid: SecurityUserProfileId;
|
|
15664
16042
|
if_seq_no?: SequenceNumber;
|
|
@@ -15714,6 +16092,33 @@ export interface ShutdownPutNodeRequest extends RequestBase {
|
|
|
15714
16092
|
target_node_name?: string;
|
|
15715
16093
|
}
|
|
15716
16094
|
export type ShutdownPutNodeResponse = AcknowledgedResponseBase;
|
|
16095
|
+
export interface SimulateIngestIngestDocumentSimulationKeys {
|
|
16096
|
+
_id: Id;
|
|
16097
|
+
_index: IndexName;
|
|
16098
|
+
_source: Record<string, any>;
|
|
16099
|
+
_version: SpecUtilsStringified<VersionNumber>;
|
|
16100
|
+
executed_pipelines: string[];
|
|
16101
|
+
ignored_fields?: Record<string, string>[];
|
|
16102
|
+
error?: ErrorCause;
|
|
16103
|
+
}
|
|
16104
|
+
export type SimulateIngestIngestDocumentSimulation = SimulateIngestIngestDocumentSimulationKeys & {
|
|
16105
|
+
[property: string]: string | Id | IndexName | Record<string, any> | SpecUtilsStringified<VersionNumber> | string[] | Record<string, string>[] | ErrorCause;
|
|
16106
|
+
};
|
|
16107
|
+
export interface SimulateIngestRequest extends RequestBase {
|
|
16108
|
+
index?: IndexName;
|
|
16109
|
+
pipeline?: PipelineName;
|
|
16110
|
+
docs: IngestDocument[];
|
|
16111
|
+
component_template_substitutions?: Record<string, ClusterComponentTemplateNode>;
|
|
16112
|
+
index_template_subtitutions?: Record<string, IndicesIndexTemplate>;
|
|
16113
|
+
mapping_addition?: MappingTypeMapping;
|
|
16114
|
+
pipeline_substitutions?: Record<string, IngestPipeline>;
|
|
16115
|
+
}
|
|
16116
|
+
export interface SimulateIngestResponse {
|
|
16117
|
+
docs: SimulateIngestSimulateIngestDocumentResult[];
|
|
16118
|
+
}
|
|
16119
|
+
export interface SimulateIngestSimulateIngestDocumentResult {
|
|
16120
|
+
doc?: SimulateIngestIngestDocumentSimulation;
|
|
16121
|
+
}
|
|
15717
16122
|
export interface SlmConfiguration {
|
|
15718
16123
|
ignore_unavailable?: boolean;
|
|
15719
16124
|
indices?: Indices;
|
|
@@ -15774,22 +16179,32 @@ export interface SlmStatistics {
|
|
|
15774
16179
|
}
|
|
15775
16180
|
export interface SlmDeleteLifecycleRequest extends RequestBase {
|
|
15776
16181
|
policy_id: Name;
|
|
16182
|
+
master_timeout?: Duration;
|
|
16183
|
+
timeout?: Duration;
|
|
15777
16184
|
}
|
|
15778
16185
|
export type SlmDeleteLifecycleResponse = AcknowledgedResponseBase;
|
|
15779
16186
|
export interface SlmExecuteLifecycleRequest extends RequestBase {
|
|
15780
16187
|
policy_id: Name;
|
|
16188
|
+
master_timeout?: Duration;
|
|
16189
|
+
timeout?: Duration;
|
|
15781
16190
|
}
|
|
15782
16191
|
export interface SlmExecuteLifecycleResponse {
|
|
15783
16192
|
snapshot_name: Name;
|
|
15784
16193
|
}
|
|
15785
16194
|
export interface SlmExecuteRetentionRequest extends RequestBase {
|
|
16195
|
+
master_timeout?: Duration;
|
|
16196
|
+
timeout?: Duration;
|
|
15786
16197
|
}
|
|
15787
16198
|
export type SlmExecuteRetentionResponse = AcknowledgedResponseBase;
|
|
15788
16199
|
export interface SlmGetLifecycleRequest extends RequestBase {
|
|
15789
16200
|
policy_id?: Names;
|
|
16201
|
+
master_timeout?: Duration;
|
|
16202
|
+
timeout?: Duration;
|
|
15790
16203
|
}
|
|
15791
16204
|
export type SlmGetLifecycleResponse = Record<Id, SlmSnapshotLifecycle>;
|
|
15792
16205
|
export interface SlmGetStatsRequest extends RequestBase {
|
|
16206
|
+
master_timeout?: Duration;
|
|
16207
|
+
timeout?: Duration;
|
|
15793
16208
|
}
|
|
15794
16209
|
export interface SlmGetStatsResponse {
|
|
15795
16210
|
retention_deletion_time: Duration;
|
|
@@ -15804,6 +16219,8 @@ export interface SlmGetStatsResponse {
|
|
|
15804
16219
|
policy_stats: string[];
|
|
15805
16220
|
}
|
|
15806
16221
|
export interface SlmGetStatusRequest extends RequestBase {
|
|
16222
|
+
master_timeout?: Duration;
|
|
16223
|
+
timeout?: Duration;
|
|
15807
16224
|
}
|
|
15808
16225
|
export interface SlmGetStatusResponse {
|
|
15809
16226
|
operation_mode: LifecycleOperationMode;
|
|
@@ -15820,9 +16237,13 @@ export interface SlmPutLifecycleRequest extends RequestBase {
|
|
|
15820
16237
|
}
|
|
15821
16238
|
export type SlmPutLifecycleResponse = AcknowledgedResponseBase;
|
|
15822
16239
|
export interface SlmStartRequest extends RequestBase {
|
|
16240
|
+
master_timeout?: Duration;
|
|
16241
|
+
timeout?: Duration;
|
|
15823
16242
|
}
|
|
15824
16243
|
export type SlmStartResponse = AcknowledgedResponseBase;
|
|
15825
16244
|
export interface SlmStopRequest extends RequestBase {
|
|
16245
|
+
master_timeout?: Duration;
|
|
16246
|
+
timeout?: Duration;
|
|
15826
16247
|
}
|
|
15827
16248
|
export type SlmStopResponse = AcknowledgedResponseBase;
|
|
15828
16249
|
export interface SnapshotAzureRepository extends SnapshotRepositoryBase {
|
|
@@ -16083,6 +16504,104 @@ export interface SnapshotGetRepositoryRequest extends RequestBase {
|
|
|
16083
16504
|
master_timeout?: Duration;
|
|
16084
16505
|
}
|
|
16085
16506
|
export type SnapshotGetRepositoryResponse = Record<string, SnapshotRepository>;
|
|
16507
|
+
export interface SnapshotRepositoryAnalyzeBlobDetails {
|
|
16508
|
+
name: string;
|
|
16509
|
+
overwritten: boolean;
|
|
16510
|
+
read_early: boolean;
|
|
16511
|
+
read_end: long;
|
|
16512
|
+
read_start: long;
|
|
16513
|
+
reads: SnapshotRepositoryAnalyzeReadBlobDetails;
|
|
16514
|
+
size: ByteSize;
|
|
16515
|
+
size_bytes: long;
|
|
16516
|
+
}
|
|
16517
|
+
export interface SnapshotRepositoryAnalyzeDetailsInfo {
|
|
16518
|
+
blob: SnapshotRepositoryAnalyzeBlobDetails;
|
|
16519
|
+
overwrite_elapsed?: Duration;
|
|
16520
|
+
overwrite_elapsed_nanos?: DurationValue<UnitNanos>;
|
|
16521
|
+
write_elapsed: Duration;
|
|
16522
|
+
write_elapsed_nanos: DurationValue<UnitNanos>;
|
|
16523
|
+
write_throttled: Duration;
|
|
16524
|
+
write_throttled_nanos: DurationValue<UnitNanos>;
|
|
16525
|
+
writer_node: SnapshotRepositoryAnalyzeSnapshotNodeInfo;
|
|
16526
|
+
}
|
|
16527
|
+
export interface SnapshotRepositoryAnalyzeReadBlobDetails {
|
|
16528
|
+
before_write_complete?: boolean;
|
|
16529
|
+
elapsed?: Duration;
|
|
16530
|
+
elapsed_nanos?: DurationValue<UnitNanos>;
|
|
16531
|
+
first_byte_time?: Duration;
|
|
16532
|
+
first_byte_time_nanos: DurationValue<UnitNanos>;
|
|
16533
|
+
found: boolean;
|
|
16534
|
+
node: SnapshotRepositoryAnalyzeSnapshotNodeInfo;
|
|
16535
|
+
throttled?: Duration;
|
|
16536
|
+
throttled_nanos?: DurationValue<UnitNanos>;
|
|
16537
|
+
}
|
|
16538
|
+
export interface SnapshotRepositoryAnalyzeReadSummaryInfo {
|
|
16539
|
+
count: integer;
|
|
16540
|
+
max_wait: Duration;
|
|
16541
|
+
max_wait_nanos: DurationValue<UnitNanos>;
|
|
16542
|
+
total_elapsed: Duration;
|
|
16543
|
+
total_elapsed_nanos: DurationValue<UnitNanos>;
|
|
16544
|
+
total_size: ByteSize;
|
|
16545
|
+
total_size_bytes: long;
|
|
16546
|
+
total_throttled: Duration;
|
|
16547
|
+
total_throttled_nanos: DurationValue<UnitNanos>;
|
|
16548
|
+
total_wait: Duration;
|
|
16549
|
+
total_wait_nanos: DurationValue<UnitNanos>;
|
|
16550
|
+
}
|
|
16551
|
+
export interface SnapshotRepositoryAnalyzeRequest extends RequestBase {
|
|
16552
|
+
name: Name;
|
|
16553
|
+
blob_count?: integer;
|
|
16554
|
+
concurrency?: integer;
|
|
16555
|
+
detailed?: boolean;
|
|
16556
|
+
early_read_node_count?: integer;
|
|
16557
|
+
max_blob_size?: ByteSize;
|
|
16558
|
+
max_total_data_size?: ByteSize;
|
|
16559
|
+
rare_action_probability?: double;
|
|
16560
|
+
rarely_abort_writes?: boolean;
|
|
16561
|
+
read_node_count?: integer;
|
|
16562
|
+
register_operation_count?: integer;
|
|
16563
|
+
seed?: integer;
|
|
16564
|
+
timeout?: Duration;
|
|
16565
|
+
}
|
|
16566
|
+
export interface SnapshotRepositoryAnalyzeResponse {
|
|
16567
|
+
blob_count: integer;
|
|
16568
|
+
blob_path: string;
|
|
16569
|
+
concurrency: integer;
|
|
16570
|
+
coordinating_node: SnapshotRepositoryAnalyzeSnapshotNodeInfo;
|
|
16571
|
+
delete_elapsed: Duration;
|
|
16572
|
+
delete_elapsed_nanos: DurationValue<UnitNanos>;
|
|
16573
|
+
details: SnapshotRepositoryAnalyzeDetailsInfo;
|
|
16574
|
+
early_read_node_count: integer;
|
|
16575
|
+
issues_detected: string[];
|
|
16576
|
+
listing_elapsed: Duration;
|
|
16577
|
+
listing_elapsed_nanos: DurationValue<UnitNanos>;
|
|
16578
|
+
max_blob_size: ByteSize;
|
|
16579
|
+
max_blob_size_bytes: long;
|
|
16580
|
+
max_total_data_size: ByteSize;
|
|
16581
|
+
max_total_data_size_bytes: long;
|
|
16582
|
+
rare_action_probability: double;
|
|
16583
|
+
read_node_count: integer;
|
|
16584
|
+
repository: string;
|
|
16585
|
+
seed: long;
|
|
16586
|
+
summary: SnapshotRepositoryAnalyzeSummaryInfo;
|
|
16587
|
+
}
|
|
16588
|
+
export interface SnapshotRepositoryAnalyzeSnapshotNodeInfo {
|
|
16589
|
+
id: Id;
|
|
16590
|
+
name: Name;
|
|
16591
|
+
}
|
|
16592
|
+
export interface SnapshotRepositoryAnalyzeSummaryInfo {
|
|
16593
|
+
read: SnapshotRepositoryAnalyzeReadSummaryInfo;
|
|
16594
|
+
write: SnapshotRepositoryAnalyzeWriteSummaryInfo;
|
|
16595
|
+
}
|
|
16596
|
+
export interface SnapshotRepositoryAnalyzeWriteSummaryInfo {
|
|
16597
|
+
count: integer;
|
|
16598
|
+
total_elapsed: Duration;
|
|
16599
|
+
total_elapsed_nanos: DurationValue<UnitNanos>;
|
|
16600
|
+
total_size: ByteSize;
|
|
16601
|
+
total_size_bytes: long;
|
|
16602
|
+
total_throttled: Duration;
|
|
16603
|
+
total_throttled_nanos: long;
|
|
16604
|
+
}
|
|
16086
16605
|
export interface SnapshotRepositoryVerifyIntegrityRequest extends RequestBase {
|
|
16087
16606
|
name: Names;
|
|
16088
16607
|
meta_thread_pool_concurrency?: integer;
|
|
@@ -16174,38 +16693,39 @@ export interface SqlGetAsyncStatusRequest extends RequestBase {
|
|
|
16174
16693
|
id: Id;
|
|
16175
16694
|
}
|
|
16176
16695
|
export interface SqlGetAsyncStatusResponse {
|
|
16696
|
+
expiration_time_in_millis: EpochTime<UnitMillis>;
|
|
16177
16697
|
id: string;
|
|
16178
16698
|
is_running: boolean;
|
|
16179
16699
|
is_partial: boolean;
|
|
16180
16700
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
16181
|
-
expiration_time_in_millis: EpochTime<UnitMillis>;
|
|
16182
16701
|
completion_status?: uint;
|
|
16183
16702
|
}
|
|
16184
16703
|
export interface SqlQueryRequest extends RequestBase {
|
|
16185
16704
|
format?: SqlQuerySqlFormat;
|
|
16705
|
+
allow_partial_search_results?: boolean;
|
|
16186
16706
|
catalog?: string;
|
|
16187
16707
|
columnar?: boolean;
|
|
16188
16708
|
cursor?: string;
|
|
16189
16709
|
fetch_size?: integer;
|
|
16710
|
+
field_multi_value_leniency?: boolean;
|
|
16190
16711
|
filter?: QueryDslQueryContainer;
|
|
16712
|
+
index_using_frozen?: boolean;
|
|
16713
|
+
keep_alive?: Duration;
|
|
16714
|
+
keep_on_completion?: boolean;
|
|
16715
|
+
page_timeout?: Duration;
|
|
16716
|
+
params?: Record<string, any>;
|
|
16191
16717
|
query?: string;
|
|
16192
16718
|
request_timeout?: Duration;
|
|
16193
|
-
page_timeout?: Duration;
|
|
16194
|
-
time_zone?: TimeZone;
|
|
16195
|
-
field_multi_value_leniency?: boolean;
|
|
16196
16719
|
runtime_mappings?: MappingRuntimeFields;
|
|
16720
|
+
time_zone?: TimeZone;
|
|
16197
16721
|
wait_for_completion_timeout?: Duration;
|
|
16198
|
-
params?: Record<string, any>;
|
|
16199
|
-
keep_alive?: Duration;
|
|
16200
|
-
keep_on_completion?: boolean;
|
|
16201
|
-
index_using_frozen?: boolean;
|
|
16202
16722
|
}
|
|
16203
16723
|
export interface SqlQueryResponse {
|
|
16724
|
+
columns?: SqlColumn[];
|
|
16725
|
+
cursor?: string;
|
|
16204
16726
|
id?: Id;
|
|
16205
16727
|
is_running?: boolean;
|
|
16206
16728
|
is_partial?: boolean;
|
|
16207
|
-
columns?: SqlColumn[];
|
|
16208
|
-
cursor?: string;
|
|
16209
16729
|
rows: SqlRow[];
|
|
16210
16730
|
}
|
|
16211
16731
|
export type SqlQuerySqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile';
|
|
@@ -16363,10 +16883,11 @@ export interface TasksListRequest extends RequestBase {
|
|
|
16363
16883
|
wait_for_completion?: boolean;
|
|
16364
16884
|
}
|
|
16365
16885
|
export type TasksListResponse = TasksTaskListResponseBase;
|
|
16366
|
-
export
|
|
16886
|
+
export type TextStructureEcsCompatibilityType = 'disabled' | 'v1';
|
|
16887
|
+
export interface TextStructureFieldStat {
|
|
16367
16888
|
count: integer;
|
|
16368
16889
|
cardinality: integer;
|
|
16369
|
-
top_hits:
|
|
16890
|
+
top_hits: TextStructureTopHit[];
|
|
16370
16891
|
mean_value?: integer;
|
|
16371
16892
|
median_value?: integer;
|
|
16372
16893
|
max_value?: integer;
|
|
@@ -16374,6 +16895,75 @@ export interface TextStructureFindStructureFieldStat {
|
|
|
16374
16895
|
earliest?: string;
|
|
16375
16896
|
latest?: string;
|
|
16376
16897
|
}
|
|
16898
|
+
export type TextStructureFormatType = 'delimited' | 'ndjson' | 'semi_structured_text' | 'xml';
|
|
16899
|
+
export interface TextStructureTopHit {
|
|
16900
|
+
count: long;
|
|
16901
|
+
value: any;
|
|
16902
|
+
}
|
|
16903
|
+
export interface TextStructureFindFieldStructureRequest extends RequestBase {
|
|
16904
|
+
column_names?: string;
|
|
16905
|
+
delimiter?: string;
|
|
16906
|
+
documents_to_sample?: uint;
|
|
16907
|
+
ecs_compatibility?: TextStructureEcsCompatibilityType;
|
|
16908
|
+
explain?: boolean;
|
|
16909
|
+
field: Field;
|
|
16910
|
+
format?: TextStructureFormatType;
|
|
16911
|
+
grok_pattern?: GrokPattern;
|
|
16912
|
+
index: IndexName;
|
|
16913
|
+
quote?: string;
|
|
16914
|
+
should_trim_fields?: boolean;
|
|
16915
|
+
timeout?: Duration;
|
|
16916
|
+
timestamp_field?: Field;
|
|
16917
|
+
timestamp_format?: string;
|
|
16918
|
+
}
|
|
16919
|
+
export interface TextStructureFindFieldStructureResponse {
|
|
16920
|
+
charset: string;
|
|
16921
|
+
ecs_compatibility?: TextStructureEcsCompatibilityType;
|
|
16922
|
+
field_stats: Record<Field, TextStructureFieldStat>;
|
|
16923
|
+
format: TextStructureFormatType;
|
|
16924
|
+
grok_pattern?: GrokPattern;
|
|
16925
|
+
java_timestamp_formats?: string[];
|
|
16926
|
+
joda_timestamp_formats?: string[];
|
|
16927
|
+
ingest_pipeline: IngestPipelineConfig;
|
|
16928
|
+
mappings: MappingTypeMapping;
|
|
16929
|
+
multiline_start_pattern?: string;
|
|
16930
|
+
need_client_timezone: boolean;
|
|
16931
|
+
num_lines_analyzed: integer;
|
|
16932
|
+
num_messages_analyzed: integer;
|
|
16933
|
+
sample_start: string;
|
|
16934
|
+
timestamp_field?: Field;
|
|
16935
|
+
}
|
|
16936
|
+
export interface TextStructureFindMessageStructureRequest extends RequestBase {
|
|
16937
|
+
column_names?: string;
|
|
16938
|
+
delimiter?: string;
|
|
16939
|
+
ecs_compatibility?: TextStructureEcsCompatibilityType;
|
|
16940
|
+
explain?: boolean;
|
|
16941
|
+
format?: TextStructureFormatType;
|
|
16942
|
+
grok_pattern?: GrokPattern;
|
|
16943
|
+
quote?: string;
|
|
16944
|
+
should_trim_fields?: boolean;
|
|
16945
|
+
timeout?: Duration;
|
|
16946
|
+
timestamp_field?: Field;
|
|
16947
|
+
timestamp_format?: string;
|
|
16948
|
+
messages: string[];
|
|
16949
|
+
}
|
|
16950
|
+
export interface TextStructureFindMessageStructureResponse {
|
|
16951
|
+
charset: string;
|
|
16952
|
+
ecs_compatibility?: TextStructureEcsCompatibilityType;
|
|
16953
|
+
field_stats: Record<Field, TextStructureFieldStat>;
|
|
16954
|
+
format: TextStructureFormatType;
|
|
16955
|
+
grok_pattern?: GrokPattern;
|
|
16956
|
+
java_timestamp_formats?: string[];
|
|
16957
|
+
joda_timestamp_formats?: string[];
|
|
16958
|
+
ingest_pipeline: IngestPipelineConfig;
|
|
16959
|
+
mappings: MappingTypeMapping;
|
|
16960
|
+
multiline_start_pattern?: string;
|
|
16961
|
+
need_client_timezone: boolean;
|
|
16962
|
+
num_lines_analyzed: integer;
|
|
16963
|
+
num_messages_analyzed: integer;
|
|
16964
|
+
sample_start: string;
|
|
16965
|
+
timestamp_field?: Field;
|
|
16966
|
+
}
|
|
16377
16967
|
export interface TextStructureFindStructureRequest<TJsonDocument = unknown> {
|
|
16378
16968
|
charset?: string;
|
|
16379
16969
|
column_names?: string;
|
|
@@ -16397,7 +16987,7 @@ export interface TextStructureFindStructureResponse {
|
|
|
16397
16987
|
has_header_row?: boolean;
|
|
16398
16988
|
has_byte_order_marker: boolean;
|
|
16399
16989
|
format: string;
|
|
16400
|
-
field_stats: Record<Field,
|
|
16990
|
+
field_stats: Record<Field, TextStructureFieldStat>;
|
|
16401
16991
|
sample_start: string;
|
|
16402
16992
|
num_messages_analyzed: integer;
|
|
16403
16993
|
mappings: MappingTypeMapping;
|
|
@@ -16416,10 +17006,6 @@ export interface TextStructureFindStructureResponse {
|
|
|
16416
17006
|
should_trim_fields?: boolean;
|
|
16417
17007
|
ingest_pipeline: IngestPipelineConfig;
|
|
16418
17008
|
}
|
|
16419
|
-
export interface TextStructureFindStructureTopHit {
|
|
16420
|
-
count: long;
|
|
16421
|
-
value: any;
|
|
16422
|
-
}
|
|
16423
17009
|
export interface TextStructureTestGrokPatternMatchedField {
|
|
16424
17010
|
match: string;
|
|
16425
17011
|
offset: integer;
|
|
@@ -17155,6 +17741,12 @@ export interface WatcherExecuteWatchWatchRecord {
|
|
|
17155
17741
|
watch_id: Id;
|
|
17156
17742
|
status?: WatcherWatchStatus;
|
|
17157
17743
|
}
|
|
17744
|
+
export interface WatcherGetSettingsRequest extends RequestBase {
|
|
17745
|
+
master_timeout?: Duration;
|
|
17746
|
+
}
|
|
17747
|
+
export interface WatcherGetSettingsResponse {
|
|
17748
|
+
index: IndicesIndexSettings;
|
|
17749
|
+
}
|
|
17158
17750
|
export interface WatcherGetWatchRequest extends RequestBase {
|
|
17159
17751
|
id: Name;
|
|
17160
17752
|
}
|
|
@@ -17177,7 +17769,8 @@ export interface WatcherPutWatchRequest extends RequestBase {
|
|
|
17177
17769
|
condition?: WatcherConditionContainer;
|
|
17178
17770
|
input?: WatcherInputContainer;
|
|
17179
17771
|
metadata?: Metadata;
|
|
17180
|
-
throttle_period?:
|
|
17772
|
+
throttle_period?: Duration;
|
|
17773
|
+
throttle_period_in_millis?: DurationValue<UnitMillis>;
|
|
17181
17774
|
transform?: TransformContainer;
|
|
17182
17775
|
trigger?: WatcherTriggerContainer;
|
|
17183
17776
|
}
|
|
@@ -17233,8 +17826,18 @@ export interface WatcherStatsWatcherNodeStats {
|
|
|
17233
17826
|
}
|
|
17234
17827
|
export type WatcherStatsWatcherState = 'stopped' | 'starting' | 'started' | 'stopping';
|
|
17235
17828
|
export interface WatcherStopRequest extends RequestBase {
|
|
17829
|
+
master_timeout?: Duration;
|
|
17236
17830
|
}
|
|
17237
17831
|
export type WatcherStopResponse = AcknowledgedResponseBase;
|
|
17832
|
+
export interface WatcherUpdateSettingsRequest extends RequestBase {
|
|
17833
|
+
master_timeout?: Duration;
|
|
17834
|
+
timeout?: Duration;
|
|
17835
|
+
'index.auto_expand_replicas'?: string;
|
|
17836
|
+
'index.number_of_replicas'?: integer;
|
|
17837
|
+
}
|
|
17838
|
+
export interface WatcherUpdateSettingsResponse {
|
|
17839
|
+
acknowledged: boolean;
|
|
17840
|
+
}
|
|
17238
17841
|
export interface XpackInfoBuildInformation {
|
|
17239
17842
|
date: DateTime;
|
|
17240
17843
|
hash: string;
|
|
@@ -17413,7 +18016,7 @@ export interface XpackUsageIlm {
|
|
|
17413
18016
|
}
|
|
17414
18017
|
export interface XpackUsageIlmPolicyStatistics {
|
|
17415
18018
|
indices_managed: integer;
|
|
17416
|
-
phases:
|
|
18019
|
+
phases: XpackUsagePhases;
|
|
17417
18020
|
}
|
|
17418
18021
|
export interface XpackUsageInvocations {
|
|
17419
18022
|
total: long;
|
|
@@ -17506,6 +18109,17 @@ export interface XpackUsageMonitoring extends XpackUsageBase {
|
|
|
17506
18109
|
collection_enabled: boolean;
|
|
17507
18110
|
enabled_exporters: Record<string, long>;
|
|
17508
18111
|
}
|
|
18112
|
+
export interface XpackUsagePhase {
|
|
18113
|
+
actions: string[];
|
|
18114
|
+
min_age: DurationValue<UnitMillis>;
|
|
18115
|
+
}
|
|
18116
|
+
export interface XpackUsagePhases {
|
|
18117
|
+
cold?: XpackUsagePhase;
|
|
18118
|
+
delete?: XpackUsagePhase;
|
|
18119
|
+
frozen?: XpackUsagePhase;
|
|
18120
|
+
hot?: XpackUsagePhase;
|
|
18121
|
+
warm?: XpackUsagePhase;
|
|
18122
|
+
}
|
|
17509
18123
|
export interface XpackUsageQuery {
|
|
17510
18124
|
count?: integer;
|
|
17511
18125
|
failed?: integer;
|
|
@@ -17681,8 +18295,6 @@ export interface SpecUtilsCommonCatQueryParameters {
|
|
|
17681
18295
|
format?: string;
|
|
17682
18296
|
h?: Names;
|
|
17683
18297
|
help?: boolean;
|
|
17684
|
-
local?: boolean;
|
|
17685
|
-
master_timeout?: Duration;
|
|
17686
18298
|
s?: Names;
|
|
17687
18299
|
v?: boolean;
|
|
17688
18300
|
}
|