How to search all the amazon connect customer profiles using API?

0

Hi, everyone.

I am struggling with searching all the amazon connect customer profiles at once by using rest API.

I already know the API that retrieve one or more than two customer profiles via specific key name such as profile ID or account ID etc.

However not list all customer profiles.

Here's my javascript code for searching one profile.

session.profileClient.searchProfiles({
            "DomainName": "", // required
            "KeyName": searchKey, // required
            "Values": [searchValue] // required
        }).then((res) => {
            console.log('Success response: ' + JSON.stringify(res));
        }).catch((errorResp) => {
            console.log('Error response: ' + JSON.stringify(errorResp));
        });

In this code, I have to put 3 parameters(domainName, keyName, value) and get one or two more results but all the results.

Any help in the right direction on how to list all Amazon Connect Customer Profile would be greatly appreciated.

I hope to get all the amazon connect customer profile list.

fromus
gefragt vor 9 Monaten304 Aufrufe
1 Antwort
1

currently, there is no public API or publicly available methods to list out all the profiles in one command. Please work with your Connect SA to request this feature and give your use case scenarios.

profile pictureAWS
beantwortet vor 9 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen