

# DescribeClusterExtension
<a name="API_DescribeClusterExtension"></a>

Retrieves information about an extension installed on a SageMaker HyperPod cluster. The information includes the extension's version, configuration, and status, and a summary of how many cluster nodes are running the current version and configuration of the extension. If the extension has problems on some nodes, the response also lists the problems and how many nodes each one affects.

## Request Syntax
<a name="API_DescribeClusterExtension_RequestSyntax"></a>

```
{
   "ClusterArn": "{{string}}",
   "ExtensionArn": "{{string}}"
}
```

## Request Parameters
<a name="API_DescribeClusterExtension_RequestParameters"></a>

For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

The request accepts the following data in JSON format.

 ** [ClusterArn](#API_DescribeClusterExtension_RequestSyntax) **   <a name="sagemaker-DescribeClusterExtension-request-ClusterArn"></a>
The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster on which the extension is installed.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Pattern: `arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:cluster/[a-z0-9]{12}`   
Required: Yes

 ** [ExtensionArn](#API_DescribeClusterExtension_RequestSyntax) **   <a name="sagemaker-DescribeClusterExtension-request-ExtensionArn"></a>
The Amazon Resource Name (ARN) of the extension to describe. `CreateClusterExtension` returns this ARN, and `ListClusterExtensions` lists it. If you delete an extension and create it again, the new extension has a new ARN.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:extension/(sagemaker|eks|pcs)-[a-z0-9-]+/[a-z0-9-]+/[a-z0-9]+`   
Required: Yes

## Response Syntax
<a name="API_DescribeClusterExtension_ResponseSyntax"></a>

```
{
   "ExtensionDetails": { 
      "ClusterArn": "string",
      "ConfigurationValues": "string",
      "CreationTime": number,
      "ExtensionArn": "string",
      "ExtensionName": "string",
      "ExtensionVersion": "string",
      "LastModifiedTime": number,
      "Status": "string"
   },
   "Health": { 
      "Issues": [ 
         { 
            "Code": "string",
            "Message": "string",
            "NodeCount": number
         }
      ]
   },
   "NodeSummary": { 
      "ActiveCount": number,
      "TotalCount": number
   }
}
```

## Response Elements
<a name="API_DescribeClusterExtension_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ExtensionDetails](#API_DescribeClusterExtension_ResponseSyntax) **   <a name="sagemaker-DescribeClusterExtension-response-ExtensionDetails"></a>
The details of the extension.  
Type: [ExtensionDetails](API_ExtensionDetails.md) object

 ** [Health](#API_DescribeClusterExtension_ResponseSyntax) **   <a name="sagemaker-DescribeClusterExtension-response-Health"></a>
The problems that affect the extension on the cluster's nodes, grouped by cause, with the number of nodes that each problem affects. Use it to find out why `ActiveCount` is lower than `TotalCount`, or why the status is `Degraded`, `CreateFailed`, or `UpdateFailed`. SageMaker HyperPod omits `Health` when no node has a problem. Nodes where SageMaker HyperPod hasn't finished installing or updating the extension aren't counted in any issue, unless an earlier attempt failed on them.  
Type: [ExtensionHealth](API_ExtensionHealth.md) object

 ** [NodeSummary](#API_DescribeClusterExtension_ResponseSyntax) **   <a name="sagemaker-DescribeClusterExtension-response-NodeSummary"></a>
A summary of how many nodes in your cluster the extension targets, and how many of them run the extension's current version and configuration.  
Type: [ExtensionNodeSummary](API_ExtensionNodeSummary.md) object

## Errors
<a name="API_DescribeClusterExtension_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** ResourceNotFound **   
Resource being access is not found.  
HTTP Status Code: 400

## See Also
<a name="API_DescribeClusterExtension_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon Command Line Interface V2](https://docs.amazonaws.cn/goto/cli2/sagemaker-2017-07-24/DescribeClusterExtension) 
+  [Amazon SDK for .NET V4](https://docs.amazonaws.cn/goto/DotNetSDKV4/sagemaker-2017-07-24/DescribeClusterExtension) 
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/sagemaker-2017-07-24/DescribeClusterExtension) 
+  [Amazon SDK for Go v2](https://docs.amazonaws.cn/goto/SdkForGoV2/sagemaker-2017-07-24/DescribeClusterExtension) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/sagemaker-2017-07-24/DescribeClusterExtension) 
+  [Amazon SDK for JavaScript V3](https://docs.amazonaws.cn/goto/SdkForJavaScriptV3/sagemaker-2017-07-24/DescribeClusterExtension) 
+  [Amazon SDK for Kotlin](https://docs.amazonaws.cn/goto/SdkForKotlin/sagemaker-2017-07-24/DescribeClusterExtension) 
+  [Amazon SDK for PHP V3](https://docs.amazonaws.cn/goto/SdkForPHPV3/sagemaker-2017-07-24/DescribeClusterExtension) 
+  [Amazon SDK for Python (Boto3)](https://docs.amazonaws.cn/goto/boto3/sagemaker-2017-07-24/DescribeClusterExtension) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/sagemaker-2017-07-24/DescribeClusterExtension) 