-
Notifications
You must be signed in to change notification settings - Fork 627
/
Copy pathapi._.go
826 lines (801 loc) · 36.6 KB
/
api._.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
// Code generated from specification version 7.8.0 (6e025c12f08): DO NOT EDIT
package esapi
// API contains the Elasticsearch APIs
//
type API struct {
Cat *Cat
Cluster *Cluster
Indices *Indices
Ingest *Ingest
Nodes *Nodes
Remote *Remote
Snapshot *Snapshot
Tasks *Tasks
AsyncSearch *AsyncSearch
CCR *CCR
ILM *ILM
License *License
Migration *Migration
ML *ML
Monitoring *Monitoring
Rollup *Rollup
Security *Security
SQL *SQL
SSL *SSL
Watcher *Watcher
XPack *XPack
AutoscalingGetAutoscalingDecision AutoscalingGetAutoscalingDecision
Bulk Bulk
ClearScroll ClearScroll
Count Count
Create Create
DataFrameDeleteDataFrameTransform DataFrameDeleteDataFrameTransform
DataFrameGetDataFrameTransform DataFrameGetDataFrameTransform
DataFrameGetDataFrameTransformStats DataFrameGetDataFrameTransformStats
DataFramePreviewDataFrameTransform DataFramePreviewDataFrameTransform
DataFramePutDataFrameTransform DataFramePutDataFrameTransform
DataFrameStartDataFrameTransform DataFrameStartDataFrameTransform
DataFrameStopDataFrameTransform DataFrameStopDataFrameTransform
DataFrameTransformDeprecatedDeleteTransform DataFrameTransformDeprecatedDeleteTransform
DataFrameTransformDeprecatedGetTransform DataFrameTransformDeprecatedGetTransform
DataFrameTransformDeprecatedGetTransformStats DataFrameTransformDeprecatedGetTransformStats
DataFrameTransformDeprecatedPreviewTransform DataFrameTransformDeprecatedPreviewTransform
DataFrameTransformDeprecatedPutTransform DataFrameTransformDeprecatedPutTransform
DataFrameTransformDeprecatedStartTransform DataFrameTransformDeprecatedStartTransform
DataFrameTransformDeprecatedStopTransform DataFrameTransformDeprecatedStopTransform
DataFrameTransformDeprecatedUpdateTransform DataFrameTransformDeprecatedUpdateTransform
DataFrameUpdateDataFrameTransform DataFrameUpdateDataFrameTransform
DeleteByQuery DeleteByQuery
DeleteByQueryRethrottle DeleteByQueryRethrottle
Delete Delete
DeleteScript DeleteScript
EnrichDeletePolicy EnrichDeletePolicy
EnrichExecutePolicy EnrichExecutePolicy
EnrichGetPolicy EnrichGetPolicy
EnrichPutPolicy EnrichPutPolicy
EnrichStats EnrichStats
EqlSearch EqlSearch
Exists Exists
ExistsSource ExistsSource
Explain Explain
FieldCaps FieldCaps
Get Get
GetScriptContext GetScriptContext
GetScriptLanguages GetScriptLanguages
GetScript GetScript
GetSource GetSource
GraphExplore GraphExplore
Index Index
Info Info
Mget Mget
Msearch Msearch
MsearchTemplate MsearchTemplate
Mtermvectors Mtermvectors
Ping Ping
PutScript PutScript
RankEval RankEval
Reindex Reindex
ReindexRethrottle ReindexRethrottle
RenderSearchTemplate RenderSearchTemplate
ScriptsPainlessExecute ScriptsPainlessExecute
Scroll Scroll
Search Search
SearchShards SearchShards
SearchTemplate SearchTemplate
SlmDeleteLifecycle SlmDeleteLifecycle
SlmExecuteLifecycle SlmExecuteLifecycle
SlmExecuteRetention SlmExecuteRetention
SlmGetLifecycle SlmGetLifecycle
SlmGetStats SlmGetStats
SlmGetStatus SlmGetStatus
SlmPutLifecycle SlmPutLifecycle
SlmStart SlmStart
SlmStop SlmStop
Termvectors Termvectors
TransformCatTransform TransformCatTransform
TransformDeleteTransform TransformDeleteTransform
TransformGetTransform TransformGetTransform
TransformGetTransformStats TransformGetTransformStats
TransformPreviewTransform TransformPreviewTransform
TransformPutTransform TransformPutTransform
TransformStartTransform TransformStartTransform
TransformStopTransform TransformStopTransform
TransformUpdateTransform TransformUpdateTransform
UpdateByQuery UpdateByQuery
UpdateByQueryRethrottle UpdateByQueryRethrottle
Update Update
}
// Cat contains the Cat APIs
type Cat struct {
Aliases CatAliases
Allocation CatAllocation
Count CatCount
Fielddata CatFielddata
Health CatHealth
Help CatHelp
Indices CatIndices
MLDataFrameAnalytics CatMLDataFrameAnalytics
MLDatafeeds CatMLDatafeeds
MLJobs CatMLJobs
MLTrainedModels CatMLTrainedModels
Master CatMaster
Nodeattrs CatNodeattrs
Nodes CatNodes
PendingTasks CatPendingTasks
Plugins CatPlugins
Recovery CatRecovery
Repositories CatRepositories
Segments CatSegments
Shards CatShards
Snapshots CatSnapshots
Tasks CatTasks
Templates CatTemplates
ThreadPool CatThreadPool
Transform CatTransform
}
// Cluster contains the Cluster APIs
type Cluster struct {
AllocationExplain ClusterAllocationExplain
DeleteComponentTemplate ClusterDeleteComponentTemplate
GetComponentTemplate ClusterGetComponentTemplate
GetSettings ClusterGetSettings
Health ClusterHealth
PendingTasks ClusterPendingTasks
PutComponentTemplate ClusterPutComponentTemplate
PutSettings ClusterPutSettings
RemoteInfo ClusterRemoteInfo
Reroute ClusterReroute
State ClusterState
Stats ClusterStats
}
// Indices contains the Indices APIs
type Indices struct {
Analyze IndicesAnalyze
ClearCache IndicesClearCache
Clone IndicesClone
Close IndicesClose
CreateDataStream IndicesCreateDataStream
Create IndicesCreate
DeleteAlias IndicesDeleteAlias
DeleteDataStream IndicesDeleteDataStream
DeleteIndexTemplate IndicesDeleteIndexTemplate
Delete IndicesDelete
DeleteTemplate IndicesDeleteTemplate
ExistsAlias IndicesExistsAlias
ExistsDocumentType IndicesExistsDocumentType
Exists IndicesExists
ExistsTemplate IndicesExistsTemplate
Flush IndicesFlush
FlushSynced IndicesFlushSynced
Forcemerge IndicesForcemerge
Freeze IndicesFreeze
GetAlias IndicesGetAlias
GetDataStreams IndicesGetDataStreams
GetFieldMapping IndicesGetFieldMapping
GetIndexTemplate IndicesGetIndexTemplate
GetMapping IndicesGetMapping
Get IndicesGet
GetSettings IndicesGetSettings
GetTemplate IndicesGetTemplate
GetUpgrade IndicesGetUpgrade
Open IndicesOpen
PutAlias IndicesPutAlias
PutIndexTemplate IndicesPutIndexTemplate
PutMapping IndicesPutMapping
PutSettings IndicesPutSettings
PutTemplate IndicesPutTemplate
Recovery IndicesRecovery
Refresh IndicesRefresh
ReloadSearchAnalyzers IndicesReloadSearchAnalyzers
Rollover IndicesRollover
Segments IndicesSegments
ShardStores IndicesShardStores
Shrink IndicesShrink
Split IndicesSplit
Stats IndicesStats
Unfreeze IndicesUnfreeze
UpdateAliases IndicesUpdateAliases
Upgrade IndicesUpgrade
ValidateQuery IndicesValidateQuery
}
// Ingest contains the Ingest APIs
type Ingest struct {
DeletePipeline IngestDeletePipeline
GetPipeline IngestGetPipeline
ProcessorGrok IngestProcessorGrok
PutPipeline IngestPutPipeline
Simulate IngestSimulate
}
// Nodes contains the Nodes APIs
type Nodes struct {
HotThreads NodesHotThreads
Info NodesInfo
ReloadSecureSettings NodesReloadSecureSettings
Stats NodesStats
Usage NodesUsage
}
// Remote contains the Remote APIs
type Remote struct {
}
// Snapshot contains the Snapshot APIs
type Snapshot struct {
CleanupRepository SnapshotCleanupRepository
CreateRepository SnapshotCreateRepository
Create SnapshotCreate
DeleteRepository SnapshotDeleteRepository
Delete SnapshotDelete
GetRepository SnapshotGetRepository
Get SnapshotGet
Restore SnapshotRestore
Status SnapshotStatus
VerifyRepository SnapshotVerifyRepository
}
// Tasks contains the Tasks APIs
type Tasks struct {
Cancel TasksCancel
Get TasksGet
List TasksList
}
// AsyncSearch contains the AsyncSearch APIs
type AsyncSearch struct {
Delete AsyncSearchDelete
Get AsyncSearchGet
Submit AsyncSearchSubmit
}
// CCR contains the CCR APIs
type CCR struct {
DeleteAutoFollowPattern CCRDeleteAutoFollowPattern
FollowInfo CCRFollowInfo
Follow CCRFollow
FollowStats CCRFollowStats
ForgetFollower CCRForgetFollower
GetAutoFollowPattern CCRGetAutoFollowPattern
PauseAutoFollowPattern CCRPauseAutoFollowPattern
PauseFollow CCRPauseFollow
PutAutoFollowPattern CCRPutAutoFollowPattern
ResumeAutoFollowPattern CCRResumeAutoFollowPattern
ResumeFollow CCRResumeFollow
Stats CCRStats
Unfollow CCRUnfollow
}
// ILM contains the ILM APIs
type ILM struct {
DeleteLifecycle ILMDeleteLifecycle
ExplainLifecycle ILMExplainLifecycle
GetLifecycle ILMGetLifecycle
GetStatus ILMGetStatus
MoveToStep ILMMoveToStep
PutLifecycle ILMPutLifecycle
RemovePolicy ILMRemovePolicy
Retry ILMRetry
Start ILMStart
Stop ILMStop
}
// License contains the License APIs
type License struct {
Delete LicenseDelete
GetBasicStatus LicenseGetBasicStatus
Get LicenseGet
GetTrialStatus LicenseGetTrialStatus
Post LicensePost
PostStartBasic LicensePostStartBasic
PostStartTrial LicensePostStartTrial
}
// Migration contains the Migration APIs
type Migration struct {
Deprecations MigrationDeprecations
}
// ML contains the ML APIs
type ML struct {
CloseJob MLCloseJob
DeleteCalendarEvent MLDeleteCalendarEvent
DeleteCalendarJob MLDeleteCalendarJob
DeleteCalendar MLDeleteCalendar
DeleteDataFrameAnalytics MLDeleteDataFrameAnalytics
DeleteDatafeed MLDeleteDatafeed
DeleteExpiredData MLDeleteExpiredData
DeleteFilter MLDeleteFilter
DeleteForecast MLDeleteForecast
DeleteJob MLDeleteJob
DeleteModelSnapshot MLDeleteModelSnapshot
DeleteTrainedModel MLDeleteTrainedModel
EstimateMemoryUsage MLEstimateMemoryUsage
EstimateModelMemory MLEstimateModelMemory
EvaluateDataFrame MLEvaluateDataFrame
ExplainDataFrameAnalytics MLExplainDataFrameAnalytics
FindFileStructure MLFindFileStructure
FlushJob MLFlushJob
Forecast MLForecast
GetBuckets MLGetBuckets
GetCalendarEvents MLGetCalendarEvents
GetCalendars MLGetCalendars
GetCategories MLGetCategories
GetDataFrameAnalytics MLGetDataFrameAnalytics
GetDataFrameAnalyticsStats MLGetDataFrameAnalyticsStats
GetDatafeedStats MLGetDatafeedStats
GetDatafeeds MLGetDatafeeds
GetFilters MLGetFilters
GetInfluencers MLGetInfluencers
GetJobStats MLGetJobStats
GetJobs MLGetJobs
GetModelSnapshots MLGetModelSnapshots
GetOverallBuckets MLGetOverallBuckets
GetRecords MLGetRecords
GetTrainedModels MLGetTrainedModels
GetTrainedModelsStats MLGetTrainedModelsStats
Info MLInfo
OpenJob MLOpenJob
PostCalendarEvents MLPostCalendarEvents
PostData MLPostData
PreviewDatafeed MLPreviewDatafeed
PutCalendarJob MLPutCalendarJob
PutCalendar MLPutCalendar
PutDataFrameAnalytics MLPutDataFrameAnalytics
PutDatafeed MLPutDatafeed
PutFilter MLPutFilter
PutJob MLPutJob
PutTrainedModel MLPutTrainedModel
RevertModelSnapshot MLRevertModelSnapshot
SetUpgradeMode MLSetUpgradeMode
StartDataFrameAnalytics MLStartDataFrameAnalytics
StartDatafeed MLStartDatafeed
StopDataFrameAnalytics MLStopDataFrameAnalytics
StopDatafeed MLStopDatafeed
UpdateDatafeed MLUpdateDatafeed
UpdateFilter MLUpdateFilter
UpdateJob MLUpdateJob
UpdateModelSnapshot MLUpdateModelSnapshot
ValidateDetector MLValidateDetector
Validate MLValidate
}
// Monitoring contains the Monitoring APIs
type Monitoring struct {
Bulk MonitoringBulk
}
// Rollup contains the Rollup APIs
type Rollup struct {
DeleteJob RollupDeleteJob
GetJobs RollupGetJobs
GetCaps RollupGetRollupCaps
GetIndexCaps RollupGetRollupIndexCaps
PutJob RollupPutJob
Search RollupRollupSearch
StartJob RollupStartJob
StopJob RollupStopJob
}
// Security contains the Security APIs
type Security struct {
Authenticate SecurityAuthenticate
ChangePassword SecurityChangePassword
ClearCachedRealms SecurityClearCachedRealms
ClearCachedRoles SecurityClearCachedRoles
CreateAPIKey SecurityCreateAPIKey
DeletePrivileges SecurityDeletePrivileges
DeleteRoleMapping SecurityDeleteRoleMapping
DeleteRole SecurityDeleteRole
DeleteUser SecurityDeleteUser
DisableUser SecurityDisableUser
EnableUser SecurityEnableUser
GetAPIKey SecurityGetAPIKey
GetBuiltinPrivileges SecurityGetBuiltinPrivileges
GetPrivileges SecurityGetPrivileges
GetRoleMapping SecurityGetRoleMapping
GetRole SecurityGetRole
GetToken SecurityGetToken
GetUserPrivileges SecurityGetUserPrivileges
GetUser SecurityGetUser
HasPrivileges SecurityHasPrivileges
InvalidateAPIKey SecurityInvalidateAPIKey
InvalidateToken SecurityInvalidateToken
PutPrivileges SecurityPutPrivileges
PutRoleMapping SecurityPutRoleMapping
PutRole SecurityPutRole
PutUser SecurityPutUser
}
// SQL contains the SQL APIs
type SQL struct {
ClearCursor SQLClearCursor
Query SQLQuery
Translate SQLTranslate
}
// SSL contains the SSL APIs
type SSL struct {
Certificates SSLCertificates
}
// Watcher contains the Watcher APIs
type Watcher struct {
AckWatch WatcherAckWatch
ActivateWatch WatcherActivateWatch
DeactivateWatch WatcherDeactivateWatch
DeleteWatch WatcherDeleteWatch
ExecuteWatch WatcherExecuteWatch
GetWatch WatcherGetWatch
PutWatch WatcherPutWatch
Start WatcherStart
Stats WatcherStats
Stop WatcherStop
}
// XPack contains the XPack APIs
type XPack struct {
Info XPackInfo
Usage XPackUsage
}
// New creates new API
//
func New(t Transport) *API {
return &API{
AutoscalingGetAutoscalingDecision: newAutoscalingGetAutoscalingDecisionFunc(t),
Bulk: newBulkFunc(t),
ClearScroll: newClearScrollFunc(t),
Count: newCountFunc(t),
Create: newCreateFunc(t),
DataFrameDeleteDataFrameTransform: newDataFrameDeleteDataFrameTransformFunc(t),
DataFrameGetDataFrameTransform: newDataFrameGetDataFrameTransformFunc(t),
DataFrameGetDataFrameTransformStats: newDataFrameGetDataFrameTransformStatsFunc(t),
DataFramePreviewDataFrameTransform: newDataFramePreviewDataFrameTransformFunc(t),
DataFramePutDataFrameTransform: newDataFramePutDataFrameTransformFunc(t),
DataFrameStartDataFrameTransform: newDataFrameStartDataFrameTransformFunc(t),
DataFrameStopDataFrameTransform: newDataFrameStopDataFrameTransformFunc(t),
DataFrameTransformDeprecatedDeleteTransform: newDataFrameTransformDeprecatedDeleteTransformFunc(t),
DataFrameTransformDeprecatedGetTransform: newDataFrameTransformDeprecatedGetTransformFunc(t),
DataFrameTransformDeprecatedGetTransformStats: newDataFrameTransformDeprecatedGetTransformStatsFunc(t),
DataFrameTransformDeprecatedPreviewTransform: newDataFrameTransformDeprecatedPreviewTransformFunc(t),
DataFrameTransformDeprecatedPutTransform: newDataFrameTransformDeprecatedPutTransformFunc(t),
DataFrameTransformDeprecatedStartTransform: newDataFrameTransformDeprecatedStartTransformFunc(t),
DataFrameTransformDeprecatedStopTransform: newDataFrameTransformDeprecatedStopTransformFunc(t),
DataFrameTransformDeprecatedUpdateTransform: newDataFrameTransformDeprecatedUpdateTransformFunc(t),
DataFrameUpdateDataFrameTransform: newDataFrameUpdateDataFrameTransformFunc(t),
DeleteByQuery: newDeleteByQueryFunc(t),
DeleteByQueryRethrottle: newDeleteByQueryRethrottleFunc(t),
Delete: newDeleteFunc(t),
DeleteScript: newDeleteScriptFunc(t),
EnrichDeletePolicy: newEnrichDeletePolicyFunc(t),
EnrichExecutePolicy: newEnrichExecutePolicyFunc(t),
EnrichGetPolicy: newEnrichGetPolicyFunc(t),
EnrichPutPolicy: newEnrichPutPolicyFunc(t),
EnrichStats: newEnrichStatsFunc(t),
EqlSearch: newEqlSearchFunc(t),
Exists: newExistsFunc(t),
ExistsSource: newExistsSourceFunc(t),
Explain: newExplainFunc(t),
FieldCaps: newFieldCapsFunc(t),
Get: newGetFunc(t),
GetScriptContext: newGetScriptContextFunc(t),
GetScriptLanguages: newGetScriptLanguagesFunc(t),
GetScript: newGetScriptFunc(t),
GetSource: newGetSourceFunc(t),
GraphExplore: newGraphExploreFunc(t),
Index: newIndexFunc(t),
Info: newInfoFunc(t),
Mget: newMgetFunc(t),
Msearch: newMsearchFunc(t),
MsearchTemplate: newMsearchTemplateFunc(t),
Mtermvectors: newMtermvectorsFunc(t),
Ping: newPingFunc(t),
PutScript: newPutScriptFunc(t),
RankEval: newRankEvalFunc(t),
Reindex: newReindexFunc(t),
ReindexRethrottle: newReindexRethrottleFunc(t),
RenderSearchTemplate: newRenderSearchTemplateFunc(t),
ScriptsPainlessExecute: newScriptsPainlessExecuteFunc(t),
Scroll: newScrollFunc(t),
Search: newSearchFunc(t),
SearchShards: newSearchShardsFunc(t),
SearchTemplate: newSearchTemplateFunc(t),
SlmDeleteLifecycle: newSlmDeleteLifecycleFunc(t),
SlmExecuteLifecycle: newSlmExecuteLifecycleFunc(t),
SlmExecuteRetention: newSlmExecuteRetentionFunc(t),
SlmGetLifecycle: newSlmGetLifecycleFunc(t),
SlmGetStats: newSlmGetStatsFunc(t),
SlmGetStatus: newSlmGetStatusFunc(t),
SlmPutLifecycle: newSlmPutLifecycleFunc(t),
SlmStart: newSlmStartFunc(t),
SlmStop: newSlmStopFunc(t),
Termvectors: newTermvectorsFunc(t),
TransformCatTransform: newTransformCatTransformFunc(t),
TransformDeleteTransform: newTransformDeleteTransformFunc(t),
TransformGetTransform: newTransformGetTransformFunc(t),
TransformGetTransformStats: newTransformGetTransformStatsFunc(t),
TransformPreviewTransform: newTransformPreviewTransformFunc(t),
TransformPutTransform: newTransformPutTransformFunc(t),
TransformStartTransform: newTransformStartTransformFunc(t),
TransformStopTransform: newTransformStopTransformFunc(t),
TransformUpdateTransform: newTransformUpdateTransformFunc(t),
UpdateByQuery: newUpdateByQueryFunc(t),
UpdateByQueryRethrottle: newUpdateByQueryRethrottleFunc(t),
Update: newUpdateFunc(t),
Cat: &Cat{
Aliases: newCatAliasesFunc(t),
Allocation: newCatAllocationFunc(t),
Count: newCatCountFunc(t),
Fielddata: newCatFielddataFunc(t),
Health: newCatHealthFunc(t),
Help: newCatHelpFunc(t),
Indices: newCatIndicesFunc(t),
MLDataFrameAnalytics: newCatMLDataFrameAnalyticsFunc(t),
MLDatafeeds: newCatMLDatafeedsFunc(t),
MLJobs: newCatMLJobsFunc(t),
MLTrainedModels: newCatMLTrainedModelsFunc(t),
Master: newCatMasterFunc(t),
Nodeattrs: newCatNodeattrsFunc(t),
Nodes: newCatNodesFunc(t),
PendingTasks: newCatPendingTasksFunc(t),
Plugins: newCatPluginsFunc(t),
Recovery: newCatRecoveryFunc(t),
Repositories: newCatRepositoriesFunc(t),
Segments: newCatSegmentsFunc(t),
Shards: newCatShardsFunc(t),
Snapshots: newCatSnapshotsFunc(t),
Tasks: newCatTasksFunc(t),
Templates: newCatTemplatesFunc(t),
ThreadPool: newCatThreadPoolFunc(t),
Transform: newCatTransformFunc(t),
},
Cluster: &Cluster{
AllocationExplain: newClusterAllocationExplainFunc(t),
DeleteComponentTemplate: newClusterDeleteComponentTemplateFunc(t),
GetComponentTemplate: newClusterGetComponentTemplateFunc(t),
GetSettings: newClusterGetSettingsFunc(t),
Health: newClusterHealthFunc(t),
PendingTasks: newClusterPendingTasksFunc(t),
PutComponentTemplate: newClusterPutComponentTemplateFunc(t),
PutSettings: newClusterPutSettingsFunc(t),
RemoteInfo: newClusterRemoteInfoFunc(t),
Reroute: newClusterRerouteFunc(t),
State: newClusterStateFunc(t),
Stats: newClusterStatsFunc(t),
},
Indices: &Indices{
Analyze: newIndicesAnalyzeFunc(t),
ClearCache: newIndicesClearCacheFunc(t),
Clone: newIndicesCloneFunc(t),
Close: newIndicesCloseFunc(t),
CreateDataStream: newIndicesCreateDataStreamFunc(t),
Create: newIndicesCreateFunc(t),
DeleteAlias: newIndicesDeleteAliasFunc(t),
DeleteDataStream: newIndicesDeleteDataStreamFunc(t),
DeleteIndexTemplate: newIndicesDeleteIndexTemplateFunc(t),
Delete: newIndicesDeleteFunc(t),
DeleteTemplate: newIndicesDeleteTemplateFunc(t),
ExistsAlias: newIndicesExistsAliasFunc(t),
ExistsDocumentType: newIndicesExistsDocumentTypeFunc(t),
Exists: newIndicesExistsFunc(t),
ExistsTemplate: newIndicesExistsTemplateFunc(t),
Flush: newIndicesFlushFunc(t),
FlushSynced: newIndicesFlushSyncedFunc(t),
Forcemerge: newIndicesForcemergeFunc(t),
Freeze: newIndicesFreezeFunc(t),
GetAlias: newIndicesGetAliasFunc(t),
GetDataStreams: newIndicesGetDataStreamsFunc(t),
GetFieldMapping: newIndicesGetFieldMappingFunc(t),
GetIndexTemplate: newIndicesGetIndexTemplateFunc(t),
GetMapping: newIndicesGetMappingFunc(t),
Get: newIndicesGetFunc(t),
GetSettings: newIndicesGetSettingsFunc(t),
GetTemplate: newIndicesGetTemplateFunc(t),
GetUpgrade: newIndicesGetUpgradeFunc(t),
Open: newIndicesOpenFunc(t),
PutAlias: newIndicesPutAliasFunc(t),
PutIndexTemplate: newIndicesPutIndexTemplateFunc(t),
PutMapping: newIndicesPutMappingFunc(t),
PutSettings: newIndicesPutSettingsFunc(t),
PutTemplate: newIndicesPutTemplateFunc(t),
Recovery: newIndicesRecoveryFunc(t),
Refresh: newIndicesRefreshFunc(t),
ReloadSearchAnalyzers: newIndicesReloadSearchAnalyzersFunc(t),
Rollover: newIndicesRolloverFunc(t),
Segments: newIndicesSegmentsFunc(t),
ShardStores: newIndicesShardStoresFunc(t),
Shrink: newIndicesShrinkFunc(t),
Split: newIndicesSplitFunc(t),
Stats: newIndicesStatsFunc(t),
Unfreeze: newIndicesUnfreezeFunc(t),
UpdateAliases: newIndicesUpdateAliasesFunc(t),
Upgrade: newIndicesUpgradeFunc(t),
ValidateQuery: newIndicesValidateQueryFunc(t),
},
Ingest: &Ingest{
DeletePipeline: newIngestDeletePipelineFunc(t),
GetPipeline: newIngestGetPipelineFunc(t),
ProcessorGrok: newIngestProcessorGrokFunc(t),
PutPipeline: newIngestPutPipelineFunc(t),
Simulate: newIngestSimulateFunc(t),
},
Nodes: &Nodes{
HotThreads: newNodesHotThreadsFunc(t),
Info: newNodesInfoFunc(t),
ReloadSecureSettings: newNodesReloadSecureSettingsFunc(t),
Stats: newNodesStatsFunc(t),
Usage: newNodesUsageFunc(t),
},
Remote: &Remote{},
Snapshot: &Snapshot{
CleanupRepository: newSnapshotCleanupRepositoryFunc(t),
CreateRepository: newSnapshotCreateRepositoryFunc(t),
Create: newSnapshotCreateFunc(t),
DeleteRepository: newSnapshotDeleteRepositoryFunc(t),
Delete: newSnapshotDeleteFunc(t),
GetRepository: newSnapshotGetRepositoryFunc(t),
Get: newSnapshotGetFunc(t),
Restore: newSnapshotRestoreFunc(t),
Status: newSnapshotStatusFunc(t),
VerifyRepository: newSnapshotVerifyRepositoryFunc(t),
},
Tasks: &Tasks{
Cancel: newTasksCancelFunc(t),
Get: newTasksGetFunc(t),
List: newTasksListFunc(t),
},
AsyncSearch: &AsyncSearch{
Delete: newAsyncSearchDeleteFunc(t),
Get: newAsyncSearchGetFunc(t),
Submit: newAsyncSearchSubmitFunc(t),
},
CCR: &CCR{
DeleteAutoFollowPattern: newCCRDeleteAutoFollowPatternFunc(t),
FollowInfo: newCCRFollowInfoFunc(t),
Follow: newCCRFollowFunc(t),
FollowStats: newCCRFollowStatsFunc(t),
ForgetFollower: newCCRForgetFollowerFunc(t),
GetAutoFollowPattern: newCCRGetAutoFollowPatternFunc(t),
PauseAutoFollowPattern: newCCRPauseAutoFollowPatternFunc(t),
PauseFollow: newCCRPauseFollowFunc(t),
PutAutoFollowPattern: newCCRPutAutoFollowPatternFunc(t),
ResumeAutoFollowPattern: newCCRResumeAutoFollowPatternFunc(t),
ResumeFollow: newCCRResumeFollowFunc(t),
Stats: newCCRStatsFunc(t),
Unfollow: newCCRUnfollowFunc(t),
},
ILM: &ILM{
DeleteLifecycle: newILMDeleteLifecycleFunc(t),
ExplainLifecycle: newILMExplainLifecycleFunc(t),
GetLifecycle: newILMGetLifecycleFunc(t),
GetStatus: newILMGetStatusFunc(t),
MoveToStep: newILMMoveToStepFunc(t),
PutLifecycle: newILMPutLifecycleFunc(t),
RemovePolicy: newILMRemovePolicyFunc(t),
Retry: newILMRetryFunc(t),
Start: newILMStartFunc(t),
Stop: newILMStopFunc(t),
},
License: &License{
Delete: newLicenseDeleteFunc(t),
GetBasicStatus: newLicenseGetBasicStatusFunc(t),
Get: newLicenseGetFunc(t),
GetTrialStatus: newLicenseGetTrialStatusFunc(t),
Post: newLicensePostFunc(t),
PostStartBasic: newLicensePostStartBasicFunc(t),
PostStartTrial: newLicensePostStartTrialFunc(t),
},
Migration: &Migration{
Deprecations: newMigrationDeprecationsFunc(t),
},
ML: &ML{
CloseJob: newMLCloseJobFunc(t),
DeleteCalendarEvent: newMLDeleteCalendarEventFunc(t),
DeleteCalendarJob: newMLDeleteCalendarJobFunc(t),
DeleteCalendar: newMLDeleteCalendarFunc(t),
DeleteDataFrameAnalytics: newMLDeleteDataFrameAnalyticsFunc(t),
DeleteDatafeed: newMLDeleteDatafeedFunc(t),
DeleteExpiredData: newMLDeleteExpiredDataFunc(t),
DeleteFilter: newMLDeleteFilterFunc(t),
DeleteForecast: newMLDeleteForecastFunc(t),
DeleteJob: newMLDeleteJobFunc(t),
DeleteModelSnapshot: newMLDeleteModelSnapshotFunc(t),
DeleteTrainedModel: newMLDeleteTrainedModelFunc(t),
EstimateMemoryUsage: newMLEstimateMemoryUsageFunc(t),
EstimateModelMemory: newMLEstimateModelMemoryFunc(t),
EvaluateDataFrame: newMLEvaluateDataFrameFunc(t),
ExplainDataFrameAnalytics: newMLExplainDataFrameAnalyticsFunc(t),
FindFileStructure: newMLFindFileStructureFunc(t),
FlushJob: newMLFlushJobFunc(t),
Forecast: newMLForecastFunc(t),
GetBuckets: newMLGetBucketsFunc(t),
GetCalendarEvents: newMLGetCalendarEventsFunc(t),
GetCalendars: newMLGetCalendarsFunc(t),
GetCategories: newMLGetCategoriesFunc(t),
GetDataFrameAnalytics: newMLGetDataFrameAnalyticsFunc(t),
GetDataFrameAnalyticsStats: newMLGetDataFrameAnalyticsStatsFunc(t),
GetDatafeedStats: newMLGetDatafeedStatsFunc(t),
GetDatafeeds: newMLGetDatafeedsFunc(t),
GetFilters: newMLGetFiltersFunc(t),
GetInfluencers: newMLGetInfluencersFunc(t),
GetJobStats: newMLGetJobStatsFunc(t),
GetJobs: newMLGetJobsFunc(t),
GetModelSnapshots: newMLGetModelSnapshotsFunc(t),
GetOverallBuckets: newMLGetOverallBucketsFunc(t),
GetRecords: newMLGetRecordsFunc(t),
GetTrainedModels: newMLGetTrainedModelsFunc(t),
GetTrainedModelsStats: newMLGetTrainedModelsStatsFunc(t),
Info: newMLInfoFunc(t),
OpenJob: newMLOpenJobFunc(t),
PostCalendarEvents: newMLPostCalendarEventsFunc(t),
PostData: newMLPostDataFunc(t),
PreviewDatafeed: newMLPreviewDatafeedFunc(t),
PutCalendarJob: newMLPutCalendarJobFunc(t),
PutCalendar: newMLPutCalendarFunc(t),
PutDataFrameAnalytics: newMLPutDataFrameAnalyticsFunc(t),
PutDatafeed: newMLPutDatafeedFunc(t),
PutFilter: newMLPutFilterFunc(t),
PutJob: newMLPutJobFunc(t),
PutTrainedModel: newMLPutTrainedModelFunc(t),
RevertModelSnapshot: newMLRevertModelSnapshotFunc(t),
SetUpgradeMode: newMLSetUpgradeModeFunc(t),
StartDataFrameAnalytics: newMLStartDataFrameAnalyticsFunc(t),
StartDatafeed: newMLStartDatafeedFunc(t),
StopDataFrameAnalytics: newMLStopDataFrameAnalyticsFunc(t),
StopDatafeed: newMLStopDatafeedFunc(t),
UpdateDatafeed: newMLUpdateDatafeedFunc(t),
UpdateFilter: newMLUpdateFilterFunc(t),
UpdateJob: newMLUpdateJobFunc(t),
UpdateModelSnapshot: newMLUpdateModelSnapshotFunc(t),
ValidateDetector: newMLValidateDetectorFunc(t),
Validate: newMLValidateFunc(t),
},
Monitoring: &Monitoring{
Bulk: newMonitoringBulkFunc(t),
},
Rollup: &Rollup{
DeleteJob: newRollupDeleteJobFunc(t),
GetJobs: newRollupGetJobsFunc(t),
GetCaps: newRollupGetRollupCapsFunc(t),
GetIndexCaps: newRollupGetRollupIndexCapsFunc(t),
PutJob: newRollupPutJobFunc(t),
Search: newRollupRollupSearchFunc(t),
StartJob: newRollupStartJobFunc(t),
StopJob: newRollupStopJobFunc(t),
},
Security: &Security{
Authenticate: newSecurityAuthenticateFunc(t),
ChangePassword: newSecurityChangePasswordFunc(t),
ClearCachedRealms: newSecurityClearCachedRealmsFunc(t),
ClearCachedRoles: newSecurityClearCachedRolesFunc(t),
CreateAPIKey: newSecurityCreateAPIKeyFunc(t),
DeletePrivileges: newSecurityDeletePrivilegesFunc(t),
DeleteRoleMapping: newSecurityDeleteRoleMappingFunc(t),
DeleteRole: newSecurityDeleteRoleFunc(t),
DeleteUser: newSecurityDeleteUserFunc(t),
DisableUser: newSecurityDisableUserFunc(t),
EnableUser: newSecurityEnableUserFunc(t),
GetAPIKey: newSecurityGetAPIKeyFunc(t),
GetBuiltinPrivileges: newSecurityGetBuiltinPrivilegesFunc(t),
GetPrivileges: newSecurityGetPrivilegesFunc(t),
GetRoleMapping: newSecurityGetRoleMappingFunc(t),
GetRole: newSecurityGetRoleFunc(t),
GetToken: newSecurityGetTokenFunc(t),
GetUserPrivileges: newSecurityGetUserPrivilegesFunc(t),
GetUser: newSecurityGetUserFunc(t),
HasPrivileges: newSecurityHasPrivilegesFunc(t),
InvalidateAPIKey: newSecurityInvalidateAPIKeyFunc(t),
InvalidateToken: newSecurityInvalidateTokenFunc(t),
PutPrivileges: newSecurityPutPrivilegesFunc(t),
PutRoleMapping: newSecurityPutRoleMappingFunc(t),
PutRole: newSecurityPutRoleFunc(t),
PutUser: newSecurityPutUserFunc(t),
},
SQL: &SQL{
ClearCursor: newSQLClearCursorFunc(t),
Query: newSQLQueryFunc(t),
Translate: newSQLTranslateFunc(t),
},
SSL: &SSL{
Certificates: newSSLCertificatesFunc(t),
},
Watcher: &Watcher{
AckWatch: newWatcherAckWatchFunc(t),
ActivateWatch: newWatcherActivateWatchFunc(t),
DeactivateWatch: newWatcherDeactivateWatchFunc(t),
DeleteWatch: newWatcherDeleteWatchFunc(t),
ExecuteWatch: newWatcherExecuteWatchFunc(t),
GetWatch: newWatcherGetWatchFunc(t),
PutWatch: newWatcherPutWatchFunc(t),
Start: newWatcherStartFunc(t),
Stats: newWatcherStatsFunc(t),
Stop: newWatcherStopFunc(t),
},
XPack: &XPack{
Info: newXPackInfoFunc(t),
Usage: newXPackUsageFunc(t),
},
}
}