I am trying to emit an event of type 'Identify' to AWS-Personalize. However there is no provision to see events other than types: Session Start and Session End inside AWSPinpoint
Also tried editing Pinpoint policy to enable it use .record() api as shown here... https://aws-amplify.github.io/docs/js/analytics#update-your-iam-policy
Amplify.Auth.currentUserCredentials()
.then((user) => {
setCookie("COGNITO_ID", user.identityId);
Analytics.record({
eventType: "Identify",
properties: {
"userId": user.identityId,
}
}, 'AmazonPersonalize');
})
.catch(e => console.log(e));
I am able to get the identityId however, I don't see any event recorded at the Event Tracker inside AWS Personalize. All I can see is Session Start and Session End events inside Pinpoint