Is there a way to "put events" using their REST API and not an SDK?
For example in their docs I see https://docs.aws.amazon.com/personalize/latest/dg/API_UBS_PutEvents.html
POST /events HTTP/1.1
Content-type: application/json
{
"eventList": [
{
"eventId": "string",
"eventType": "string",
"eventValue": number,
"impression": [ "string" ],
"itemId": "string",
"properties": "string",
"recommendationId": "string",
"sentAt": number
}
],
"sessionId": "string",
"trackingId": "string",
"userId": "string"
}
But I've searched the docs everywhere for the base url and it does not seem listed at all.
Our problem is we need to log events to personalize both from iOS and web, and although there seems to be a js sdk, there does not seem to be an iOS sdk for personalize, so we were hoping to do it via simple REST calls.
Or would this be better do with a lambda function + api gateway?