elasticsearch-api 8.12.2 → 8.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (544) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Rakefile +5 -3
  4. data/api-spec-testing/wipe_cluster.rb +1 -1
  5. data/lib/elasticsearch/api/actions/async_search/delete.rb +3 -4
  6. data/lib/elasticsearch/api/actions/async_search/get.rb +3 -4
  7. data/lib/elasticsearch/api/actions/async_search/status.rb +5 -5
  8. data/lib/elasticsearch/api/actions/async_search/submit.rb +4 -5
  9. data/lib/elasticsearch/api/actions/autoscaling/delete_autoscaling_policy.rb +3 -4
  10. data/lib/elasticsearch/api/actions/autoscaling/get_autoscaling_capacity.rb +3 -3
  11. data/lib/elasticsearch/api/actions/autoscaling/get_autoscaling_policy.rb +3 -4
  12. data/lib/elasticsearch/api/actions/autoscaling/put_autoscaling_policy.rb +3 -4
  13. data/lib/elasticsearch/api/actions/bulk.rb +11 -11
  14. data/lib/elasticsearch/api/actions/cat/aliases.rb +4 -5
  15. data/lib/elasticsearch/api/actions/cat/allocation.rb +4 -5
  16. data/lib/elasticsearch/api/actions/cat/component_templates.rb +4 -5
  17. data/lib/elasticsearch/api/actions/cat/count.rb +4 -5
  18. data/lib/elasticsearch/api/actions/cat/fielddata.rb +4 -5
  19. data/lib/elasticsearch/api/actions/cat/health.rb +3 -3
  20. data/lib/elasticsearch/api/actions/cat/help.rb +3 -3
  21. data/lib/elasticsearch/api/actions/cat/indices.rb +4 -5
  22. data/lib/elasticsearch/api/actions/cat/master.rb +3 -3
  23. data/lib/elasticsearch/api/actions/cat/ml_data_frame_analytics.rb +4 -5
  24. data/lib/elasticsearch/api/actions/cat/ml_datafeeds.rb +4 -5
  25. data/lib/elasticsearch/api/actions/cat/ml_jobs.rb +4 -5
  26. data/lib/elasticsearch/api/actions/cat/ml_trained_models.rb +4 -5
  27. data/lib/elasticsearch/api/actions/cat/nodeattrs.rb +3 -3
  28. data/lib/elasticsearch/api/actions/cat/nodes.rb +3 -3
  29. data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +3 -3
  30. data/lib/elasticsearch/api/actions/cat/plugins.rb +3 -3
  31. data/lib/elasticsearch/api/actions/cat/recovery.rb +4 -5
  32. data/lib/elasticsearch/api/actions/cat/repositories.rb +3 -3
  33. data/lib/elasticsearch/api/actions/cat/segments.rb +4 -5
  34. data/lib/elasticsearch/api/actions/cat/shards.rb +4 -5
  35. data/lib/elasticsearch/api/actions/cat/snapshots.rb +4 -5
  36. data/lib/elasticsearch/api/actions/cat/tasks.rb +3 -3
  37. data/lib/elasticsearch/api/actions/cat/templates.rb +4 -5
  38. data/lib/elasticsearch/api/actions/cat/thread_pool.rb +4 -5
  39. data/lib/elasticsearch/api/actions/cat/transforms.rb +4 -5
  40. data/lib/elasticsearch/api/actions/clear_scroll.rb +6 -7
  41. data/lib/elasticsearch/api/actions/close_point_in_time.rb +3 -3
  42. data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +3 -3
  43. data/lib/elasticsearch/api/actions/cluster/delete_component_template.rb +3 -4
  44. data/lib/elasticsearch/api/actions/cluster/delete_voting_config_exclusions.rb +3 -3
  45. data/lib/elasticsearch/api/actions/cluster/exists_component_template.rb +4 -5
  46. data/lib/elasticsearch/api/actions/cluster/get_component_template.rb +4 -5
  47. data/lib/elasticsearch/api/actions/cluster/get_settings.rb +3 -3
  48. data/lib/elasticsearch/api/actions/cluster/health.rb +4 -5
  49. data/lib/elasticsearch/api/actions/cluster/info.rb +3 -4
  50. data/lib/elasticsearch/api/actions/cluster/pending_tasks.rb +3 -3
  51. data/lib/elasticsearch/api/actions/cluster/post_voting_config_exclusions.rb +3 -3
  52. data/lib/elasticsearch/api/actions/cluster/put_component_template.rb +3 -4
  53. data/lib/elasticsearch/api/actions/cluster/put_settings.rb +3 -3
  54. data/lib/elasticsearch/api/actions/cluster/remote_info.rb +3 -3
  55. data/lib/elasticsearch/api/actions/cluster/reroute.rb +3 -3
  56. data/lib/elasticsearch/api/actions/cluster/state.rb +4 -5
  57. data/lib/elasticsearch/api/actions/cluster/stats.rb +4 -5
  58. data/lib/elasticsearch/api/actions/connector/check_in.rb +3 -4
  59. data/lib/elasticsearch/api/actions/connector/delete.rb +3 -4
  60. data/lib/elasticsearch/api/actions/connector/get.rb +3 -4
  61. data/lib/elasticsearch/api/actions/connector/last_sync.rb +3 -4
  62. data/lib/elasticsearch/api/actions/connector/list.rb +8 -4
  63. data/lib/elasticsearch/api/actions/connector/post.rb +3 -3
  64. data/lib/elasticsearch/api/actions/connector/put.rb +3 -4
  65. data/lib/elasticsearch/api/actions/connector/update_api_key_id.rb +66 -0
  66. data/lib/elasticsearch/api/actions/connector/update_configuration.rb +3 -4
  67. data/lib/elasticsearch/api/actions/connector/update_error.rb +3 -4
  68. data/lib/elasticsearch/api/actions/connector/update_filtering.rb +3 -4
  69. data/lib/elasticsearch/api/actions/connector/update_index_name.rb +66 -0
  70. data/lib/elasticsearch/api/actions/connector/update_name.rb +3 -4
  71. data/lib/elasticsearch/api/actions/connector/update_native.rb +66 -0
  72. data/lib/elasticsearch/api/actions/connector/update_pipeline.rb +3 -4
  73. data/lib/elasticsearch/api/actions/connector/update_scheduling.rb +3 -4
  74. data/lib/elasticsearch/api/actions/connector/update_service_type.rb +66 -0
  75. data/lib/elasticsearch/api/actions/connector/update_status.rb +66 -0
  76. data/lib/elasticsearch/api/actions/connector_secret/delete.rb +64 -0
  77. data/lib/elasticsearch/api/actions/connector_secret/get.rb +64 -0
  78. data/lib/elasticsearch/api/actions/connector_secret/post.rb +57 -0
  79. data/lib/elasticsearch/api/actions/connector_secret/put.rb +66 -0
  80. data/lib/elasticsearch/api/actions/connector_sync_job/cancel.rb +7 -6
  81. data/lib/elasticsearch/api/actions/connector_sync_job/check_in.rb +7 -6
  82. data/lib/elasticsearch/api/actions/connector_sync_job/delete.rb +7 -6
  83. data/lib/elasticsearch/api/actions/connector_sync_job/error.rb +7 -6
  84. data/lib/elasticsearch/api/actions/connector_sync_job/get.rb +7 -6
  85. data/lib/elasticsearch/api/actions/connector_sync_job/list.rb +4 -3
  86. data/lib/elasticsearch/api/actions/connector_sync_job/post.rb +3 -3
  87. data/lib/elasticsearch/api/actions/connector_sync_job/update_stats.rb +7 -6
  88. data/lib/elasticsearch/api/actions/count.rb +9 -10
  89. data/lib/elasticsearch/api/actions/create.rb +3 -4
  90. data/lib/elasticsearch/api/actions/cross_cluster_replication/delete_auto_follow_pattern.rb +3 -4
  91. data/lib/elasticsearch/api/actions/cross_cluster_replication/follow.rb +3 -4
  92. data/lib/elasticsearch/api/actions/cross_cluster_replication/follow_info.rb +3 -4
  93. data/lib/elasticsearch/api/actions/cross_cluster_replication/follow_stats.rb +3 -4
  94. data/lib/elasticsearch/api/actions/cross_cluster_replication/forget_follower.rb +3 -4
  95. data/lib/elasticsearch/api/actions/cross_cluster_replication/get_auto_follow_pattern.rb +4 -5
  96. data/lib/elasticsearch/api/actions/cross_cluster_replication/pause_auto_follow_pattern.rb +3 -4
  97. data/lib/elasticsearch/api/actions/cross_cluster_replication/pause_follow.rb +3 -4
  98. data/lib/elasticsearch/api/actions/cross_cluster_replication/put_auto_follow_pattern.rb +3 -4
  99. data/lib/elasticsearch/api/actions/cross_cluster_replication/resume_auto_follow_pattern.rb +3 -4
  100. data/lib/elasticsearch/api/actions/cross_cluster_replication/resume_follow.rb +3 -4
  101. data/lib/elasticsearch/api/actions/cross_cluster_replication/stats.rb +3 -3
  102. data/lib/elasticsearch/api/actions/cross_cluster_replication/unfollow.rb +3 -4
  103. data/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb +3 -4
  104. data/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb +3 -4
  105. data/lib/elasticsearch/api/actions/dangling_indices/list_dangling_indices.rb +3 -3
  106. data/lib/elasticsearch/api/actions/delete.rb +5 -6
  107. data/lib/elasticsearch/api/actions/delete_by_query.rb +3 -4
  108. data/lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb +3 -4
  109. data/lib/elasticsearch/api/actions/delete_script.rb +3 -4
  110. data/lib/elasticsearch/api/actions/enrich/delete_policy.rb +3 -4
  111. data/lib/elasticsearch/api/actions/enrich/execute_policy.rb +3 -4
  112. data/lib/elasticsearch/api/actions/enrich/get_policy.rb +4 -5
  113. data/lib/elasticsearch/api/actions/enrich/put_policy.rb +3 -4
  114. data/lib/elasticsearch/api/actions/enrich/stats.rb +3 -3
  115. data/lib/elasticsearch/api/actions/eql/delete.rb +3 -4
  116. data/lib/elasticsearch/api/actions/eql/get.rb +3 -4
  117. data/lib/elasticsearch/api/actions/eql/get_status.rb +3 -4
  118. data/lib/elasticsearch/api/actions/eql/search.rb +3 -4
  119. data/lib/elasticsearch/api/actions/esql/async_query.rb +60 -0
  120. data/lib/elasticsearch/api/actions/esql/async_query_get.rb +63 -0
  121. data/lib/elasticsearch/api/actions/esql/query.rb +5 -4
  122. data/lib/elasticsearch/api/actions/exists.rb +5 -6
  123. data/lib/elasticsearch/api/actions/exists_source.rb +4 -5
  124. data/lib/elasticsearch/api/actions/explain.rb +4 -5
  125. data/lib/elasticsearch/api/actions/features/get_features.rb +3 -3
  126. data/lib/elasticsearch/api/actions/features/reset_features.rb +3 -3
  127. data/lib/elasticsearch/api/actions/field_caps.rb +10 -10
  128. data/lib/elasticsearch/api/actions/fleet/delete_secret.rb +2 -3
  129. data/lib/elasticsearch/api/actions/fleet/get_secret.rb +2 -3
  130. data/lib/elasticsearch/api/actions/fleet/global_checkpoints.rb +3 -4
  131. data/lib/elasticsearch/api/actions/fleet/msearch.rb +9 -12
  132. data/lib/elasticsearch/api/actions/fleet/post_secret.rb +2 -2
  133. data/lib/elasticsearch/api/actions/fleet/search.rb +4 -5
  134. data/lib/elasticsearch/api/actions/get.rb +5 -6
  135. data/lib/elasticsearch/api/actions/get_script.rb +3 -4
  136. data/lib/elasticsearch/api/actions/get_script_context.rb +3 -3
  137. data/lib/elasticsearch/api/actions/get_script_languages.rb +3 -3
  138. data/lib/elasticsearch/api/actions/get_source.rb +3 -4
  139. data/lib/elasticsearch/api/actions/graph/explore.rb +5 -6
  140. data/lib/elasticsearch/api/actions/health_report.rb +4 -5
  141. data/lib/elasticsearch/api/actions/index.rb +4 -4
  142. data/lib/elasticsearch/api/actions/index_lifecycle_management/delete_lifecycle.rb +3 -4
  143. data/lib/elasticsearch/api/actions/index_lifecycle_management/explain_lifecycle.rb +3 -4
  144. data/lib/elasticsearch/api/actions/index_lifecycle_management/get_lifecycle.rb +4 -5
  145. data/lib/elasticsearch/api/actions/index_lifecycle_management/get_status.rb +3 -3
  146. data/lib/elasticsearch/api/actions/index_lifecycle_management/migrate_to_data_tiers.rb +3 -3
  147. data/lib/elasticsearch/api/actions/index_lifecycle_management/move_to_step.rb +3 -4
  148. data/lib/elasticsearch/api/actions/index_lifecycle_management/put_lifecycle.rb +3 -4
  149. data/lib/elasticsearch/api/actions/index_lifecycle_management/remove_policy.rb +3 -4
  150. data/lib/elasticsearch/api/actions/index_lifecycle_management/retry.rb +3 -4
  151. data/lib/elasticsearch/api/actions/index_lifecycle_management/start.rb +3 -3
  152. data/lib/elasticsearch/api/actions/index_lifecycle_management/stop.rb +3 -3
  153. data/lib/elasticsearch/api/actions/indices/add_block.rb +3 -4
  154. data/lib/elasticsearch/api/actions/indices/analyze.rb +9 -10
  155. data/lib/elasticsearch/api/actions/indices/clear_cache.rb +4 -5
  156. data/lib/elasticsearch/api/actions/indices/clone.rb +3 -4
  157. data/lib/elasticsearch/api/actions/indices/close.rb +3 -4
  158. data/lib/elasticsearch/api/actions/indices/create.rb +3 -4
  159. data/lib/elasticsearch/api/actions/indices/create_data_stream.rb +3 -4
  160. data/lib/elasticsearch/api/actions/indices/data_streams_stats.rb +4 -5
  161. data/lib/elasticsearch/api/actions/indices/delete.rb +5 -6
  162. data/lib/elasticsearch/api/actions/indices/delete_alias.rb +4 -7
  163. data/lib/elasticsearch/api/actions/indices/delete_data_lifecycle.rb +3 -4
  164. data/lib/elasticsearch/api/actions/indices/delete_data_stream.rb +3 -4
  165. data/lib/elasticsearch/api/actions/indices/delete_index_template.rb +3 -4
  166. data/lib/elasticsearch/api/actions/indices/delete_template.rb +5 -6
  167. data/lib/elasticsearch/api/actions/indices/disk_usage.rb +3 -4
  168. data/lib/elasticsearch/api/actions/indices/downsample.rb +3 -4
  169. data/lib/elasticsearch/api/actions/indices/exists.rb +5 -6
  170. data/lib/elasticsearch/api/actions/indices/exists_alias.rb +5 -6
  171. data/lib/elasticsearch/api/actions/indices/exists_index_template.rb +4 -5
  172. data/lib/elasticsearch/api/actions/indices/exists_template.rb +5 -6
  173. data/lib/elasticsearch/api/actions/indices/explain_data_lifecycle.rb +3 -4
  174. data/lib/elasticsearch/api/actions/indices/field_usage_stats.rb +3 -4
  175. data/lib/elasticsearch/api/actions/indices/flush.rb +4 -5
  176. data/lib/elasticsearch/api/actions/indices/forcemerge.rb +4 -5
  177. data/lib/elasticsearch/api/actions/indices/get.rb +3 -4
  178. data/lib/elasticsearch/api/actions/indices/get_alias.rb +4 -5
  179. data/lib/elasticsearch/api/actions/indices/get_data_lifecycle.rb +3 -4
  180. data/lib/elasticsearch/api/actions/indices/get_data_stream.rb +4 -5
  181. data/lib/elasticsearch/api/actions/indices/get_field_mapping.rb +3 -4
  182. data/lib/elasticsearch/api/actions/indices/get_index_template.rb +4 -5
  183. data/lib/elasticsearch/api/actions/indices/get_mapping.rb +4 -5
  184. data/lib/elasticsearch/api/actions/indices/get_settings.rb +4 -5
  185. data/lib/elasticsearch/api/actions/indices/get_template.rb +4 -5
  186. data/lib/elasticsearch/api/actions/indices/migrate_to_data_stream.rb +3 -4
  187. data/lib/elasticsearch/api/actions/indices/modify_data_stream.rb +3 -3
  188. data/lib/elasticsearch/api/actions/indices/open.rb +3 -4
  189. data/lib/elasticsearch/api/actions/indices/promote_data_stream.rb +3 -4
  190. data/lib/elasticsearch/api/actions/indices/put_alias.rb +4 -7
  191. data/lib/elasticsearch/api/actions/indices/put_data_lifecycle.rb +3 -4
  192. data/lib/elasticsearch/api/actions/indices/put_index_template.rb +3 -4
  193. data/lib/elasticsearch/api/actions/indices/put_mapping.rb +3 -4
  194. data/lib/elasticsearch/api/actions/indices/put_settings.rb +4 -5
  195. data/lib/elasticsearch/api/actions/indices/put_template.rb +3 -4
  196. data/lib/elasticsearch/api/actions/indices/recovery.rb +4 -5
  197. data/lib/elasticsearch/api/actions/indices/refresh.rb +4 -5
  198. data/lib/elasticsearch/api/actions/indices/reload_search_analyzers.rb +3 -4
  199. data/lib/elasticsearch/api/actions/indices/resolve_cluster.rb +64 -0
  200. data/lib/elasticsearch/api/actions/indices/resolve_index.rb +3 -4
  201. data/lib/elasticsearch/api/actions/indices/rollover.rb +4 -4
  202. data/lib/elasticsearch/api/actions/indices/segments.rb +4 -5
  203. data/lib/elasticsearch/api/actions/indices/shard_stores.rb +4 -5
  204. data/lib/elasticsearch/api/actions/indices/shrink.rb +3 -4
  205. data/lib/elasticsearch/api/actions/indices/simulate_index_template.rb +3 -4
  206. data/lib/elasticsearch/api/actions/indices/simulate_template.rb +4 -5
  207. data/lib/elasticsearch/api/actions/indices/split.rb +3 -4
  208. data/lib/elasticsearch/api/actions/indices/stats.rb +4 -5
  209. data/lib/elasticsearch/api/actions/indices/unfreeze.rb +3 -4
  210. data/lib/elasticsearch/api/actions/indices/update_aliases.rb +3 -3
  211. data/lib/elasticsearch/api/actions/indices/validate_query.rb +9 -10
  212. data/lib/elasticsearch/api/actions/inference/delete_model.rb +13 -11
  213. data/lib/elasticsearch/api/actions/inference/get_model.rb +13 -11
  214. data/lib/elasticsearch/api/actions/inference/inference.rb +13 -11
  215. data/lib/elasticsearch/api/actions/inference/put_model.rb +13 -11
  216. data/lib/elasticsearch/api/actions/info.rb +3 -3
  217. data/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb +3 -4
  218. data/lib/elasticsearch/api/actions/ingest/geo_ip_stats.rb +3 -3
  219. data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +4 -5
  220. data/lib/elasticsearch/api/actions/ingest/processor_grok.rb +3 -3
  221. data/lib/elasticsearch/api/actions/ingest/put_pipeline.rb +3 -4
  222. data/lib/elasticsearch/api/actions/ingest/simulate.rb +4 -5
  223. data/lib/elasticsearch/api/actions/knn_search.rb +5 -6
  224. data/lib/elasticsearch/api/actions/license/delete.rb +3 -3
  225. data/lib/elasticsearch/api/actions/license/get.rb +3 -3
  226. data/lib/elasticsearch/api/actions/license/get_basic_status.rb +3 -3
  227. data/lib/elasticsearch/api/actions/license/get_trial_status.rb +3 -3
  228. data/lib/elasticsearch/api/actions/license/post.rb +3 -3
  229. data/lib/elasticsearch/api/actions/license/post_start_basic.rb +3 -3
  230. data/lib/elasticsearch/api/actions/license/post_start_trial.rb +3 -3
  231. data/lib/elasticsearch/api/actions/logstash/delete_pipeline.rb +3 -4
  232. data/lib/elasticsearch/api/actions/logstash/get_pipeline.rb +4 -5
  233. data/lib/elasticsearch/api/actions/logstash/put_pipeline.rb +3 -4
  234. data/lib/elasticsearch/api/actions/machine_learning/clear_trained_model_deployment_cache.rb +3 -4
  235. data/lib/elasticsearch/api/actions/machine_learning/close_job.rb +3 -4
  236. data/lib/elasticsearch/api/actions/machine_learning/delete_calendar.rb +3 -4
  237. data/lib/elasticsearch/api/actions/machine_learning/delete_calendar_event.rb +3 -4
  238. data/lib/elasticsearch/api/actions/machine_learning/delete_calendar_job.rb +3 -4
  239. data/lib/elasticsearch/api/actions/machine_learning/delete_data_frame_analytics.rb +3 -4
  240. data/lib/elasticsearch/api/actions/machine_learning/delete_datafeed.rb +3 -4
  241. data/lib/elasticsearch/api/actions/machine_learning/delete_expired_data.rb +4 -5
  242. data/lib/elasticsearch/api/actions/machine_learning/delete_filter.rb +3 -4
  243. data/lib/elasticsearch/api/actions/machine_learning/delete_forecast.rb +3 -4
  244. data/lib/elasticsearch/api/actions/machine_learning/delete_job.rb +3 -4
  245. data/lib/elasticsearch/api/actions/machine_learning/delete_model_snapshot.rb +3 -4
  246. data/lib/elasticsearch/api/actions/machine_learning/delete_trained_model.rb +3 -4
  247. data/lib/elasticsearch/api/actions/machine_learning/delete_trained_model_alias.rb +3 -4
  248. data/lib/elasticsearch/api/actions/machine_learning/estimate_model_memory.rb +3 -3
  249. data/lib/elasticsearch/api/actions/machine_learning/evaluate_data_frame.rb +3 -3
  250. data/lib/elasticsearch/api/actions/machine_learning/explain_data_frame_analytics.rb +8 -9
  251. data/lib/elasticsearch/api/actions/machine_learning/flush_job.rb +3 -4
  252. data/lib/elasticsearch/api/actions/machine_learning/forecast.rb +3 -4
  253. data/lib/elasticsearch/api/actions/machine_learning/get_buckets.rb +8 -9
  254. data/lib/elasticsearch/api/actions/machine_learning/get_calendar_events.rb +3 -4
  255. data/lib/elasticsearch/api/actions/machine_learning/get_calendars.rb +8 -9
  256. data/lib/elasticsearch/api/actions/machine_learning/get_categories.rb +8 -9
  257. data/lib/elasticsearch/api/actions/machine_learning/get_data_frame_analytics.rb +4 -5
  258. data/lib/elasticsearch/api/actions/machine_learning/get_data_frame_analytics_stats.rb +4 -5
  259. data/lib/elasticsearch/api/actions/machine_learning/get_datafeed_stats.rb +4 -5
  260. data/lib/elasticsearch/api/actions/machine_learning/get_datafeeds.rb +4 -5
  261. data/lib/elasticsearch/api/actions/machine_learning/get_filters.rb +4 -5
  262. data/lib/elasticsearch/api/actions/machine_learning/get_influencers.rb +4 -5
  263. data/lib/elasticsearch/api/actions/machine_learning/get_job_stats.rb +4 -5
  264. data/lib/elasticsearch/api/actions/machine_learning/get_jobs.rb +4 -5
  265. data/lib/elasticsearch/api/actions/machine_learning/get_memory_stats.rb +4 -5
  266. data/lib/elasticsearch/api/actions/machine_learning/get_model_snapshot_upgrade_stats.rb +3 -4
  267. data/lib/elasticsearch/api/actions/machine_learning/get_model_snapshots.rb +8 -9
  268. data/lib/elasticsearch/api/actions/machine_learning/get_overall_buckets.rb +4 -5
  269. data/lib/elasticsearch/api/actions/machine_learning/get_records.rb +4 -5
  270. data/lib/elasticsearch/api/actions/machine_learning/get_trained_models.rb +4 -5
  271. data/lib/elasticsearch/api/actions/machine_learning/get_trained_models_stats.rb +4 -5
  272. data/lib/elasticsearch/api/actions/machine_learning/infer_trained_model.rb +4 -7
  273. data/lib/elasticsearch/api/actions/machine_learning/info.rb +3 -3
  274. data/lib/elasticsearch/api/actions/machine_learning/open_job.rb +3 -4
  275. data/lib/elasticsearch/api/actions/machine_learning/post_calendar_events.rb +3 -4
  276. data/lib/elasticsearch/api/actions/machine_learning/post_data.rb +3 -4
  277. data/lib/elasticsearch/api/actions/machine_learning/preview_data_frame_analytics.rb +8 -9
  278. data/lib/elasticsearch/api/actions/machine_learning/preview_datafeed.rb +8 -9
  279. data/lib/elasticsearch/api/actions/machine_learning/put_calendar.rb +3 -4
  280. data/lib/elasticsearch/api/actions/machine_learning/put_calendar_job.rb +3 -4
  281. data/lib/elasticsearch/api/actions/machine_learning/put_data_frame_analytics.rb +3 -4
  282. data/lib/elasticsearch/api/actions/machine_learning/put_datafeed.rb +3 -4
  283. data/lib/elasticsearch/api/actions/machine_learning/put_filter.rb +3 -4
  284. data/lib/elasticsearch/api/actions/machine_learning/put_job.rb +3 -4
  285. data/lib/elasticsearch/api/actions/machine_learning/put_trained_model.rb +3 -4
  286. data/lib/elasticsearch/api/actions/machine_learning/put_trained_model_alias.rb +3 -4
  287. data/lib/elasticsearch/api/actions/machine_learning/put_trained_model_definition_part.rb +3 -4
  288. data/lib/elasticsearch/api/actions/machine_learning/put_trained_model_vocabulary.rb +3 -4
  289. data/lib/elasticsearch/api/actions/machine_learning/reset_job.rb +3 -4
  290. data/lib/elasticsearch/api/actions/machine_learning/revert_model_snapshot.rb +3 -4
  291. data/lib/elasticsearch/api/actions/machine_learning/set_upgrade_mode.rb +3 -3
  292. data/lib/elasticsearch/api/actions/machine_learning/start_data_frame_analytics.rb +3 -4
  293. data/lib/elasticsearch/api/actions/machine_learning/start_datafeed.rb +3 -4
  294. data/lib/elasticsearch/api/actions/machine_learning/start_trained_model_deployment.rb +3 -4
  295. data/lib/elasticsearch/api/actions/machine_learning/stop_data_frame_analytics.rb +3 -4
  296. data/lib/elasticsearch/api/actions/machine_learning/stop_datafeed.rb +3 -4
  297. data/lib/elasticsearch/api/actions/machine_learning/stop_trained_model_deployment.rb +3 -4
  298. data/lib/elasticsearch/api/actions/machine_learning/update_data_frame_analytics.rb +3 -4
  299. data/lib/elasticsearch/api/actions/machine_learning/update_datafeed.rb +3 -4
  300. data/lib/elasticsearch/api/actions/machine_learning/update_filter.rb +3 -4
  301. data/lib/elasticsearch/api/actions/machine_learning/update_job.rb +3 -4
  302. data/lib/elasticsearch/api/actions/machine_learning/update_model_snapshot.rb +3 -4
  303. data/lib/elasticsearch/api/actions/machine_learning/update_trained_model_deployment.rb +3 -4
  304. data/lib/elasticsearch/api/actions/machine_learning/upgrade_job_snapshot.rb +3 -4
  305. data/lib/elasticsearch/api/actions/machine_learning/validate.rb +3 -3
  306. data/lib/elasticsearch/api/actions/machine_learning/validate_detector.rb +3 -3
  307. data/lib/elasticsearch/api/actions/mget.rb +4 -5
  308. data/lib/elasticsearch/api/actions/migration/deprecations.rb +4 -5
  309. data/lib/elasticsearch/api/actions/migration/get_feature_upgrade_status.rb +3 -3
  310. data/lib/elasticsearch/api/actions/migration/post_feature_upgrade.rb +3 -3
  311. data/lib/elasticsearch/api/actions/monitoring/bulk.rb +10 -11
  312. data/lib/elasticsearch/api/actions/msearch.rb +10 -13
  313. data/lib/elasticsearch/api/actions/msearch_template.rb +8 -11
  314. data/lib/elasticsearch/api/actions/mtermvectors.rb +9 -10
  315. data/lib/elasticsearch/api/actions/nodes/clear_repositories_metering_archive.rb +4 -7
  316. data/lib/elasticsearch/api/actions/nodes/get_repositories_metering_info.rb +3 -4
  317. data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +4 -5
  318. data/lib/elasticsearch/api/actions/nodes/info.rb +4 -5
  319. data/lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb +4 -5
  320. data/lib/elasticsearch/api/actions/nodes/stats.rb +4 -5
  321. data/lib/elasticsearch/api/actions/nodes/usage.rb +4 -5
  322. data/lib/elasticsearch/api/actions/open_point_in_time.rb +3 -4
  323. data/lib/elasticsearch/api/actions/ping.rb +7 -9
  324. data/lib/elasticsearch/api/actions/profiling/flamegraph.rb +53 -0
  325. data/lib/elasticsearch/api/actions/profiling/stacktraces.rb +53 -0
  326. data/lib/elasticsearch/api/actions/profiling/status.rb +3 -3
  327. data/lib/elasticsearch/api/actions/put_script.rb +3 -4
  328. data/lib/elasticsearch/api/actions/query_ruleset/delete.rb +3 -4
  329. data/lib/elasticsearch/api/actions/query_ruleset/get.rb +3 -4
  330. data/lib/elasticsearch/api/actions/query_ruleset/list.rb +3 -3
  331. data/lib/elasticsearch/api/actions/query_ruleset/put.rb +3 -4
  332. data/lib/elasticsearch/api/actions/rank_eval.rb +4 -5
  333. data/lib/elasticsearch/api/actions/reindex.rb +3 -3
  334. data/lib/elasticsearch/api/actions/reindex_rethrottle.rb +3 -4
  335. data/lib/elasticsearch/api/actions/render_search_template.rb +8 -9
  336. data/lib/elasticsearch/api/actions/rollup/delete_job.rb +3 -4
  337. data/lib/elasticsearch/api/actions/rollup/get_jobs.rb +4 -5
  338. data/lib/elasticsearch/api/actions/rollup/get_rollup_caps.rb +4 -5
  339. data/lib/elasticsearch/api/actions/rollup/get_rollup_index_caps.rb +3 -4
  340. data/lib/elasticsearch/api/actions/rollup/put_job.rb +3 -4
  341. data/lib/elasticsearch/api/actions/rollup/rollup_search.rb +3 -4
  342. data/lib/elasticsearch/api/actions/rollup/start_job.rb +3 -4
  343. data/lib/elasticsearch/api/actions/rollup/stop_job.rb +3 -4
  344. data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +3 -3
  345. data/lib/elasticsearch/api/actions/scroll.rb +8 -9
  346. data/lib/elasticsearch/api/actions/search.rb +9 -10
  347. data/lib/elasticsearch/api/actions/search_application/delete.rb +3 -4
  348. data/lib/elasticsearch/api/actions/search_application/delete_behavioral_analytics.rb +3 -4
  349. data/lib/elasticsearch/api/actions/search_application/get.rb +3 -4
  350. data/lib/elasticsearch/api/actions/search_application/get_behavioral_analytics.rb +4 -5
  351. data/lib/elasticsearch/api/actions/search_application/list.rb +3 -3
  352. data/lib/elasticsearch/api/actions/search_application/post_behavioral_analytics_event.rb +2 -3
  353. data/lib/elasticsearch/api/actions/search_application/put.rb +3 -4
  354. data/lib/elasticsearch/api/actions/search_application/put_behavioral_analytics.rb +3 -4
  355. data/lib/elasticsearch/api/actions/search_application/render_query.rb +3 -4
  356. data/lib/elasticsearch/api/actions/search_application/search.rb +4 -5
  357. data/lib/elasticsearch/api/actions/search_mvt.rb +3 -4
  358. data/lib/elasticsearch/api/actions/search_shards.rb +4 -5
  359. data/lib/elasticsearch/api/actions/search_template.rb +4 -5
  360. data/lib/elasticsearch/api/actions/searchable_snapshots/cache_stats.rb +4 -5
  361. data/lib/elasticsearch/api/actions/searchable_snapshots/clear_cache.rb +4 -5
  362. data/lib/elasticsearch/api/actions/searchable_snapshots/mount.rb +3 -4
  363. data/lib/elasticsearch/api/actions/searchable_snapshots/stats.rb +4 -5
  364. data/lib/elasticsearch/api/actions/security/activate_user_profile.rb +3 -3
  365. data/lib/elasticsearch/api/actions/security/authenticate.rb +3 -3
  366. data/lib/elasticsearch/api/actions/security/bulk_update_api_keys.rb +3 -3
  367. data/lib/elasticsearch/api/actions/security/change_password.rb +4 -5
  368. data/lib/elasticsearch/api/actions/security/clear_api_key_cache.rb +3 -4
  369. data/lib/elasticsearch/api/actions/security/clear_cached_privileges.rb +3 -4
  370. data/lib/elasticsearch/api/actions/security/clear_cached_realms.rb +3 -4
  371. data/lib/elasticsearch/api/actions/security/clear_cached_roles.rb +3 -4
  372. data/lib/elasticsearch/api/actions/security/clear_cached_service_tokens.rb +3 -4
  373. data/lib/elasticsearch/api/actions/security/create_api_key.rb +3 -3
  374. data/lib/elasticsearch/api/actions/security/create_cross_cluster_api_key.rb +3 -3
  375. data/lib/elasticsearch/api/actions/security/create_service_token.rb +3 -4
  376. data/lib/elasticsearch/api/actions/security/delete_privileges.rb +3 -4
  377. data/lib/elasticsearch/api/actions/security/delete_role.rb +3 -4
  378. data/lib/elasticsearch/api/actions/security/delete_role_mapping.rb +3 -4
  379. data/lib/elasticsearch/api/actions/security/delete_service_token.rb +3 -4
  380. data/lib/elasticsearch/api/actions/security/delete_user.rb +3 -4
  381. data/lib/elasticsearch/api/actions/security/disable_user.rb +3 -4
  382. data/lib/elasticsearch/api/actions/security/disable_user_profile.rb +3 -4
  383. data/lib/elasticsearch/api/actions/security/enable_user.rb +3 -4
  384. data/lib/elasticsearch/api/actions/security/enable_user_profile.rb +3 -4
  385. data/lib/elasticsearch/api/actions/security/enroll_kibana.rb +3 -3
  386. data/lib/elasticsearch/api/actions/security/enroll_node.rb +3 -3
  387. data/lib/elasticsearch/api/actions/security/get_api_key.rb +3 -3
  388. data/lib/elasticsearch/api/actions/security/get_builtin_privileges.rb +3 -3
  389. data/lib/elasticsearch/api/actions/security/get_privileges.rb +4 -5
  390. data/lib/elasticsearch/api/actions/security/get_role.rb +6 -7
  391. data/lib/elasticsearch/api/actions/security/get_role_mapping.rb +4 -5
  392. data/lib/elasticsearch/api/actions/security/get_service_accounts.rb +4 -5
  393. data/lib/elasticsearch/api/actions/security/get_service_credentials.rb +3 -4
  394. data/lib/elasticsearch/api/actions/security/get_settings.rb +3 -3
  395. data/lib/elasticsearch/api/actions/security/get_token.rb +3 -3
  396. data/lib/elasticsearch/api/actions/security/get_user.rb +6 -7
  397. data/lib/elasticsearch/api/actions/security/get_user_privileges.rb +3 -3
  398. data/lib/elasticsearch/api/actions/security/get_user_profile.rb +3 -4
  399. data/lib/elasticsearch/api/actions/security/grant_api_key.rb +3 -3
  400. data/lib/elasticsearch/api/actions/security/has_privileges.rb +4 -5
  401. data/lib/elasticsearch/api/actions/security/has_privileges_user_profile.rb +3 -3
  402. data/lib/elasticsearch/api/actions/security/invalidate_api_key.rb +3 -3
  403. data/lib/elasticsearch/api/actions/security/invalidate_token.rb +3 -3
  404. data/lib/elasticsearch/api/actions/security/oidc_authenticate.rb +3 -3
  405. data/lib/elasticsearch/api/actions/security/oidc_logout.rb +3 -3
  406. data/lib/elasticsearch/api/actions/security/oidc_prepare_authentication.rb +3 -3
  407. data/lib/elasticsearch/api/actions/security/put_privileges.rb +3 -3
  408. data/lib/elasticsearch/api/actions/security/put_role.rb +3 -4
  409. data/lib/elasticsearch/api/actions/security/put_role_mapping.rb +3 -4
  410. data/lib/elasticsearch/api/actions/security/put_user.rb +3 -4
  411. data/lib/elasticsearch/api/actions/security/query_api_keys.rb +3 -3
  412. data/lib/elasticsearch/api/actions/security/query_user.rb +57 -0
  413. data/lib/elasticsearch/api/actions/security/saml_authenticate.rb +3 -3
  414. data/lib/elasticsearch/api/actions/security/saml_complete_logout.rb +3 -3
  415. data/lib/elasticsearch/api/actions/security/saml_invalidate.rb +3 -3
  416. data/lib/elasticsearch/api/actions/security/saml_logout.rb +3 -3
  417. data/lib/elasticsearch/api/actions/security/saml_prepare_authentication.rb +3 -3
  418. data/lib/elasticsearch/api/actions/security/saml_service_provider_metadata.rb +3 -4
  419. data/lib/elasticsearch/api/actions/security/suggest_user_profiles.rb +3 -3
  420. data/lib/elasticsearch/api/actions/security/update_api_key.rb +3 -4
  421. data/lib/elasticsearch/api/actions/security/update_cross_cluster_api_key.rb +3 -4
  422. data/lib/elasticsearch/api/actions/security/update_settings.rb +3 -3
  423. data/lib/elasticsearch/api/actions/security/update_user_profile_data.rb +3 -4
  424. data/lib/elasticsearch/api/actions/shutdown/delete_node.rb +2 -3
  425. data/lib/elasticsearch/api/actions/shutdown/get_node.rb +3 -4
  426. data/lib/elasticsearch/api/actions/shutdown/put_node.rb +2 -3
  427. data/lib/elasticsearch/api/actions/simulate/ingest.rb +4 -5
  428. data/lib/elasticsearch/api/actions/snapshot/cleanup_repository.rb +3 -4
  429. data/lib/elasticsearch/api/actions/snapshot/clone.rb +3 -4
  430. data/lib/elasticsearch/api/actions/snapshot/create.rb +3 -4
  431. data/lib/elasticsearch/api/actions/snapshot/create_repository.rb +3 -4
  432. data/lib/elasticsearch/api/actions/snapshot/delete.rb +5 -6
  433. data/lib/elasticsearch/api/actions/snapshot/delete_repository.rb +5 -6
  434. data/lib/elasticsearch/api/actions/snapshot/get.rb +5 -6
  435. data/lib/elasticsearch/api/actions/snapshot/get_repository.rb +6 -7
  436. data/lib/elasticsearch/api/actions/snapshot/repository_analyze.rb +3 -4
  437. data/lib/elasticsearch/api/actions/snapshot/restore.rb +3 -4
  438. data/lib/elasticsearch/api/actions/snapshot/status.rb +6 -7
  439. data/lib/elasticsearch/api/actions/snapshot/verify_repository.rb +3 -4
  440. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/delete_lifecycle.rb +3 -4
  441. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/execute_lifecycle.rb +3 -4
  442. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/execute_retention.rb +3 -3
  443. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_lifecycle.rb +4 -5
  444. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_stats.rb +3 -3
  445. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_status.rb +3 -3
  446. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/put_lifecycle.rb +3 -4
  447. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/start.rb +3 -3
  448. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/stop.rb +3 -3
  449. data/lib/elasticsearch/api/actions/sql/clear_cursor.rb +3 -3
  450. data/lib/elasticsearch/api/actions/sql/delete_async.rb +3 -4
  451. data/lib/elasticsearch/api/actions/sql/get_async.rb +3 -4
  452. data/lib/elasticsearch/api/actions/sql/get_async_status.rb +3 -4
  453. data/lib/elasticsearch/api/actions/sql/query.rb +3 -3
  454. data/lib/elasticsearch/api/actions/sql/translate.rb +3 -3
  455. data/lib/elasticsearch/api/actions/ssl/certificates.rb +3 -3
  456. data/lib/elasticsearch/api/actions/synonyms/delete_synonym.rb +3 -8
  457. data/lib/elasticsearch/api/actions/synonyms/delete_synonym_rule.rb +3 -8
  458. data/lib/elasticsearch/api/actions/synonyms/get_synonym.rb +3 -8
  459. data/lib/elasticsearch/api/actions/synonyms/get_synonym_rule.rb +3 -8
  460. data/lib/elasticsearch/api/actions/synonyms/get_synonyms_sets.rb +3 -7
  461. data/lib/elasticsearch/api/actions/synonyms/put_synonym.rb +3 -8
  462. data/lib/elasticsearch/api/actions/synonyms/put_synonym_rule.rb +3 -8
  463. data/lib/elasticsearch/api/actions/tasks/cancel.rb +4 -5
  464. data/lib/elasticsearch/api/actions/tasks/get.rb +3 -4
  465. data/lib/elasticsearch/api/actions/tasks/list.rb +3 -3
  466. data/lib/elasticsearch/api/actions/terms_enum.rb +5 -6
  467. data/lib/elasticsearch/api/actions/termvectors.rb +12 -12
  468. data/lib/elasticsearch/api/actions/text_structure/find_structure.rb +9 -9
  469. data/lib/elasticsearch/api/actions/text_structure/test_grok_pattern.rb +54 -0
  470. data/lib/elasticsearch/api/actions/transform/delete_transform.rb +3 -4
  471. data/lib/elasticsearch/api/actions/transform/get_transform.rb +4 -5
  472. data/lib/elasticsearch/api/actions/transform/get_transform_stats.rb +3 -4
  473. data/lib/elasticsearch/api/actions/transform/preview_transform.rb +8 -9
  474. data/lib/elasticsearch/api/actions/transform/put_transform.rb +3 -4
  475. data/lib/elasticsearch/api/actions/transform/reset_transform.rb +3 -4
  476. data/lib/elasticsearch/api/actions/transform/schedule_now_transform.rb +3 -4
  477. data/lib/elasticsearch/api/actions/transform/start_transform.rb +3 -4
  478. data/lib/elasticsearch/api/actions/transform/stop_transform.rb +3 -4
  479. data/lib/elasticsearch/api/actions/transform/update_transform.rb +3 -4
  480. data/lib/elasticsearch/api/actions/transform/upgrade_transforms.rb +3 -3
  481. data/lib/elasticsearch/api/actions/update.rb +5 -6
  482. data/lib/elasticsearch/api/actions/update_by_query.rb +3 -4
  483. data/lib/elasticsearch/api/actions/update_by_query_rethrottle.rb +3 -4
  484. data/lib/elasticsearch/api/actions/watcher/ack_watch.rb +3 -4
  485. data/lib/elasticsearch/api/actions/watcher/activate_watch.rb +3 -4
  486. data/lib/elasticsearch/api/actions/watcher/deactivate_watch.rb +3 -4
  487. data/lib/elasticsearch/api/actions/watcher/delete_watch.rb +5 -6
  488. data/lib/elasticsearch/api/actions/watcher/execute_watch.rb +4 -5
  489. data/lib/elasticsearch/api/actions/watcher/get_settings.rb +3 -3
  490. data/lib/elasticsearch/api/actions/watcher/get_watch.rb +3 -4
  491. data/lib/elasticsearch/api/actions/watcher/put_watch.rb +3 -4
  492. data/lib/elasticsearch/api/actions/watcher/query_watches.rb +3 -3
  493. data/lib/elasticsearch/api/actions/watcher/start.rb +3 -3
  494. data/lib/elasticsearch/api/actions/watcher/stats.rb +4 -5
  495. data/lib/elasticsearch/api/actions/watcher/stop.rb +3 -3
  496. data/lib/elasticsearch/api/actions/watcher/update_settings.rb +3 -3
  497. data/lib/elasticsearch/api/actions/xpack/info.rb +3 -3
  498. data/lib/elasticsearch/api/actions/xpack/usage.rb +3 -3
  499. data/{spec/platinum/unit/text_structure/find_structure_test.rb → lib/elasticsearch/api/namespace/connector_secret.rb} +12 -16
  500. data/lib/elasticsearch/api/version.rb +1 -1
  501. data/lib/elasticsearch/api.rb +2 -1
  502. data/spec/elasticsearch/api/actions/connector/update_api_key_id_spec.rb +38 -0
  503. data/spec/elasticsearch/api/actions/connector/update_index_name_spec.rb +38 -0
  504. data/spec/elasticsearch/api/actions/connector/update_native_spec.rb +38 -0
  505. data/spec/elasticsearch/api/actions/connector/update_service_type_spec.rb +38 -0
  506. data/spec/elasticsearch/api/actions/connector/update_status_spec.rb +38 -0
  507. data/spec/elasticsearch/api/actions/connector_secret/delete_spec.rb +35 -0
  508. data/spec/elasticsearch/api/actions/connector_secret/get_spec.rb +35 -0
  509. data/spec/elasticsearch/api/actions/connector_secret/post_spec.rb +35 -0
  510. data/spec/elasticsearch/api/actions/connector_secret/put_spec.rb +35 -0
  511. data/spec/elasticsearch/api/actions/esql/async_query_get._spec.rb +35 -0
  512. data/spec/elasticsearch/api/actions/esql/async_query_spec.rb +35 -0
  513. data/spec/elasticsearch/api/actions/indices/resolve_cluster_spec.rb +51 -0
  514. data/spec/elasticsearch/api/actions/inference/delete_model_spec.rb +2 -2
  515. data/spec/elasticsearch/api/actions/inference/get_model_spec.rb +2 -2
  516. data/spec/elasticsearch/api/actions/inference/inference_spec.rb +2 -2
  517. data/spec/elasticsearch/api/actions/inference/put_model_spec.rb +2 -2
  518. data/spec/elasticsearch/api/actions/profiling/flamegraph_spec.rb +35 -0
  519. data/spec/elasticsearch/api/actions/profiling/stacktraces_spec.rb +35 -0
  520. data/spec/elasticsearch/api/actions/security/query_user_spec.rb +49 -0
  521. data/spec/elasticsearch/api/actions/text_structure/find_structure_spec.rb +35 -0
  522. data/spec/elasticsearch/api/actions/text_structure/test_grok_pattern_spec.rb +35 -0
  523. data/spec/elasticsearch/api/perform_request_spec.rb +1 -1
  524. data/spec/free/integration/health_spec.rb +28 -0
  525. data/spec/free/integration/spec_helper.rb +28 -0
  526. data/spec/platinum/integration/api_key/api_key_query_with_aggs_spec.rb +120 -0
  527. data/spec/platinum/integration/platinum_helper.rb +1 -1
  528. data/spec/platinum/integration/security/users_query_spec.rb +49 -0
  529. data/spec/rest_api/skipped_tests_free.yml +15 -0
  530. data/spec/rest_api/skipped_tests_platinum.yml +6 -0
  531. data/spec/spec_helper.rb +7 -3
  532. data/utils/Gemfile +1 -1
  533. data/utils/{endpoint_spec.rb → thor/endpoint_spec.rb} +1 -2
  534. data/utils/{endpoint_specifics.rb → thor/endpoint_specifics.rb} +5 -5
  535. data/utils/thor/generate_source.rb +9 -89
  536. data/utils/thor/generator/build_hash_helper.rb +64 -0
  537. data/utils/thor/generator/docs_helper.rb +62 -0
  538. data/utils/thor/generator/files_helper.rb +25 -22
  539. data/utils/thor/templates/_body.erb +1 -1
  540. data/utils/thor/templates/_documentation_top.erb +11 -12
  541. data/utils/thor/templates/_method_setup.erb +6 -6
  542. data/utils/thor/templates/_perform_request.erb +1 -1
  543. data/utils/thor/templates/method.erb +14 -14
  544. metadata +65 -6
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.12.2
4
+ version: 8.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic Client Library Maintainers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-06 00:00:00.000000000 Z
11
+ date: 2024-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -392,12 +392,21 @@ files:
392
392
  - lib/elasticsearch/api/actions/connector/list.rb
