detach_cluster_node_volume
async
¶
detach_cluster_node_volume(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
cluster_arn: Optional[ClusterArn] = None,
node_id: Optional[ClusterNodeId] = None,
volume_id: Optional[VolumeId] = None,
) -> DetachClusterNodeVolumeResponse
Detaches your Amazon Elastic Block Store (Amazon EBS) volume from a node in your EKS orchestrated SageMaker HyperPod cluster.
This API works with the Amazon Elastic Block Store (Amazon EBS) Container Storage Interface (CSI) driver to manage the lifecycle of persistent storage in your HyperPod EKS clusters.
Parameters:
-
cluster_arn(Optional[ClusterArn], default:None) –The Amazon Resource Name (ARN) of your SageMaker HyperPod cluster containing the target node. Your cluster must use EKS as the orchestration and be in the
InServicestate. -
node_id(Optional[ClusterNodeId], default:None) –The unique identifier of the cluster node from which you want to detach the volume.
-
volume_id(Optional[VolumeId], default:None) –The unique identifier of your EBS volume that you want to detach. Your volume must be currently attached to the specified node.
Raises:
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 | |