lib/elasticsearch/xpack/api/actions/transform/delete_transform.rb in elasticsearch-xpack-7.16.0 vs lib/elasticsearch/xpack/api/actions/transform/delete_transform.rb in elasticsearch-xpack-7.16.1

- old
+ new

@@ -22,10 +22,11 @@ module Actions # Deletes an existing transform. # # @option arguments [String] :transform_id The id of the transform to delete # @option arguments [Boolean] :force When `true`, the transform is deleted regardless of its current state. The default value is `false`, meaning that the transform must be `stopped` before it can be deleted. + # @option arguments [Time] :timeout Controls the time to wait for the transform deletion # @option arguments [Hash] :headers Custom HTTP headers # # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.16/delete-transform.html # def delete_transform(arguments = {}) @@ -47,10 +48,11 @@ # Register this action with its valid params when the module is loaded. # # @since 6.2.0 ParamsRegistry.register(:delete_transform, [ - :force + :force, + :timeout ].freeze) end end end end