Skip to content

BatchDeleteClusterNodesRequest

Source code in docs_src/capo_sagemaker/types/batch_delete_cluster_nodes_request.py
class BatchDeleteClusterNodesRequest(TypedDict, closed=True):
    cluster_name: NotRequired[
        "capo_sagemaker.types.cluster_name_or_arn.ClusterNameOrArn"
    ]
    """<p>The name of the SageMaker HyperPod cluster from which to delete the specified nodes.</p>"""
    node_ids: NotRequired["capo_sagemaker.types.cluster_node_ids.ClusterNodeIds"]
    """<p>A list of node IDs to be deleted from the specified cluster.</p> <note> <ul> <li> <p>For SageMaker HyperPod clusters using the Slurm workload manager, you cannot remove instances that are configured as Slurm controller nodes.</p> </li> <li> <p>If you need to delete more than 99 instances, contact <a href="http://aws.amazon.com/contact-us/">Support</a> for assistance.</p> </li> </ul> </note>"""
    node_logical_ids: NotRequired[
        "capo_sagemaker.types.cluster_node_logical_id_list.ClusterNodeLogicalIdList"
    ]
    """<p>A list of <code>NodeLogicalIds</code> identifying the nodes to be deleted. You can specify up to 50 <code>NodeLogicalIds</code>. You must specify either <code>NodeLogicalIds</code>, <code>InstanceIds</code>, or both, with a combined maximum of 50 identifiers.</p>"""

cluster_name instance-attribute

cluster_name: NotRequired[ClusterNameOrArn]

The name of the SageMaker HyperPod cluster from which to delete the specified nodes.

node_ids instance-attribute

node_ids: NotRequired[ClusterNodeIds]

A list of node IDs to be deleted from the specified cluster.

  • For SageMaker HyperPod clusters using the Slurm workload manager, you cannot remove instances that are configured as Slurm controller nodes.

  • If you need to delete more than 99 instances, contact Support for assistance.

node_logical_ids instance-attribute

node_logical_ids: NotRequired[ClusterNodeLogicalIdList]

A list of NodeLogicalIds identifying the nodes to be deleted. You can specify up to 50 NodeLogicalIds. You must specify either NodeLogicalIds, InstanceIds, or both, with a combined maximum of 50 identifiers.