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
16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 | |