Skip to content

MoveClusterNodesError

Source code in docs_src/capo_sagemaker/types/move_cluster_nodes_error.py
class MoveClusterNodesError(TypedDict, closed=True):
    code: NotRequired[
        "capo_sagemaker.types.move_cluster_nodes_error_code.MoveClusterNodesErrorCode"
    ]
    """<p>The error code associated with the error encountered when moving the node. The error code is one of the following values:</p> <ul> <li> <p> <code>NodeIdNotFound</code>: The node does not exist in the source instance group.</p> </li> <li> <p> <code>InvalidNodeStatus</code>: The node is not in a state that allows the move. For example, the node is not <code>Running</code>, is not in a subnet of the target instance group, or has an attached Amazon EBS volume that you must detach first.</p> </li> <li> <p> <code>NodeIdInUse</code>: Another operation is already in progress for this node. Wait for the operation to complete before retrying.</p> </li> <li> <p> <code>NodeInstanceTypeMismatch</code>: The target instance group does not support the node's instance type.</p> </li> </ul>"""
    message: NotRequired["capo_sagemaker.types.string.String"]
    """<p>A human-readable message describing the error encountered when moving the node.</p>"""
    node_id: NotRequired["capo_sagemaker.types.cluster_node_id.ClusterNodeId"]
    """<p>The instance ID of the node that could not be moved.</p>"""

code instance-attribute

code: NotRequired[MoveClusterNodesErrorCode]

The error code associated with the error encountered when moving the node. The error code is one of the following values:

  • NodeIdNotFound: The node does not exist in the source instance group.

  • InvalidNodeStatus: The node is not in a state that allows the move. For example, the node is not Running, is not in a subnet of the target instance group, or has an attached Amazon EBS volume that you must detach first.

  • NodeIdInUse: Another operation is already in progress for this node. Wait for the operation to complete before retrying.

  • NodeInstanceTypeMismatch: The target instance group does not support the node's instance type.

message instance-attribute

message: NotRequired[String]

A human-readable message describing the error encountered when moving the node.

node_id instance-attribute

node_id: NotRequired[ClusterNodeId]

The instance ID of the node that could not be moved.