393
393
  - lib/elasticsearch/api/actions/connector/post.rb
394
394
  - lib/elasticsearch/api/actions/connector/put.rb
395
+ - lib/elasticsearch/api/actions/connector/update_api_key_id.rb
395
396
  - lib/elasticsearch/api/actions/connector/update_configuration.rb
396
397
  - lib/elasticsearch/api/actions/connector/update_error.rb
397
398
  - lib/elasticsearch/api/actions/connector/update_filtering.rb
399
+ - lib/elasticsearch/api/actions/connector/update_index_name.rb
398
400
  - lib/elasticsearch/api/actions/connector/update_name.rb
401
+ - lib/elasticsearch/api/actions/connector/update_native.rb
399
402
  - lib/elasticsearch/api/actions/connector/update_pipeline.rb
400
403
  - lib/elasticsearch/api/actions/connector/update_scheduling.rb
404
+ - lib/elasticsearch/api/actions/connector/update_service_type.rb
405
+ - lib/elasticsearch/api/actions/connector/update_status.rb
406
+ - lib/elasticsearch/api/actions/connector_secret/delete.rb
407
+ - lib/elasticsearch/api/actions/connector_secret/get.rb
408
+ - lib/elasticsearch/api/actions/connector_secret/post.rb
409
+ - lib/elasticsearch/api/actions/connector_secret/put.rb
401
410
  - lib/elasticsearch/api/actions/connector_sync_job/cancel.rb
