Skip to content

Commit 607f3f6

Browse files
Auto-generated API code (#2836)
1 parent b011e84 commit 607f3f6

File tree

8 files changed

+816
-176
lines changed

8 files changed

+816
-176
lines changed

elasticsearch/_async/client/indices.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3009,7 +3009,7 @@ async def migrate_to_data_stream(
30093009
The write index for the alias becomes the write index for the stream.</p>
30103010
30113011
3012-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/data-streams.html>`_
3012+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-indices-migrate-to-data-stream>`_
30133013
30143014
:param name: Name of the index alias to convert to a data stream.
30153015
:param master_timeout: Period to wait for a connection to the master node. If
@@ -3065,7 +3065,7 @@ async def modify_data_stream(
30653065
Performs one or more data stream modification actions in a single atomic operation.</p>
30663066
30673067
3068-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/data-streams.html>`_
3068+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-indices-modify-data-stream>`_
30693069
30703070
:param actions: Actions to perform.
30713071
"""
@@ -3230,7 +3230,7 @@ async def promote_data_stream(
32303230
This will affect the lifecycle management of the data stream and interfere with the data stream size and retention.</p>
32313231
32323232
3233-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/data-streams.html>`_
3233+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-indices-promote-data-stream>`_
32343234
32353235
:param name: The name of the data stream
32363236
:param master_timeout: Period to wait for a connection to the master node. If
@@ -3296,7 +3296,7 @@ async def put_alias(
32963296
Adds a data stream or index to an alias.</p>
32973297
32983298
3299-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/indices-aliases.html>`_
3299+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-indices-put-alias>`_
33003300
33013301
:param index: Comma-separated list of data streams or indices to add. Supports
33023302
wildcards (`*`). Wildcard patterns that match both data streams and indices
@@ -3403,7 +3403,7 @@ async def put_data_lifecycle(
34033403
Update the data stream lifecycle of the specified data streams.</p>
34043404
34053405
3406-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/data-streams-put-lifecycle.html>`_
3406+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-indices-put-data-lifecycle>`_
34073407
34083408
:param name: Comma-separated list of data streams used to limit the request.
34093409
Supports wildcards (`*`). To target all data streams use `*` or `_all`.
@@ -3531,7 +3531,7 @@ async def put_index_template(
35313531
If an entry already exists with the same key, then it is overwritten by the new definition.</p>
35323532
35333533
3534-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/indices-put-template.html>`_
3534+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-indices-put-index-template>`_
35353535
35363536
:param name: Index or template name
35373537
:param allow_auto_create: This setting overrides the value of the `action.auto_create_index`
@@ -5465,7 +5465,7 @@ async def update_aliases(
54655465
Adds a data stream or index to an alias.</p>
54665466
54675467
5468-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/indices-aliases.html>`_
5468+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-indices-update-aliases>`_
54695469
54705470
:param actions: Actions to perform.
54715471
:param master_timeout: Period to wait for a connection to the master node. If

elasticsearch/_async/client/inference.py

Lines changed: 364 additions & 76 deletions
Large diffs are not rendered by default.

elasticsearch/_async/client/simulate.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class SimulateClient(NamespacedClient):
3535
body_fields=(
3636
"docs",
3737
"component_template_substitutions",
38-
"index_template_subtitutions",
38+
"index_template_substitutions",
3939
"mapping_addition",
4040
"pipeline_substitutions",
4141
),
@@ -52,7 +52,7 @@ async def ingest(
5252
error_trace: t.Optional[bool] = None,
5353
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
5454
human: t.Optional[bool] = None,
55-
index_template_subtitutions: t.Optional[
55+
index_template_substitutions: t.Optional[
5656
t.Mapping[str, t.Mapping[str, t.Any]]
5757
] = None,
5858
mapping_addition: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -90,7 +90,7 @@ async def ingest(
9090
an index argument.
9191
:param component_template_substitutions: A map of component template names to
9292
substitute component template definition objects.
93-
:param index_template_subtitutions: A map of index template names to substitute
93+
:param index_template_substitutions: A map of index template names to substitute
9494
index template definition objects.
9595
:param mapping_addition:
9696
:param pipeline: The pipeline to use as the default pipeline. This value can
@@ -127,8 +127,8 @@ async def ingest(
127127
__body["component_template_substitutions"] = (
128128
component_template_substitutions
129129
)
130-
if index_template_subtitutions is not None:
131-
__body["index_template_subtitutions"] = index_template_subtitutions
130+
if index_template_substitutions is not None:
131+
__body["index_template_substitutions"] = index_template_substitutions
132132
if mapping_addition is not None:
133133
__body["mapping_addition"] = mapping_addition
134134
if pipeline_substitutions is not None:

elasticsearch/_sync/client/indices.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3009,7 +3009,7 @@ def migrate_to_data_stream(
30093009
The write index for the alias becomes the write index for the stream.</p>
30103010
30113011
3012-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/data-streams.html>`_
3012+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-indices-migrate-to-data-stream>`_
30133013
30143014
:param name: Name of the index alias to convert to a data stream.
30153015
:param master_timeout: Period to wait for a connection to the master node. If
@@ -3065,7 +3065,7 @@ def modify_data_stream(
30653065
Performs one or more data stream modification actions in a single atomic operation.</p>
30663066
30673067
3068-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/data-streams.html>`_
3068+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-indices-modify-data-stream>`_
30693069
30703070
:param actions: Actions to perform.
30713071
"""
@@ -3230,7 +3230,7 @@ def promote_data_stream(
32303230
This will affect the lifecycle management of the data stream and interfere with the data stream size and retention.</p>
32313231
32323232
3233-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/data-streams.html>`_
3233+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-indices-promote-data-stream>`_
32343234
32353235
:param name: The name of the data stream
32363236
:param master_timeout: Period to wait for a connection to the master node. If
@@ -3296,7 +3296,7 @@ def put_alias(
32963296
Adds a data stream or index to an alias.</p>
32973297
32983298
3299-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/indices-aliases.html>`_
3299+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-indices-put-alias>`_
33003300
33013301
:param index: Comma-separated list of data streams or indices to add. Supports
33023302
wildcards (`*`). Wildcard patterns that match both data streams and indices
@@ -3403,7 +3403,7 @@ def put_data_lifecycle(
34033403
Update the data stream lifecycle of the specified data streams.</p>
34043404
34053405
3406-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/data-streams-put-lifecycle.html>`_
3406+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-indices-put-data-lifecycle>`_
34073407
34083408
:param name: Comma-separated list of data streams used to limit the request.
34093409
Supports wildcards (`*`). To target all data streams use `*` or `_all`.
@@ -3531,7 +3531,7 @@ def put_index_template(
35313531
If an entry already exists with the same key, then it is overwritten by the new definition.</p>
35323532
35333533
3534-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/indices-put-template.html>`_
3534+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-indices-put-index-template>`_
35353535
35363536
:param name: Index or template name
35373537
:param allow_auto_create: This setting overrides the value of the `action.auto_create_index`
@@ -5465,7 +5465,7 @@ def update_aliases(
54655465
Adds a data stream or index to an alias.</p>
54665466
54675467
5468-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/indices-aliases.html>`_
5468+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8/operation/operation-indices-update-aliases>`_
54695469
54705470
:param actions: Actions to perform.
54715471
:param master_timeout: Period to wait for a connection to the master node. If

0 commit comments

Comments
 (0)