Skip to content

BatchReplaceClusterNodesResponse

Source code in docs_src/capo_sagemaker/types/batch_replace_cluster_nodes_response.py
class BatchReplaceClusterNodesResponse(TypedDict, closed=True):
    successful: NotRequired["capo_sagemaker.types.cluster_node_ids.ClusterNodeIds"]
    """<p>A list of EC2 instance IDs for which the replacement operation was successfully initiated.</p>"""
    failed: NotRequired[
        "capo_sagemaker.types.batch_replace_cluster_nodes_errors.BatchReplaceClusterNodesErrors"
    ]
    """<p>A list of errors encountered for EC2 instance IDs that could not be replaced. Each error includes the instance ID, an error code, and a descriptive message.</p>"""
    failed_node_logical_ids: NotRequired[
        "capo_sagemaker.types.batch_replace_cluster_node_logical_ids_errors.BatchReplaceClusterNodeLogicalIdsErrors"
    ]
    """<p>A list of errors encountered for logical node IDs that could not be replaced. Each error includes the logical node ID, an error code, and a descriptive message. This field is only present when <code>NodeLogicalIds</code> were provided in the request.</p>"""
    successful_node_logical_ids: NotRequired[
        "capo_sagemaker.types.cluster_node_logical_id_list.ClusterNodeLogicalIdList"
    ]
    """<p>A list of logical node IDs for which the replacement operation was successfully initiated. This field is only present when <code>NodeLogicalIds</code> were provided in the request.</p>"""

failed instance-attribute

failed: NotRequired[BatchReplaceClusterNodesErrors]

A list of errors encountered for EC2 instance IDs that could not be replaced. Each error includes the instance ID, an error code, and a descriptive message.

failed_node_logical_ids instance-attribute

failed_node_logical_ids: NotRequired[BatchReplaceClusterNodeLogicalIdsErrors]

A list of errors encountered for logical node IDs that could not be replaced. Each error includes the logical node ID, an error code, and a descriptive message. This field is only present when NodeLogicalIds were provided in the request.

successful instance-attribute

successful: NotRequired[ClusterNodeIds]

A list of EC2 instance IDs for which the replacement operation was successfully initiated.

successful_node_logical_ids instance-attribute

successful_node_logical_ids: NotRequired[ClusterNodeLogicalIdList]

A list of logical node IDs for which the replacement operation was successfully initiated. This field is only present when NodeLogicalIds were provided in the request.