

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

# Customer Profiles 中，索引鍵上設定屬性的標準識別符
<a name="standard-identifiers"></a>

標準識別符可讓您設定索引鍵的屬性。根據您希望資料在設定檔中擷取的方式，決定要使用哪些識別符。例如，您可以使用識別符 PROFILE 標記電話號碼。這表示電話號碼將被視為唯一識別符。如果客戶設定檔取得兩個擁有相同電話號碼的聯絡人，則這些聯絡人將會合併至單一設定檔內。


| 識別符名稱 | Description | 
| --- | --- | 
|  AIR\$1PREFERENCE  |  此識別符表示此索引鍵可唯一識別航空偏好設定。指定此識別符時，表示在擷取期間，Customer Profiles 會尋找與此索引鍵關聯的任何航空偏好設定。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/standard-identifiers.html)  | 
|  AIR\$1BOOKING  |  此識別符表示此索引鍵可唯一識別航空預訂內容。指定此識別符後，表示在擷取期間，Customer Profiles 會尋找與此索引鍵關聯的任何航空預訂內容。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/standard-identifiers.html)  | 
|  AIR\$1SEGMENT  |  此識別符表示此索引鍵唯一識別航空業客群。指定此識別符後，表示在擷取期間，Customer Profiles 會尋找與此索引鍵關聯的任何航空業客群。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/standard-identifiers.html)  | 
|  HOTEL\$1PREFERENCE  |  此識別符表示此索引鍵可唯一識別住宿偏好設定。指定此識別符時，表示在擷取期間，Customer Profiles 會尋找與此索引鍵關聯的任何住宿偏好設定。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/standard-identifiers.html)  | 
|  HOTEL\$1STAY\$1REVENUE  |  此識別符表示此索引鍵唯一識別飯店住宿收入。指定此識別符時，表示在擷取期間，Customer Profiles 會尋找與此索引鍵關聯的任何飯店住宿收入。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/standard-identifiers.html)  | 
|  HOTEL\$1RESERVATION  |  此識別符表示此索引鍵唯一識別飯店住宿預訂。指定此識別符時，表示在擷取期間，Customer Profiles 會尋找與此索引鍵關聯的任何飯店住宿預訂。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/standard-identifiers.html)  | 
|  LOYALTY  |  此識別符表示此索引鍵唯一識別忠誠度。指定此識別符時，表示在擷取期間，Customer Profiles 會尋找與此索引鍵關聯的任何忠誠度。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/standard-identifiers.html)  | 
|  LOYALTY\$1TRANSACTION  |  此識別符表示此索引鍵唯一識別忠誠度交易。指定此識別符時，表示在擷取期間，Customer Profiles 會尋找與此索引鍵關聯的任何忠誠度交易。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/standard-identifiers.html)  | 
|  LOYALTY\$1PROMOTION  |  此識別符表示此索引鍵唯一識別忠誠度促銷活動。指定此識別符時，表示在擷取期間，Customer Profiles 會尋找與此索引鍵關聯的任何忠誠度促銷活動。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/standard-identifiers.html)  | 
|  UNIQUE  | 每個物件類型必須只有一個索引來指定此識別符。此索引鍵可用來唯一識別物件類型的物件，以便擷取物件，或在需要時在稍後更新已提交的物件。 構成 UNIQUE 索引鍵的所有欄位都需要在提交新物件時指定，否則該物件會被拒絕。  | 
|  PROFILE  | 此識別符表示此索引鍵可唯一識別設定檔。指定此識別符時，表示在擷取期間，客戶設定檔會尋找與此索引鍵關聯的任何設定檔。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/standard-identifiers.html)  | 
|  LOOKUP\$1ONLY  | 此識別符表示擷取物件後未儲存索引鍵。索引鍵僅用於在擷取期間決定設定檔。 索引鍵值在擷取期間不與設定檔關聯，表示它無法用於搜尋，或將稍後擷取的物件與同一索引鍵進行比對。    您無法將索引鍵同時指定為 `UNIQUE` 識別符和 `LOOKUP_ONLY` 識別符。   如果至少有一個其他索引鍵具有 `PROFILE` 識別符，但沒有 `NEW_ONLY` 或 `LOOKUP_ONLY` 識別符時，您才能將 `PROFILE` 與 `LOOKUP_ONLY` 一起使用。唯一例外是 `_profileId` 索引鍵，它可以單獨擁有 `PROFILE` 和 `LOOKUP_ONLY` 識別符組合。     | 
|  NEW\$1ONLY  | 如果設定檔在物件擷取之前尚未存在，則索引鍵會與該設定檔關聯。否則，該索引鍵僅用於比對物件和設定檔。    您無法將索引鍵同時指定為 `UNIQUE` 識別符和 `NEW_ONLY` 識別符。   如果至少有一個其他索引鍵具有 `PROFILE` 識別符，但沒有 `NEW_ONLY` 或 `LOOKUP_ONLY` 識別符時，您才能將 `PROFILE` 與 `NEW_ONLY` 一起使用。     | 
|  SECONDARY  | Customer Profiles 比對物件和設定檔時，會先查詢一切沒有 SECONDARY 識別符的 PROFILE 索引鍵。這些索引鍵會優先考慮。只有在使用這些索引鍵找不到相符的設定檔時，才會考慮 SECONDARY 索引鍵。  | 
|  ASSET  | 此識別符表示此索引鍵可唯一識別資產。指定此識別符後，表示在擷取期間，Customer Profiles 會尋找與此索引鍵關聯的任何資產。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/standard-identifiers.html)  | 
|  ORDER  | 此識別符表示此索引鍵可唯一識別訂單。指定此識別符時，表示在擷取期間，客戶設定檔會尋找與此索引鍵關聯的任何訂單。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/standard-identifiers.html)  | 
|  CASE  | 此識別符表示此金鑰唯一識別案例。指定此識別符時，表示在擷取期間，Customer Profiles 會尋找與此索引鍵關聯的任何案例。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/standard-identifiers.html)  | 

## 相容的識別符
<a name="standard-identifiers-compatibility"></a>

![\[矩陣，其中顯示不同資料類型的允許和限制識別符和金鑰名稱。\]](http://docs.aws.amazon.com/zh_tw/connect/latest/adminguide/images/standard-identifiers-compatibility-image.png)