402
411
  - lib/elasticsearch/api/actions/connector_sync_job/check_in.rb
403
412
  - lib/elasticsearch/api/actions/connector_sync_job/delete.rb
@@ -437,6 +446,8 @@ files:
437
446
  - lib/elasticsearch/api/actions/eql/get.rb
438
447
  - lib/elasticsearch/api/actions/eql/get_status.rb
439
448
  - lib/elasticsearch/api/actions/eql/search.rb
449
+ - lib/elasticsearch/api/actions/esql/async_query.rb
450
+ - lib/elasticsearch/api/actions/esql/async_query_get.rb
440
451
  - lib/elasticsearch/api/actions/esql/query.rb
441
452
  - lib/elasticsearch/api/actions/exists.rb
442
453
  - lib/elasticsearch/api/actions/exists_source.rb
@@ -515,6 +526,7 @@ files:
515
526
  - lib/elasticsearch/api/actions/indices/recovery.rb
516
527
  - lib/elasticsearch/api/actions/indices/refresh.rb
517
528
  - lib/elasticsearch/api/actions/indices/reload_search_analyzers.rb
529
+ - lib/elasticsearch/api/actions/indices/resolve_cluster.rb
518
530
  - lib/elasticsearch/api/actions/indices/resolve_index.rb
519
531
  - lib/elasticsearch/api/actions/indices/rollover.rb
