@@ -265,7 +265,7 @@ async def cancel_migrate_reindex(
265265 <p>Cancel a migration reindex attempt for a data stream or index.</p>
266266
267267
268- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /migrate-data-stream.html>`_
268+ `<https://www.elastic.co/guide/en/elasticsearch/reference/9.0 /migrate-data-stream.html>`_
269269
270270 :param index: The index or data stream name
271271 """
@@ -794,7 +794,7 @@ async def create_from(
794794 <p>Copy the mappings and settings from the source index to a destination index while allowing request settings and mappings to override the source values.</p>
795795
796796
797- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /migrate-data-stream.html>`_
797+ `<https://www.elastic.co/guide/en/elasticsearch/reference/9.0 /migrate-data-stream.html>`_
798798
799799 :param source: The source index or data stream name
800800 :param dest: The destination index or data stream name
@@ -2487,6 +2487,7 @@ async def get_field_mapping(
24872487 human : t .Optional [bool ] = None ,
24882488 ignore_unavailable : t .Optional [bool ] = None ,
24892489 include_defaults : t .Optional [bool ] = None ,
2490+ local : t .Optional [bool ] = None ,
24902491 pretty : t .Optional [bool ] = None ,
24912492 ) -> ObjectApiResponse [t .Any ]:
24922493 """
@@ -2515,6 +2516,8 @@ async def get_field_mapping(
25152516 :param ignore_unavailable: If `false`, the request returns an error if it targets
25162517 a missing or closed index.
25172518 :param include_defaults: If `true`, return all default settings in the response.
2519+ :param local: If `true`, the request retrieves information from the local node
2520+ only.
25182521 """
25192522 if fields in SKIP_IN_PATH :
25202523 raise ValueError ("Empty value passed for parameter 'fields'" )
@@ -2542,6 +2545,8 @@ async def get_field_mapping(
25422545 __query ["ignore_unavailable" ] = ignore_unavailable
25432546 if include_defaults is not None :
25442547 __query ["include_defaults" ] = include_defaults
2548+ if local is not None :
2549+ __query ["local" ] = local
25452550 if pretty is not None :
25462551 __query ["pretty" ] = pretty
25472552 __headers = {"accept" : "application/json" }
@@ -2726,7 +2731,7 @@ async def get_migrate_reindex_status(
27262731 <p>Get the status of a migration reindex attempt for a data stream or index.</p>
27272732
27282733
2729- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /migrate-data-stream.html>`_
2734+ `<https://www.elastic.co/guide/en/elasticsearch/reference/9.0 /migrate-data-stream.html>`_
27302735
27312736 :param index: The index or data stream name.
27322737 """
@@ -2945,7 +2950,7 @@ async def migrate_reindex(
29452950 The persistent task ID is returned immediately and the reindexing work is completed in that task.</p>
29462951
29472952
2948- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /migrate-data-stream.html>`_
2953+ `<https://www.elastic.co/guide/en/elasticsearch/reference/9.0 /migrate-data-stream.html>`_
29492954
29502955 :param reindex:
29512956 """
@@ -3006,7 +3011,7 @@ async def migrate_to_data_stream(
30063011 The write index for the alias becomes the write index for the stream.</p>
30073012
30083013
3009- `<https://www.elastic.co/guide/en/ elasticsearch/reference/master/ data-streams.html >`_
3014+ `<https://www.elastic.co/docs/api/doc/ elasticsearch/operation/operation-indices-migrate-to- data-stream >`_
30103015
30113016 :param name: Name of the index alias to convert to a data stream.
30123017 :param master_timeout: Period to wait for a connection to the master node. If
@@ -3062,7 +3067,7 @@ async def modify_data_stream(
30623067 Performs one or more data stream modification actions in a single atomic operation.</p>
30633068
30643069
3065- `<https://www.elastic.co/guide/en/ elasticsearch/reference/master/ data-streams.html >`_
3070+ `<https://www.elastic.co/docs/api/doc/ elasticsearch/operation/operation-indices-modify- data-stream >`_
30663071
30673072 :param actions: Actions to perform.
30683073 """
@@ -3227,7 +3232,7 @@ async def promote_data_stream(
32273232 This will affect the lifecycle management of the data stream and interfere with the data stream size and retention.</p>
32283233
32293234
3230- `<https://www.elastic.co/guide/en/ elasticsearch/reference/master/ data-streams.html >`_
3235+ `<https://www.elastic.co/docs/api/doc/ elasticsearch/operation/operation-indices-promote- data-stream >`_
32313236
32323237 :param name: The name of the data stream
32333238 :param master_timeout: Period to wait for a connection to the master node. If
@@ -3293,7 +3298,7 @@ async def put_alias(
32933298 Adds a data stream or index to an alias.</p>
32943299
32953300
3296- `<https://www.elastic.co/guide/en/ elasticsearch/reference/master/ indices-aliases.html >`_
3301+ `<https://www.elastic.co/docs/api/doc/ elasticsearch/operation/operation- indices-put-alias >`_
32973302
32983303 :param index: Comma-separated list of data streams or indices to add. Supports
32993304 wildcards (`*`). Wildcard patterns that match both data streams and indices
@@ -3400,7 +3405,7 @@ async def put_data_lifecycle(
34003405 Update the data stream lifecycle of the specified data streams.</p>
34013406
34023407
3403- `<https://www.elastic.co/guide/en/ elasticsearch/reference/master/data-streams -put-lifecycle.html >`_
3408+ `<https://www.elastic.co/docs/api/doc/ elasticsearch/operation/operation-indices -put-data- lifecycle>`_
34043409
34053410 :param name: Comma-separated list of data streams used to limit the request.
34063411 Supports wildcards (`*`). To target all data streams use `*` or `_all`.
@@ -3528,7 +3533,7 @@ async def put_index_template(
35283533 If an entry already exists with the same key, then it is overwritten by the new definition.</p>
35293534
35303535
3531- `<https://www.elastic.co/guide/en/ elasticsearch/reference/master/ indices-put-template.html >`_
3536+ `<https://www.elastic.co/docs/api/doc/ elasticsearch/operation/operation- indices-put-index- template>`_
35323537
35333538 :param name: Index or template name
35343539 :param allow_auto_create: This setting overrides the value of the `action.auto_create_index`
@@ -5372,7 +5377,7 @@ async def update_aliases(
53725377 Adds a data stream or index to an alias.</p>
53735378
53745379
5375- `<https://www.elastic.co/guide/en/ elasticsearch/reference/master/ indices-aliases.html >`_
5380+ `<https://www.elastic.co/docs/api/doc/ elasticsearch/operation/operation- indices-update- aliases>`_
53765381
53775382 :param actions: Actions to perform.
53785383 :param master_timeout: Period to wait for a connection to the master node. If
@@ -5451,7 +5456,7 @@ async def validate_query(
54515456 Validates a query without running it.</p>
54525457
54535458
5454- `<https://www.elastic.co/guide/en/ elasticsearch/reference/master/search- validate.html >`_
5459+ `<https://www.elastic.co/docs/api/doc/ elasticsearch/operation/operation-indices- validate-query >`_
54555460
54565461 :param index: Comma-separated list of data streams, indices, and aliases to search.
54575462 Supports wildcards (`*`). To search all data streams or indices, omit this
0 commit comments