

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

# Amazon Connect Customer Profiles 資料過期
<a name="customer-profiles-data-expiration"></a>

如果設定檔未在指定時間內更新，則會過期。這會導致設定檔遭清除，並從 Customer Profiles 網域中移除。

Customer Profiles 資料的過期日期可以分成兩個不同類別：

## 透過 CreateProfile 建立的設定檔
<a name="profiles-created-via-createprofile"></a>

使用 `CreateProfile` API 建立的設定檔過期日期是依據 Customer Profiles 網域上 **DefaultExpirationDays** 指派的時間戳記。如果未設定過期日期，則預設為 365 天。

## 透過 PutProfileObject 建立或更新的設定檔
<a name="profiles-created-via-putprofileobject"></a>

使用 `PutProfileObject` 建立或更新的設定檔一律依據與之相關物件類型上所定義的 **ExpirationDays**。如果未定義物件類型的過期日期，則適用 Customer Profiles 網域過期日期。如果兩者都未定義，則設定檔或設定檔物件的過期日期為預設的 365 天。

## 視覺化心理模型
<a name="mental-model-visualized"></a>

![\[流程圖，其中顯示 Customer Profiles 過期邏輯。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/customer-profiles-expiration-model.png)


## 匯入設定檔過期
<a name="import-profile-expiration"></a>

如果設定檔已使用區段匯入，來匯入至 Customer Profile 網域，其過期日期分為兩個不同情況。

1. **呼叫 CreateUploadJob 時的明確過期定義**

   如果未更新，根據預設，使用區段匯入來匯入的設定檔會在 14 天後過期。[可以使用 API ](customer-segments-imported-files.md#set-profile-expiry)定義此數字，或在匯入建立期間於管理網站內定義，最多 90 天。 Amazon Connect 

1. **從先前的匯入任務匯入已存在於 Customer Profiles 網域中的設定檔**

   如果已執行兩個匯入任務，並找到重複的設定檔，則 Customer Profiles 將一律適用最長的過期時間。