diff --git a/elasticsearch/_async/client/indices.py b/elasticsearch/_async/client/indices.py index 071b1a278..bfc6946b9 100644 --- a/elasticsearch/_async/client/indices.py +++ b/elasticsearch/_async/client/indices.py @@ -830,7 +830,7 @@ async def delete_index_template( """ Deletes an index template. - ``_ + ``_ :param name: Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. @@ -878,7 +878,7 @@ async def delete_template( """ Deletes an index template. - ``_ + ``_ :param name: The name of the legacy index template to delete. Wildcard (`*`) expressions are supported. @@ -1190,7 +1190,7 @@ async def exists_index_template( """ Returns information about whether a particular index template exists. - ``_ + ``_ :param name: Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. @@ -1235,7 +1235,7 @@ async def exists_template( """ Returns information about whether a particular index template exists. - ``_ + ``_ :param name: The comma separated names of the index templates :param flat_settings: Return settings in flat format (default: false) @@ -1925,7 +1925,7 @@ async def get_index_template( """ Returns an index template. - ``_ + ``_ :param name: Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. @@ -2149,7 +2149,7 @@ async def get_template( """ Returns an index template. - ``_ + ``_ :param name: Comma-separated list of index template names used to limit the request. Wildcard (`*`) expressions are supported. To return all index templates, @@ -2576,7 +2576,7 @@ async def put_index_template( """ Creates or updates an index template. - ``_ + ``_ :param name: Index or template name :param composed_of: An ordered list of component template names. Component templates @@ -2896,7 +2896,7 @@ async def put_template( """ Creates or updates an index template. - ``_ + ``_ :param name: The name of the template :param aliases: Aliases for the index. @@ -3509,7 +3509,7 @@ async def simulate_index_template( """ Simulate matching the given index name against the index templates in the system - ``_ + ``_ :param name: Index or template name to simulate :param allow_auto_create: This setting overrides the value of the `action.auto_create_index` @@ -3612,7 +3612,7 @@ async def simulate_template( """ Simulate resolving the given template name or body - ``_ + ``_ :param name: Name of the index template to simulate. To test a template configuration before you add it to the cluster, omit this parameter and specify the template diff --git a/elasticsearch/_async/client/ml.py b/elasticsearch/_async/client/ml.py index 38c312df3..e02e01955 100644 --- a/elasticsearch/_async/client/ml.py +++ b/elasticsearch/_async/client/ml.py @@ -3582,6 +3582,7 @@ async def start_trained_model_deployment( *, model_id: str, cache_size: t.Optional[t.Union[int, str]] = None, + deployment_id: t.Optional[str] = None, error_trace: t.Optional[bool] = None, filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None, human: t.Optional[bool] = None, @@ -3605,6 +3606,7 @@ async def start_trained_model_deployment( :param cache_size: The inference cache size (in memory outside the JVM heap) per node for the model. The default value is the same size as the `model_size_bytes`. To disable the cache, `0b` can be provided. + :param deployment_id: A unique identifier for the deployment of the model. :param number_of_allocations: The number of model allocations on each node where the model is deployed. All allocations on a node share the same copy of the model in memory but use a separate set of threads to evaluate the model. @@ -3631,6 +3633,8 @@ async def start_trained_model_deployment( __query: t.Dict[str, t.Any] = {} if cache_size is not None: __query["cache_size"] = cache_size + if deployment_id is not None: + __query["deployment_id"] = deployment_id if error_trace is not None: __query["error_trace"] = error_trace if filter_path is not None: diff --git a/elasticsearch/_async/client/search_application.py b/elasticsearch/_async/client/search_application.py index aa2dbb94a..e2b4e7ec0 100644 --- a/elasticsearch/_async/client/search_application.py +++ b/elasticsearch/_async/client/search_application.py @@ -37,7 +37,7 @@ async def delete( """ Deletes a search application. - ``_ + ``_ :param name: The name of the search application to delete """ diff --git a/elasticsearch/_sync/client/indices.py b/elasticsearch/_sync/client/indices.py index 5aebbb376..6090ebb16 100644 --- a/elasticsearch/_sync/client/indices.py +++ b/elasticsearch/_sync/client/indices.py @@ -830,7 +830,7 @@ def delete_index_template( """ Deletes an index template. - ``_ + ``_ :param name: Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. @@ -878,7 +878,7 @@ def delete_template( """ Deletes an index template. - ``_ + ``_ :param name: The name of the legacy index template to delete. Wildcard (`*`) expressions are supported. @@ -1190,7 +1190,7 @@ def exists_index_template( """ Returns information about whether a particular index template exists. - ``_ + ``_ :param name: Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. @@ -1235,7 +1235,7 @@ def exists_template( """ Returns information about whether a particular index template exists. - ``_ + ``_ :param name: The comma separated names of the index templates :param flat_settings: Return settings in flat format (default: false) @@ -1925,7 +1925,7 @@ def get_index_template( """ Returns an index template. - ``_ + ``_ :param name: Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. @@ -2149,7 +2149,7 @@ def get_template( """ Returns an index template. - ``_ + ``_ :param name: Comma-separated list of index template names used to limit the request. Wildcard (`*`) expressions are supported. To return all index templates, @@ -2576,7 +2576,7 @@ def put_index_template( """ Creates or updates an index template. - ``_ + ``_ :param name: Index or template name :param composed_of: An ordered list of component template names. Component templates @@ -2896,7 +2896,7 @@ def put_template( """ Creates or updates an index template. - ``_ + ``_ :param name: The name of the template :param aliases: Aliases for the index. @@ -3509,7 +3509,7 @@ def simulate_index_template( """ Simulate matching the given index name against the index templates in the system - ``_ + ``_ :param name: Index or template name to simulate :param allow_auto_create: This setting overrides the value of the `action.auto_create_index` @@ -3612,7 +3612,7 @@ def simulate_template( """ Simulate resolving the given template name or body - ``_ + ``_ :param name: Name of the index template to simulate. To test a template configuration before you add it to the cluster, omit this parameter and specify the template diff --git a/elasticsearch/_sync/client/ml.py b/elasticsearch/_sync/client/ml.py index 3a7a7601c..d4b9d8aee 100644 --- a/elasticsearch/_sync/client/ml.py +++ b/elasticsearch/_sync/client/ml.py @@ -3582,6 +3582,7 @@ def start_trained_model_deployment( *, model_id: str, cache_size: t.Optional[t.Union[int, str]] = None, + deployment_id: t.Optional[str] = None, error_trace: t.Optional[bool] = None, filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None, human: t.Optional[bool] = None, @@ -3605,6 +3606,7 @@ def start_trained_model_deployment( :param cache_size: The inference cache size (in memory outside the JVM heap) per node for the model. The default value is the same size as the `model_size_bytes`. To disable the cache, `0b` can be provided. + :param deployment_id: A unique identifier for the deployment of the model. :param number_of_allocations: The number of model allocations on each node where the model is deployed. All allocations on a node share the same copy of the model in memory but use a separate set of threads to evaluate the model. @@ -3631,6 +3633,8 @@ def start_trained_model_deployment( __query: t.Dict[str, t.Any] = {} if cache_size is not None: __query["cache_size"] = cache_size + if deployment_id is not None: + __query["deployment_id"] = deployment_id if error_trace is not None: __query["error_trace"] = error_trace if filter_path is not None: diff --git a/elasticsearch/_sync/client/search_application.py b/elasticsearch/_sync/client/search_application.py index 06e73b917..b36492009 100644 --- a/elasticsearch/_sync/client/search_application.py +++ b/elasticsearch/_sync/client/search_application.py @@ -37,7 +37,7 @@ def delete( """ Deletes a search application. - ``_ + ``_ :param name: The name of the search application to delete """