elasticsearch-api 8.18.0 → 9.0.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.
Files changed (1093) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -7
  3. data/elasticsearch-api.gemspec +7 -22
  4. data/lib/elasticsearch/api/actions/async_search/delete.rb +10 -7
  5. data/lib/elasticsearch/api/actions/async_search/get.rb +17 -9
  6. data/lib/elasticsearch/api/actions/async_search/status.rb +13 -8
  7. data/lib/elasticsearch/api/actions/async_search/submit.rb +47 -40
  8. data/lib/elasticsearch/api/actions/bulk.rb +116 -25
  9. data/lib/elasticsearch/api/actions/cat/aliases.rb +26 -15
  10. data/lib/elasticsearch/api/actions/cat/allocation.rb +25 -16
  11. data/lib/elasticsearch/api/actions/cat/component_templates.rb +27 -14
  12. data/lib/elasticsearch/api/actions/cat/count.rb +24 -14
  13. data/lib/elasticsearch/api/actions/cat/fielddata.rb +21 -13
  14. data/lib/elasticsearch/api/actions/cat/health.rb +27 -14
  15. data/lib/elasticsearch/api/actions/cat/help.rb +7 -6
  16. data/lib/elasticsearch/api/actions/cat/indices.rb +37 -21
  17. data/lib/elasticsearch/api/actions/cat/master.rb +22 -13
  18. data/lib/elasticsearch/api/actions/cat/ml_data_frame_analytics.rb +21 -14
  19. data/lib/elasticsearch/api/actions/cat/ml_datafeeds.rb +29 -14
  20. data/lib/elasticsearch/api/actions/cat/ml_jobs.rb +30 -15
  21. data/lib/elasticsearch/api/actions/cat/ml_trained_models.rb +25 -17
  22. data/lib/elasticsearch/api/actions/cat/nodeattrs.rb +22 -13
  23. data/lib/elasticsearch/api/actions/cat/nodes.rb +23 -17
  24. data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +24 -15
  25. data/lib/elasticsearch/api/actions/cat/plugins.rb +22 -13
  26. data/lib/elasticsearch/api/actions/cat/recovery.rb +27 -18
  27. data/lib/elasticsearch/api/actions/cat/repositories.rb +22 -13
  28. data/lib/elasticsearch/api/actions/cat/segments.rb +28 -16
  29. data/lib/elasticsearch/api/actions/cat/shards.rb +26 -17
  30. data/lib/elasticsearch/api/actions/cat/snapshots.rb +25 -15
  31. data/lib/elasticsearch/api/actions/cat/tasks.rb +25 -18
  32. data/lib/elasticsearch/api/actions/cat/templates.rb +25 -14
  33. data/lib/elasticsearch/api/actions/cat/thread_pool.rb +27 -17
  34. data/lib/elasticsearch/api/actions/cat/transforms.rb +25 -16
  35. data/lib/elasticsearch/api/actions/clear_scroll.rb +12 -18
  36. data/lib/elasticsearch/api/actions/close_point_in_time.rb +11 -7
  37. data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +15 -11
  38. data/lib/elasticsearch/api/actions/cluster/delete_component_template.rb +12 -9
  39. data/lib/elasticsearch/api/actions/cluster/delete_voting_config_exclusions.rb +14 -8
  40. data/lib/elasticsearch/api/actions/cluster/exists_component_template.rb +14 -9
  41. data/lib/elasticsearch/api/actions/cluster/get_component_template.rb +14 -9
  42. data/lib/elasticsearch/api/actions/cluster/get_settings.rb +13 -10
  43. data/lib/elasticsearch/api/actions/cluster/health.rb +26 -19
  44. data/lib/elasticsearch/api/actions/cluster/info.rb +8 -7
  45. data/lib/elasticsearch/api/actions/cluster/pending_tasks.rb +14 -9
  46. data/lib/elasticsearch/api/actions/cluster/post_voting_config_exclusions.rb +29 -10
  47. data/lib/elasticsearch/api/actions/cluster/put_component_template.rb +28 -11
  48. data/lib/elasticsearch/api/actions/cluster/put_settings.rb +22 -9
  49. data/lib/elasticsearch/api/actions/cluster/remote_info.rb +8 -6
  50. data/lib/elasticsearch/api/actions/cluster/reroute.rb +23 -13
  51. data/lib/elasticsearch/api/actions/cluster/state.rb +29 -16
  52. data/lib/elasticsearch/api/actions/cluster/stats.rb +12 -9
  53. data/lib/elasticsearch/api/actions/connector/check_in.rb +8 -7
  54. data/lib/elasticsearch/api/actions/connector/delete.rb +17 -12
  55. data/lib/elasticsearch/api/actions/connector/get.rb +14 -12
  56. data/lib/elasticsearch/api/actions/connector/list.rb +17 -15
  57. data/lib/elasticsearch/api/actions/connector/post.rb +14 -11
  58. data/lib/elasticsearch/api/actions/connector/put.rb +12 -12
  59. data/lib/elasticsearch/api/actions/connector/sync_job_cancel.rb +13 -11
  60. data/lib/elasticsearch/api/actions/connector/sync_job_check_in.rb +10 -7
  61. data/lib/elasticsearch/api/actions/connector/sync_job_claim.rb +14 -8
  62. data/lib/elasticsearch/api/actions/connector/sync_job_delete.rb +13 -11
  63. data/lib/elasticsearch/api/actions/connector/sync_job_error.rb +11 -8
  64. data/lib/elasticsearch/api/actions/connector/sync_job_get.rb +11 -11
  65. data/lib/elasticsearch/api/actions/connector/sync_job_list.rb +15 -14
  66. data/lib/elasticsearch/api/actions/connector/sync_job_post.rb +12 -11
  67. data/lib/elasticsearch/api/actions/connector/sync_job_update_stats.rb +13 -8
  68. data/lib/elasticsearch/api/actions/connector/update_active_filtering.rb +8 -7
  69. data/lib/elasticsearch/api/actions/connector/update_api_key_id.rb +16 -12
  70. data/lib/elasticsearch/api/actions/connector/update_configuration.rb +13 -12
  71. data/lib/elasticsearch/api/actions/connector/update_error.rb +11 -8
  72. data/lib/elasticsearch/api/actions/connector/update_features.rb +18 -8
  73. data/lib/elasticsearch/api/actions/connector/update_filtering.rb +15 -12
  74. data/lib/elasticsearch/api/actions/connector/update_filtering_validation.rb +9 -8
  75. data/lib/elasticsearch/api/actions/connector/update_index_name.rb +13 -12
  76. data/lib/elasticsearch/api/actions/connector/update_name.rb +12 -12
  77. data/lib/elasticsearch/api/actions/connector/update_native.rb +12 -12
  78. data/lib/elasticsearch/api/actions/connector/update_pipeline.rb +13 -12
  79. data/lib/elasticsearch/api/actions/connector/update_scheduling.rb +12 -12
  80. data/lib/elasticsearch/api/actions/connector/update_service_type.rb +12 -12
  81. data/lib/elasticsearch/api/actions/connector/update_status.rb +8 -8
  82. data/lib/elasticsearch/api/actions/count.rb +50 -26
  83. data/lib/elasticsearch/api/actions/create.rb +111 -24
  84. data/lib/elasticsearch/api/actions/cross_cluster_replication/delete_auto_follow_pattern.rb +11 -8
  85. data/lib/elasticsearch/api/actions/cross_cluster_replication/follow.rb +16 -11
  86. data/lib/elasticsearch/api/actions/cross_cluster_replication/follow_info.rb +13 -9
  87. data/lib/elasticsearch/api/actions/cross_cluster_replication/follow_stats.rb +12 -9
  88. data/lib/elasticsearch/api/actions/cross_cluster_replication/forget_follower.rb +19 -10
  89. data/lib/elasticsearch/api/actions/cross_cluster_replication/get_auto_follow_pattern.rb +12 -8
  90. data/lib/elasticsearch/api/actions/cross_cluster_replication/pause_auto_follow_pattern.rb +16 -8
  91. data/lib/elasticsearch/api/actions/cross_cluster_replication/pause_follow.rb +15 -9
  92. data/lib/elasticsearch/api/actions/cross_cluster_replication/put_auto_follow_pattern.rb +14 -9
  93. data/lib/elasticsearch/api/actions/cross_cluster_replication/resume_auto_follow_pattern.rb +13 -8
  94. data/lib/elasticsearch/api/actions/cross_cluster_replication/resume_follow.rb +14 -10
  95. data/lib/elasticsearch/api/actions/cross_cluster_replication/stats.rb +11 -8
  96. data/lib/elasticsearch/api/actions/cross_cluster_replication/unfollow.rb +14 -9
  97. data/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb +11 -9
  98. data/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb +12 -9
  99. data/lib/elasticsearch/api/actions/dangling_indices/list_dangling_indices.rb +9 -6
  100. data/lib/elasticsearch/api/actions/delete.rb +49 -18
  101. data/lib/elasticsearch/api/actions/delete_by_query.rb +120 -38
  102. data/lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb +11 -8
  103. data/lib/elasticsearch/api/actions/delete_script.rb +14 -9
  104. data/lib/elasticsearch/api/actions/enrich/delete_policy.rb +8 -7
  105. data/lib/elasticsearch/api/actions/enrich/execute_policy.rb +10 -9
  106. data/lib/elasticsearch/api/actions/enrich/get_policy.rb +10 -8
  107. data/lib/elasticsearch/api/actions/enrich/put_policy.rb +10 -9
  108. data/lib/elasticsearch/api/actions/enrich/stats.rb +8 -7
  109. data/lib/elasticsearch/api/actions/eql/delete.rb +11 -7
  110. data/lib/elasticsearch/api/actions/eql/get.rb +12 -9
  111. data/lib/elasticsearch/api/actions/eql/get_status.rb +8 -7
  112. data/lib/elasticsearch/api/actions/eql/search.rb +20 -14
  113. data/lib/elasticsearch/api/actions/esql/async_query.rb +24 -10
  114. data/lib/elasticsearch/api/actions/esql/async_query_delete.rb +14 -7
  115. data/lib/elasticsearch/api/actions/esql/async_query_get.rb +19 -10
  116. data/lib/elasticsearch/api/actions/esql/async_query_stop.rb +14 -8
  117. data/lib/elasticsearch/api/actions/esql/query.rb +15 -10
  118. data/lib/elasticsearch/api/actions/exists.rb +46 -20
  119. data/lib/elasticsearch/api/actions/exists_source.rb +28 -18
  120. data/lib/elasticsearch/api/actions/explain.rb +36 -22
  121. data/lib/elasticsearch/api/actions/features/get_features.rb +14 -7
  122. data/lib/elasticsearch/api/actions/features/reset_features.rb +17 -7
  123. data/lib/elasticsearch/api/actions/field_caps.rb +28 -20
  124. data/lib/elasticsearch/api/actions/fleet/global_checkpoints.rb +18 -12
  125. data/lib/elasticsearch/api/actions/fleet/msearch.rb +34 -12
  126. data/lib/elasticsearch/api/actions/fleet/search.rb +57 -11
  127. data/lib/elasticsearch/api/actions/get.rb +77 -21
  128. data/lib/elasticsearch/api/actions/get_script.rb +11 -8
  129. data/lib/elasticsearch/api/actions/get_script_context.rb +7 -6
  130. data/lib/elasticsearch/api/actions/get_script_languages.rb +7 -6
  131. data/lib/elasticsearch/api/actions/get_source.rb +31 -18
  132. data/lib/elasticsearch/api/actions/graph/explore.rb +17 -10
  133. data/lib/elasticsearch/api/actions/health_report.rb +22 -10
  134. data/lib/elasticsearch/api/actions/index.rb +124 -24
  135. data/lib/elasticsearch/api/actions/index_lifecycle_management/delete_lifecycle.rb +11 -8
  136. data/lib/elasticsearch/api/actions/index_lifecycle_management/explain_lifecycle.rb +15 -10
  137. data/lib/elasticsearch/api/actions/index_lifecycle_management/get_lifecycle.rb +10 -8
  138. data/lib/elasticsearch/api/actions/index_lifecycle_management/get_status.rb +7 -6
  139. data/lib/elasticsearch/api/actions/index_lifecycle_management/migrate_to_data_tiers.rb +22 -8
  140. data/lib/elasticsearch/api/actions/index_lifecycle_management/move_to_step.rb +19 -9
  141. data/lib/elasticsearch/api/actions/index_lifecycle_management/put_lifecycle.rb +13 -9
  142. data/lib/elasticsearch/api/actions/index_lifecycle_management/remove_policy.rb +10 -8
  143. data/lib/elasticsearch/api/actions/index_lifecycle_management/retry.rb +11 -8
  144. data/lib/elasticsearch/api/actions/index_lifecycle_management/start.rb +12 -7
  145. data/lib/elasticsearch/api/actions/index_lifecycle_management/stop.rb +13 -7
  146. data/lib/elasticsearch/api/actions/indices/add_block.rb +28 -15
  147. data/lib/elasticsearch/api/actions/indices/analyze.rb +19 -12
  148. data/lib/elasticsearch/api/actions/{rollup/start_job.rb → indices/cancel_migrate_reindex.rb} +14 -13
  149. data/lib/elasticsearch/api/actions/indices/clear_cache.rb +27 -15
  150. data/lib/elasticsearch/api/actions/indices/clone.rb +47 -14
  151. data/lib/elasticsearch/api/actions/indices/close.rb +34 -14
  152. data/lib/elasticsearch/api/actions/indices/create.rb +30 -12
  153. data/lib/elasticsearch/api/actions/indices/create_data_stream.rb +15 -9
  154. data/lib/elasticsearch/api/actions/{rollup/put_job.rb → indices/create_from.rb} +19 -14
  155. data/lib/elasticsearch/api/actions/indices/data_streams_stats.rb +13 -8
  156. data/lib/elasticsearch/api/actions/indices/delete.rb +28 -14
  157. data/lib/elasticsearch/api/actions/indices/delete_alias.rb +17 -12
  158. data/lib/elasticsearch/api/actions/indices/delete_data_lifecycle.rb +10 -9
  159. data/lib/elasticsearch/api/actions/indices/delete_data_stream.rb +10 -9
  160. data/lib/elasticsearch/api/actions/indices/delete_index_template.rb +12 -9
  161. data/lib/elasticsearch/api/actions/indices/delete_template.rb +13 -10
  162. data/lib/elasticsearch/api/actions/indices/disk_usage.rb +26 -13
  163. data/lib/elasticsearch/api/actions/indices/downsample.rb +17 -11
  164. data/lib/elasticsearch/api/actions/indices/exists.rb +20 -15
  165. data/lib/elasticsearch/api/actions/indices/exists_alias.rb +22 -15
  166. data/lib/elasticsearch/api/actions/indices/exists_index_template.rb +11 -10
  167. data/lib/elasticsearch/api/actions/indices/exists_template.rb +17 -11
  168. data/lib/elasticsearch/api/actions/indices/explain_data_lifecycle.rb +9 -8
  169. data/lib/elasticsearch/api/actions/indices/field_usage_stats.rb +21 -12
  170. data/lib/elasticsearch/api/actions/indices/flush.rb +28 -13
  171. data/lib/elasticsearch/api/actions/indices/forcemerge.rb +49 -11
  172. data/lib/elasticsearch/api/actions/indices/get.rb +23 -16
  173. data/lib/elasticsearch/api/actions/indices/get_alias.rb +25 -15
  174. data/lib/elasticsearch/api/actions/indices/get_data_lifecycle.rb +15 -10
  175. data/lib/elasticsearch/api/actions/indices/get_data_lifecycle_stats.rb +7 -6
  176. data/lib/elasticsearch/api/actions/indices/get_data_stream.rb +14 -11
  177. data/lib/elasticsearch/api/actions/indices/get_field_mapping.rb +30 -19
  178. data/lib/elasticsearch/api/actions/indices/get_index_template.rb +12 -11
  179. data/lib/elasticsearch/api/actions/indices/get_mapping.rb +21 -13
  180. data/lib/elasticsearch/api/actions/{rollup/get_rollup_index_caps.rb → indices/get_migrate_reindex_status.rb} +12 -11
  181. data/lib/elasticsearch/api/actions/indices/get_settings.rb +32 -19
  182. data/lib/elasticsearch/api/actions/indices/get_template.rb +15 -10
  183. data/lib/elasticsearch/api/actions/{fleet/post_secret.rb → indices/migrate_reindex.rb} +14 -11
  184. data/lib/elasticsearch/api/actions/indices/migrate_to_data_stream.rb +19 -9
  185. data/lib/elasticsearch/api/actions/indices/modify_data_stream.rb +8 -7
  186. data/lib/elasticsearch/api/actions/indices/open.rb +41 -14
  187. data/lib/elasticsearch/api/actions/indices/promote_data_stream.rb +16 -8
  188. data/lib/elasticsearch/api/actions/indices/put_alias.rb +20 -13
  189. data/lib/elasticsearch/api/actions/indices/put_data_lifecycle.rb +19 -11
  190. data/lib/elasticsearch/api/actions/indices/put_index_template.rb +31 -10
  191. data/lib/elasticsearch/api/actions/indices/put_mapping.rb +40 -15
  192. data/lib/elasticsearch/api/actions/indices/put_settings.rb +44 -17
  193. data/lib/elasticsearch/api/actions/indices/put_template.rb +28 -11
  194. data/lib/elasticsearch/api/actions/indices/recovery.rb +28 -10
  195. data/lib/elasticsearch/api/actions/indices/refresh.rb +26 -11
  196. data/lib/elasticsearch/api/actions/indices/reload_search_analyzers.rb +21 -11
  197. data/lib/elasticsearch/api/actions/indices/resolve_cluster.rb +60 -12
  198. data/lib/elasticsearch/api/actions/indices/resolve_index.rb +18 -10
  199. data/lib/elasticsearch/api/actions/indices/rollover.rb +48 -18
  200. data/lib/elasticsearch/api/actions/indices/segments.rb +19 -12
  201. data/lib/elasticsearch/api/actions/indices/shard_stores.rb +23 -12
  202. data/lib/elasticsearch/api/actions/indices/shrink.rb +39 -14
  203. data/lib/elasticsearch/api/actions/indices/simulate_index_template.rb +12 -12
  204. data/lib/elasticsearch/api/actions/indices/simulate_template.rb +13 -11
  205. data/lib/elasticsearch/api/actions/indices/split.rb +40 -14
  206. data/lib/elasticsearch/api/actions/indices/stats.rb +29 -20
  207. data/lib/elasticsearch/api/actions/indices/update_aliases.rb +12 -9
  208. data/lib/elasticsearch/api/actions/indices/validate_query.rb +33 -24
  209. data/lib/elasticsearch/api/actions/inference/chat_completion_unified.rb +10 -8
  210. data/lib/elasticsearch/api/actions/inference/completion.rb +10 -9
  211. data/lib/elasticsearch/api/actions/inference/delete.rb +12 -12
  212. data/lib/elasticsearch/api/actions/inference/get.rb +10 -10
  213. data/lib/elasticsearch/api/actions/inference/inference.rb +19 -14
  214. data/lib/elasticsearch/api/actions/inference/put.rb +21 -12
  215. data/lib/elasticsearch/api/actions/inference/put_alibabacloud.rb +16 -10
  216. data/lib/elasticsearch/api/actions/inference/put_amazonbedrock.rb +11 -10
  217. data/lib/elasticsearch/api/actions/inference/put_anthropic.rb +17 -10
  218. data/lib/elasticsearch/api/actions/inference/put_azureaistudio.rb +16 -10
  219. data/lib/elasticsearch/api/actions/inference/put_azureopenai.rb +21 -10
  220. data/lib/elasticsearch/api/actions/inference/put_cohere.rb +21 -11
  221. data/lib/elasticsearch/api/actions/inference/put_elasticsearch.rb +12 -10
  222. data/lib/elasticsearch/api/actions/inference/put_elser.rb +12 -10
  223. data/lib/elasticsearch/api/actions/inference/put_googleaistudio.rb +16 -10
  224. data/lib/elasticsearch/api/actions/inference/put_googlevertexai.rb +16 -10
  225. data/lib/elasticsearch/api/actions/inference/put_hugging_face.rb +27 -10
  226. data/lib/elasticsearch/api/actions/inference/put_jinaai.rb +23 -11
  227. data/lib/elasticsearch/api/actions/inference/put_mistral.rb +17 -10
  228. data/lib/elasticsearch/api/actions/inference/put_openai.rb +22 -11
  229. data/lib/elasticsearch/api/actions/inference/put_voyageai.rb +12 -10
  230. data/lib/elasticsearch/api/actions/inference/put_watsonx.rb +19 -10
  231. data/lib/elasticsearch/api/actions/inference/rerank.rb +10 -9
  232. data/lib/elasticsearch/api/actions/inference/sparse_embedding.rb +10 -9
  233. data/lib/elasticsearch/api/actions/inference/stream_completion.rb +12 -8
  234. data/lib/elasticsearch/api/actions/inference/text_embedding.rb +10 -9
  235. data/lib/elasticsearch/api/actions/inference/update.rb +16 -11
  236. data/lib/elasticsearch/api/actions/info.rb +7 -6
  237. data/lib/elasticsearch/api/actions/ingest/delete_geoip_database.rb +12 -8
  238. data/lib/elasticsearch/api/actions/ingest/delete_ip_location_database.rb +14 -8
  239. data/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb +13 -9
  240. data/lib/elasticsearch/api/actions/ingest/geo_ip_stats.rb +7 -6
  241. data/lib/elasticsearch/api/actions/ingest/get_geoip_database.rb +10 -7
  242. data/lib/elasticsearch/api/actions/ingest/get_ip_location_database.rb +13 -8
  243. data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +13 -8
  244. data/lib/elasticsearch/api/actions/ingest/processor_grok.rb +9 -6
  245. data/lib/elasticsearch/api/actions/ingest/put_geoip_database.rb +13 -9
  246. data/lib/elasticsearch/api/actions/ingest/put_ip_location_database.rb +15 -9
  247. data/lib/elasticsearch/api/actions/ingest/put_pipeline.rb +11 -10
  248. data/lib/elasticsearch/api/actions/ingest/simulate.rb +12 -9
  249. data/lib/elasticsearch/api/actions/license/delete.rb +10 -8
  250. data/lib/elasticsearch/api/actions/license/get.rb +10 -8
  251. data/lib/elasticsearch/api/actions/license/get_basic_status.rb +6 -6
  252. data/lib/elasticsearch/api/actions/license/get_trial_status.rb +6 -6
  253. data/lib/elasticsearch/api/actions/license/post.rb +16 -10
  254. data/lib/elasticsearch/api/actions/license/post_start_basic.rb +13 -8
  255. data/lib/elasticsearch/api/actions/license/post_start_trial.rb +12 -8
  256. data/lib/elasticsearch/api/actions/logstash/delete_pipeline.rb +9 -7
  257. data/lib/elasticsearch/api/actions/logstash/get_pipeline.rb +8 -7
  258. data/lib/elasticsearch/api/actions/logstash/put_pipeline.rb +10 -8
  259. data/lib/elasticsearch/api/actions/machine_learning/clear_trained_model_deployment_cache.rb +10 -6
  260. data/lib/elasticsearch/api/actions/machine_learning/close_job.rb +17 -11
  261. data/lib/elasticsearch/api/actions/machine_learning/delete_calendar.rb +8 -7
  262. data/lib/elasticsearch/api/actions/machine_learning/delete_calendar_event.rb +10 -9
  263. data/lib/elasticsearch/api/actions/machine_learning/delete_calendar_job.rb +10 -9
  264. data/lib/elasticsearch/api/actions/machine_learning/delete_data_frame_analytics.rb +9 -9
  265. data/lib/elasticsearch/api/actions/machine_learning/delete_datafeed.rb +12 -8
  266. data/lib/elasticsearch/api/actions/machine_learning/delete_expired_data.rb +20 -10
  267. data/lib/elasticsearch/api/actions/machine_learning/delete_filter.rb +9 -7
  268. data/lib/elasticsearch/api/actions/machine_learning/delete_forecast.rb +23 -12
  269. data/lib/elasticsearch/api/actions/machine_learning/delete_job.rb +20 -10
  270. data/lib/elasticsearch/api/actions/machine_learning/delete_model_snapshot.rb +12 -9
  271. data/lib/elasticsearch/api/actions/machine_learning/delete_trained_model.rb +10 -9
  272. data/lib/elasticsearch/api/actions/machine_learning/delete_trained_model_alias.rb +12 -9
  273. data/lib/elasticsearch/api/actions/machine_learning/estimate_model_memory.rb +10 -7
  274. data/lib/elasticsearch/api/actions/machine_learning/evaluate_data_frame.rb +11 -7
  275. data/lib/elasticsearch/api/actions/machine_learning/explain_data_frame_analytics.rb +20 -12
  276. data/lib/elasticsearch/api/actions/machine_learning/flush_job.rb +26 -13
  277. data/lib/elasticsearch/api/actions/machine_learning/forecast.rb +24 -11
  278. data/lib/elasticsearch/api/actions/machine_learning/get_buckets.rb +27 -23
  279. data/lib/elasticsearch/api/actions/machine_learning/get_calendar_events.rb +12 -12
  280. data/lib/elasticsearch/api/actions/machine_learning/get_calendars.rb +14 -14
  281. data/lib/elasticsearch/api/actions/machine_learning/get_categories.rb +21 -17
  282. data/lib/elasticsearch/api/actions/machine_learning/get_data_frame_analytics.rb +26 -11
  283. data/lib/elasticsearch/api/actions/machine_learning/get_data_frame_analytics_stats.rb +21 -11
  284. data/lib/elasticsearch/api/actions/machine_learning/get_datafeed_stats.rb +23 -8
  285. data/lib/elasticsearch/api/actions/machine_learning/get_datafeeds.rb +25 -9
  286. data/lib/elasticsearch/api/actions/machine_learning/get_filters.rb +10 -9
  287. data/lib/elasticsearch/api/actions/machine_learning/get_influencers.rb +25 -16
  288. data/lib/elasticsearch/api/actions/machine_learning/get_job_stats.rb +18 -8
  289. data/lib/elasticsearch/api/actions/machine_learning/get_jobs.rb +24 -9
  290. data/lib/elasticsearch/api/actions/machine_learning/get_memory_stats.rb +14 -9
  291. data/lib/elasticsearch/api/actions/machine_learning/get_model_snapshot_upgrade_stats.rb +18 -10
  292. data/lib/elasticsearch/api/actions/machine_learning/get_model_snapshots.rb +23 -20
  293. data/lib/elasticsearch/api/actions/machine_learning/get_overall_buckets.rb +47 -15
  294. data/lib/elasticsearch/api/actions/machine_learning/get_records.rb +28 -16
  295. data/lib/elasticsearch/api/actions/machine_learning/get_trained_models.rb +27 -15
  296. data/lib/elasticsearch/api/actions/machine_learning/get_trained_models_stats.rb +18 -10
  297. data/lib/elasticsearch/api/actions/machine_learning/infer_trained_model.rb +7 -12
  298. data/lib/elasticsearch/api/actions/machine_learning/info.rb +13 -6
  299. data/lib/elasticsearch/api/actions/machine_learning/open_job.rb +16 -9
  300. data/lib/elasticsearch/api/actions/machine_learning/post_calendar_events.rb +8 -8
  301. data/lib/elasticsearch/api/actions/machine_learning/post_data.rb +12 -10
  302. data/lib/elasticsearch/api/actions/machine_learning/preview_data_frame_analytics.rb +13 -12
  303. data/lib/elasticsearch/api/actions/machine_learning/preview_datafeed.rb +25 -14
  304. data/lib/elasticsearch/api/actions/machine_learning/put_calendar.rb +8 -8
  305. data/lib/elasticsearch/api/actions/machine_learning/put_calendar_job.rb +9 -9
  306. data/lib/elasticsearch/api/actions/machine_learning/put_data_frame_analytics.rb +15 -8
  307. data/lib/elasticsearch/api/actions/machine_learning/put_datafeed.rb +26 -12
  308. data/lib/elasticsearch/api/actions/machine_learning/put_filter.rb +10 -8
  309. data/lib/elasticsearch/api/actions/machine_learning/put_job.rb +21 -12
  310. data/lib/elasticsearch/api/actions/machine_learning/put_trained_model.rb +14 -10
  311. data/lib/elasticsearch/api/actions/machine_learning/put_trained_model_alias.rb +28 -10
  312. data/lib/elasticsearch/api/actions/machine_learning/put_trained_model_definition_part.rb +11 -10
  313. data/lib/elasticsearch/api/actions/machine_learning/put_trained_model_vocabulary.rb +10 -8
  314. data/lib/elasticsearch/api/actions/machine_learning/reset_job.rb +16 -9
  315. data/lib/elasticsearch/api/actions/machine_learning/revert_model_snapshot.rb +25 -11
  316. data/lib/elasticsearch/api/actions/machine_learning/set_upgrade_mode.rb +22 -8
  317. data/lib/elasticsearch/api/actions/machine_learning/start_data_frame_analytics.rb +23 -10
  318. data/lib/elasticsearch/api/actions/machine_learning/start_datafeed.rb +34 -11
  319. data/lib/elasticsearch/api/actions/machine_learning/start_trained_model_deployment.rb +28 -14
  320. data/lib/elasticsearch/api/actions/machine_learning/stop_data_frame_analytics.rb +24 -12
  321. data/lib/elasticsearch/api/actions/machine_learning/stop_datafeed.rb +21 -12
  322. data/lib/elasticsearch/api/actions/machine_learning/stop_trained_model_deployment.rb +12 -9
  323. data/lib/elasticsearch/api/actions/machine_learning/update_data_frame_analytics.rb +10 -8
  324. data/lib/elasticsearch/api/actions/machine_learning/update_datafeed.rb +25 -12
  325. data/lib/elasticsearch/api/actions/machine_learning/update_filter.rb +9 -8
  326. data/lib/elasticsearch/api/actions/machine_learning/update_job.rb +8 -7
  327. data/lib/elasticsearch/api/actions/machine_learning/update_model_snapshot.rb +10 -9
  328. data/lib/elasticsearch/api/actions/machine_learning/update_trained_model_deployment.rb +14 -9
  329. data/lib/elasticsearch/api/actions/machine_learning/upgrade_job_snapshot.rb +21 -11
  330. data/lib/elasticsearch/api/actions/mget.rb +34 -18
  331. data/lib/elasticsearch/api/actions/migration/deprecations.rb +11 -8
  332. data/lib/elasticsearch/api/actions/migration/get_feature_upgrade_status.rb +10 -6
  333. data/lib/elasticsearch/api/actions/migration/post_feature_upgrade.rb +10 -6
  334. data/lib/elasticsearch/api/actions/msearch.rb +44 -18
  335. data/lib/elasticsearch/api/actions/msearch_template.rb +31 -15
  336. data/lib/elasticsearch/api/actions/mtermvectors.rb +35 -29
  337. data/lib/elasticsearch/api/actions/nodes/clear_repositories_metering_archive.rb +15 -10
  338. data/lib/elasticsearch/api/actions/nodes/get_repositories_metering_info.rb +10 -7
  339. data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +18 -14
  340. data/lib/elasticsearch/api/actions/nodes/info.rb +14 -13
  341. data/lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb +16 -9
  342. data/lib/elasticsearch/api/actions/nodes/stats.rb +25 -23
  343. data/lib/elasticsearch/api/actions/nodes/usage.rb +14 -12
  344. data/lib/elasticsearch/api/actions/open_point_in_time.rb +46 -15
  345. data/lib/elasticsearch/api/actions/ping.rb +7 -6
  346. data/lib/elasticsearch/api/actions/put_script.rb +20 -13
  347. data/lib/elasticsearch/api/actions/query_rules/delete_rule.rb +11 -9
  348. data/lib/elasticsearch/api/actions/query_rules/delete_ruleset.rb +10 -8
  349. data/lib/elasticsearch/api/actions/query_rules/get_rule.rb +10 -9
  350. data/lib/elasticsearch/api/actions/query_rules/get_ruleset.rb +8 -7
  351. data/lib/elasticsearch/api/actions/query_rules/list_rulesets.rb +9 -8
  352. data/lib/elasticsearch/api/actions/query_rules/put_rule.rb +15 -10
  353. data/lib/elasticsearch/api/actions/query_rules/put_ruleset.rb +14 -8
  354. data/lib/elasticsearch/api/actions/query_rules/test.rb +9 -12
  355. data/lib/elasticsearch/api/actions/rank_eval.rb +16 -13
  356. data/lib/elasticsearch/api/actions/reindex.rb +156 -17
  357. data/lib/elasticsearch/api/actions/reindex_rethrottle.rb +17 -8
  358. data/lib/elasticsearch/api/actions/render_search_template.rb +14 -12
  359. data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +13 -8
  360. data/lib/elasticsearch/api/actions/scroll.rb +19 -19
  361. data/lib/elasticsearch/api/actions/search.rb +135 -57
  362. data/lib/elasticsearch/api/actions/search_application/delete.rb +12 -11
  363. data/lib/elasticsearch/api/actions/search_application/delete_behavioral_analytics.rb +7 -6
  364. data/lib/elasticsearch/api/actions/search_application/get.rb +11 -11
  365. data/lib/elasticsearch/api/actions/search_application/get_behavioral_analytics.rb +7 -7
  366. data/lib/elasticsearch/api/actions/search_application/list.rb +14 -13
  367. data/lib/elasticsearch/api/actions/search_application/post_behavioral_analytics_event.rb +11 -11
  368. data/lib/elasticsearch/api/actions/search_application/put.rb +13 -13
  369. data/lib/elasticsearch/api/actions/search_application/put_behavioral_analytics.rb +7 -7
  370. data/lib/elasticsearch/api/actions/search_application/render_query.rb +12 -8
  371. data/lib/elasticsearch/api/actions/search_application/search.rb +15 -13
  372. data/lib/elasticsearch/api/actions/search_mvt.rb +155 -24
  373. data/lib/elasticsearch/api/actions/search_shards.rb +29 -15
  374. data/lib/elasticsearch/api/actions/search_template.rb +31 -22
  375. data/lib/elasticsearch/api/actions/searchable_snapshots/cache_stats.rb +10 -8
  376. data/lib/elasticsearch/api/actions/searchable_snapshots/clear_cache.rb +12 -10
  377. data/lib/elasticsearch/api/actions/searchable_snapshots/mount.rb +18 -13
  378. data/lib/elasticsearch/api/actions/searchable_snapshots/stats.rb +9 -9
  379. data/lib/elasticsearch/api/actions/security/activate_user_profile.rb +16 -7
  380. data/lib/elasticsearch/api/actions/security/authenticate.rb +10 -6
  381. data/lib/elasticsearch/api/actions/security/bulk_delete_role.rb +10 -8
  382. data/lib/elasticsearch/api/actions/security/bulk_put_role.rb +10 -8
  383. data/lib/elasticsearch/api/actions/security/bulk_update_api_keys.rb +16 -7
  384. data/lib/elasticsearch/api/actions/security/change_password.rb +11 -9
  385. data/lib/elasticsearch/api/actions/security/clear_api_key_cache.rb +12 -8
  386. data/lib/elasticsearch/api/actions/security/clear_cached_privileges.rb +11 -7
  387. data/lib/elasticsearch/api/actions/security/clear_cached_realms.rb +16 -8
  388. data/lib/elasticsearch/api/actions/security/clear_cached_roles.rb +10 -7
  389. data/lib/elasticsearch/api/actions/security/clear_cached_service_tokens.rb +17 -10
  390. data/lib/elasticsearch/api/actions/security/create_api_key.rb +16 -8
  391. data/lib/elasticsearch/api/actions/security/create_cross_cluster_api_key.rb +16 -7
  392. data/lib/elasticsearch/api/actions/security/create_service_token.rb +18 -12
  393. data/lib/elasticsearch/api/actions/security/delegate_pki.rb +13 -6
  394. data/lib/elasticsearch/api/actions/security/delete_privileges.rb +14 -10
  395. data/lib/elasticsearch/api/actions/security/delete_role.rb +11 -8
  396. data/lib/elasticsearch/api/actions/security/delete_role_mapping.rb +12 -8
  397. data/lib/elasticsearch/api/actions/security/delete_service_token.rb +12 -11
  398. data/lib/elasticsearch/api/actions/security/delete_user.rb +9 -8
  399. data/lib/elasticsearch/api/actions/security/disable_user.rb +11 -8
  400. data/lib/elasticsearch/api/actions/security/disable_user_profile.rb +17 -9
  401. data/lib/elasticsearch/api/actions/security/enable_user.rb +10 -8
  402. data/lib/elasticsearch/api/actions/security/enable_user_profile.rb +18 -9
  403. data/lib/elasticsearch/api/actions/security/enroll_kibana.rb +9 -6
  404. data/lib/elasticsearch/api/actions/security/enroll_node.rb +9 -6
  405. data/lib/elasticsearch/api/actions/security/get_api_key.rb +25 -13
  406. data/lib/elasticsearch/api/actions/security/get_builtin_privileges.rb +7 -6
  407. data/lib/elasticsearch/api/actions/security/get_privileges.rb +16 -10
  408. data/lib/elasticsearch/api/actions/security/get_role.rb +13 -8
  409. data/lib/elasticsearch/api/actions/security/get_role_mapping.rb +10 -7
  410. data/lib/elasticsearch/api/actions/security/get_service_accounts.rb +15 -10
  411. data/lib/elasticsearch/api/actions/security/get_service_credentials.rb +13 -9
  412. data/lib/elasticsearch/api/actions/security/get_settings.rb +13 -7
  413. data/lib/elasticsearch/api/actions/security/get_token.rb +16 -7
  414. data/lib/elasticsearch/api/actions/security/get_user.rb +10 -9
  415. data/lib/elasticsearch/api/actions/security/get_user_privileges.rb +14 -7
  416. data/lib/elasticsearch/api/actions/security/get_user_profile.rb +16 -9
  417. data/lib/elasticsearch/api/actions/security/grant_api_key.rb +23 -9
  418. data/lib/elasticsearch/api/actions/security/has_privileges.rb +10 -7
  419. data/lib/elasticsearch/api/actions/security/has_privileges_user_profile.rb +10 -7
  420. data/lib/elasticsearch/api/actions/security/invalidate_api_key.rb +17 -7
  421. data/lib/elasticsearch/api/actions/security/invalidate_token.rb +16 -7
  422. data/lib/elasticsearch/api/actions/security/oidc_authenticate.rb +10 -7
  423. data/lib/elasticsearch/api/actions/security/oidc_logout.rb +11 -7
  424. data/lib/elasticsearch/api/actions/security/oidc_prepare_authentication.rb +11 -7
  425. data/lib/elasticsearch/api/actions/security/put_privileges.rb +20 -8
  426. data/lib/elasticsearch/api/actions/security/put_role.rb +12 -9
  427. data/lib/elasticsearch/api/actions/security/put_role_mapping.rb +27 -9
  428. data/lib/elasticsearch/api/actions/security/put_user.rb +15 -9
  429. data/lib/elasticsearch/api/actions/security/query_api_keys.rb +19 -11
  430. data/lib/elasticsearch/api/actions/security/query_role.rb +13 -8
  431. data/lib/elasticsearch/api/actions/security/query_user.rb +13 -9
  432. data/lib/elasticsearch/api/actions/security/saml_authenticate.rb +16 -7
  433. data/lib/elasticsearch/api/actions/security/saml_complete_logout.rb +15 -7
  434. data/lib/elasticsearch/api/actions/security/saml_invalidate.rb +14 -7
  435. data/lib/elasticsearch/api/actions/security/saml_logout.rb +12 -7
  436. data/lib/elasticsearch/api/actions/security/saml_prepare_authentication.rb +17 -7
  437. data/lib/elasticsearch/api/actions/security/saml_service_provider_metadata.rb +10 -7
  438. data/lib/elasticsearch/api/actions/security/suggest_user_profiles.rb +16 -8
  439. data/lib/elasticsearch/api/actions/security/update_api_key.rb +21 -8
  440. data/lib/elasticsearch/api/actions/security/update_cross_cluster_api_key.rb +18 -8
  441. data/lib/elasticsearch/api/actions/security/update_settings.rb +15 -9
  442. data/lib/elasticsearch/api/actions/security/update_user_profile_data.rb +26 -12
  443. data/lib/elasticsearch/api/actions/simulate/ingest.rb +25 -10
  444. data/lib/elasticsearch/api/actions/snapshot/cleanup_repository.rb +14 -9
  445. data/lib/elasticsearch/api/actions/snapshot/clone.rb +15 -12
  446. data/lib/elasticsearch/api/actions/snapshot/create.rb +17 -12
  447. data/lib/elasticsearch/api/actions/snapshot/create_repository.rb +22 -11
  448. data/lib/elasticsearch/api/actions/snapshot/delete.rb +14 -12
  449. data/lib/elasticsearch/api/actions/snapshot/delete_repository.rb +17 -10
  450. data/lib/elasticsearch/api/actions/snapshot/get.rb +41 -23
  451. data/lib/elasticsearch/api/actions/snapshot/get_repository.rb +14 -10
  452. data/lib/elasticsearch/api/actions/snapshot/repository_analyze.rb +99 -18
  453. data/lib/elasticsearch/api/actions/snapshot/restore.rb +27 -12
  454. data/lib/elasticsearch/api/actions/snapshot/status.rb +30 -13
  455. data/lib/elasticsearch/api/actions/snapshot/verify_repository.rb +14 -9
  456. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/delete_lifecycle.rb +13 -9
  457. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/execute_lifecycle.rb +13 -9
  458. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/execute_retention.rb +12 -8
  459. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_lifecycle.rb +12 -9
  460. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_stats.rb +9 -8
  461. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_status.rb +12 -8
  462. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/put_lifecycle.rb +17 -10
  463. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/start.rb +14 -8
  464. data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/stop.rb +18 -8
  465. data/lib/elasticsearch/api/actions/sql/clear_cursor.rb +7 -7
  466. data/lib/elasticsearch/api/actions/sql/delete_async.rb +12 -7
  467. data/lib/elasticsearch/api/actions/sql/get_async.rb +18 -11
  468. data/lib/elasticsearch/api/actions/sql/get_async_status.rb +8 -7
  469. data/lib/elasticsearch/api/actions/sql/query.rb +11 -8
  470. data/lib/elasticsearch/api/actions/sql/translate.rb +9 -7
  471. data/lib/elasticsearch/api/actions/ssl/certificates.rb +16 -6
  472. data/lib/elasticsearch/api/actions/synonyms/delete_synonym.rb +19 -7
  473. data/lib/elasticsearch/api/actions/synonyms/delete_synonym_rule.rb +10 -9
  474. data/lib/elasticsearch/api/actions/synonyms/get_synonym.rb +9 -9
  475. data/lib/elasticsearch/api/actions/synonyms/get_synonym_rule.rb +10 -9
  476. data/lib/elasticsearch/api/actions/synonyms/get_synonyms_sets.rb +9 -8
  477. data/lib/elasticsearch/api/actions/synonyms/put_synonym.rb +12 -8
  478. data/lib/elasticsearch/api/actions/synonyms/put_synonym_rule.rb +13 -10
  479. data/lib/elasticsearch/api/actions/tasks/cancel.rb +19 -11
  480. data/lib/elasticsearch/api/actions/tasks/get.rb +16 -9
  481. data/lib/elasticsearch/api/actions/tasks/list.rb +71 -13
  482. data/lib/elasticsearch/api/actions/terms_enum.rb +12 -8
  483. data/lib/elasticsearch/api/actions/termvectors.rb +49 -22
  484. data/lib/elasticsearch/api/actions/text_structure/find_field_structure.rb +83 -20
  485. data/lib/elasticsearch/api/actions/text_structure/find_message_structure.rb +80 -18
  486. data/lib/elasticsearch/api/actions/text_structure/find_structure.rb +98 -24
  487. data/lib/elasticsearch/api/actions/text_structure/test_grok_pattern.rb +12 -8
  488. data/lib/elasticsearch/api/actions/transform/delete_transform.rb +12 -10
  489. data/lib/elasticsearch/api/actions/transform/get_node_stats.rb +11 -6
  490. data/lib/elasticsearch/api/actions/transform/get_transform.rb +22 -11
  491. data/lib/elasticsearch/api/actions/transform/get_transform_stats.rb +19 -10
  492. data/lib/elasticsearch/api/actions/transform/preview_transform.rb +19 -13
  493. data/lib/elasticsearch/api/actions/transform/put_transform.rb +32 -10
  494. data/lib/elasticsearch/api/actions/transform/reset_transform.rb +13 -9
  495. data/lib/elasticsearch/api/actions/transform/schedule_now_transform.rb +13 -8
  496. data/lib/elasticsearch/api/actions/transform/start_transform.rb +22 -9
  497. data/lib/elasticsearch/api/actions/transform/stop_transform.rb +20 -11
  498. data/lib/elasticsearch/api/actions/transform/update_transform.rb +18 -9
  499. data/lib/elasticsearch/api/actions/transform/upgrade_transforms.rb +20 -8
  500. data/lib/elasticsearch/api/actions/update.rb +44 -24
  501. data/lib/elasticsearch/api/actions/update_by_query.rb +131 -40
  502. data/lib/elasticsearch/api/actions/update_by_query_rethrottle.rb +11 -8
  503. data/lib/elasticsearch/api/actions/watcher/ack_watch.rb +17 -10
  504. data/lib/elasticsearch/api/actions/watcher/activate_watch.rb +8 -7
  505. data/lib/elasticsearch/api/actions/watcher/deactivate_watch.rb +8 -7
  506. data/lib/elasticsearch/api/actions/watcher/delete_watch.rb +13 -8
  507. data/lib/elasticsearch/api/actions/watcher/execute_watch.rb +18 -9
  508. data/lib/elasticsearch/api/actions/watcher/get_settings.rb +10 -7
  509. data/lib/elasticsearch/api/actions/watcher/get_watch.rb +7 -7
  510. data/lib/elasticsearch/api/actions/watcher/put_watch.rb +21 -12
  511. data/lib/elasticsearch/api/actions/watcher/query_watches.rb +10 -8
  512. data/lib/elasticsearch/api/actions/watcher/start.rb +8 -7
  513. data/lib/elasticsearch/api/actions/watcher/stats.rb +10 -8
  514. data/lib/elasticsearch/api/actions/watcher/stop.rb +10 -7
  515. data/lib/elasticsearch/api/actions/watcher/update_settings.rb +17 -9
  516. data/lib/elasticsearch/api/actions/xpack/info.rb +15 -9
  517. data/lib/elasticsearch/api/actions/xpack/usage.rb +11 -7
  518. data/lib/elasticsearch/api/utils.rb +32 -87
  519. data/lib/elasticsearch/api/version.rb +2 -1
  520. data/lib/elasticsearch/api.rb +80 -59
  521. metadata +11 -1122
  522. data/Gemfile +0 -35
  523. data/Rakefile +0 -98
  524. data/api-spec-testing/README.md +0 -118
  525. data/api-spec-testing/custom_cleanup.rb +0 -32
  526. data/api-spec-testing/logging.rb +0 -28
  527. data/api-spec-testing/rspec_matchers.rb +0 -344
  528. data/api-spec-testing/test_file/action.rb +0 -251
  529. data/api-spec-testing/test_file/task_group.rb +0 -346
  530. data/api-spec-testing/test_file/test.rb +0 -296
  531. data/api-spec-testing/test_file.rb +0 -185
  532. data/api-spec-testing/wipe_cluster.rb +0 -491
  533. data/lib/elasticsearch/api/actions/autoscaling/delete_autoscaling_policy.rb +0 -62
  534. data/lib/elasticsearch/api/actions/autoscaling/get_autoscaling_capacity.rb +0 -51
  535. data/lib/elasticsearch/api/actions/autoscaling/get_autoscaling_policy.rb +0 -61
  536. data/lib/elasticsearch/api/actions/autoscaling/put_autoscaling_policy.rb +0 -64
  537. data/lib/elasticsearch/api/actions/capabilities.rb +0 -57
  538. data/lib/elasticsearch/api/actions/connector/last_sync.rb +0 -66
  539. data/lib/elasticsearch/api/actions/connector/secret_delete.rb +0 -64
  540. data/lib/elasticsearch/api/actions/connector/secret_get.rb +0 -64
  541. data/lib/elasticsearch/api/actions/connector/secret_post.rb +0 -57
  542. data/lib/elasticsearch/api/actions/connector/secret_put.rb +0 -66
  543. data/lib/elasticsearch/api/actions/fleet/delete_secret.rb +0 -64
  544. data/lib/elasticsearch/api/actions/fleet/get_secret.rb +0 -64
  545. data/lib/elasticsearch/api/actions/indices/unfreeze.rb +0 -71
  546. data/lib/elasticsearch/api/actions/knn_search.rb +0 -69
  547. data/lib/elasticsearch/api/actions/machine_learning/validate.rb +0 -53
  548. data/lib/elasticsearch/api/actions/machine_learning/validate_detector.rb +0 -53
  549. data/lib/elasticsearch/api/actions/monitoring/bulk.rb +0 -81
  550. data/lib/elasticsearch/api/actions/profiling/flamegraph.rb +0 -53
  551. data/lib/elasticsearch/api/actions/profiling/stacktraces.rb +0 -53
  552. data/lib/elasticsearch/api/actions/profiling/status.rb +0 -53
  553. data/lib/elasticsearch/api/actions/profiling/topn_functions.rb +0 -53
  554. data/lib/elasticsearch/api/actions/rollup/delete_job.rb +0 -64
  555. data/lib/elasticsearch/api/actions/rollup/get_jobs.rb +0 -66
  556. data/lib/elasticsearch/api/actions/rollup/get_rollup_caps.rb +0 -66
  557. data/lib/elasticsearch/api/actions/rollup/rollup_search.rb +0 -68
  558. data/lib/elasticsearch/api/actions/rollup/stop_job.rb +0 -66
  559. data/lib/elasticsearch/api/actions/shutdown/delete_node.rb +0 -62
  560. data/lib/elasticsearch/api/actions/shutdown/get_node.rb +0 -63
  561. data/lib/elasticsearch/api/actions/shutdown/put_node.rb +0 -64
  562. data/lib/elasticsearch/api/namespace/async_search.rb +0 -36
  563. data/lib/elasticsearch/api/namespace/autoscaling.rb +0 -36
  564. data/lib/elasticsearch/api/namespace/cat.rb +0 -36
  565. data/lib/elasticsearch/api/namespace/cluster.rb +0 -37
  566. data/lib/elasticsearch/api/namespace/common.rb +0 -42
  567. data/lib/elasticsearch/api/namespace/connector.rb +0 -36
  568. data/lib/elasticsearch/api/namespace/cross_cluster_replication.rb +0 -38
  569. data/lib/elasticsearch/api/namespace/dangling_indices.rb +0 -35
  570. data/lib/elasticsearch/api/namespace/data_frame_transform_deprecated.rb +0 -36
  571. data/lib/elasticsearch/api/namespace/enrich.rb +0 -36
  572. data/lib/elasticsearch/api/namespace/eql.rb +0 -36
  573. data/lib/elasticsearch/api/namespace/esql.rb +0 -36
  574. data/lib/elasticsearch/api/namespace/features.rb +0 -36
  575. data/lib/elasticsearch/api/namespace/fleet.rb +0 -36
  576. data/lib/elasticsearch/api/namespace/graph.rb +0 -36
  577. data/lib/elasticsearch/api/namespace/index_lifecycle_management.rb +0 -38
  578. data/lib/elasticsearch/api/namespace/indices.rb +0 -37
  579. data/lib/elasticsearch/api/namespace/inference.rb +0 -36
  580. data/lib/elasticsearch/api/namespace/ingest.rb +0 -36
  581. data/lib/elasticsearch/api/namespace/license.rb +0 -36
  582. data/lib/elasticsearch/api/namespace/logstash.rb +0 -36
  583. data/lib/elasticsearch/api/namespace/machine_learning.rb +0 -38
  584. data/lib/elasticsearch/api/namespace/migration.rb +0 -36
  585. data/lib/elasticsearch/api/namespace/monitoring.rb +0 -36
  586. data/lib/elasticsearch/api/namespace/nodes.rb +0 -37
  587. data/lib/elasticsearch/api/namespace/profiling.rb +0 -36
  588. data/lib/elasticsearch/api/namespace/query_rules.rb +0 -36
  589. data/lib/elasticsearch/api/namespace/query_ruleset.rb +0 -36
  590. data/lib/elasticsearch/api/namespace/remote.rb +0 -37
  591. data/lib/elasticsearch/api/namespace/rollup.rb +0 -36
  592. data/lib/elasticsearch/api/namespace/search_application.rb +0 -36
  593. data/lib/elasticsearch/api/namespace/searchable_snapshots.rb +0 -36
  594. data/lib/elasticsearch/api/namespace/security.rb +0 -36
  595. data/lib/elasticsearch/api/namespace/shutdown.rb +0 -37
  596. data/lib/elasticsearch/api/namespace/simulate.rb +0 -36
  597. data/lib/elasticsearch/api/namespace/snapshot.rb +0 -37
  598. data/lib/elasticsearch/api/namespace/snapshot_lifecycle_management.rb +0 -38
  599. data/lib/elasticsearch/api/namespace/sql.rb +0 -36
  600. data/lib/elasticsearch/api/namespace/ssl.rb +0 -36
  601. data/lib/elasticsearch/api/namespace/synonyms.rb +0 -36
  602. data/lib/elasticsearch/api/namespace/tasks.rb +0 -37
  603. data/lib/elasticsearch/api/namespace/text_structure.rb +0 -36
  604. data/lib/elasticsearch/api/namespace/transform.rb +0 -36
  605. data/lib/elasticsearch/api/namespace/watcher.rb +0 -36
  606. data/lib/elasticsearch/api/namespace/xpack.rb +0 -36
  607. data/spec/elasticsearch/api/actions/bulk_spec.rb +0 -143
  608. data/spec/elasticsearch/api/actions/capabilities_spec.rb +0 -35
  609. data/spec/elasticsearch/api/actions/cat/aliases_spec.rb +0 -36
  610. data/spec/elasticsearch/api/actions/cat/allocation_spec.rb +0 -36
  611. data/spec/elasticsearch/api/actions/cat/component_templates_spec.rb +0 -58
  612. data/spec/elasticsearch/api/actions/cat/count_spec.rb +0 -36
  613. data/spec/elasticsearch/api/actions/cat/fielddata_spec.rb +0 -54
  614. data/spec/elasticsearch/api/actions/cat/health_spec.rb +0 -36
  615. data/spec/elasticsearch/api/actions/cat/help_spec.rb +0 -36
  616. data/spec/elasticsearch/api/actions/cat/indices_spec.rb +0 -36
  617. data/spec/elasticsearch/api/actions/cat/master_spec.rb +0 -36
  618. data/spec/elasticsearch/api/actions/cat/nodeattrs_spec.rb +0 -36
  619. data/spec/elasticsearch/api/actions/cat/nodes_spec.rb +0 -36
  620. data/spec/elasticsearch/api/actions/cat/pending_tasks_spec.rb +0 -36
  621. data/spec/elasticsearch/api/actions/cat/plugins_spec.rb +0 -36
  622. data/spec/elasticsearch/api/actions/cat/recovery_spec.rb +0 -36
  623. data/spec/elasticsearch/api/actions/cat/repositories_spec.rb +0 -36
  624. data/spec/elasticsearch/api/actions/cat/segments_spec.rb +0 -61
  625. data/spec/elasticsearch/api/actions/cat/shards_spec.rb +0 -36
  626. data/spec/elasticsearch/api/actions/cat/snapshot_spec.rb +0 -36
  627. data/spec/elasticsearch/api/actions/cat/tasks_spec.rb +0 -36
  628. data/spec/elasticsearch/api/actions/cat/templates_spec.rb +0 -36
  629. data/spec/elasticsearch/api/actions/cat/thread_pool_spec.rb +0 -36
  630. data/spec/elasticsearch/api/actions/clear_scroll_spec.rb +0 -54
  631. data/spec/elasticsearch/api/actions/close_point_in_time_spec.rb +0 -35
  632. data/spec/elasticsearch/api/actions/cluster/allocation_explain_spec.rb +0 -36
  633. data/spec/elasticsearch/api/actions/cluster/get_settings_spec.rb +0 -36
  634. data/spec/elasticsearch/api/actions/cluster/health_spec.rb +0 -72
  635. data/spec/elasticsearch/api/actions/cluster/info_spec.rb +0 -36
  636. data/spec/elasticsearch/api/actions/cluster/pending_tasks_spec.rb +0 -36
  637. data/spec/elasticsearch/api/actions/cluster/put_settings_spec.rb +0 -36
  638. data/spec/elasticsearch/api/actions/cluster/remote_info_spec.rb +0 -36
  639. data/spec/elasticsearch/api/actions/cluster/reroute_spec.rb +0 -54
  640. data/spec/elasticsearch/api/actions/cluster/state_spec.rb +0 -54
  641. data/spec/elasticsearch/api/actions/cluster/stats_spec.rb +0 -36
  642. data/spec/elasticsearch/api/actions/connector/check_in_spec.rb +0 -38
  643. data/spec/elasticsearch/api/actions/connector/delete_spec.rb +0 -38
  644. data/spec/elasticsearch/api/actions/connector/get_spec.rb +0 -38
  645. data/spec/elasticsearch/api/actions/connector/last_sync_spec.rb +0 -38
  646. data/spec/elasticsearch/api/actions/connector/list_spec.rb +0 -35
  647. data/spec/elasticsearch/api/actions/connector/post_spec.rb +0 -35
  648. data/spec/elasticsearch/api/actions/connector/put_spec.rb +0 -43
  649. data/spec/elasticsearch/api/actions/connector/sync_job_claim_spec.rb +0 -40
  650. data/spec/elasticsearch/api/actions/connector/update_active_filtering_spec.rb +0 -38
  651. data/spec/elasticsearch/api/actions/connector/update_api_key_id_spec.rb +0 -38
  652. data/spec/elasticsearch/api/actions/connector/update_configuration_spec.rb +0 -38
  653. data/spec/elasticsearch/api/actions/connector/update_error_spec.rb +0 -38
  654. data/spec/elasticsearch/api/actions/connector/update_features_spec.rb +0 -38
  655. data/spec/elasticsearch/api/actions/connector/update_filtering_spec.rb +0 -38
  656. data/spec/elasticsearch/api/actions/connector/update_filtering_validation_spec.rb +0 -38
  657. data/spec/elasticsearch/api/actions/connector/update_index_name_spec.rb +0 -38
  658. data/spec/elasticsearch/api/actions/connector/update_name_spec.rb +0 -38
  659. data/spec/elasticsearch/api/actions/connector/update_native_spec.rb +0 -38
  660. data/spec/elasticsearch/api/actions/connector/update_pipeline_spec.rb +0 -38
  661. data/spec/elasticsearch/api/actions/connector/update_scheduling_spec.rb +0 -42
  662. data/spec/elasticsearch/api/actions/connector/update_service_type_spec.rb +0 -38
  663. data/spec/elasticsearch/api/actions/connector/update_status_spec.rb +0 -38
  664. data/spec/elasticsearch/api/actions/connector_secret/delete_spec.rb +0 -35
  665. data/spec/elasticsearch/api/actions/connector_secret/get_spec.rb +0 -35
  666. data/spec/elasticsearch/api/actions/connector_secret/post_spec.rb +0 -35
  667. data/spec/elasticsearch/api/actions/connector_secret/put_spec.rb +0 -35
  668. data/spec/elasticsearch/api/actions/connector_sync_job/cancel_spec.rb +0 -38
  669. data/spec/elasticsearch/api/actions/connector_sync_job/check_in_spec.rb +0 -38
  670. data/spec/elasticsearch/api/actions/connector_sync_job/delete_spec.rb +0 -38
  671. data/spec/elasticsearch/api/actions/connector_sync_job/error_spec.rb +0 -38
  672. data/spec/elasticsearch/api/actions/connector_sync_job/get_spec.rb +0 -38
  673. data/spec/elasticsearch/api/actions/connector_sync_job/list_spec.rb +0 -35
  674. data/spec/elasticsearch/api/actions/connector_sync_job/post_spec.rb +0 -35
  675. data/spec/elasticsearch/api/actions/connector_sync_job/update_stats_spec.rb +0 -38
  676. data/spec/elasticsearch/api/actions/count_spec.rb +0 -69
  677. data/spec/elasticsearch/api/actions/create_document_spec.rb +0 -120
  678. data/spec/elasticsearch/api/actions/dangling_indices/delete_dangling_indices_spec.rb +0 -49
  679. data/spec/elasticsearch/api/actions/dangling_indices/import_dangling_indices_spec.rb +0 -49
  680. data/spec/elasticsearch/api/actions/dangling_indices/list_dangling_indices_spec.rb +0 -37
  681. data/spec/elasticsearch/api/actions/data_frame/update_data_frame_transform_spec.rb +0 -82
  682. data/spec/elasticsearch/api/actions/delete_by_query_spec.rb +0 -65
  683. data/spec/elasticsearch/api/actions/delete_document_spec.rb +0 -101
  684. data/spec/elasticsearch/api/actions/delete_script_spec.rb +0 -38
  685. data/spec/elasticsearch/api/actions/esql/async_query_delete_spec.rb +0 -35
  686. data/spec/elasticsearch/api/actions/esql/async_query_get._spec.rb +0 -35
  687. data/spec/elasticsearch/api/actions/esql/async_query_spec.rb +0 -35
  688. data/spec/elasticsearch/api/actions/esql/async_query_stop_spec.rb +0 -35
  689. data/spec/elasticsearch/api/actions/esql/query_spec.rb +0 -35
  690. data/spec/elasticsearch/api/actions/exists_document_spec.rb +0 -117
  691. data/spec/elasticsearch/api/actions/explain_document_spec.rb +0 -133
  692. data/spec/elasticsearch/api/actions/features/get_features_spec.rb +0 -39
  693. data/spec/elasticsearch/api/actions/features/reset_features_spec.rb +0 -39
  694. data/spec/elasticsearch/api/actions/field_caps_spec.rb +0 -36
  695. data/spec/elasticsearch/api/actions/fleet/global_checkpoints_spec.rb +0 -45
  696. data/spec/elasticsearch/api/actions/fleet/msearch_spec.rb +0 -45
  697. data/spec/elasticsearch/api/actions/fleet/search_spec.rb +0 -45
  698. data/spec/elasticsearch/api/actions/get_document_source_spec.rb +0 -101
  699. data/spec/elasticsearch/api/actions/get_document_spec.rb +0 -111
  700. data/spec/elasticsearch/api/actions/get_script_spec.rb +0 -51
  701. data/spec/elasticsearch/api/actions/hashie_spec.rb +0 -89
  702. data/spec/elasticsearch/api/actions/health_report_spec.rb +0 -52
  703. data/spec/elasticsearch/api/actions/index_document_spec.rb +0 -142
  704. data/spec/elasticsearch/api/actions/index_lifecycle_management/migrate_to_data_tiers_spec.rb +0 -37
  705. data/spec/elasticsearch/api/actions/indices/add_block_spec.rb +0 -65
  706. data/spec/elasticsearch/api/actions/indices/analyze_spec.rb +0 -80
  707. data/spec/elasticsearch/api/actions/indices/clear_cache_spec.rb +0 -103
  708. data/spec/elasticsearch/api/actions/indices/clone_spec.rb +0 -124
  709. data/spec/elasticsearch/api/actions/indices/close_spec.rb +0 -97
  710. data/spec/elasticsearch/api/actions/indices/create_spec.rb +0 -97
  711. data/spec/elasticsearch/api/actions/indices/data_streams_stats_spec.rb +0 -70
  712. data/spec/elasticsearch/api/actions/indices/delete_alias_spec.rb +0 -97
  713. data/spec/elasticsearch/api/actions/indices/delete_data_lifecycle_spec.rb +0 -35
  714. data/spec/elasticsearch/api/actions/indices/delete_spec.rb +0 -131
  715. data/spec/elasticsearch/api/actions/indices/delete_template_spec.rb +0 -98
  716. data/spec/elasticsearch/api/actions/indices/disk_usage_spec.rb +0 -49
  717. data/spec/elasticsearch/api/actions/indices/exists_alias_spec.rb +0 -133
  718. data/spec/elasticsearch/api/actions/indices/exists_spec.rb +0 -131
  719. data/spec/elasticsearch/api/actions/indices/exists_template_spec.rb +0 -105
  720. data/spec/elasticsearch/api/actions/indices/explain_data_lifecycle_spec.rb +0 -36
  721. data/spec/elasticsearch/api/actions/indices/field_usage_stats_spec.rb +0 -47
  722. data/spec/elasticsearch/api/actions/indices/flush_spec.rb +0 -136
  723. data/spec/elasticsearch/api/actions/indices/forcemerge_spec.rb +0 -36
  724. data/spec/elasticsearch/api/actions/indices/get_alias_spec.rb +0 -85
  725. data/spec/elasticsearch/api/actions/indices/get_data_lifecycle_spec.rb +0 -35
  726. data/spec/elasticsearch/api/actions/indices/get_data_lifecycle_stats_spec.rb +0 -35
  727. data/spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb +0 -62
  728. data/spec/elasticsearch/api/actions/indices/get_mapping_spec.rb +0 -102
  729. data/spec/elasticsearch/api/actions/indices/get_settings_spec.rb +0 -106
  730. data/spec/elasticsearch/api/actions/indices/get_spec.rb +0 -55
  731. data/spec/elasticsearch/api/actions/indices/open_spec.rb +0 -77
  732. data/spec/elasticsearch/api/actions/indices/put_alias_spec.rb +0 -115
  733. data/spec/elasticsearch/api/actions/indices/put_data_lifecycle_spec.rb +0 -35
  734. data/spec/elasticsearch/api/actions/indices/put_mapping_spec.rb +0 -119
  735. data/spec/elasticsearch/api/actions/indices/put_settings_spec.rb +0 -153
  736. data/spec/elasticsearch/api/actions/indices/put_template_spec.rb +0 -119
  737. data/spec/elasticsearch/api/actions/indices/recovery_spec.rb +0 -36
  738. data/spec/elasticsearch/api/actions/indices/refresh_spec.rb +0 -136
  739. data/spec/elasticsearch/api/actions/indices/resolve_cluster_spec.rb +0 -56
  740. data/spec/elasticsearch/api/actions/indices/rollover_spec.rb +0 -70
  741. data/spec/elasticsearch/api/actions/indices/segments_spec.rb +0 -136
  742. data/spec/elasticsearch/api/actions/indices/shard_stores_spec.rb +0 -36
  743. data/spec/elasticsearch/api/actions/indices/shrink_spec.rb +0 -44
  744. data/spec/elasticsearch/api/actions/indices/split_spec.rb +0 -37
  745. data/spec/elasticsearch/api/actions/indices/stats_spec.rb +0 -186
  746. data/spec/elasticsearch/api/actions/indices/unfreeze_spec.rb +0 -97
  747. data/spec/elasticsearch/api/actions/indices/update_aliases_spec.rb +0 -68
  748. data/spec/elasticsearch/api/actions/indices/validate_query_spec.rb +0 -180
  749. data/spec/elasticsearch/api/actions/inference/chat_completion_unified_spec.rb +0 -36
  750. data/spec/elasticsearch/api/actions/inference/completion_spec.rb +0 -36
  751. data/spec/elasticsearch/api/actions/inference/delete_spec.rb +0 -36
  752. data/spec/elasticsearch/api/actions/inference/get_spec.rb +0 -36
  753. data/spec/elasticsearch/api/actions/inference/inference_spec.rb +0 -36
  754. data/spec/elasticsearch/api/actions/inference/put_alibabacloud_spec.rb +0 -36
  755. data/spec/elasticsearch/api/actions/inference/put_amazonbedrock_spec.rb +0 -36
  756. data/spec/elasticsearch/api/actions/inference/put_anthropic_spec.rb +0 -36
  757. data/spec/elasticsearch/api/actions/inference/put_azureaistudio_spec.rb +0 -36
  758. data/spec/elasticsearch/api/actions/inference/put_azureopenai_spec.rb +0 -36
  759. data/spec/elasticsearch/api/actions/inference/put_cohere_spec.rb +0 -36
  760. data/spec/elasticsearch/api/actions/inference/put_elasticsearch_spec.rb +0 -36
  761. data/spec/elasticsearch/api/actions/inference/put_elser_spec.rb +0 -36
  762. data/spec/elasticsearch/api/actions/inference/put_googleaistudio_spec.rb +0 -36
  763. data/spec/elasticsearch/api/actions/inference/put_googlevertexai_spec.rb +0 -36
  764. data/spec/elasticsearch/api/actions/inference/put_huggingface_spec.rb +0 -36
  765. data/spec/elasticsearch/api/actions/inference/put_jinaai_spec.rb +0 -36
  766. data/spec/elasticsearch/api/actions/inference/put_mistral_spec.rb +0 -36
  767. data/spec/elasticsearch/api/actions/inference/put_openai_spec.rb +0 -36
  768. data/spec/elasticsearch/api/actions/inference/put_spec.rb +0 -36
  769. data/spec/elasticsearch/api/actions/inference/put_voyageai_spec.rb +0 -36
  770. data/spec/elasticsearch/api/actions/inference/put_watsonx_spec.rb +0 -36
  771. data/spec/elasticsearch/api/actions/inference/rerank_spec.rb +0 -35
  772. data/spec/elasticsearch/api/actions/inference/sparse_embedding_spec.rb +0 -35
  773. data/spec/elasticsearch/api/actions/inference/stream_completion_spec.rb +0 -35
  774. data/spec/elasticsearch/api/actions/inference/text_embedding_spec.rb +0 -35
  775. data/spec/elasticsearch/api/actions/inference/update_spec.rb +0 -36
  776. data/spec/elasticsearch/api/actions/info_spec.rb +0 -36
  777. data/spec/elasticsearch/api/actions/ingest/delete_geoip_database_spec.rb +0 -39
  778. data/spec/elasticsearch/api/actions/ingest/delete_ip_location_database_spec.rb +0 -39
  779. data/spec/elasticsearch/api/actions/ingest/delete_pipeline_spec.rb +0 -72
  780. data/spec/elasticsearch/api/actions/ingest/geo_ip_stats_spec.rb +0 -39
  781. data/spec/elasticsearch/api/actions/ingest/get_geoip_database_spec.rb +0 -39
  782. data/spec/elasticsearch/api/actions/ingest/get_ip_location_database_spec.rb +0 -39
  783. data/spec/elasticsearch/api/actions/ingest/get_pipeline_spec.rb +0 -62
  784. data/spec/elasticsearch/api/actions/ingest/put_geoip_database_spec.rb +0 -45
  785. data/spec/elasticsearch/api/actions/ingest/put_ip_location_database_spec.rb +0 -45
  786. data/spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb +0 -72
  787. data/spec/elasticsearch/api/actions/ingest/simulate_spec.rb +0 -61
  788. data/spec/elasticsearch/api/actions/json_builders_spec.rb +0 -86
  789. data/spec/elasticsearch/api/actions/machine_learning/get_memory_stats_spec.rb +0 -59
  790. data/spec/elasticsearch/api/actions/machine_learning/get_model_snapshot_upgrade_stats_spec.rb +0 -60
  791. data/spec/elasticsearch/api/actions/machine_learning/infer_trained_model_deployment_spec.rb +0 -47
  792. data/spec/elasticsearch/api/actions/machine_learning/put_trained_model_definition_part_spec.rb +0 -64
  793. data/spec/elasticsearch/api/actions/machine_learning/put_trained_model_vocabulary_spec.rb +0 -56
  794. data/spec/elasticsearch/api/actions/machine_learning/reset_job_spec.rb +0 -47
  795. data/spec/elasticsearch/api/actions/machine_learning/set_upgrade_mode_spec.rb +0 -53
  796. data/spec/elasticsearch/api/actions/machine_learning/start_trained_model_deployment_spec.rb +0 -48
  797. data/spec/elasticsearch/api/actions/machine_learning/stop_trained_model_deployment_spec.rb +0 -48
  798. data/spec/elasticsearch/api/actions/machine_learning/update_trained_model_deployment_spec.rb +0 -36
  799. data/spec/elasticsearch/api/actions/mget_spec.rb +0 -110
  800. data/spec/elasticsearch/api/actions/migration/get_feature_upgrade_status_spec.rb +0 -35
  801. data/spec/elasticsearch/api/actions/migration/post_feature_upgrade_spec.rb +0 -35
  802. data/spec/elasticsearch/api/actions/msearch_spec.rb +0 -187
  803. data/spec/elasticsearch/api/actions/msearch_template_spec.rb +0 -105
  804. data/spec/elasticsearch/api/actions/mtermvectors_spec.rb +0 -45
  805. data/spec/elasticsearch/api/actions/nodes/clear_repositories_metering_archive_spec.rb +0 -53
  806. data/spec/elasticsearch/api/actions/nodes/get_repositories_metering_info_spec.rb +0 -46
  807. data/spec/elasticsearch/api/actions/nodes/hot_threads_spec.rb +0 -84
  808. data/spec/elasticsearch/api/actions/nodes/info_spec.rb +0 -147
  809. data/spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb +0 -118
  810. data/spec/elasticsearch/api/actions/nodes/stats_spec.rb +0 -110
  811. data/spec/elasticsearch/api/actions/open_point_in_time_spec.rb +0 -35
  812. data/spec/elasticsearch/api/actions/ping_spec.rb +0 -77
  813. data/spec/elasticsearch/api/actions/profiling/flamegraph_spec.rb +0 -35
  814. data/spec/elasticsearch/api/actions/profiling/stacktraces_spec.rb +0 -35
  815. data/spec/elasticsearch/api/actions/profiling/status_spec.rb +0 -36
  816. data/spec/elasticsearch/api/actions/profiling/topn_functions_spec.rb +0 -35
  817. data/spec/elasticsearch/api/actions/put_script_spec.rb +0 -58
  818. data/spec/elasticsearch/api/actions/query_rules/delete_ruleset_spec.rb +0 -36
  819. data/spec/elasticsearch/api/actions/query_rules/delete_spec.rb +0 -35
  820. data/spec/elasticsearch/api/actions/query_rules/get_ruleset_spec.rb +0 -35
  821. data/spec/elasticsearch/api/actions/query_rules/get_spec.rb +0 -35
  822. data/spec/elasticsearch/api/actions/query_rules/put_ruleset_spec.rb +0 -35
  823. data/spec/elasticsearch/api/actions/query_rules/put_spec.rb +0 -35
  824. data/spec/elasticsearch/api/actions/query_rules/test_spec.rb +0 -35
  825. data/spec/elasticsearch/api/actions/rank_eval_spec.rb +0 -139
  826. data/spec/elasticsearch/api/actions/reindex_spec.rb +0 -36
  827. data/spec/elasticsearch/api/actions/render_search_template_spec.rb +0 -54
  828. data/spec/elasticsearch/api/actions/scroll_spec.rb +0 -54
  829. data/spec/elasticsearch/api/actions/search_application/delete_behavioral_analytics_spec.rb +0 -36
  830. data/spec/elasticsearch/api/actions/search_application/delete_spec.rb +0 -35
  831. data/spec/elasticsearch/api/actions/search_application/get_behavioral_analytics_spec.rb +0 -35
  832. data/spec/elasticsearch/api/actions/search_application/get_spec.rb +0 -35
  833. data/spec/elasticsearch/api/actions/search_application/list_spec.rb +0 -35
  834. data/spec/elasticsearch/api/actions/search_application/post_behavioral_analytics_event_spec.rb +0 -40
  835. data/spec/elasticsearch/api/actions/search_application/put_behavioral_analytics_spec.rb +0 -36
  836. data/spec/elasticsearch/api/actions/search_application/put_spec.rb +0 -35
  837. data/spec/elasticsearch/api/actions/search_application/render_query_spec.rb +0 -36
  838. data/spec/elasticsearch/api/actions/search_application/search_spec.rb +0 -35
  839. data/spec/elasticsearch/api/actions/search_mvt_spec.rb +0 -55
  840. data/spec/elasticsearch/api/actions/search_shards_spec.rb +0 -36
  841. data/spec/elasticsearch/api/actions/search_spec.rb +0 -119
  842. data/spec/elasticsearch/api/actions/search_template_spec.rb +0 -35
  843. data/spec/elasticsearch/api/actions/searchable_snapshots/cache_stats_spec.rb +0 -56
  844. data/spec/elasticsearch/api/actions/searchable_snapshots/clear_cache_spec.rb +0 -57
  845. data/spec/elasticsearch/api/actions/searchable_snapshots/mount_spec.rb +0 -58
  846. data/spec/elasticsearch/api/actions/searchable_snapshots/stats_spec.rb +0 -57
  847. data/spec/elasticsearch/api/actions/security/bulk_delete_role_spec.rb +0 -35
  848. data/spec/elasticsearch/api/actions/security/bulk_put_role_spec.rb +0 -35
  849. data/spec/elasticsearch/api/actions/security/clear_cached_service_tokens_spec.rb +0 -60
  850. data/spec/elasticsearch/api/actions/security/create_api_key_spec.rb +0 -81
  851. data/spec/elasticsearch/api/actions/security/create_cross_cluster_api_key_spec.rb +0 -36
  852. data/spec/elasticsearch/api/actions/security/create_service_token_spec.rb +0 -83
  853. data/spec/elasticsearch/api/actions/security/delegate_pki_spec.rb +0 -39
  854. data/spec/elasticsearch/api/actions/security/delete_service_token_spec.rb +0 -62
  855. data/spec/elasticsearch/api/actions/security/disable_user_profile_spec.rb +0 -35
  856. data/spec/elasticsearch/api/actions/security/enable_user_profile_spec.rb +0 -35
  857. data/spec/elasticsearch/api/actions/security/enroll_kibana_spec.rb +0 -35
  858. data/spec/elasticsearch/api/actions/security/get_api_key_spec.rb +0 -57
  859. data/spec/elasticsearch/api/actions/security/get_builtin_privileges_spec.rb +0 -36
  860. data/spec/elasticsearch/api/actions/security/get_service_accounts_spec.rb +0 -83
  861. data/spec/elasticsearch/api/actions/security/get_service_credentials_spec.rb +0 -55
  862. data/spec/elasticsearch/api/actions/security/has_privileges_user_profile_spec.rb +0 -35
  863. data/spec/elasticsearch/api/actions/security/invalidate_api_key_spec.rb +0 -39
  864. data/spec/elasticsearch/api/actions/security/query_api_keys_spec.rb +0 -49
  865. data/spec/elasticsearch/api/actions/security/query_role_spec.rb +0 -35
  866. data/spec/elasticsearch/api/actions/security/query_user_spec.rb +0 -49
  867. data/spec/elasticsearch/api/actions/security/saml_authenticate_spec.rb +0 -45
  868. data/spec/elasticsearch/api/actions/security/saml_complete_logout_spec.rb +0 -45
  869. data/spec/elasticsearch/api/actions/security/saml_invalidate_spec.rb +0 -45
  870. data/spec/elasticsearch/api/actions/security/saml_logout_spec.rb +0 -45
  871. data/spec/elasticsearch/api/actions/security/saml_prepare_authentication_spec.rb +0 -45
  872. data/spec/elasticsearch/api/actions/security/saml_service_provider_metadata_spec.rb +0 -48
  873. data/spec/elasticsearch/api/actions/security/suggest_user_profiles_spec.rb +0 -46
  874. data/spec/elasticsearch/api/actions/security/update_api_key_spec.rb +0 -35
  875. data/spec/elasticsearch/api/actions/security/update_cross_cluster_api_key_spec.rb +0 -37
  876. data/spec/elasticsearch/api/actions/shutdown/delete_node_spec.rb +0 -45
  877. data/spec/elasticsearch/api/actions/shutdown/get_node_spec.rb +0 -58
  878. data/spec/elasticsearch/api/actions/shutdown/put_node_spec.rb +0 -51
  879. data/spec/elasticsearch/api/actions/simulate/ingest_spec.rb +0 -35
  880. data/spec/elasticsearch/api/actions/snapshot/clone_spec.rb +0 -70
  881. data/spec/elasticsearch/api/actions/snapshot/create_repository_spec.rb +0 -53
  882. data/spec/elasticsearch/api/actions/snapshot/create_spec.rb +0 -53
  883. data/spec/elasticsearch/api/actions/snapshot/delete_repository_spec.rb +0 -64
  884. data/spec/elasticsearch/api/actions/snapshot/delete_spec.rb +0 -53
  885. data/spec/elasticsearch/api/actions/snapshot/get_repository_spec.rb +0 -36
  886. data/spec/elasticsearch/api/actions/snapshot/get_spec.rb +0 -53
  887. data/spec/elasticsearch/api/actions/snapshot/repository_analize_spec.rb +0 -48
  888. data/spec/elasticsearch/api/actions/snapshot/restore_spec.rb +0 -50
  889. data/spec/elasticsearch/api/actions/snapshot/status_spec.rb +0 -61
  890. data/spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb +0 -36
  891. data/spec/elasticsearch/api/actions/sql/delete_async_spec.rb +0 -47
  892. data/spec/elasticsearch/api/actions/sql/get_async_spec.rb +0 -47
  893. data/spec/elasticsearch/api/actions/sql/get_async_stats_spec.rb +0 -47
  894. data/spec/elasticsearch/api/actions/tasks/cancel_spec.rb +0 -61
  895. data/spec/elasticsearch/api/actions/tasks/get_spec.rb +0 -36
  896. data/spec/elasticsearch/api/actions/tasks/list_spec.rb +0 -39
  897. data/spec/elasticsearch/api/actions/terms_enum_spec.rb +0 -53
  898. data/spec/elasticsearch/api/actions/termvectors_spec.rb +0 -78
  899. data/spec/elasticsearch/api/actions/text_structure/find_field_structure_spec.rb +0 -35
  900. data/spec/elasticsearch/api/actions/text_structure/find_message_structure_spec.rb +0 -35
  901. data/spec/elasticsearch/api/actions/text_structure/find_structure_spec.rb +0 -35
  902. data/spec/elasticsearch/api/actions/text_structure/test_grok_pattern_spec.rb +0 -35
  903. data/spec/elasticsearch/api/actions/transform/get_node_stats_spec.rb +0 -35
  904. data/spec/elasticsearch/api/actions/transform/schedule_now_transform_spec.rb +0 -36
  905. data/spec/elasticsearch/api/actions/update_by_query_spec.rb +0 -35
  906. data/spec/elasticsearch/api/actions/update_document_spec.rb +0 -120
  907. data/spec/elasticsearch/api/actions/watcher/get_settings_spec.rb +0 -35
  908. data/spec/elasticsearch/api/actions/watcher/update_settings_spec.rb +0 -47
  909. data/spec/elasticsearch/api/api_response_spec.rb +0 -65
  910. data/spec/elasticsearch/api/api_spec.rb +0 -40
  911. data/spec/elasticsearch/api/client_spec.rb +0 -42
  912. data/spec/elasticsearch/api/perform_request_spec.rb +0 -86
  913. data/spec/elasticsearch/api/utils_spec.rb +0 -355
  914. data/spec/free/integration/capabilities_spec.rb +0 -26
  915. data/spec/free/integration/health_spec.rb +0 -28
  916. data/spec/free/integration/spec_helper.rb +0 -28
  917. data/spec/platinum/integration/analytics/usage_spec.rb +0 -56
  918. data/spec/platinum/integration/api_key/admin_user_query_api_keys_spec.rb +0 -111
  919. data/spec/platinum/integration/api_key/api_key_admin_user_spec.rb +0 -127
  920. data/spec/platinum/integration/api_key/api_key_cross_cluster_spec.rb +0 -113
  921. data/spec/platinum/integration/api_key/api_key_invalidation_spec.rb +0 -105
  922. data/spec/platinum/integration/api_key/api_key_query_spec.rb +0 -149
  923. data/spec/platinum/integration/api_key/api_key_query_with_aggs_spec.rb +0 -120
  924. data/spec/platinum/integration/api_key/api_key_spec.rb +0 -156
  925. data/spec/platinum/integration/api_key/api_key_update_spec.rb +0 -134
  926. data/spec/platinum/integration/eql/eql_async_spec.rb +0 -72
  927. data/spec/platinum/integration/health/health_spec.rb +0 -49
  928. data/spec/platinum/integration/ml/get_memory_stats_spec.rb +0 -47
  929. data/spec/platinum/integration/platinum_helper.rb +0 -42
  930. data/spec/platinum/integration/security/users_query_spec.rb +0 -49
  931. data/spec/platinum/integration/service_accounts/service_accounts_spec.rb +0 -65
  932. data/spec/platinum/integration/snapshots/snapshots_spec.rb +0 -84
  933. data/spec/platinum/integration/spatial/script_doc_values_spec.rb +0 -147
  934. data/spec/platinum/integration/token/token_spec.rb +0 -94
  935. data/spec/platinum/unit/async_search/delete_test.rb +0 -39
  936. data/spec/platinum/unit/async_search/get_test.rb +0 -39
  937. data/spec/platinum/unit/async_search/status_test.rb +0 -39
  938. data/spec/platinum/unit/async_search/submit_test.rb +0 -50
  939. data/spec/platinum/unit/autoscaling/delete_autoscaling_policy_test.rb +0 -46
  940. data/spec/platinum/unit/autoscaling/get_autoscaling_capacity_test.rb +0 -40
  941. data/spec/platinum/unit/autoscaling/get_autoscaling_policy_test.rb +0 -46
  942. data/spec/platinum/unit/autoscaling/put_autoscaling_policy_test.rb +0 -52
  943. data/spec/platinum/unit/enrich/delete_policy_test.rb +0 -43
  944. data/spec/platinum/unit/eql/delete_test.rb +0 -46
  945. data/spec/platinum/unit/eql/get_status_test.rb +0 -46
  946. data/spec/platinum/unit/eql/get_test.rb +0 -46
  947. data/spec/platinum/unit/eql/search_test.rb +0 -52
  948. data/spec/platinum/unit/graph/explore_test.rb +0 -43
  949. data/spec/platinum/unit/index_lifecycle_management/explain_test.rb +0 -43
  950. data/spec/platinum/unit/index_lifecycle_management/get_status_test.rb +0 -43
  951. data/spec/platinum/unit/index_lifecycle_management/move_to_step.rb +0 -43
  952. data/spec/platinum/unit/index_lifecycle_management/remove_policy_test.rb +0 -43
  953. data/spec/platinum/unit/index_lifecycle_management/retry_policy_test.rb +0 -43
  954. data/spec/platinum/unit/index_lifecycle_management/start_test.rb +0 -43
  955. data/spec/platinum/unit/index_lifecycle_management/stop_test.rb +0 -43
  956. data/spec/platinum/unit/indices/create_data_stream_test.rb +0 -46
  957. data/spec/platinum/unit/indices/data_stream_stats_test.rb +0 -54
  958. data/spec/platinum/unit/indices/delete_data_stream_test.rb +0 -46
  959. data/spec/platinum/unit/indices/downsample_test.rb +0 -58
  960. data/spec/platinum/unit/indices/get_data_stream_test.rb +0 -50
  961. data/spec/platinum/unit/indices/migrate_to_data_stream_test.rb +0 -46
  962. data/spec/platinum/unit/indices/modify_data_stream_test.rb +0 -46
  963. data/spec/platinum/unit/indices/promote_data_stream_test.rb +0 -46
  964. data/spec/platinum/unit/info_test.rb +0 -40
  965. data/spec/platinum/unit/knn_search_test.rb +0 -40
  966. data/spec/platinum/unit/license/delete_test.rb +0 -43
  967. data/spec/platinum/unit/license/get_test.rb +0 -43
  968. data/spec/platinum/unit/license/post_test.rb +0 -43
  969. data/spec/platinum/unit/logstash/delete_pipeline_test.rb +0 -46
  970. data/spec/platinum/unit/logstash/get_pipeline_test.rb +0 -46
  971. data/spec/platinum/unit/logstash/put_pipeline_test.rb +0 -46
  972. data/spec/platinum/unit/machine_learning/clear_trained_model_deployment_cache_test.rb +0 -40
  973. data/spec/platinum/unit/machine_learning/close_job_test.rb +0 -43
  974. data/spec/platinum/unit/machine_learning/delete_datafeed_test.rb +0 -43
  975. data/spec/platinum/unit/machine_learning/delete_expired_data_test.rb +0 -43
  976. data/spec/platinum/unit/machine_learning/delete_filter_test.rb +0 -43
  977. data/spec/platinum/unit/machine_learning/delete_forecast_test.rb +0 -43
  978. data/spec/platinum/unit/machine_learning/delete_job_test.rb +0 -43
  979. data/spec/platinum/unit/machine_learning/delete_model_alias_test.rb +0 -40
  980. data/spec/platinum/unit/machine_learning/delete_model_snapshot_test.rb +0 -43
  981. data/spec/platinum/unit/machine_learning/flush_job_test.rb +0 -43
  982. data/spec/platinum/unit/machine_learning/forecast_test.rb +0 -43
  983. data/spec/platinum/unit/machine_learning/get_buckets_test.rb +0 -43
  984. data/spec/platinum/unit/machine_learning/get_categories_test.rb +0 -43
  985. data/spec/platinum/unit/machine_learning/get_datafeed_stats_test.rb +0 -43
  986. data/spec/platinum/unit/machine_learning/get_datafeeds_test.rb +0 -43
  987. data/spec/platinum/unit/machine_learning/get_filters_test.rb +0 -43
  988. data/spec/platinum/unit/machine_learning/get_influencers_test.rb +0 -43
  989. data/spec/platinum/unit/machine_learning/get_job_stats_test.rb +0 -43
  990. data/spec/platinum/unit/machine_learning/get_jobs_test.rb +0 -43
  991. data/spec/platinum/unit/machine_learning/get_model_snapshots_test.rb +0 -43
  992. data/spec/platinum/unit/machine_learning/get_overall_buckets_test.rb +0 -43
  993. data/spec/platinum/unit/machine_learning/get_records_test.rb +0 -43
  994. data/spec/platinum/unit/machine_learning/open_job_test.rb +0 -43
  995. data/spec/platinum/unit/machine_learning/post_data_test.rb +0 -43
  996. data/spec/platinum/unit/machine_learning/preview_data_frame_analytics_test.rb +0 -64
  997. data/spec/platinum/unit/machine_learning/preview_datafeed_test.rb +0 -43
  998. data/spec/platinum/unit/machine_learning/put_datafeed_test.rb +0 -43
  999. data/spec/platinum/unit/machine_learning/put_filter_test.rb +0 -43
  1000. data/spec/platinum/unit/machine_learning/put_job_test.rb +0 -43
  1001. data/spec/platinum/unit/machine_learning/put_trained_model_alias_test.rb +0 -40
  1002. data/spec/platinum/unit/machine_learning/revert_model_snapshot_test.rb +0 -43
  1003. data/spec/platinum/unit/machine_learning/start_datafeed_test.rb +0 -43
  1004. data/spec/platinum/unit/machine_learning/stop_datafeed_test.rb +0 -43
  1005. data/spec/platinum/unit/machine_learning/update_data_frame_analytics_test.rb +0 -40
  1006. data/spec/platinum/unit/machine_learning/update_datafeed_test.rb +0 -43
  1007. data/spec/platinum/unit/machine_learning/update_filter_test.rb +0 -43
  1008. data/spec/platinum/unit/machine_learning/update_job_test.rb +0 -43
  1009. data/spec/platinum/unit/machine_learning/update_model_snapshot_test.rb +0 -43
  1010. data/spec/platinum/unit/machine_learning/upgrade_job_snapshot_test.rb +0 -43
  1011. data/spec/platinum/unit/machine_learning/validate_detector_test.rb +0 -43
  1012. data/spec/platinum/unit/machine_learning/validate_test.rb +0 -43
  1013. data/spec/platinum/unit/migration/deprecations_test.rb +0 -42
  1014. data/spec/platinum/unit/monitoring/bulk_test.rb +0 -43
  1015. data/spec/platinum/unit/rollup/get_rollup_index_caps_test.rb +0 -40
  1016. data/spec/platinum/unit/security/activate_user_profile_test.rb +0 -40
  1017. data/spec/platinum/unit/security/authenticate_test.rb +0 -43
  1018. data/spec/platinum/unit/security/bulk_update_api_key_test.rb +0 -40
  1019. data/spec/platinum/unit/security/change_password_test.rb +0 -55
  1020. data/spec/platinum/unit/security/clear_api_key_cache_test.rb +0 -40
  1021. data/spec/platinum/unit/security/clear_cached_privileges_test.rb +0 -40
  1022. data/spec/platinum/unit/security/clear_cached_realms_test.rb +0 -43
  1023. data/spec/platinum/unit/security/clear_cached_roles_test.rb +0 -43
  1024. data/spec/platinum/unit/security/delete_privileges_test.rb +0 -43
  1025. data/spec/platinum/unit/security/delete_role_mapping_test.rb +0 -43
  1026. data/spec/platinum/unit/security/delete_role_test.rb +0 -43
  1027. data/spec/platinum/unit/security/delete_user_test.rb +0 -43
  1028. data/spec/platinum/unit/security/disable_user_test.rb +0 -43
  1029. data/spec/platinum/unit/security/enable_user_test.rb +0 -43
  1030. data/spec/platinum/unit/security/get_privileges_test.rb +0 -78
  1031. data/spec/platinum/unit/security/get_role_mapping_test.rb +0 -54
  1032. data/spec/platinum/unit/security/get_role_test.rb +0 -62
  1033. data/spec/platinum/unit/security/get_token_test.rb +0 -43
  1034. data/spec/platinum/unit/security/get_user_privileges_test.rb +0 -43
  1035. data/spec/platinum/unit/security/get_user_profile_test.rb +0 -40
  1036. data/spec/platinum/unit/security/get_user_test.rb +0 -61
  1037. data/spec/platinum/unit/security/grant_api_key_test.rb +0 -41
  1038. data/spec/platinum/unit/security/has_privileges_test.rb +0 -55
  1039. data/spec/platinum/unit/security/invalidate_token_test.rb +0 -43
  1040. data/spec/platinum/unit/security/oidc_authenticate_test.rb +0 -40
  1041. data/spec/platinum/unit/security/oidc_logout_test.rb +0 -40
  1042. data/spec/platinum/unit/security/oidc_prepare_authentication_test.rb +0 -40
  1043. data/spec/platinum/unit/security/put_privileges_test.rb +0 -43
  1044. data/spec/platinum/unit/security/put_role_mapping_test.rb +0 -43
  1045. data/spec/platinum/unit/security/put_role_test.rb +0 -43
  1046. data/spec/platinum/unit/security/put_user_test.rb +0 -43
  1047. data/spec/platinum/unit/security/update_user_profile_data_test.rb +0 -40
  1048. data/spec/platinum/unit/ssl/certificates_test.rb +0 -43
  1049. data/spec/platinum/unit/test_helper.rb +0 -72
  1050. data/spec/platinum/unit/transform/reset_transform_spec.rb +0 -34
  1051. data/spec/platinum/unit/transform/upgrade_transforms_spec.rb +0 -34
  1052. data/spec/platinum/unit/usage_test.rb +0 -40
  1053. data/spec/platinum/unit/watcher/ack_watch_test.rb +0 -55
  1054. data/spec/platinum/unit/watcher/activate_watch_test.rb +0 -43
  1055. data/spec/platinum/unit/watcher/deactivate_watch_test.rb +0 -43
  1056. data/spec/platinum/unit/watcher/delete_watch_test.rb +0 -43
  1057. data/spec/platinum/unit/watcher/execute_watch_test.rb +0 -55
  1058. data/spec/platinum/unit/watcher/get_watch_test.rb +0 -43
  1059. data/spec/platinum/unit/watcher/put_watch_test.rb +0 -43
  1060. data/spec/platinum/unit/watcher/query_watches_test.rb +0 -52
  1061. data/spec/platinum/unit/watcher/start_test.rb +0 -41
  1062. data/spec/platinum/unit/watcher/stats_test.rb +0 -43
  1063. data/spec/platinum/unit/watcher/stop_test.rb +0 -43
  1064. data/spec/rest_api/rest_api_tests_helper.rb +0 -103
  1065. data/spec/rest_api/rest_api_yaml_spec.rb +0 -92
  1066. data/spec/rest_api/run_rspec_matchers.rb +0 -111
  1067. data/spec/rest_api/skipped_tests_free.yml +0 -245
  1068. data/spec/rest_api/skipped_tests_platinum.yml +0 -241
  1069. data/spec/rspec_formatter.rb +0 -31
  1070. data/spec/spec_helper.rb +0 -75
  1071. data/spec/unit/actions/async_search/delete_spec.rb +0 -35
  1072. data/spec/unit/actions/async_search/get_spec.rb +0 -35
  1073. data/spec/unit/actions/async_search/status_spec.rb +0 -34
  1074. data/spec/unit/actions/async_search/submit_spec.rb +0 -87
  1075. data/spec/yaml-test-runner/run.rb +0 -70
  1076. data/utils/Gemfile +0 -28
  1077. data/utils/README.md +0 -48
  1078. data/utils/Thorfile +0 -6
  1079. data/utils/thor/.rubocop.yml +0 -4
  1080. data/utils/thor/endpoint_spec.rb +0 -220
  1081. data/utils/thor/endpoint_specifics.rb +0 -158
  1082. data/utils/thor/generate_source.rb +0 -127
  1083. data/utils/thor/generator/build_hash_helper.rb +0 -64
  1084. data/utils/thor/generator/docs_helper.rb +0 -62
  1085. data/utils/thor/generator/files_helper.rb +0 -68
  1086. data/utils/thor/lister.rb +0 -57
  1087. data/utils/thor/templates/_body.erb +0 -34
  1088. data/utils/thor/templates/_documentation_top.erb +0 -56
  1089. data/utils/thor/templates/_method_setup.erb +0 -37
  1090. data/utils/thor/templates/_perform_request.erb +0 -50
  1091. data/utils/thor/templates/method.erb +0 -79
  1092. data/utils/thor/templates/test.erb +0 -43
  1093. data/utils/thor/templates/test_helper.rb +0 -83
