void
validation: AnalyticsValidationErrorCode - Thrown when the provided parameters or library configuration is incorrect.
// Record an `Identify` event to Personalize.
record({
eventType: "Identify",
properties: {
userId: "<USER_ID>"
}
});
Record one analytic event and send it to Personalize. Events will be buffered and periodically sent to Amazon Personalize.
For more examples, you can refer to the API usage guidance.