Skip to content

DeploymentModel

Source code in docs_src/capo_sagemaker_edge/types/deployment_model.py
class DeploymentModel(TypedDict, closed=True):
    model_handle: NotRequired["capo_sagemaker_edge.types.entity_name.EntityName"]
    """<p>The unique handle of the model.</p>"""
    model_name: NotRequired["capo_sagemaker_edge.types.model_name.ModelName"]
    """<p>The name of the model.</p>"""
    model_version: NotRequired["capo_sagemaker_edge.types.version.Version"]
    """<p>The version of the model.</p>"""
    desired_state: NotRequired["capo_sagemaker_edge.types.model_state.ModelState"]
    """<p>The desired state of the model.</p>"""
    state: NotRequired["capo_sagemaker_edge.types.model_state.ModelState"]
    """<p>Returns the current state of the model.</p>"""
    status: NotRequired["capo_sagemaker_edge.types.deployment_status.DeploymentStatus"]
    """<p>Returns the deployment status of the model.</p>"""
    status_reason: NotRequired["capo_sagemaker_edge.types.string.String"]
    """<p>Returns the error message for the deployment status result.</p>"""
    rollback_failure_reason: NotRequired["capo_sagemaker_edge.types.string.String"]
    """<p>Returns the error message if there is a rollback.</p>"""

desired_state instance-attribute

desired_state: NotRequired[ModelState]

The desired state of the model.

model_handle instance-attribute

model_handle: NotRequired[EntityName]

The unique handle of the model.

model_name instance-attribute

model_name: NotRequired[ModelName]

The name of the model.

model_version instance-attribute

model_version: NotRequired[Version]

The version of the model.

rollback_failure_reason instance-attribute

rollback_failure_reason: NotRequired[String]

Returns the error message if there is a rollback.

state instance-attribute

state: NotRequired[ModelState]

Returns the current state of the model.

status instance-attribute

status: NotRequired[DeploymentStatus]

Returns the deployment status of the model.

status_reason instance-attribute

status_reason: NotRequired[String]

Returns the error message for the deployment status result.