@@ -15,44 +15,131 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module Actions
24
- # Creates a new document in the index.
25
- #
26
- # Returns a 409 response when a document with a same ID already exists in the index.
24
+ # Create a new document in the index.
25
+ # You can index a new JSON document with the +/<target>/_doc/+ or +/<target>/_create/<_id>+ APIs
26
+ # Using +_create+ guarantees that the document is indexed only if it does not already exist.
27
+ # It returns a 409 response when a document with a same ID already exists in the index.
28
+ # To update an existing document, you must use the +/<target>/_doc/+ API.
29
+ # If the Elasticsearch security features are enabled, you must have the following index privileges for the target data stream, index, or index alias:
30
+ # * To add a document using the +PUT /<target>/_create/<_id>+ or +POST /<target>/_create/<_id>+ request formats, you must have the +create_doc+, +create+, +index+, or +write+ index privilege.
31
+ # * To automatically create a data stream or index with this API request, you must have the +auto_configure+, +create_index+, or +manage+ index privilege.
32
+ # Automatic data stream creation requires a matching index template with data stream enabled.
33
+ # **Automatically create data streams and indices**
34
+ # If the request's target doesn't exist and matches an index template with a +data_stream+ definition, the index operation automatically creates the data stream.
35
+ # If the target doesn't exist and doesn't match a data stream template, the operation automatically creates the index and applies any matching index templates.
36
+ # NOTE: Elasticsearch includes several built-in index templates. To avoid naming collisions with these templates, refer to index pattern documentation.
37
+ # If no mapping exists, the index operation creates a dynamic mapping.
38
+ # By default, new fields and objects are automatically added to the mapping if needed.
39
+ # Automatic index creation is controlled by the +action.auto_create_index+ setting.
40
+ # If it is +true+, any index can be created automatically.
41
+ # You can modify this setting to explicitly allow or block automatic creation of indices that match specified patterns or set it to +false+ to turn off automatic index creation entirely.
42
+ # Specify a comma-separated list of patterns you want to allow or prefix each pattern with +++ or +-+ to indicate whether it should be allowed or blocked.
43
+ # When a list is specified, the default behaviour is to disallow.
44
+ # NOTE: The +action.auto_create_index+ setting affects the automatic creation of indices only.
45
+ # It does not affect the creation of data streams.
46
+ # **Routing**
47
+ # By default, shard placement — or routing — is controlled by using a hash of the document's ID value.
48
+ # For more explicit control, the value fed into the hash function used by the router can be directly specified on a per-operation basis using the +routing+ parameter.
49
+ # When setting up explicit mapping, you can also use the +_routing+ field to direct the index operation to extract the routing value from the document itself.
50
+ # This does come at the (very minimal) cost of an additional document parsing pass.
51
+ # If the +_routing+ mapping is defined and set to be required, the index operation will fail if no routing value is provided or extracted.
52
+ # NOTE: Data streams do not support custom routing unless they were created with the +allow_custom_routing+ setting enabled in the template.
53
+ # **Distributed**
54
+ # The index operation is directed to the primary shard based on its route and performed on the actual node containing this shard.
55
+ # After the primary shard completes the operation, if needed, the update is distributed to applicable replicas.
56
+ # **Active shards**
57
+ # To improve the resiliency of writes to the system, indexing operations can be configured to wait for a certain number of active shard copies before proceeding with the operation.
58
+ # If the requisite number of active shard copies are not available, then the write operation must wait and retry, until either the requisite shard copies have started or a timeout occurs.
59
+ # By default, write operations only wait for the primary shards to be active before proceeding (that is to say +wait_for_active_shards+ is +1+).
60
+ # This default can be overridden in the index settings dynamically by setting +index.write.wait_for_active_shards+.
61
+ # To alter this behavior per operation, use the +wait_for_active_shards request+ parameter.
62
+ # Valid values are all or any positive integer up to the total number of configured copies per shard in the index (which is +number_of_replicas++1).
63
+ # Specifying a negative value or a number greater than the number of shard copies will throw an error.
64
+ # For example, suppose you have a cluster of three nodes, A, B, and C and you create an index index with the number of replicas set to 3 (resulting in 4 shard copies, one more copy than there are nodes).
65
+ # If you attempt an indexing operation, by default the operation will only ensure the primary copy of each shard is available before proceeding.
66
+ # This means that even if B and C went down and A hosted the primary shard copies, the indexing operation would still proceed with only one copy of the data.
67
+ # If +wait_for_active_shards+ is set on the request to +3+ (and all three nodes are up), the indexing operation will require 3 active shard copies before proceeding.
68
+ # This requirement should be met because there are 3 active nodes in the cluster, each one holding a copy of the shard.
69
+ # However, if you set +wait_for_active_shards+ to +all+ (or to +4+, which is the same in this situation), the indexing operation will not proceed as you do not have all 4 copies of each shard active in the index.
70
+ # The operation will timeout unless a new node is brought up in the cluster to host the fourth copy of the shard.
71
+ # It is important to note that this setting greatly reduces the chances of the write operation not writing to the requisite number of shard copies, but it does not completely eliminate the possibility, because this check occurs before the write operation starts.
72
+ # After the write operation is underway, it is still possible for replication to fail on any number of shard copies but still succeed on the primary.
73
+ # The +_shards+ section of the API response reveals the number of shard copies on which replication succeeded and failed.
27
74
  #
