add_profile_key
(**kwargs)¶Associates a new key value with a specific profile, such as a Contact Record ContactId.
A profile object can have a single unique key and any number of additional keys that can be used to identify the profile that it belongs to.
See also: AWS API Documentation
Request Syntax
response = client.add_profile_key(
ProfileId='string',
KeyName='string',
Values=[
'string',
],
DomainName='string'
)
[REQUIRED]
The unique identifier of a customer profile.
[REQUIRED]
A searchable identifier of a customer profile. The predefined keys you can use include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.
[REQUIRED]
A list of key values.
[REQUIRED]
The unique name of the domain.
dict
Response Syntax
{
'KeyName': 'string',
'Values': [
'string',
]
}
Response Structure
(dict) --
KeyName (string) --
A searchable identifier of a customer profile.
Values (list) --
A list of key values.
Exceptions
CustomerProfiles.Client.exceptions.BadRequestException
CustomerProfiles.Client.exceptions.AccessDeniedException
CustomerProfiles.Client.exceptions.ResourceNotFoundException
CustomerProfiles.Client.exceptions.ThrottlingException
CustomerProfiles.Client.exceptions.InternalServerException