Skip to content

Commit 7fe0124

Browse files
authored
Run code generation (#73)
1 parent ff1bc71 commit 7fe0124

File tree

2 files changed

+22
-16
lines changed

2 files changed

+22
-16
lines changed

elasticsearch_serverless/_async/client/indices.py

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -672,9 +672,10 @@ async def delete_index_template(
672672
timeout: t.Optional[t.Union["t.Literal[-1]", "t.Literal[0]", str]] = None,
673673
) -> ObjectApiResponse[t.Any]:
674674
"""
675-
The provided <index-template> may contain multiple template names separated by
676-
a comma. If multiple template names are specified then there is no wildcard support
677-
and the provided names should match completely with existing templates.
675+
Delete an index template. The provided <index-template> may contain multiple
676+
template names separated by a comma. If multiple template names are specified
677+
then there is no wildcard support and the provided names should match completely
678+
with existing templates.
678679
679680
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-template.html>`_
680681
@@ -1298,7 +1299,7 @@ async def get_index_template(
12981299
pretty: t.Optional[bool] = None,
12991300
) -> ObjectApiResponse[t.Any]:
13001301
"""
1301-
Returns information about one or more index templates.
1302+
Get index templates. Returns information about one or more index templates.
13021303
13031304
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-template.html>`_
13041305
@@ -1868,7 +1869,7 @@ async def put_index_template(
18681869
body: t.Optional[t.Dict[str, t.Any]] = None,
18691870
) -> ObjectApiResponse[t.Any]:
18701871
"""
1871-
Creates or updates an index template. Index templates define settings, mappings,
1872+
Create or update an index template. Index templates define settings, mappings,
18721873
and aliases that can be applied automatically to new indices.
18731874
18741875
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-template.html>`_
@@ -2270,7 +2271,7 @@ async def put_template(
22702271
body: t.Optional[t.Dict[str, t.Any]] = None,
22712272
) -> ObjectApiResponse[t.Any]:
22722273
"""
2273-
Creates or updates an index template. Index templates define settings, mappings,
2274+
Create or update an index template. Index templates define settings, mappings,
22742275
and aliases that can be applied automatically to new indices.
22752276
22762277
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates-v1.html>`_
@@ -2592,7 +2593,8 @@ async def simulate_index_template(
25922593
pretty: t.Optional[bool] = None,
25932594
) -> ObjectApiResponse[t.Any]:
25942595
"""
2595-
2596+
Simulate an index. Returns the index configuration that would be applied to the
2597+
specified index from an existing index template.
25962598
25972599
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-simulate-index.html>`_
25982600
@@ -2671,7 +2673,8 @@ async def simulate_template(
26712673
body: t.Optional[t.Dict[str, t.Any]] = None,
26722674
) -> ObjectApiResponse[t.Any]:
26732675
"""
2674-
Returns the index configuration that would be applied by a particular index template.
2676+
Simulate an index template. Returns the index configuration that would be applied
2677+
by a particular index template.
26752678
26762679
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-simulate-template.html>`_
26772680

elasticsearch_serverless/_sync/client/indices.py

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -672,9 +672,10 @@ def delete_index_template(
672672
timeout: t.Optional[t.Union["t.Literal[-1]", "t.Literal[0]", str]] = None,
673673
) -> ObjectApiResponse[t.Any]:
674674
"""
675-
The provided <index-template> may contain multiple template names separated by
676-
a comma. If multiple template names are specified then there is no wildcard support
677-
and the provided names should match completely with existing templates.
675+
Delete an index template. The provided <index-template> may contain multiple
676+
template names separated by a comma. If multiple template names are specified
677+
then there is no wildcard support and the provided names should match completely
678+
with existing templates.
678679
679680
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-template.html>`_
680681
@@ -1298,7 +1299,7 @@ def get_index_template(
12981299
pretty: t.Optional[bool] = None,
12991300
) -> ObjectApiResponse[t.Any]:
13001301
"""
1301-
Returns information about one or more index templates.
1302+
Get index templates. Returns information about one or more index templates.
13021303
13031304
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-template.html>`_
13041305
@@ -1868,7 +1869,7 @@ def put_index_template(
18681869
body: t.Optional[t.Dict[str, t.Any]] = None,
18691870
) -> ObjectApiResponse[t.Any]:
18701871
"""
1871-
Creates or updates an index template. Index templates define settings, mappings,
1872+
Create or update an index template. Index templates define settings, mappings,
18721873
and aliases that can be applied automatically to new indices.
18731874
18741875
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-template.html>`_
@@ -2270,7 +2271,7 @@ def put_template(
22702271
body: t.Optional[t.Dict[str, t.Any]] = None,
22712272
) -> ObjectApiResponse[t.Any]:
22722273
"""
2273-
Creates or updates an index template. Index templates define settings, mappings,
2274+
Create or update an index template. Index templates define settings, mappings,
22742275
and aliases that can be applied automatically to new indices.
22752276
22762277
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates-v1.html>`_
@@ -2592,7 +2593,8 @@ def simulate_index_template(
25922593
pretty: t.Optional[bool] = None,
25932594
) -> ObjectApiResponse[t.Any]:
25942595
"""
2595-
2596+
Simulate an index. Returns the index configuration that would be applied to the
2597+
specified index from an existing index template.
25962598
25972599
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-simulate-index.html>`_
25982600
@@ -2671,7 +2673,8 @@ def simulate_template(
26712673
body: t.Optional[t.Dict[str, t.Any]] = None,
26722674
) -> ObjectApiResponse[t.Any]:
26732675
"""
2674-
Returns the index configuration that would be applied by a particular index template.
2676+
Simulate an index template. Returns the index configuration that would be applied
2677+
by a particular index template.
26752678
26762679
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-simulate-template.html>`_
26772680

0 commit comments

Comments
 (0)