28
- # @option arguments [String] :id Document ID
29
- # @option arguments [String] :index The name of the index
30
- # @option arguments [String] :wait_for_active_shards Sets the number of shard copies that must be active before proceeding with the index operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)
31
- # @option arguments [String] :refresh If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes. (options: true, false, wait_for)
32
- # @option arguments [String] :routing Specific routing value
33
- # @option arguments [Time] :timeout Explicit operation timeout
34
- # @option arguments [Number] :version Explicit version number for concurrency control
35
- # @option arguments [String] :version_type Specific version type (options: internal, external, external_gte)
36
- # @option arguments [String] :pipeline The pipeline id to preprocess incoming documents with
37
- # @option arguments [Boolean] :include_source_on_error True or false if to include the document source in the error message in case of parsing errors. Defaults to true.
75
+ # @option arguments [String] :id A unique identifier for the document.
76
+ # To automatically generate a document ID, use the +POST /<target>/_doc/+ request format. (*Required*)
77
+ # @option arguments [String] :index The name of the data stream or index to target.
78
+ # If the target doesn't exist and matches the name or wildcard (+*+) pattern of an index template with a +data_stream+ definition, this request creates the data stream.
79
+ # If the target doesn't exist and doesn’t match a data stream template, this request creates the index. (*Required*)
80
+ # @option arguments [Integer] :if_primary_term Only perform the operation if the document has this primary term.
81
+ # @option arguments [Integer] :if_seq_no Only perform the operation if the document has this sequence number.
82
+ # @option arguments [Boolean] :include_source_on_error True or false if to include the document source in the error message in case of parsing errors. Server default: true.
83
+ # @option arguments [String] :op_type Set to +create+ to only index the document if it does not already exist (put if absent).
84
+ # If a document with the specified +_id+ already exists, the indexing operation will fail.
85
+ # The behavior is the same as using the +<index>/_create+ endpoint.
86
+ # If a document ID is specified, this paramater defaults to +index+.
87
+ # Otherwise, it defaults to +create+.
88
+ # If the request targets a data stream, an +op_type+ of +create+ is required.
89
+ # @option arguments [String] :pipeline The ID of the pipeline to use to preprocess incoming documents.
90
+ # If the index has a default ingest pipeline specified, setting the value to +_none+ turns off the default ingest pipeline for this request.
91
+ # If a final pipeline is configured, it will always run regardless of the value of this parameter.
92
+ # @option arguments [String] :refresh If +true+, Elasticsearch refreshes the affected shards to make this operation visible to search.
93
+ # If +wait_for+, it waits for a refresh to make this operation visible to search.
94
+ # If +false+, it does nothing with refreshes. Server default: false.
95
+ # @option arguments [Boolean] :require_alias If +true+, the destination must be an index alias.
96
+ # @option arguments [Boolean] :require_data_stream If +true+, the request's actions must target a data stream (existing or to be created).
97
+ # @option arguments [String] :routing A custom value that is used to route operations to a specific shard.
98
+ # @option arguments [Time] :timeout The period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.
99
+ # Elasticsearch waits for at least the specified timeout period before failing.
100
+ # The actual wait time could be longer, particularly when multiple waits occur.This parameter is useful for situations where the primary shard assigned to perform the operation might not be available when the operation runs.
101
+ # Some reasons for this might be that the primary shard is currently recovering from a gateway or undergoing relocation.
102
+ # By default, the operation will wait on the primary shard to become available for at least 1 minute before failing and responding with an error.
103
+ # The actual wait time could be longer, particularly when multiple waits occur. Server default: 1m.
104
+ # @option arguments [Integer] :version The explicit version number for concurrency control.
105
+ # It must be a non-negative long number.
106
+ # @option arguments [String] :version_type The version type.
107
+ # @option arguments [Integer, String] :wait_for_active_shards The number of shard copies that must be active before proceeding with the operation.
108
+ # You can set it to +all+ or any positive integer up to the total number of shards in the index (+number_of_replicas+1+).
109
+ # The default value of +1+ means it waits for each primary shard to be active. Server default: 1.
38
110
  # @option arguments [Hash] :headers Custom HTTP headers
