Smaws_Client_SageMaker.BatchReplaceClusterNodesReplaces specific nodes within a SageMaker HyperPod cluster with new hardware. BatchReplaceClusterNodes terminates the specified instances and provisions new replacement instances with the same configuration but fresh hardware. The Amazon Machine Image (AMI) and instance configuration remain the same.
This operation is useful for recovering from hardware failures or persistent issues that cannot be resolved through a reboot.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ResourceNotFound of Types.resource_not_found ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.batch_replace_cluster_nodes_request ->
(Types.batch_replace_cluster_nodes_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceNotFound of Types.resource_not_found ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.batch_replace_cluster_nodes_request ->
(Types.batch_replace_cluster_nodes_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceNotFound of Types.resource_not_found ]
* Smaws_Lib.Response.metadata)
Stdlib.result