520
532
  - lib/elasticsearch/api/actions/indices/segments.rb
@@ -639,6 +651,8 @@ files:
639
651
  - lib/elasticsearch/api/actions/nodes/usage.rb
640
652
  - lib/elasticsearch/api/actions/open_point_in_time.rb
641
653
  - lib/elasticsearch/api/actions/ping.rb
654
+ - lib/elasticsearch/api/actions/profiling/flamegraph.rb
655
+ - lib/elasticsearch/api/actions/profiling/stacktraces.rb
642
656
  - lib/elasticsearch/api/actions/profiling/status.rb
643
657
  - lib/elasticsearch/api/actions/put_script.rb
644
658
  - lib/elasticsearch/api/actions/query_ruleset/delete.rb
@@ -725,6 +739,7 @@ files:
725
739
  - lib/elasticsearch/api/actions/security/put_role_mapping.rb
726
740
  - lib/elasticsearch/api/actions/security/put_user.rb
727
741
  - lib/elasticsearch/api/actions/security/query_api_keys.rb
742
+ - lib/elasticsearch/api/actions/security/query_user.rb
728
743
  - lib/elasticsearch/api/actions/security/saml_authenticate.rb
729
744
  - lib/elasticsearch/api/actions/security/saml_complete_logout.rb
730
745
  - lib/elasticsearch/api/actions/security/saml_invalidate.rb