39
- # @option arguments [Hash] :body The document (*Required*)
111
+ # @option arguments [Hash] :body document
40
112
  #
41
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.17/docs-index_.html
113
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-create
42
114
  #
43
115
  def create(arguments = {})
44
116
  request_opts = { endpoint: arguments[:endpoint] || 'create' }
45
117
 
46
- defined_params = %i[index id].each_with_object({}) do |variable, set_variables|
118
+ defined_params = [:index, :id].each_with_object({}) do |variable, set_variables|
47
119
  set_variables[variable] = arguments[variable] if arguments.key?(variable)
48
120
  end
49
121
  request_opts[:defined_params] = defined_params unless defined_params.empty?
50
122
 
51
- if arguments[:id]
52
- index arguments.update op_type: 'create'
53
- else
54
- index arguments
55
- end
123
+ raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
124
+ raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
125
+ raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
126
+
127
+ arguments = arguments.clone
128
+ headers = arguments.delete(:headers) || {}
129
+
130
+ body = arguments.delete(:body)
131
+
132
+ _id = arguments.delete(:id)
133
+
134
+ _index = arguments.delete(:index)
135
+
136
+ method = Elasticsearch::API::HTTP_PUT
137
+ path = "#{Utils.listify(_index)}/_create/#{Utils.listify(_id)}"
138
+ params = Utils.process_params(arguments)
139
+
140
+ Elasticsearch::API::Response.new(
141
+ perform_request(method, path, params, body, headers, request_opts)
142
+ )
56
143
  end
