Elasticsearch/Client/7_0/Direct/ML.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # Licensed to Elasticsearch B.V under one or more agreements.
2 # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3 # See the LICENSE file in the project root for more information
4  
5 package Search::Elasticsearch::Client::7_0::Direct::ML;
6 $Search::Elasticsearch::Client::7_0::Direct::ML::VERSION = '7.30_1'; # TRIAL
7  
8 $Search::Elasticsearch::Client::7_0::Direct::ML::VERSION = '7.301';
9 use Moo;
10 with 'Search::Elasticsearch::Client::7_0::Role::API';
11 with 'Search::Elasticsearch::Role::Client::Direct';
12 use namespace::clean;
13  
14 __PACKAGE__->_install_api('ml');
15  
16 1;
17  
18 =pod
19  
20 =encoding UTF-8
21  
22 =head1 NAME
23  
24 Search::Elasticsearch::Client::7_0::Direct::ML - Plugin providing ML API for Search::Elasticsearch 7.x
25  
26 =head1 VERSION
27  
28 version 7.30_1
29  
30 =head1 SYNOPSIS
31  
32 my $response = $es->ml->start_datafeed(...)
33  
34 =head2 DESCRIPTION
35  
36 This class extends the L<Search::Elasticsearch> client with an C<ml>
37 namespace, to support the
38 L<Machine Learning APIs|https://www.elastic.co/guide/en/x-pack/7.0/xpack-ml.html>.
39  
40 The full documentation for the ML feature is available here:
41 L<https://www.elastic.co/guide/en/x-pack/7.0/xpack-ml.html>
42  
43 =head1 DATAFEED METHODS
44  
45 =head2 C<put_datafeed()>
46  
47 $response = $es->ml->put_datafeed(
48 datafeed_id => $id # required
49 body => {...} # required
50 )
51  
52 The C<put_datafeed()> method enables you to instantiate a datafeed.
53  
54 See the L<put_datafeed docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html>
55 for more information.
56  
57 Query string parameters:
58 C<error_trace>,
59 C<human>
60  
61 =head2 C<delete_datafeed()>
62  
63 $response = $es->xpack->ml->delete_datafeed(
64 datafeed_id => $id # required
65 )
66  
67 The C<delete_datafeed()> method enables you to delete a datafeed.
68  
69 See the L<delete_datafeed docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html>
70 for more information.
71  
72 Query string parameters:
73 C<error_trace>,
74 C<force>,
75 C<human>
76  
77 =head2 C<start_datafeed()>
78  
79 $response = $es->ml->start_datafeed(
80 datafeed_id => $id # required
81 )
82  
83 The C<start_datafeed()> method enables you to start a datafeed.
84  
85 See the L<start_datafeed docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html>
86 for more information.
87  
88 Query string parameters:
89 C<end>,
90 C<error_trace>,
91 C<human>,
92 C<start>,
93 C<timeout>
94  
95 =head2 C<stop_datafeed()>
96  
97 $response = $es->ml->stop_datafeed(
98 datafeed_id => $id # required
99 )
100  
101 The C<stop_datafeed()> method enables you to stop a datafeed.
102  
103 See the L<stop_datafeed docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html>
104 for more information.
105  
106 Query string parameters:
107 C<allow_no_datafeeds>,
108 C<error_trace>,
109 C<force>,
110 C<human>,
111 C<timeout>
112  
113 =head2 C<get_datafeeds()>
114  
115 $response = $es->ml->get_datafeeds(
116 datafeed_id => $id # optional
117 )
118  
119 The C<get_datafeeds()> method enables you to retrieve configuration information for datafeeds.
120  
121 See the L<get_datafeeds docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html>
122 for more information.
123  
124 Query string parameters:
125 C<allow_no_datafeeds>,
126 C<error_trace>,
127 C<human>
128  
129 =head2 C<get_datafeed_stats()>
130  
131 $response = $es->ml->get_datafeed_stats(
132 datafeed_id => $id # optional
133 )
134  
135 The C<get_datafeed_stats()> method enables you to retrieve configuration information for datafeeds.
136  
137 See the L<get_datafeed_stats docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html>
138 for more information.
139  
140 Query string parameters:
141 C<allow_no_datafeeds>,
142 C<error_trace>,
143 C<human>
144  
145 =head2 C<preview_datafeed()>
146  
147 $response = $es->ml->preview_datafeed(
148 datafeed_id => $id # required
149 )
150  
151 The C<preview_datafeed()> method enables you to preview a datafeed.
152  
153 See the L<preview_datafeed docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html>
154 for more information.
155  
156 Query string parameters:
157 C<error_trace>,
158 C<human>
159  
160 =head2 C<update_datafeed()>
161  
162 $response = $es->ml->update_datafeed(
163 datafeed_id => $id # required
164 body => {...} # required
165 )
166  
167 The C<update_datafeed()> method enables you to update certain properties of a datafeed.
168  
169 See the L<update_datafeed docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html>
170 for more information.
171  
172 Query string parameters:
173 C<error_trace>,
174 C<human>
175  
176 =head1 JOB METHODS
177  
178 =head2 C<put_job()>
179  
180 $response = $es->ml->put_job(
181 job_id => $id # required
182 body => {...} # required
183 )
184  
185 The C<put_job()> method enables you to instantiate a job.
186  
187 See the L<put_job docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html>
188 for more information.
189  
190 Query string parameters:
191 C<error_trace>,
192 C<human>
193  
194 =head2 C<delete_job()>
195  
196 $response = $es->ml->delete_job(
197 job_id => $id # required
198 )
199  
200 The C<delete_job()> method enables you to delete a job.
201  
202 See the L<delete_job docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html>
203 for more information.
204  
205 Query string parameters:
206 C<error_trace>,
207 C<force>,
208 C<human>,
209 C<wait_for_completion>
210  
211 =head2 C<open_job()>
212  
213 $response = $es->ml->open_job(
214 job_id => $id # required
215 )
216  
217 The C<open_job()> method enables you to open a closed job.
218  
219 See the L<open_job docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html>
220 for more information.
221  
222 Query string parameters:
223 C<error_trace>,
224 C<human>
225  
226 =head2 C<close_job()>
227  
228 $response = $es->ml->close_job(
229 job_id => $id # required
230 )
231  
232 The C<close_job()> method enables you to close an open job.
233  
234 See the L<close_job docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html>
235 for more information.
236  
237 Query string parameters:
238 C<allow_no_jobs>,
239 C<error_trace>,
240 C<force>,
241 C<human>,
242 C<timeout>
243  
244 =head2 C<get_jobs()>
245  
246 $response = $es->ml->get_jobs(
247 job_id => $id # optional
248 )
249  
250 The C<get_jobs()> method enables you to retrieve configuration information for jobs.
251  
252 See the L<get_jobs docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html>
253 for more information.
254  
255 Query string parameters:
256 C<allow_no_jobs>,
257 C<error_trace>,
258 C<human>
259  
260 =head2 C<get_job_stats()>
261  
262 $response = $es->ml->get_jobs_stats(
263 job_id => $id # optional
264 )
265  
266 The C<get_jobs_stats()> method enables you to retrieve usage information for jobs.
267  
268 See the L<get_job_statss docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html>
269 for more information.
270  
271 Query string parameters:
272 C<allow_no_jobs>,
273 C<error_trace>,
274 C<human>
275  
276 =head2 C<flush_job()>
277  
278 $response = $es->ml->flush_job(
279 job_id => $id # required
280 )
281  
282 The C<flush_job()> method forces any buffered data to be processed by the job.
283  
284 See the L<flush_job docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html>
285 for more information.
286  
287 Query string parameters:
288 C<advance_time>,
289 C<calc_interm>,
290 C<end>,
291 C<error_trace>,
292 C<human>,
293 C<skip_time>,
294 C<start>
295  
296 =head2 C<post_data()>
297  
298 $response = $es->ml->post_data(
299 job_id => $id # required
300 body => [data] # required
301 )
302  
303 The C<post_data()> method enables you to send data to an anomaly detection job for analysis.
304  
305 See the L<post_data docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html>
306 for more information.
307  
308 Query string parameters:
309 C<error_trace>,
310 C<human>,
311 C<reset_end>,
312 C<reset_start>
313  
314 =head2 C<update_job()>
315  
316 $response = $es->ml->update_job(
317 job_id => $id # required
318 body => {...} # required
319 )
320  
321 The C<update_job()> method enables you to update certain properties of a job.
322  
323 See the L<update_job docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html>
324 for more information.
325  
326 Query string parameters:
327 C<error_trace>,
328 C<human>
329  
330 =head2 C<delete_expired_data>
331  
332 $response = $es->ml->delete_expired_data(
333 )
334  
335 The C<delete_expired_data()> method deletes expired machine learning data.
336  
337 See the L<delete_expired_data docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html>
338 for more information.
339  
340 Query string parameters:
341 C<error_trace>,
342 C<human>
343  
344 =head1 CALENDAR METHODS
345  
346 =head2 C<put_calendar()>
347  
348 $response = $es->ml->put_calendar(
349 calendar_id => $id # required
350 body => {...} # optional
351 )
352  
353 The C<put_calendar()> method creates a new calendar.
354  
355 Query string parameters:
356 C<error_trace>,
357 C<human>
358  
359 See the L<put calendar docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar.html>
360 for more information.
361  
362 =head2 C<delete_calendar()>
363  
364 $response = $es->ml->delete_calendar(
365 calendar_id => $id # required
366 )
367  
368 The C<delete_calendar()> method deletes the specified calendar
369  
370 Query string parameters:
371 C<error_trace>,
372 C<human>
373  
374 See the L<delete_calendar docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar.html>
375 for more information.
376  
377 =head2 C<put_calendar_job()>
378  
379 $response = $es->ml->put_calendar_job(
380 calendar_id => $id, # required
381 job_id => $id # required
382 )
383  
384 The C<put_calendar_job()> method adds a job to a calendar.
385  
386 Query string parameters:
387 C<error_trace>,
388 C<human>
389  
390 See the L<put_calendar_job docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar-job.html>
391 for more information.
392  
393 =head2 C<delete_calendar_job()>
394  
395 $response = $es->ml->delete_calendar_job(
396 calendar_id => $id, # required
397 job_id => $id # required
398 )
399  
400 The C<delete_calendar_job()> method deletes a job from a calendar.
401  
402 Query string parameters:
403 C<error_trace>,
404 C<human>
405  
406 See the L<delete_calendar_job docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-job.html>
407 for more information.
408  
409 =head2 C<put_calendar_event()>
410  
411 $response = $es->ml->post_calendar_events(
412 calendar_id => $id, # required
413 body => {...} # required
414 )
415  
416 The C<post_calendar_events()> method adds scheduled events to a calendar.
417  
418 Query string parameters:
419 C<error_trace>,
420 C<human>
421  
422 See the L<post_calendar_events docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-calendar-events.html>
423 for more information.
424  
425 =head2 C<delete_calendar_event()>
426  
427 $response = $es->ml->delete_calendar_event(
428 calendar_id => $id, # required
429 event_id => $id # required
430 )
431  
432 The C<delete_calendar_event()> method deletes an event from a calendar.
433  
434 Query string parameters:
435 C<error_trace>,
436 C<human>
437  
438 See the L<delete_calendar_event docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-event.html>
439 for more information.
440  
441 =head2 C<get_calendars()>
442  
443 $response = $es->ml->get_calendars(
444 calendar_id => $id, # optional
445 )
446  
447 The C<get_calendars()> method returns the specified calendar or all calendars.
448  
449 Query string parameters:
450 C<error_trace>,
451 C<from>,
452 C<human>,
453 C<size>
454  
455 See the L<get_calendars docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar-event.html>
456 for more information.
457  
458 =head2 C<get_calendar_events()>
459  
460 $response = $es->ml->get_calendar_events(
461 calendar_id => $id, # required
462 )
463  
464 The C<get_calendar_events()> method retrieves events from a calendar.
465  
466 Query string parameters:
467 C<end>,
468 C<error_trace>,
469 C<from>,
470 C<human>,
471 C<job_id>,
472 C<size>,
473 C<start>
474  
475 See the L<get_calendar_events docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar-event.html>
476 for more information.
477  
478 =head1 FILTER METHODS
479  
480 =head2 C<put_filter()>
481  
482 $response = $es->ml->put_filter(
483 filter_id => $id, # required
484 body => {...} # required
485 )
486  
487 The C<put_filter()> method creates a named filter.
488  
489 Query string parameters:
490 C<error_trace>,
491 C<human>
492  
493 See the L<put_filter docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-filter.html>
494 for more information.
495  
496 =head2 C<update_filter()>
497  
498 $response = $es->ml->update_filter(
499 filter_id => $id, # required
500 body => {...} # required
501 )
502  
503 The C<update_filter()> method updates the description of a filter, adds items, or removes items.
504  
505 Query string parameters:
506 C<error_trace>,
507 C<human>
508  
509 See the L<update_filter docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-filter.html>
510 for more information.
511  
512 =head2 C<get_filters()>
513  
514 $response = $es->ml->get_filters(
515 filter_id => $id, # optional
516 )
517  
518 The C<get_filters()> method retrieves a named filter or all filters.
519  
520 Query string parameters:
521 C<error_trace>,
522 C<from>,
523 C<human>,
524 C<size>
525  
526 See the L<get_filters docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filters.html>
527 for more information.
528  
529 =head2 C<delete_filter()>
530  
531 $response = $es->ml->delete_filter(
532 filter_id => $id, # required
533 )
534  
535 The C<delete_filter()> method deletes a named filter.
536  
537 Query string parameters:
538 C<error_trace>,
539 C<human>
540  
541 See the L<delete_filters docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-filter.html>
542 for more information.
543  
544 =head1 FORECAST METHODS
545  
546 =head2 C<forecast()>
547  
548 $response = $es->ml->forecast(
549 job_id => $id # required
550 )
551  
552 The C<forecast()> method enables you to create a new forecast
553  
554 See the L<forecast docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-forecast.html>
555 for more information.
556  
557 Query string parameters:
558 C<duration>,
559 C<error_trace>,
560 C<expires_in>,
561 C<human>
562  
563 =head2 C<delete_forecast()>
564  
565 $response = $es->ml->delete_forecast(
566 forecast_id => $id, # required
567 job_id => $id # required
568 )
569  
570 The C<delete_forecast()> method enables you to delete an existing forecast.
571  
572 See the L<delete_forecast docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html>
573 for more information.
574  
575 Query string parameters:
576 C<allow_no_forecasts>,
577 C<error_trace>,
578 C<human>,
579 C<timeout>
580  
581 =head1 MODEL SNAPSHOT METHODS
582  
583 =head2 C<delete_model_snapshot()>
584  
585 $response = $es->ml->delete_model_snapshot(
586 snapshot_id => $id # required
587 )
588  
589 The C<delete_model_snapshot()> method enables you to delete an existing model snapshot.
590  
591 See the L<delete_model_snapshot docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html>
592 for more information.
593  
594 Query string parameters:
595 C<error_trace>,
596 C<human>
597  
598 =head2 C<get_model_snapshots()>
599  
600 $response = $es->ml->get_model_snapshots(
601 job_id => $job_id, # required
602 snapshot_id => $snapshot_id # optional
603 )
604  
605 The C<get_model_snapshots()> method enables you to retrieve information about model snapshots.
606  
607 See the L<get_model_snapshots docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html>
608 for more information.
609  
610 Query string parameters:
611 C<desc>,
612 C<end>,
613 C<error_trace>,
614 C<from>,
615 C<human>,
616 C<size>,
617 C<sort>,
618 C<start>
619  
620 =head2 C<revert_model_snapshot()>
621  
622 $response = $es->ml->revert_model_snapshot(
623 job_id => $job_id, # required
624 snapshot_id => $snapshot_id # required
625 )
626  
627 The C<revert_model_snapshots()> method enables you to revert to a specific snapshot.
628  
629 See the L<revert_model_snapshot docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html>
630 for more information.
631  
632 Query string parameters:
633 C<delete_intervening_results>,
634 C<error_trace>,
635 C<human>
636  
637 =head2 C<update_model_snapshot()>
638  
639 $response = $es->ml->update_model_snapshot(
640 job_id => $job_id, # required
641 snapshot_id => $snapshot_id # required
642 )
643  
644 The C<update_model_snapshots()> method enables you to update certain properties of a snapshot.
645  
646 See the L<update_model_snapshot docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html>
647 for more information.
648  
649 Query string parameters:
650 C<error_trace>,
651 C<human>
652  
653 =head1 RESULT METHODS
654  
655 =head2 C<get_buckets()>
656  
657 $response = $es->ml->get_buckets(
658 job_id => $job_id, # required
659 timestamp => $timestamp # optional
660 )
661  
662 The C<get_buckets()> method enables you to retrieve job results for one or more buckets.
663  
664 See the L<get_buckets docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html>
665 for more information.
666  
667 Query string parameters:
668 C<anomaly_score>,
669 C<desc>,
670 C<end>,
671 C<error_trace>,
672 C<exclude_interim>,
673 C<expand>,
674 C<from>,
675 C<human>,
676 C<size>,
677 C<sort>,
678 C<start>
679  
680 =head2 C<get_overall_buckets()>
681  
682 $response = $es->ml->get_overall_buckets(
683 job_id => $job_id, # required
684 )
685  
686 The C<get_overall_buckets()> method retrieves overall bucket results that summarize the bucket results of multiple jobs.
687  
688 See the L<get_overall_buckets docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html>
689 for more information.
690  
691 Query string parameters:
692 C<allow_no_jobs>,
693 C<bucket_span>,
694 C<end>,
695 C<error_trace>,
696 C<exclude_interim>,
697 C<human>,
698 C<overall_score>,
699 C<start>,
700 C<top_n>
701  
702 =head2 C<get_categories()>
703  
704 $response = $es->ml->get_categories(
705 job_id => $job_id, # required
706 category_id => $category_id # optional
707 )
708  
709 The C<get_categories()> method enables you to retrieve job results for one or more categories.
710  
711 See the L<get_categories docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html>
712 for more information.
713  
714 Query string parameters:
715 C<error_trace>,
716 C<from>,
717 C<human>,
718 C<size>
719  
720 =head2 C<get_influencers()>
721  
722 $response = $es->ml->get_influencers(
723 job_id => $job_id, # required
724 )
725  
726 The C<get_influencers()> method enables you to retrieve job results for one or more influencers.
727  
728 See the L<get_influencers docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html>
729 for more information.
730  
731 Query string parameters:
732 C<desc>,
733 C<end>,
734 C<error_trace>,
735 C<exclude_interim>,
736 C<expand>,
737 C<from>,
738 C<human>,
739 C<influencer_score>,
740 C<size>,
741 C<sort>,
742 C<start>
743  
744 =head2 C<get_records()>
745  
746 $response = $es->ml->get_records(
747 job_id => $job_id, # required
748 )
749  
750 The C<get_records()> method enables you to retrieve anomaly records for a job.
751  
752 See the L<get_records docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html>
753 for more information.
754  
755 Query string parameters:
756 C<desc>,
757 C<end>,
758 C<error_trace>,
759 C<exclude_interim>,
760 C<expand>,
761 C<from>,
762 C<human>,
763 C<record_score>,
764 C<size>,
765 C<sort>,
766 C<start>
767  
768 =head1 FILE STRUCTURE METHODS
769  
770 =head2 C<find_file_structure>
771  
772 $response = $es->ml->find_file_structure(
773 body => { ... }, # required
774 )
775  
776 The C<find_file_structure()> method finds the structure of a text file which contains data
777 that is suitable to be ingested into Elasticsearch.
778  
779 See the L<find_file_structure docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-find-file-structure.html>
780 for more information.
781  
782 Query string parameters:
783 C<charset>,
784 C<column_names>,
785 C<delimiter>,
786 C<error_trace>,
787 C<explain>,
788 C<format>,
789 C<grok_pattern>,
790 C<has_header_row>,
791 C<human>,
792 C<lines_to_sample>,
793 C<quote>,
794 C<should_trim_fields>,
795 C<timeout>,
796 C<timestamp_field>,
797 C<timestamp_format>
798  
799 =head1 INFO METHODS
800  
801 =head2 C<info>
802  
803 $response = $es->ml->info();
804  
805 The C<info()> method returns defaults and limits used by machine learning.
806  
807 See the L<find_file_structure docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/get-ml-info.html>
808 for more information.
809  
810 Query string parameters:
811 C<error_trace>,
812 C<human>
813  
814 =head1 UPGRADE METHODS
815  
816 =head2 C<set_upgrade_mode>
817  
818 $response = $es->ml->set_upgrade_mode();
819  
820 The C<set_upgrade_mode()> method sets a cluster wide C<upgrade_mode> setting that prepares
821 machine learning indices for an upgrade.
822  
823 See the L<set_upgrade_mode docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-set-upgrade-mode.html>
824 for more information.
825  
826 Query string parameters:
827 C<enabled>,
828 C<error_trace>,
829 C<human>,
830 C<timeout>
831  
832 =head1 AUTHOR
833  
834 Enrico Zimuel <enrico.zimuel@elastic.co>
835  
836 =head1 COPYRIGHT AND LICENSE
837  
838 This software is Copyright (c) 2020 by Elasticsearch BV.
839  
840 This is free software, licensed under:
841  
842 The Apache License, Version 2.0, January 2004
843  
844 =cut
845  
846 __END__