update-data-frame-analytics.asciidoc 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --
  2. :api: update-data-frame-analytics
  3. :request: UpdateDataFrameAnalyticsRequest
  4. :response: UpdateDataFrameAnalyticsResponse
  5. --
  6. [role="xpack"]
  7. [id="{upid}-{api}"]
  8. === Update {dfanalytics-jobs} API
  9. Updates an existing {dfanalytics-job}.
  10. The API accepts an +{request}+ object as a request and returns an +{response}+.
  11. [id="{upid}-{api}-request"]
  12. ==== Update {dfanalytics-jobs} request
  13. An +{request}+ requires the following argument:
  14. ["source","java",subs="attributes,callouts,macros"]
  15. --------------------------------------------------
  16. include-tagged::{doc-tests-file}[{api}-request]
  17. --------------------------------------------------
  18. <1> The configuration of the {dfanalytics-job} update to perform
  19. [id="{upid}-{api}-config"]
  20. ==== {dfanalytics-cap} configuration update
  21. The `DataFrameAnalyticsConfigUpdate` object contains all the details about the {dfanalytics-job}
  22. configuration update and contains the following arguments:
  23. ["source","java",subs="attributes,callouts,macros"]
  24. --------------------------------------------------
  25. include-tagged::{doc-tests-file}[{api}-config-update]
  26. --------------------------------------------------
  27. <1> The {dfanalytics-job} ID
  28. <2> The human-readable description
  29. <3> The memory limit for the model created as part of the analysis process
  30. [id="{upid}-{api}-query-config"]
  31. include::../execution.asciidoc[]
  32. [id="{upid}-{api}-response"]
  33. ==== Response
  34. The returned +{response}+ contains the updated {dfanalytics-job}.
  35. ["source","java",subs="attributes,callouts,macros"]
  36. --------------------------------------------------
  37. include-tagged::{doc-tests-file}[{api}-response]
  38. --------------------------------------------------