57
144
  end
58
145
  end
@@ -15,20 +15,23 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module CrossClusterReplication
24
24
  module Actions
25
- # Deletes auto-follow patterns.
25
+ # Delete auto-follow patterns.
26
+ # Delete a collection of cross-cluster replication auto-follow patterns.
26
27
  #
27
- # @option arguments [String] :name The name of the auto follow pattern.
28
- # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
28
+ # @option arguments [String] :name The auto-follow pattern collection to delete. (*Required*)
29
+ # @option arguments [Time] :master_timeout The period to wait for a connection to the master node.
30
+ # If the master node is not available before the timeout expires, the request fails and returns an error.
31
+ # It can also be set to +-1+ to indicate that the request should never timeout. Server default: 30s.
29
32
  # @option arguments [Hash] :headers Custom HTTP headers
30
33
  #
31
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-delete-auto-follow-pattern.html
34
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ccr-delete-auto-follow-pattern
32
35
  #
33
36
  def delete_auto_follow_pattern(arguments = {})
34
37
  request_opts = { endpoint: arguments[:endpoint] || 'ccr.delete_auto_follow_pattern' }
@@ -48,7 +51,7 @@ module Elasticsearch
48
51
  _name = arguments.delete(:name)
49
52
 
50
53
  method = Elasticsearch::API::HTTP_DELETE
