Skip to content

Commit 4fac69a

Browse files
Auto-generated API code
1 parent bef0c24 commit 4fac69a

File tree

3 files changed

+20
-127
lines changed

3 files changed

+20
-127
lines changed

elasticsearch_serverless/_async/client/esql.py

Lines changed: 0 additions & 107 deletions
This file was deleted.

elasticsearch_serverless/_async/client/ml.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async def close_job(
4242
body: t.Optional[t.Dict[str, t.Any]] = None,
4343
) -> ObjectApiResponse[t.Any]:
4444
"""
45-
Close anomaly detection jobs A job can be opened and closed multiple times throughout
45+
Close anomaly detection jobs. A job can be opened and closed multiple times throughout
4646
its lifecycle. A closed job cannot receive data or perform analysis operations,
4747
but you can still explore and navigate results. When you close a job, it runs
4848
housekeeping tasks such as pruning the model history, flushing buffers, calculating
@@ -393,7 +393,7 @@ async def delete_job(
393393
wait_for_completion: t.Optional[bool] = None,
394394
) -> ObjectApiResponse[t.Any]:
395395
"""
396-
Deletes an anomaly detection job. All job configuration, model state and results
396+
Delete an anomaly detection job. All job configuration, model state and results
397397
are deleted. It is not currently possible to delete multiple jobs using wildcards
398398
or a comma separated list. If you delete a job that has a datafeed, the request
399399
first tries to delete the datafeed. This behavior is equivalent to calling the
@@ -1665,12 +1665,12 @@ async def open_job(
16651665
body: t.Optional[t.Dict[str, t.Any]] = None,
16661666
) -> ObjectApiResponse[t.Any]:
16671667
"""
1668-
Opens one or more anomaly detection jobs. An anomaly detection job must be opened
1669-
in order for it to be ready to receive and analyze data. It can be opened and
1670-
closed multiple times throughout its lifecycle. When you open a new job, it starts
1671-
with an empty model. When you open an existing job, the most recent model state
1672-
is automatically loaded. The job is ready to resume its analysis from where it
1673-
left off, once new data is received.
1668+
Open anomaly detection jobs. An anomaly detection job must be opened in order
1669+
for it to be ready to receive and analyze data. It can be opened and closed multiple
1670+
times throughout its lifecycle. When you open a new job, it starts with an empty
1671+
model. When you open an existing job, the most recent model state is automatically
1672+
loaded. The job is ready to resume its analysis from where it left off, once
1673+
new data is received.
16741674
16751675
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-open-job.html>`_
16761676
@@ -2471,8 +2471,8 @@ async def put_job(
24712471
body: t.Optional[t.Dict[str, t.Any]] = None,
24722472
) -> ObjectApiResponse[t.Any]:
24732473
"""
2474-
Instantiates an anomaly detection job. If you include a `datafeed_config`, you
2475-
must have read index privileges on the source index.
2474+
Create an anomaly detection job. If you include a `datafeed_config`, you must
2475+
have read index privileges on the source index.
24762476
24772477
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-put-job.html>`_
24782478

elasticsearch_serverless/_sync/client/ml.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def close_job(
4242
body: t.Optional[t.Dict[str, t.Any]] = None,
4343
) -> ObjectApiResponse[t.Any]:
4444
"""
45-
Close anomaly detection jobs A job can be opened and closed multiple times throughout
45+
Close anomaly detection jobs. A job can be opened and closed multiple times throughout
4646
its lifecycle. A closed job cannot receive data or perform analysis operations,
4747
but you can still explore and navigate results. When you close a job, it runs
4848
housekeeping tasks such as pruning the model history, flushing buffers, calculating
@@ -393,7 +393,7 @@ def delete_job(
393393
wait_for_completion: t.Optional[bool] = None,
394394
) -> ObjectApiResponse[t.Any]:
395395
"""
396-
Deletes an anomaly detection job. All job configuration, model state and results
396+
Delete an anomaly detection job. All job configuration, model state and results
397397
are deleted. It is not currently possible to delete multiple jobs using wildcards
398398
or a comma separated list. If you delete a job that has a datafeed, the request
399399
first tries to delete the datafeed. This behavior is equivalent to calling the
@@ -1665,12 +1665,12 @@ def open_job(
16651665
body: t.Optional[t.Dict[str, t.Any]] = None,
16661666
) -> ObjectApiResponse[t.Any]:
16671667
"""
1668-
Opens one or more anomaly detection jobs. An anomaly detection job must be opened
1669-
in order for it to be ready to receive and analyze data. It can be opened and
1670-
closed multiple times throughout its lifecycle. When you open a new job, it starts
1671-
with an empty model. When you open an existing job, the most recent model state
1672-
is automatically loaded. The job is ready to resume its analysis from where it
1673-
left off, once new data is received.
1668+
Open anomaly detection jobs. An anomaly detection job must be opened in order
1669+
for it to be ready to receive and analyze data. It can be opened and closed multiple
1670+
times throughout its lifecycle. When you open a new job, it starts with an empty
1671+
model. When you open an existing job, the most recent model state is automatically
1672+
loaded. The job is ready to resume its analysis from where it left off, once
1673+
new data is received.
16741674
16751675
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-open-job.html>`_
16761676
@@ -2471,8 +2471,8 @@ def put_job(
24712471
body: t.Optional[t.Dict[str, t.Any]] = None,
24722472
) -> ObjectApiResponse[t.Any]:
24732473
"""
2474-
Instantiates an anomaly detection job. If you include a `datafeed_config`, you
2475-
must have read index privileges on the source index.
2474+
Create an anomaly detection job. If you include a `datafeed_config`, you must
2475+
have read index privileges on the source index.
24762476
24772477
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-put-job.html>`_
24782478

0 commit comments

Comments
 (0)