

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

# 使用 SES API 擷取身分使用的預設組態設定
<a name="managing-configuration-sets-default-returning"></a>

您可以使用 [GetEmailIdentity](https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_GetEmailIdentity.html) 作業傳回電子郵件身分的預設組態集 (如果適用)。

**注意**  
在完成本節中的程序之前，您必須安裝和設定 AWS CLI。如需詳細資訊，請參閱[「AWS Command Line Interface 使用者指南」](https://docs.aws.amazon.com/cli/latest/userguide/)。

**使用 傳回預設組態集 AWS CLI**
+ 在命令列輸入下列命令以使用 [GetEmailIdentity](https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_GetEmailIdentity.html) 作業。

```
aws sesv2 get-email-identity --email-identity ADDRESS-OR-DOMAIN
```

在上述命令中，以您希望知道預設組態集的電子郵件身分 (如果有的話) 取代 *ADDRESS-OR-DOMAIN*。

如果命令執行成功，將提供一個 JSON 物件，其中包含電子郵件身分詳細資訊。