51
- path = "_ccr/auto_follow/#{Utils.__listify(_name)}"
54
+ path = "_ccr/auto_follow/#{Utils.listify(_name)}"
52
55
  params = Utils.process_params(arguments)
53
56
 
54
57
  Elasticsearch::API::Response.new(
@@ -15,22 +15,27 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module CrossClusterReplication
24
24
  module Actions
25
- # Creates a new follower index configured to follow the referenced leader index.
25
+ # Create a follower.
26
+ # Create a cross-cluster replication follower index that follows a specific leader index.
27
+ # When the API returns, the follower index exists and cross-cluster replication starts replicating operations from the leader index to the follower index.
26
28
  #
27
- # @option arguments [String] :index The name of the follower index
28
- # @option arguments [String] :wait_for_active_shards Sets the number of shard copies that must be active before returning. Defaults to 0. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)
29
- # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
29
+ # @option arguments [String] :index The name of the follower index. (*Required*)
30
+ # @option arguments [Time] :master_timeout Period to wait for a connection to the master node. Server default: 30s.
31
+ # @option arguments [Integer, String] :wait_for_active_shards Specifies the number of shards to wait on being active before responding. This defaults to waiting on none of the shards to be
32
+ # active.
33
+ # A shard must be restored from the leader index before being active. Restoring a follower shard requires transferring all the
34
+ # remote Lucene segment files to the follower index.
30
35
  # @option arguments [Hash] :headers Custom HTTP headers
31
- # @option arguments [Hash] :body The name of the leader index and other optional ccr related parameters (*Required*)
36
+ # @option arguments [Hash] :body request body
32
37
  #
33
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-put-follow.html
38
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ccr-follow
34
39
  #
35
40
  def follow(arguments = {})
36
41
  request_opts = { endpoint: arguments[:endpoint] || 'ccr.follow' }
@@ -46,12 +51,12 @@ module Elasticsearch
46
51
  arguments = arguments.clone
47
52
  headers = arguments.delete(:headers) || {}
48
53
 
49
- body = arguments.delete(:body)
54
+ body = arguments.delete(:body)
50
55
 
51
56
  _index = arguments.delete(:index)
52
57
 
53
58
  method = Elasticsearch::API::HTTP_PUT
54
- path = "#{Utils.__listify(_index)}/_ccr/follow"
59
+ path = "#{Utils.listify(_index)}/_ccr/follow"
55
60
  params = Utils.process_params(arguments)
56
61
 
57
62
  Elasticsearch::API::Response.new(
@@ -15,20 +15,24 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module CrossClusterReplication
24
24
  module Actions
25
- # Retrieves information about all follower indices, including parameters and status for each follower index
25
+ # Get follower information.
26
+ # Get information about all cross-cluster replication follower indices.
27
+ # For example, the results include follower index names, leader index names, replication options, and whether the follower indices are active or paused.
26
28
  #
27
- # @option arguments [List] :index A comma-separated list of index patterns; use `_all` to perform the operation on all indices
28
- # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
29
+ # @option arguments [String, Array] :index A comma-delimited list of follower index patterns. (*Required*)
30
+ # @option arguments [Time] :master_timeout The period to wait for a connection to the master node.
31
+ # If the master node is not available before the timeout expires, the request fails and returns an error.
32
+ # It can also be set to +-1+ to indicate that the request should never timeout. Server default: 30s.
29
33
  # @option arguments [Hash] :headers Custom HTTP headers
30
34
  #
31
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-get-follow-info.html
35
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ccr-follow-info
32
36
  #
33
37
  def follow_info(arguments = {})
34
38
  request_opts = { endpoint: arguments[:endpoint] || 'ccr.follow_info' }
@@ -43,12 +47,12 @@ module Elasticsearch
43
47
  arguments = arguments.clone
44
48
  headers = arguments.delete(:headers) || {}
45
49
 
46
- body = nil
50
+ body = nil
47
51
 
48
52
  _index = arguments.delete(:index)
49
53
 
50
54
  method = Elasticsearch::API::HTTP_GET
51
- path = "#{Utils.__listify(_index)}/_ccr/info"
55
+ path = "#{Utils.listify(_index)}/_ccr/info"
52
56
  params = Utils.process_params(arguments)
53
57
 
54
58
  Elasticsearch::API::Response.new(
@@ -15,20 +15,23 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module CrossClusterReplication
24
24
  module Actions
25
- # Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices.
25
+ # Get follower stats.
26
+ # Get cross-cluster replication follower stats.
27
+ # The API returns shard-level stats about the "following tasks" associated with each shard for the specified indices.
26
28
  #
27
- # @option arguments [List] :index A comma-separated list of index patterns; use `_all` to perform the operation on all indices
28
- # @option arguments [Time] :timeout Explicit operation timeout
29
+ # @option arguments [String, Array] :index A comma-delimited list of index patterns. (*Required*)
30
+ # @option arguments [Time] :timeout The period to wait for a response.
31
+ # If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
29
32
  # @option arguments [Hash] :headers Custom HTTP headers
30
33
  #
31
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-get-follow-stats.html
34
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ccr-follow-stats
32
35
  #
33
36
  def follow_stats(arguments = {})
34
37
  request_opts = { endpoint: arguments[:endpoint] || 'ccr.follow_stats' }
@@ -43,12 +46,12 @@ module Elasticsearch
43
46
  arguments = arguments.clone
44
47
  headers = arguments.delete(:headers) || {}
45
48
 
46
- body = nil
49
+ body = nil
47
50
 
48
51
  _index = arguments.delete(:index)
49
52
 
50
53
  method = Elasticsearch::API::HTTP_GET
51
- path = "#{Utils.__listify(_index)}/_ccr/stats"
54
+ path = "#{Utils.listify(_index)}/_ccr/stats"
52
55
  params = Utils.process_params(arguments)
53
56
 
54
57
  Elasticsearch::API::Response.new(
@@ -15,21 +15,30 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module CrossClusterReplication
24
24
  module Actions
25
- # Removes the follower retention leases from the leader.
25
+ # Forget a follower.
26
+ # Remove the cross-cluster replication follower retention leases from the leader.
27
+ # A following index takes out retention leases on its leader index.
28
+ # These leases are used to increase the likelihood that the shards of the leader index retain the history of operations that the shards of the following index need to run replication.
29
+ # When a follower index is converted to a regular index by the unfollow API (either by directly calling the API or by index lifecycle management tasks), these leases are removed.
30
+ # However, removal of the leases can fail, for example when the remote cluster containing the leader index is unavailable.
31
+ # While the leases will eventually expire on their own, their extended existence can cause the leader index to hold more history than necessary and prevent index lifecycle management from performing some operations on the leader index.
32
+ # This API exists to enable manually removing the leases when the unfollow API is unable to do so.
33
+ # NOTE: This API does not stop replication by a following index. If you use this API with a follower index that is still actively following, the following index will add back retention leases on the leader.
34
+ # The only purpose of this API is to handle the case of failure to remove the following retention leases after the unfollow API is invoked.
26
35
  #
27
- # @option arguments [String] :index the name of the leader index for which specified follower retention leases should be removed
28
- # @option arguments [Time] :timeout Explicit operation timeout
36
+ # @option arguments [String] :index the name of the leader index for which specified follower retention leases should be removed (*Required*)
37
+ # @option arguments [Time] :timeout Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Server default: 30s.
29
38
  # @option arguments [Hash] :headers Custom HTTP headers
30
- # @option arguments [Hash] :body the name and UUID of the follower index, the name of the cluster containing the follower index, and the alias from the perspective of that cluster for the remote cluster containing the leader index (*Required*)
39
+ # @option arguments [Hash] :body request body
31
40
  #
32
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-post-forget-follower.html
41
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ccr-forget-follower
33
42
  #
34
43
  def forget_follower(arguments = {})
35
44
  request_opts = { endpoint: arguments[:endpoint] || 'ccr.forget_follower' }
@@ -45,12 +54,12 @@ module Elasticsearch
45
54
  arguments = arguments.clone
46
55
  headers = arguments.delete(:headers) || {}
47
56
 
48
- body = arguments.delete(:body)
57
+ body = arguments.delete(:body)
49
58
 
50
59
  _index = arguments.delete(:index)
51
60
 
52
61
  method = Elasticsearch::API::HTTP_POST
53
- path = "#{Utils.__listify(_index)}/_ccr/forget_follower"
62
+ path = "#{Utils.listify(_index)}/_ccr/forget_follower"
54
63
  params = Utils.process_params(arguments)
55
64
 
56
65
  Elasticsearch::API::Response.new(
@@ -15,20 +15,24 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module CrossClusterReplication
24
24
  module Actions
25
- # Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection.
25
+ # Get auto-follow patterns.
26
+ # Get cross-cluster replication auto-follow patterns.
26
27
  #
27
- # @option arguments [String] :name The name of the auto follow pattern.
28
- # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
28
+ # @option arguments [String] :name The auto-follow pattern collection that you want to retrieve.
29
+ # If you do not specify a name, the API returns information for all collections.
30
+ # @option arguments [Time] :master_timeout The period to wait for a connection to the master node.
31
+ # If the master node is not available before the timeout expires, the request fails and returns an error.
32
+ # It can also be set to +-1+ to indicate that the request should never timeout. Server default: 30s.
29
33
  # @option arguments [Hash] :headers Custom HTTP headers
30
34
  #
31
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-get-auto-follow-pattern.html
35
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ccr-get-auto-follow-pattern-1
32
36
  #
33
37
  def get_auto_follow_pattern(arguments = {})
34
38
  request_opts = { endpoint: arguments[:endpoint] || 'ccr.get_auto_follow_pattern' }
@@ -47,7 +51,7 @@ module Elasticsearch
47
51
 
48
52
  method = Elasticsearch::API::HTTP_GET
49
53
  path = if _name
50
- "_ccr/auto_follow/#{Utils.__listify(_name)}"
54
+ "_ccr/auto_follow/#{Utils.listify(_name)}"
51
55
  else
52
56
  '_ccr/auto_follow'
53
57
  end
@@ -15,20 +15,28 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module CrossClusterReplication
24
24
  module Actions
25
- # Pauses an auto-follow pattern
25
+ # Pause an auto-follow pattern.
26
+ # Pause a cross-cluster replication auto-follow pattern.
27
+ # When the API returns, the auto-follow pattern is inactive.
28
+ # New indices that are created on the remote cluster and match the auto-follow patterns are ignored.
29
+ # You can resume auto-following with the resume auto-follow pattern API.
30
+ # When it resumes, the auto-follow pattern is active again and automatically configures follower indices for newly created indices on the remote cluster that match its patterns.
31
+ # Remote indices that were created while the pattern was paused will also be followed, unless they have been deleted or closed in the interim.
26
32
  #
27
- # @option arguments [String] :name The name of the auto follow pattern that should pause discovering new indices to follow.
28
- # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
33
+ # @option arguments [String] :name The name of the auto-follow pattern to pause. (*Required*)
34
+ # @option arguments [Time] :master_timeout The period to wait for a connection to the master node.
35
+ # If the master node is not available before the timeout expires, the request fails and returns an error.
36
+ # It can also be set to +-1+ to indicate that the request should never timeout. Server default: 30s.
29
37
  # @option arguments [Hash] :headers Custom HTTP headers
30
38
  #
31
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-pause-auto-follow-pattern.html
39
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ccr-pause-auto-follow-pattern
32
40
  #
33
41
  def pause_auto_follow_pattern(arguments = {})
34
42
  request_opts = { endpoint: arguments[:endpoint] || 'ccr.pause_auto_follow_pattern' }
@@ -48,7 +56,7 @@ module Elasticsearch
48
56
  _name = arguments.delete(:name)
49
57
 
50
58
  method = Elasticsearch::API::HTTP_POST
51
- path = "_ccr/auto_follow/#{Utils.__listify(_name)}/pause"
59
+ path = "_ccr/auto_follow/#{Utils.listify(_name)}/pause"
52
60
  params = Utils.process_params(arguments)
53
61
 
54
62
  Elasticsearch::API::Response.new(
@@ -15,20 +15,26 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module CrossClusterReplication
24
24
  module Actions
25
- # Pauses a follower index. The follower index will not fetch any additional operations from the leader index.
25
+ # Pause a follower.
26
+ # Pause a cross-cluster replication follower index.
27
+ # The follower index will not fetch any additional operations from the leader index.
28
+ # You can resume following with the resume follower API.
29
+ # You can pause and resume a follower index to change the configuration of the following task.
26
30
  #
27
- # @option arguments [String] :index The name of the follower index that should pause following its leader index.
28
- # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
31
+ # @option arguments [String] :index The name of the follower index. (*Required*)
32
+ # @option arguments [Time] :master_timeout The period to wait for a connection to the master node.
33
+ # If the master node is not available before the timeout expires, the request fails and returns an error.
34
+ # It can also be set to +-1+ to indicate that the request should never timeout. Server default: 30s.
29
35
  # @option arguments [Hash] :headers Custom HTTP headers
30
36
  #
31
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-post-pause-follow.html
37
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ccr-pause-follow
32
38
  #
33
39
  def pause_follow(arguments = {})
34
40
  request_opts = { endpoint: arguments[:endpoint] || 'ccr.pause_follow' }
@@ -43,12 +49,12 @@ module Elasticsearch
43
49
  arguments = arguments.clone
44
50
  headers = arguments.delete(:headers) || {}
45
51
 
46
- body = nil
52
+ body = nil
47
53
 
48
54
  _index = arguments.delete(:index)
49
55
 
50
56
  method = Elasticsearch::API::HTTP_POST
51
- path = "#{Utils.__listify(_index)}/_ccr/pause_follow"
57
+ path = "#{Utils.listify(_index)}/_ccr/pause_follow"
52
58
  params = Utils.process_params(arguments)
53
59
 
54
60
  Elasticsearch::API::Response.new(
@@ -15,21 +15,26 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
  #
18
- # Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
19
- # @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
20
- #
18
+ # This code was automatically generated from the Elasticsearch Specification
19
+ # See https://github.com/elastic/elasticsearch-specification
20
+ # See Elasticsearch::ES_SPECIFICATION_COMMIT for commit hash.
21
21
  module Elasticsearch
22
22
  module API
23
23
  module CrossClusterReplication
24
24
  module Actions
25
- # Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices.
25
+ # Create or update auto-follow patterns.
26
+ # Create a collection of cross-cluster replication auto-follow patterns for a remote cluster.
27
+ # Newly created indices on the remote cluster that match any of the patterns are automatically configured as follower indices.
28
+ # Indices on the remote cluster that were created before the auto-follow pattern was created will not be auto-followed even if they match the pattern.
29
+ # This API can also be used to update auto-follow patterns.
30
+ # NOTE: Follower indices that were configured automatically before updating an auto-follow pattern will remain unchanged even if they do not match against the new patterns.
26
31
  #
27
- # @option arguments [String] :name The name of the auto follow pattern.
28
- # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
32
+ # @option arguments [String] :name The name of the collection of auto-follow patterns. (*Required*)
33
+ # @option arguments [Time] :master_timeout Period to wait for a connection to the master node. Server default: 30s.
29
34
  # @option arguments [Hash] :headers Custom HTTP headers
30
- # @option arguments [Hash] :body The specification of the auto follow pattern (*Required*)
35
+ # @option arguments [Hash] :body request body
31
36
  #
32
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ccr-put-auto-follow-pattern.html
37
+ # @see https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-ccr-put-auto-follow-pattern
33
38
  #
34
39
  def put_auto_follow_pattern(arguments = {})
35
40
  request_opts = { endpoint: arguments[:endpoint] || 'ccr.put_auto_follow_pattern' }
@@ -50,7 +55,7 @@ module Elasticsearch
50
55
  _name = arguments.delete(:name)
51
56
 
52
57
  method = Elasticsearch::API::HTTP_PUT
53
- path = "_ccr/auto_follow/#{Utils.__listify(_name)}"
58
+ path = "_ccr/auto_follow/#{Utils.listify(_name)}"
54
59
  params = Utils.process_params(arguments)
55
60
 
56
61
  Elasticsearch::API::Response.new(