@@ -200,6 +200,7 @@ def __init__(
200200 custom_attributes = None ,
201201 accelerator_type = None ,
202202 endpoint_name_prefix = None ,
203+ target_model = None ,
203204 ):
204205 r"""Initializes a configuration of a model and the endpoint to be created for it.
205206
@@ -234,6 +235,9 @@ def __init__(
234235 for making inferences to the model.
235236 endpoint_name_prefix (str): The endpoint name prefix of a new endpoint. Must follow
236237 pattern ``^[a-zA-Z0-9](-\*[a-zA-Z0-9]``.
238+ target_model (str): Sets the target model name when using a multi-model endpoint. For
239+ more information about multi-model endpoints, see
240+ https://docs.aws.amazon.com/sagemaker/latest/dg/multi-model-endpoints.html
237241
238242 Raises:
239243 ValueError: when the ``endpoint_name_prefix`` is invalid, ``accept_type`` is invalid,
@@ -281,6 +285,7 @@ def __init__(
281285 self .predictor_config ["content_template" ] = content_template
282286 _set (custom_attributes , "custom_attributes" , self .predictor_config )
283287 _set (accelerator_type , "accelerator_type" , self .predictor_config )
288+ _set (target_model , "target_model" , self .predictor_config )
284289
285290 def get_predictor_config (self ):
286291 """Returns part of the predictor dictionary of the analysis config."""
0 commit comments