Smaws_Client_SageMaker.BatchAddClusterNodesAdds nodes to a HyperPod cluster by incrementing the target count for one or more instance groups. This operation returns a unique NodeLogicalId for each node being added, which can be used to track the provisioning status of the node. This API provides a safer alternative to UpdateCluster for scaling operations by avoiding unintended configuration changes.
This API is only supported for clusters using Continuous as the NodeProvisioningMode.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ResourceLimitExceeded of Types.resource_limit_exceeded
| `ResourceNotFound of Types.resource_not_found ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.batch_add_cluster_nodes_request ->
(Types.batch_add_cluster_nodes_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceLimitExceeded of Types.resource_limit_exceeded
| `ResourceNotFound of Types.resource_not_found ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.batch_add_cluster_nodes_request ->
(Types.batch_add_cluster_nodes_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceLimitExceeded of Types.resource_limit_exceeded
| `ResourceNotFound of Types.resource_not_found ]
* Smaws_Lib.Response.metadata)
Stdlib.result