@@ -309,8 +309,8 @@ async def create_data_stream(
309
309
pretty : t .Optional [bool ] = None ,
310
310
) -> ObjectApiResponse [t .Any ]:
311
311
"""
312
- Creates a data stream. You must have a matching index template with data stream
313
- enabled.
312
+ Create a data stream. Creates a data stream. You must have a matching index template
313
+ with data stream enabled.
314
314
315
315
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html>`_
316
316
@@ -362,7 +362,7 @@ async def data_streams_stats(
362
362
pretty : t .Optional [bool ] = None ,
363
363
) -> ObjectApiResponse [t .Any ]:
364
364
"""
365
- Retrieves statistics for one or more data streams.
365
+ Get data stream stats. Retrieves statistics for one or more data streams.
366
366
367
367
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html>`_
368
368
@@ -563,8 +563,8 @@ async def delete_data_lifecycle(
563
563
timeout : t .Optional [t .Union ["t.Literal[-1]" , "t.Literal[0]" , str ]] = None ,
564
564
) -> ObjectApiResponse [t .Any ]:
565
565
"""
566
- Removes the data lifecycle from a data stream rendering it not managed by the
567
- data stream lifecycle
566
+ Delete data stream lifecycles. Removes the data stream lifecycle from a data
567
+ stream, rendering it not managed by the data stream lifecycle.
568
568
569
569
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-delete-lifecycle.html>`_
570
570
@@ -623,7 +623,7 @@ async def delete_data_stream(
623
623
pretty : t .Optional [bool ] = None ,
624
624
) -> ObjectApiResponse [t .Any ]:
625
625
"""
626
- Deletes one or more data streams and their backing indices.
626
+ Delete data streams. Deletes one or more data streams and their backing indices.
627
627
628
628
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html>`_
629
629
@@ -1181,7 +1181,8 @@ async def get_data_lifecycle(
1181
1181
pretty : t .Optional [bool ] = None ,
1182
1182
) -> ObjectApiResponse [t .Any ]:
1183
1183
"""
1184
- Retrieves the data stream lifecycle configuration of one or more data streams.
1184
+ Get data stream lifecycles. Retrieves the data stream lifecycle configuration
1185
+ of one or more data streams.
1185
1186
1186
1187
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-get-lifecycle.html>`_
1187
1188
@@ -1240,7 +1241,7 @@ async def get_data_stream(
1240
1241
pretty : t .Optional [bool ] = None ,
1241
1242
) -> ObjectApiResponse [t .Any ]:
1242
1243
"""
1243
- Retrieves information about one or more data streams.
1244
+ Get data streams. Retrieves information about one or more data streams.
1244
1245
1245
1246
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html>`_
1246
1247
@@ -1546,14 +1547,14 @@ async def migrate_to_data_stream(
1546
1547
pretty : t .Optional [bool ] = None ,
1547
1548
) -> ObjectApiResponse [t .Any ]:
1548
1549
"""
1549
- Converts an index alias to a data stream. You must have a matching index template
1550
- that is data stream enabled. The alias must meet the following criteria: The
1551
- alias must have a write index; All indices for the alias must have a `@timestamp`
1552
- field mapping of a `date` or `date_nanos` field type; The alias must not have
1553
- any filters ; The alias must not use custom routing. If successful, the request
1554
- removes the alias and creates a data stream with the same name. The indices for
1555
- the alias become hidden backing indices for the stream. The write index for the
1556
- alias becomes the write index for the stream.
1550
+ Convert an index alias to a data stream. Converts an index alias to a data stream.
1551
+ You must have a matching index template that is data stream enabled. The alias
1552
+ must meet the following criteria: The alias must have a write index; All indices
1553
+ for the alias must have a `@timestamp` field mapping of a `date` or `date_nanos`
1554
+ field type ; The alias must not have any filters; The alias must not use custom
1555
+ routing. If successful, the request removes the alias and creates a data stream
1556
+ with the same name. The indices for the alias become hidden backing indices for
1557
+ the stream. The write index for the alias becomes the write index for the stream.
1557
1558
1558
1559
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html>`_
1559
1560
@@ -1596,7 +1597,8 @@ async def modify_data_stream(
1596
1597
body : t .Optional [t .Dict [str , t .Any ]] = None ,
1597
1598
) -> ObjectApiResponse [t .Any ]:
1598
1599
"""
1599
- Performs one or more data stream modification actions in a single atomic operation.
1600
+ Update data streams. Performs one or more data stream modification actions in
1601
+ a single atomic operation.
1600
1602
1601
1603
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html>`_
1602
1604
@@ -1766,7 +1768,8 @@ async def put_data_lifecycle(
1766
1768
body : t .Optional [t .Dict [str , t .Any ]] = None ,
1767
1769
) -> ObjectApiResponse [t .Any ]:
1768
1770
"""
1769
- Update the data lifecycle of the specified data streams.
1771
+ Update data stream lifecycles. Update the data stream lifecycle of the specified
1772
+ data streams.
1770
1773
1771
1774
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-put-lifecycle.html>`_
1772
1775
0 commit comments