@@ -781,6 +796,7 @@ files:
781
796
  - lib/elasticsearch/api/actions/terms_enum.rb
782
797
  - lib/elasticsearch/api/actions/termvectors.rb
783
798
  - lib/elasticsearch/api/actions/text_structure/find_structure.rb
799
+ - lib/elasticsearch/api/actions/text_structure/test_grok_pattern.rb
784
800
  - lib/elasticsearch/api/actions/transform/delete_transform.rb
785
801
  - lib/elasticsearch/api/actions/transform/get_transform.rb
786
802
  - lib/elasticsearch/api/actions/transform/get_transform_stats.rb
@@ -816,6 +832,7 @@ files:
816
832
  - lib/elasticsearch/api/namespace/cluster.rb
817
833
  - lib/elasticsearch/api/namespace/common.rb
818
834
  - lib/elasticsearch/api/namespace/connector.rb
835
+ - lib/elasticsearch/api/namespace/connector_secret.rb
819
836
  - lib/elasticsearch/api/namespace/connector_sync_job.rb
820
837
  - lib/elasticsearch/api/namespace/cross_cluster_replication.rb
821
838
  - lib/elasticsearch/api/namespace/dangling_indices.rb
@@ -899,12 +916,21 @@ files:
899
916
  - spec/elasticsearch/api/actions/connector/list_spec.rb
