Skip to content

MoveClusterNodesRequest

Source code in docs_src/capo_sagemaker/types/move_cluster_nodes_request.py
class MoveClusterNodesRequest(TypedDict, closed=True):
    source_cluster_arn: NotRequired["capo_sagemaker.types.cluster_arn.ClusterArn"]
    """<p>The Amazon Resource Name (ARN) of the HyperPod cluster that the nodes are moved from.</p>"""
    source_instance_group_name: NotRequired[
        "capo_sagemaker.types.cluster_instance_group_name.ClusterInstanceGroupName"
    ]
    """<p>The name of the instance group in the source cluster that the nodes are moved from.</p>"""
    target_cluster_arn: NotRequired["capo_sagemaker.types.cluster_arn.ClusterArn"]
    """<p>The Amazon Resource Name (ARN) of the HyperPod cluster that the nodes are moved to. The target cluster must be in the same account and Region as the source cluster, and can be the same cluster as the source.</p>"""
    target_instance_group_name: NotRequired[
        "capo_sagemaker.types.cluster_instance_group_name.ClusterInstanceGroupName"
    ]
    """<p>The name of the instance group in the target cluster that the nodes are moved to. If the target cluster is the same as the source cluster, the target instance group must be different from the source instance group.</p>"""
    instance_count: NotRequired[
        "capo_sagemaker.types.move_cluster_nodes_instance_count.MoveClusterNodesInstanceCount"
    ]
    """<p>The number of nodes to move, from 1 to 50. HyperPod selects the nodes from the source instance group. If fewer than this number of nodes are eligible to move, the request fails and no nodes are moved. Specify exactly one of <code>NodeIds</code>, <code>NodeLogicalIds</code>, or <code>InstanceCount</code>.</p>"""
    node_ids: NotRequired[
        "capo_sagemaker.types.move_cluster_node_ids.MoveClusterNodeIds"
    ]
    """<p>A list of instance IDs of the nodes to move. You can specify up to 50 instance IDs. Each node is evaluated separately, so some nodes can be moved while others fail. The request fails if moving the eligible nodes would reduce the source instance group below its minimum instance count. Specify exactly one of <code>NodeIds</code>, <code>NodeLogicalIds</code>, or <code>InstanceCount</code>.</p>"""
    node_logical_ids: NotRequired[
        "capo_sagemaker.types.move_cluster_node_logical_ids.MoveClusterNodeLogicalIds"
    ]
    """<p>A list of <code>NodeLogicalIds</code> of the nodes to move. You can specify up to 50 <code>NodeLogicalIds</code>. Each node is evaluated separately, so some nodes can be moved while others fail. The request fails if moving the eligible nodes would reduce the source instance group below its minimum instance count. Specify exactly one of <code>NodeIds</code>, <code>NodeLogicalIds</code>, or <code>InstanceCount</code>.</p>"""
    client_token: NotRequired["capo_sagemaker.types.string.String"]
    """<p>A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry the request with the same client token and the same parameters within 8 hours, the service returns the original response. It doesn't start a new move. If you reuse a client token with different parameters, the request fails.</p>"""

client_token instance-attribute

client_token: NotRequired[String]

A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry the request with the same client token and the same parameters within 8 hours, the service returns the original response. It doesn't start a new move. If you reuse a client token with different parameters, the request fails.

instance_count instance-attribute

instance_count: NotRequired[MoveClusterNodesInstanceCount]

The number of nodes to move, from 1 to 50. HyperPod selects the nodes from the source instance group. If fewer than this number of nodes are eligible to move, the request fails and no nodes are moved. Specify exactly one of NodeIds, NodeLogicalIds, or InstanceCount.

node_ids instance-attribute

node_ids: NotRequired[MoveClusterNodeIds]

A list of instance IDs of the nodes to move. You can specify up to 50 instance IDs. Each node is evaluated separately, so some nodes can be moved while others fail. The request fails if moving the eligible nodes would reduce the source instance group below its minimum instance count. Specify exactly one of NodeIds, NodeLogicalIds, or InstanceCount.

node_logical_ids instance-attribute

node_logical_ids: NotRequired[MoveClusterNodeLogicalIds]

A list of NodeLogicalIds of the nodes to move. You can specify up to 50 NodeLogicalIds. Each node is evaluated separately, so some nodes can be moved while others fail. The request fails if moving the eligible nodes would reduce the source instance group below its minimum instance count. Specify exactly one of NodeIds, NodeLogicalIds, or InstanceCount.

source_cluster_arn instance-attribute

source_cluster_arn: NotRequired[ClusterArn]

The Amazon Resource Name (ARN) of the HyperPod cluster that the nodes are moved from.

source_instance_group_name instance-attribute

source_instance_group_name: NotRequired[ClusterInstanceGroupName]

The name of the instance group in the source cluster that the nodes are moved from.

target_cluster_arn instance-attribute

target_cluster_arn: NotRequired[ClusterArn]

The Amazon Resource Name (ARN) of the HyperPod cluster that the nodes are moved to. The target cluster must be in the same account and Region as the source cluster, and can be the same cluster as the source.

target_instance_group_name instance-attribute

target_instance_group_name: NotRequired[ClusterInstanceGroupName]

The name of the instance group in the target cluster that the nodes are moved to. If the target cluster is the same as the source cluster, the target instance group must be different from the source instance group.