aws.customer_profiles.search_profiles
Example SQL Queries
SELECT * FROMaws.customer_profiles.search_profilesWHERE"domain_name" = 'VALUE'AND "key_name" = 'VALUE'AND "values" = 'VALUE';Description
Searches for profiles within a specific domain using one or more predefined search keys (e.g., _fullName, _phone, _email, _account, etc.) and/or custom-defined search keys. A search key is a data type pair that consists of a KeyName and Values list.
This operation supports searching for profiles with a minimum of 1 key-value(s) pair and up to 5 key-value(s) pairs using either AND or OR logic.
Table Definition
| Column Name | Column Data Type |
|---|---|
| domain_name Required Input Column The unique name of the domain. | VARCHAR |
| key_name Required Input Column A searchable identifier of a customer profile. The predefined keys you can use to search include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId. | VARCHAR |
| values Required Input Column A list of key values. | VARCHAR[] |
Show child fields
| |
| additional_search_keys Input Column A list of AdditionalSearchKey objects that are each searchable identifiers of a profile. Each AdditionalSearchKey object contains a KeyName and a list of Values associated with that specific key (i.e., a key-value(s) pair). These additional search keys will be used in conjunction with the LogicalOperator and the required KeyName and Values parameters to search for profiles that satisfy the search criteria. | STRUCT( |
Show child fields
| |
| logical_operator Input Column Relationship between all specified search keys that will be used to search for profiles. This includes the required KeyName and Values parameters as well as any key-value(s) pairs specified in the AdditionalSearchKeys list. This parameter influences which profiles will be returned in the response in the following manner:
The OR relationship is the default behavior if this parameter is not included in the request. | VARCHAR |
| max_results Input Column The maximum number of objects returned per page. The default is 20 if this parameter is not included in the request. | BIGINT |
| next_token Input Column The pagination token from the previous SearchProfiles API call. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| items The list of Profiles matching the search criteria. | STRUCT( |
Show child fields
| |