900
917
  - spec/elasticsearch/api/actions/connector/post_spec.rb
901
918
  - spec/elasticsearch/api/actions/connector/put_spec.rb
919
+ - spec/elasticsearch/api/actions/connector/update_api_key_id_spec.rb
902
920
  - spec/elasticsearch/api/actions/connector/update_configuration_spec.rb
903
921
  - spec/elasticsearch/api/actions/connector/update_error_spec.rb
904
922
  - spec/elasticsearch/api/actions/connector/update_filtering_spec.rb
923
+ - spec/elasticsearch/api/actions/connector/update_index_name_spec.rb
905
924
  - spec/elasticsearch/api/actions/connector/update_name_spec.rb
925
+ - spec/elasticsearch/api/actions/connector/update_native_spec.rb
906
926
  - spec/elasticsearch/api/actions/connector/update_pipeline_spec.rb
907
927
  - spec/elasticsearch/api/actions/connector/update_scheduling_spec.rb
928
+ - spec/elasticsearch/api/actions/connector/update_service_type_spec.rb
929
+ - spec/elasticsearch/api/actions/connector/update_status_spec.rb
930
+ - spec/elasticsearch/api/actions/connector_secret/delete_spec.rb
931
+ - spec/elasticsearch/api/actions/connector_secret/get_spec.rb
932
+ - spec/elasticsearch/api/actions/connector_secret/post_spec.rb
933
+ - spec/elasticsearch/api/actions/connector_secret/put_spec.rb
908
934
  - spec/elasticsearch/api/actions/connector_sync_job/cancel_spec.rb
