Skip to content

Commit f258db9

Browse files
committed
[XPACK] Update delete_data_frame_analytics_endpoint
1 parent 4d15267 commit f258db9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

elasticsearch-xpack/lib/elasticsearch/xpack/api/actions/machine_learning/delete_data_frame_analytics.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module Actions
2424
#
2525
# @option arguments [String] :id The ID of the data frame analytics to delete
2626
# @option arguments [Boolean] :force True if the job should be forcefully deleted
27+
# @option arguments [Time] :timeout Controls the time to wait until a job is deleted. Defaults to 1 minute
2728
# @option arguments [Hash] :headers Custom HTTP headers
2829
#
2930
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/delete-dfanalytics.html
@@ -49,7 +50,8 @@ def delete_data_frame_analytics(arguments = {})
4950
#
5051
# @since 6.2.0
5152
ParamsRegistry.register(:delete_data_frame_analytics, [
52-
:force
53+
:force,
54+
:timeout
5355
].freeze)
5456
end
5557
end

0 commit comments

Comments
 (0)