SageMaker / Client / describe_cluster_operation
describe_cluster_operation¶
- SageMaker.Client.describe_cluster_operation(**kwargs)¶
Retrieves detailed information about a specific operation for a given HyperPod cluster, such as a scaling operation or a deep health check. Use the
OperationIdreturned by theListClusterOperationsoperation to identify the operation to describe.See also: AWS API Documentation
Request Syntax
response = client.describe_cluster_operation( ClusterName='string', OperationId='string' )
- Parameters:
ClusterName (string) –
[REQUIRED]
The name or Amazon Resource Name (ARN) of the HyperPod cluster associated with the operation.
OperationId (string) –
[REQUIRED]
The unique identifier (UUID) of the operation to describe. This ID can be obtained from the
ListClusterOperationsoperation.
- Return type:
dict
- Returns:
Response Syntax
{ 'OperationId': 'string', 'ClusterArn': 'string', 'Type': 'Scaling'|'DeepHealthCheck', 'Status': 'InProgress'|'Superseded'|'Done', 'CreationTime': datetime(2015, 1, 1), 'ScalingDetails': [ { 'InstanceGroupName': 'string', 'Status': 'InProgress'|'Superseded'|'Done', 'Original': { 'CurrentCount': 123, 'TargetCount': 123, 'MinCount': 123 }, 'Desired': { 'CurrentCount': 123, 'TargetCount': 123, 'MinCount': 123 } }, ], 'DeepHealthCheckDetails': [ { 'InstanceGroupName': 'string', 'InstanceIds': [ 'string', ], 'DeepHealthChecks': [ 'InstanceStress'|'InstanceConnectivity'|'MultiNodeTrainingValidation', ] }, ] }
Response Structure
(dict) –
OperationId (string) –
The unique identifier (UUID) of the operation.
ClusterArn (string) –
The Amazon Resource Name (ARN) of the HyperPod cluster associated with the operation.
Type (string) –
The type of the operation. Valid values are
ScalingorDeepHealthCheck.Status (string) –
The current status of the operation. Valid values are
InProgress,Superseded, orDone.CreationTime (datetime) –
The timestamp when the operation was created.
ScalingDetails (list) –
The per-instance-group scaling details for the operation. This field is populated when the operation
TypeisScaling.(dict) –
The scaling details for a single instance group that is affected by a cluster operation.
InstanceGroupName (string) –
The name of the instance group being scaled.
Status (string) –
The status of the scaling operation for this instance group. Valid values are
InProgress,Superseded, orDone.Original (dict) –
The scaling configuration of the instance group before the scaling operation was applied, including its current, target, and minimum instance counts.
CurrentCount (integer) –
The number of instances that were in the instance group at the time of the operation.
TargetCount (integer) –
The target number of instances for the instance group.
MinCount (integer) –
The minimum number of instances that must be available in the instance group of a HyperPod cluster before it transitions to
InServicestatus.
Desired (dict) –
The desired scaling configuration of the instance group for the scaling operation, including its target and minimum instance counts.
CurrentCount (integer) –
The number of instances that were in the instance group at the time of the operation.
TargetCount (integer) –
The target number of instances for the instance group.
MinCount (integer) –
The minimum number of instances that must be available in the instance group of a HyperPod cluster before it transitions to
InServicestatus.
DeepHealthCheckDetails (list) –
The deep health check details for the operation. This field is populated when the operation
TypeisDeepHealthCheck.(dict) –
The configuration of deep health checks for an instance group.
Note
Overlapping deep health check configurations will be merged into a single operation.
InstanceGroupName (string) –
The name of the instance group.
InstanceIds (list) –
A list of Amazon Elastic Compute Cloud (EC2) instance IDs on which to perform deep health checks.
Note
Leave this field blank to perform deep health checks on the entire instance group.
(string) –
DeepHealthChecks (list) –
A list of deep health checks to be performed.
(string) –
Exceptions
SageMaker.Client.exceptions.ResourceNotFound