| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.CustomerProfiles.SearchProfiles
Description
Searches for profiles within a specific domain name using name, phone number, email address, account number, or a custom defined index.
Synopsis
- data SearchProfiles = SearchProfiles' {}
- newSearchProfiles :: Text -> Text -> SearchProfiles
- searchProfiles_nextToken :: Lens' SearchProfiles (Maybe Text)
- searchProfiles_maxResults :: Lens' SearchProfiles (Maybe Natural)
- searchProfiles_domainName :: Lens' SearchProfiles Text
- searchProfiles_keyName :: Lens' SearchProfiles Text
- searchProfiles_values :: Lens' SearchProfiles [Text]
- data SearchProfilesResponse = SearchProfilesResponse' {}
- newSearchProfilesResponse :: Int -> SearchProfilesResponse
- searchProfilesResponse_items :: Lens' SearchProfilesResponse (Maybe [Profile])
- searchProfilesResponse_nextToken :: Lens' SearchProfilesResponse (Maybe Text)
- searchProfilesResponse_httpStatus :: Lens' SearchProfilesResponse Int
Creating a Request
data SearchProfiles Source #
See: newSearchProfiles smart constructor.
Constructors
| SearchProfiles' | |
Fields
| |
Instances
Create a value of SearchProfiles with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:SearchProfiles', searchProfiles_nextToken - The pagination token from the previous SearchProfiles API call.
$sel:maxResults:SearchProfiles', searchProfiles_maxResults - The maximum number of objects returned per page.
$sel:domainName:SearchProfiles', searchProfiles_domainName - The unique name of the domain.
$sel:keyName:SearchProfiles', searchProfiles_keyName - A searchable identifier of a customer profile. The predefined keys you
can use to search include: _account, _profileId, _fullName, _phone,
_email, _ctrContactId, _marketoLeadId, _salesforceAccountId,
_salesforceContactId, _zendeskUserId, _zendeskExternalId,
_serviceNowSystemId.
$sel:values:SearchProfiles', searchProfiles_values - A list of key values.
Request Lenses
searchProfiles_nextToken :: Lens' SearchProfiles (Maybe Text) Source #
The pagination token from the previous SearchProfiles API call.
searchProfiles_maxResults :: Lens' SearchProfiles (Maybe Natural) Source #
The maximum number of objects returned per page.
searchProfiles_domainName :: Lens' SearchProfiles Text Source #
The unique name of the domain.
searchProfiles_keyName :: Lens' SearchProfiles Text Source #
A searchable identifier of a customer profile. The predefined keys you can use to search include: _account, _profileId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _zendeskUserId, _zendeskExternalId, _serviceNowSystemId.
searchProfiles_values :: Lens' SearchProfiles [Text] Source #
A list of key values.
Destructuring the Response
data SearchProfilesResponse Source #
See: newSearchProfilesResponse smart constructor.
Constructors
| SearchProfilesResponse' | |
Instances
newSearchProfilesResponse Source #
Create a value of SearchProfilesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:SearchProfilesResponse', searchProfilesResponse_items - The list of SearchProfiles instances.
$sel:nextToken:SearchProfiles', searchProfilesResponse_nextToken - The pagination token from the previous SearchProfiles API call.
$sel:httpStatus:SearchProfilesResponse', searchProfilesResponse_httpStatus - The response's http status code.
Response Lenses
searchProfilesResponse_items :: Lens' SearchProfilesResponse (Maybe [Profile]) Source #
The list of SearchProfiles instances.
searchProfilesResponse_nextToken :: Lens' SearchProfilesResponse (Maybe Text) Source #
The pagination token from the previous SearchProfiles API call.
searchProfilesResponse_httpStatus :: Lens' SearchProfilesResponse Int Source #
The response's http status code.