909
935
  - spec/elasticsearch/api/actions/connector_sync_job/check_in_spec.rb
910
936
  - spec/elasticsearch/api/actions/connector_sync_job/delete_spec.rb
@@ -922,6 +948,8 @@ files:
922
948
  - spec/elasticsearch/api/actions/delete_by_query_spec.rb
923
949
  - spec/elasticsearch/api/actions/delete_document_spec.rb
924
950
  - spec/elasticsearch/api/actions/delete_script_spec.rb
951
+ - spec/elasticsearch/api/actions/esql/async_query_get._spec.rb
952
+ - spec/elasticsearch/api/actions/esql/async_query_spec.rb
925
953
  - spec/elasticsearch/api/actions/esql/query_spec.rb
926
954
  - spec/elasticsearch/api/actions/exists_document_spec.rb
927
955
  - spec/elasticsearch/api/actions/explain_document_spec.rb
@@ -971,6 +999,7 @@ files:
971
999
  - spec/elasticsearch/api/actions/indices/put_template_spec.rb
972
1000
  - spec/elasticsearch/api/actions/indices/recovery_spec.rb
973
1001
  - spec/elasticsearch/api/actions/indices/refresh_spec.rb
1002
+ - spec/elasticsearch/api/actions/indices/resolve_cluster_spec.rb
974
1003
  - spec/elasticsearch/api/actions/indices/rollover_spec.rb
975
1004
  - spec/elasticsearch/api/actions/indices/segments_spec.rb
976
1005
  - spec/elasticsearch/api/actions/indices/shard_stores_spec.rb
@@ -1015,6 +1044,8 @@ files:
1015
1044
  - spec/elasticsearch/api/actions/nodes/stats_spec.rb
1016
1045
  - spec/elasticsearch/api/actions/open_point_in_time_spec.rb
1017
1046
  - spec/elasticsearch/api/actions/ping_spec.rb
1047
+ - spec/elasticsearch/api/actions/profiling/flamegraph_spec.rb
1048
+ - spec/elasticsearch/api/actions/profiling/stacktraces_spec.rb
1018
1049
  - spec/elasticsearch/api/actions/profiling/status_spec.rb
1019
1050
  - spec/elasticsearch/api/actions/put_script_spec.rb
1020
1051
  - spec/elasticsearch/api/actions/query_ruleset/delete_spec.rb
@@ -1057,6 +1088,7 @@ files:
1057
1088
  - spec/elasticsearch/api/actions/security/has_privileges_user_profile_spec.rb
1058
1089
  - spec/elasticsearch/api/actions/security/invalidate_api_key_spec.rb
1059
1090
  - spec/elasticsearch/api/actions/security/query_api_keys_spec.rb
1091
+ - spec/elasticsearch/api/actions/security/query_user_spec.rb
1060
1092
  - spec/elasticsearch/api/actions/security/saml_authenticate_spec.rb
1061
1093
  - spec/elasticsearch/api/actions/security/saml_complete_logout_spec.rb
1062
1094
  - spec/elasticsearch/api/actions/security/saml_invalidate_spec.rb
@@ -1089,6 +1121,8 @@ files:
1089
1121
  - spec/elasticsearch/api/actions/tasks/list_spec.rb
1090
1122
  - spec/elasticsearch/api/actions/terms_enum_spec.rb
1091
1123
  - spec/elasticsearch/api/actions/termvectors_spec.rb
1124
+ - spec/elasticsearch/api/actions/text_structure/find_structure_spec.rb
1125
+ - spec/elasticsearch/api/actions/text_structure/test_grok_pattern_spec.rb
1092
1126
  - spec/elasticsearch/api/actions/transform/schedule_now_transform_spec.rb
1093
1127
  - spec/elasticsearch/api/actions/update_by_query_spec.rb
1094
1128
  - spec/elasticsearch/api/actions/update_document_spec.rb
@@ -1099,18 +1133,22 @@ files:
1099
1133
  - spec/elasticsearch/api/client_spec.rb
1100
1134
  - spec/elasticsearch/api/perform_request_spec.rb
1101
1135
  - spec/elasticsearch/api/utils_spec.rb
1136
+ - spec/free/integration/health_spec.rb
1137
+ - spec/free/integration/spec_helper.rb
1102
1138
  - spec/platinum/integration/analytics/usage_spec.rb
1103
1139
  - spec/platinum/integration/api_key/admin_user_query_api_keys_spec.rb
1104
1140
  - spec/platinum/integration/api_key/api_key_admin_user_spec.rb
1105
1141
  - spec/platinum/integration/api_key/api_key_cross_cluster_spec.rb
1106
1142
  - spec/platinum/integration/api_key/api_key_invalidation_spec.rb
1107
1143
  - spec/platinum/integration/api_key/api_key_query_spec.rb
1144
+ - spec/platinum/integration/api_key/api_key_query_with_aggs_spec.rb
1108
1145
  - spec/platinum/integration/api_key/api_key_spec.rb
1109
1146
  - spec/platinum/integration/api_key/api_key_update_spec.rb
1110
1147
  - spec/platinum/integration/eql/eql_async_spec.rb
1111
1148
  - spec/platinum/integration/health/health_spec.rb
1112
1149
  - spec/platinum/integration/ml/get_memory_stats_spec.rb
1113
1150
  - spec/platinum/integration/platinum_helper.rb
1151
+ - spec/platinum/integration/security/users_query_spec.rb
1114
1152
  - spec/platinum/integration/service_accounts/service_accounts_spec.rb
1115
1153
  - spec/platinum/integration/snapshots/snapshots_spec.rb
1116
1154
  - spec/platinum/integration/spatial/script_doc_values_spec.rb
@@ -1230,7 +1268,6 @@ files:
1230
1268
  - spec/platinum/unit/security/update_user_profile_data_test.rb
1231
1269
  - spec/platinum/unit/ssl/certificates_test.rb
1232
1270
  - spec/platinum/unit/test_helper.rb
1233
- - spec/platinum/unit/text_structure/find_structure_test.rb
1234
1271
  - spec/platinum/unit/transform/reset_transform_spec.rb
1235
1272
  - spec/platinum/unit/transform/upgrade_transforms_spec.rb
