

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 描述無伺服器端點
<a name="serverless-endpoints-describe"></a>

您可能想要擷取有關端點的資訊，包含端點的 ARN、目前狀態、部署組態和失敗原因等詳細資訊。您可以使用 [SageMaker AI 主控台](https://console.aws.amazon.com/sagemaker/home)、[DescribeEndpoint](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpoint.html) API 或 AWS CLI來找到端點的相關資訊。

## 描述端點 (使用 API)
<a name="serverless-endpoints-describe-api"></a>

下列範例會使用[適用於 Python 的AWS SDK (Boto3)](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#id309) 來呼叫 [DescribeEndpoint](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpoint.html) API。在 `EndpointName` 中，使用您要檢查的端點名稱。

```
response = client.describe_endpoint(
    EndpointName="<your-endpoint-name>",
)
```

## 描述端點 (使用主控台)
<a name="serverless-endpoints-describe-console"></a>

1. 登入 [Amazon SageMaker AI 主控台](https://console.aws.amazon.com/sagemaker/home)。

1. 在導覽索引標記中，選擇**推論**。

1. 接下來，選擇**端點**。

1. 從端點清單中，選取您要檢查的端點。

端點頁面包含有關端點的資訊。