update_custom_model_deployment¶
Operation¶
update_custom_model_deployment
async
¶
update_custom_model_deployment(input: UpdateCustomModelDeploymentInput, plugins: list[Plugin] | None = None) -> UpdateCustomModelDeploymentOutput
Updates a custom model deployment with a new custom model. This allows you to deploy updated models without creating new deployment endpoints.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
UpdateCustomModelDeploymentInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
UpdateCustomModelDeploymentOutput
|
An instance of |
Input¶
UpdateCustomModelDeploymentInput
dataclass
¶
Dataclass for UpdateCustomModelDeploymentInput structure.
Attributes¶
custom_model_deployment_identifier
class-attribute
instance-attribute
¶
custom_model_deployment_identifier: str | None = None
Identifier of the custom model deployment to update with the new custom model.
model_arn
class-attribute
instance-attribute
¶
model_arn: str | None = None
ARN of the new custom model to deploy. This replaces the currently deployed model.