1236
1273
  - spec/platinum/unit/usage_test.rb
@@ -1254,10 +1291,12 @@ files:
1254
1291
  - utils/Gemfile
1255
1292
  - utils/README.md
1256
1293
  - utils/Thorfile
1257
- - utils/endpoint_spec.rb
1258
- - utils/endpoint_specifics.rb
1259
1294
  - utils/thor/.rubocop.yml
1295
+ - utils/thor/endpoint_spec.rb
1296
+ - utils/thor/endpoint_specifics.rb
1260
1297
  - utils/thor/generate_source.rb
1298
+ - utils/thor/generator/build_hash_helper.rb
1299
+ - utils/thor/generator/docs_helper.rb
1261
1300
  - utils/thor/generator/files_helper.rb
1262
1301
  - utils/thor/lister.rb
1263
1302
  - utils/thor/templates/_body.erb
@@ -1337,12 +1376,21 @@ test_files:
1337
1376
  - spec/elasticsearch/api/actions/connector/list_spec.rb
1338
1377
  - spec/elasticsearch/api/actions/connector/post_spec.rb
1339
1378
  - spec/elasticsearch/api/actions/connector/put_spec.rb
1379
+ - spec/elasticsearch/api/actions/connector/update_api_key_id_spec.rb
1340
1380
  - spec/elasticsearch/api/actions/connector/update_configuration_spec.rb
1341
1381
  - spec/elasticsearch/api/actions/connector/update_error_spec.rb
1342
1382
  - spec/elasticsearch/api/actions/connector/update_filtering_spec.rb
1383
+ - spec/elasticsearch/api/actions/connector/update_index_name_spec.rb
1343
1384
  - spec/elasticsearch/api/actions/connector/update_name_spec.rb
1385
+ - spec/elasticsearch/api/actions/connector/update_native_spec.rb
1344
1386
  - spec/elasticsearch/api/actions/connector/update_pipeline_spec.rb
1345
1387
  - spec/elasticsearch/api/actions/connector/update_scheduling_spec.rb
1388
+ - spec/elasticsearch/api/actions/connector/update_service_type_spec.rb
1389
+ - spec/elasticsearch/api/actions/connector/update_status_spec.rb
1390
+ - spec/elasticsearch/api/actions/connector_secret/delete_spec.rb
1391
+ - spec/elasticsearch/api/actions/connector_secret/get_spec.rb
1392
+ - spec/elasticsearch/api/actions/connector_secret/post_spec.rb
1393
+ - spec/elasticsearch/api/actions/connector_secret/put_spec.rb
1346
1394
  - spec/elasticsearch/api/actions/connector_sync_job/cancel_spec.rb
1347
1395
  - spec/elasticsearch/api/actions/connector_sync_job/check_in_spec.rb
1348
1396
  - spec/elasticsearch/api/actions/connector_sync_job/delete_spec.rb
@@ -1360,6 +1408,8 @@ test_files:
1360
1408
  - spec/elasticsearch/api/actions/delete_by_query_spec.rb
1361
1409
  - spec/elasticsearch/api/actions/delete_document_spec.rb
1362
1410
  - spec/elasticsearch/api/actions/delete_script_spec.rb
1411
+ - spec/elasticsearch/api/actions/esql/async_query_get._spec.rb
1412
+ - spec/elasticsearch/api/actions/esql/async_query_spec.rb
1363
1413
  - spec/elasticsearch/api/actions/esql/query_spec.rb
1364
1414
  - spec/elasticsearch/api/actions/exists_document_spec.rb
1365
1415
  - spec/elasticsearch/api/actions/explain_document_spec.rb
@@ -1409,6 +1459,7 @@ test_files:
1409
1459
  - spec/elasticsearch/api/actions/indices/put_template_spec.rb
1410
1460
  - spec/elasticsearch/api/actions/indices/recovery_spec.rb
1411
1461
  - spec/elasticsearch/api/actions/indices/refresh_spec.rb
1462
+ - spec/elasticsearch/api/actions/indices/resolve_cluster_spec.rb
1412
1463
  - spec/elasticsearch/api/actions/indices/rollover_spec.rb
1413
1464
  - spec/elasticsearch/api/actions/indices/segments_spec.rb
1414
1465
  - spec/elasticsearch/api/actions/indices/shard_stores_spec.rb
@@ -1453,6 +1504,8 @@ test_files:
1453
1504
  - spec/elasticsearch/api/actions/nodes/stats_spec.rb
1454
1505
  - spec/elasticsearch/api/actions/open_point_in_time_spec.rb
1455
1506
  - spec/elasticsearch/api/actions/ping_spec.rb
1507
+ - spec/elasticsearch/api/actions/profiling/flamegraph_spec.rb
1508
+ - spec/elasticsearch/api/actions/profiling/stacktraces_spec.rb
1456
1509
  - spec/elasticsearch/api/actions/profiling/status_spec.rb
1457
1510
  - spec/elasticsearch/api/actions/put_script_spec.rb
1458
1511
  - spec/elasticsearch/api/actions/query_ruleset/delete_spec.rb
@@ -1495,6 +1548,7 @@ test_files:
1495
1548
  - spec/elasticsearch/api/actions/security/has_privileges_user_profile_spec.rb
1496
1549
  - spec/elasticsearch/api/actions/security/invalidate_api_key_spec.rb
1497
1550
  - spec/elasticsearch/api/actions/security/query_api_keys_spec.rb
1551
+ - spec/elasticsearch/api/actions/security/query_user_spec.rb
1498
1552
  - spec/elasticsearch/api/actions/security/saml_authenticate_spec.rb
1499
1553
  - spec/elasticsearch/api/actions/security/saml_complete_logout_spec.rb
1500
1554
  - spec/elasticsearch/api/actions/security/saml_invalidate_spec.rb
@@ -1527,6 +1581,8 @@ test_files:
1527
1581
  - spec/elasticsearch/api/actions/tasks/list_spec.rb
1528
1582
  - spec/elasticsearch/api/actions/terms_enum_spec.rb
1529
1583
  - spec/elasticsearch/api/actions/termvectors_spec.rb
1584
+ - spec/elasticsearch/api/actions/text_structure/find_structure_spec.rb
1585
+ - spec/elasticsearch/api/actions/text_structure/test_grok_pattern_spec.rb
1530
1586
  - spec/elasticsearch/api/actions/transform/schedule_now_transform_spec.rb
1531
1587
  - spec/elasticsearch/api/actions/update_by_query_spec.rb
1532
1588
  - spec/elasticsearch/api/actions/update_document_spec.rb
@@ -1537,18 +1593,22 @@ test_files:
1537
1593
  - spec/elasticsearch/api/client_spec.rb
1538
1594
  - spec/elasticsearch/api/perform_request_spec.rb
1539
1595
  - spec/elasticsearch/api/utils_spec.rb
1596
+ - spec/free/integration/health_spec.rb
1597
+ - spec/free/integration/spec_helper.rb
1540
1598
  - spec/platinum/integration/analytics/usage_spec.rb
1541
1599
  - spec/platinum/integration/api_key/admin_user_query_api_keys_spec.rb
1542
1600
  - spec/platinum/integration/api_key/api_key_admin_user_spec.rb
1543
1601
  - spec/platinum/integration/api_key/api_key_cross_cluster_spec.rb
1544
1602
  - spec/platinum/integration/api_key/api_key_invalidation_spec.rb
1545
1603
  - spec/platinum/integration/api_key/api_key_query_spec.rb
1604
+ - spec/platinum/integration/api_key/api_key_query_with_aggs_spec.rb
1546
1605
  - spec/platinum/integration/api_key/api_key_spec.rb
1547
1606
  - spec/platinum/integration/api_key/api_key_update_spec.rb
1548
1607
  - spec/platinum/integration/eql/eql_async_spec.rb
1549
1608
  - spec/platinum/integration/health/health_spec.rb
1550
1609
  - spec/platinum/integration/ml/get_memory_stats_spec.rb
1551
1610
  - spec/platinum/integration/platinum_helper.rb
1611
+ - spec/platinum/integration/security/users_query_spec.rb
1552
1612
  - spec/platinum/integration/service_accounts/service_accounts_spec.rb
1553
1613
  - spec/platinum/integration/snapshots/snapshots_spec.rb
1554
1614
  - spec/platinum/integration/spatial/script_doc_values_spec.rb
@@ -1668,7 +1728,6 @@ test_files:
1668
1728
  - spec/platinum/unit/security/update_user_profile_data_test.rb
1669
1729
  - spec/platinum/unit/ssl/certificates_test.rb
1670
1730
  - spec/platinum/unit/test_helper.rb
1671
- - spec/platinum/unit/text_structure/find_structure_test.rb
1672
1731
  - spec/platinum/unit/transform/reset_transform_spec.rb
1673
1732
  - spec/platinum/unit/transform/upgrade_transforms_spec.rb
1674
1733
  - spec/platinum/unit/usage_test.rb