Skip to content

Conversation

@dinosimone
Copy link

sentAt must be of type Int or it will not be serialized correctly. Current implementation causes PutEvents to fail with "class java.lang.String can not be converted to milliseconds since epoch" error.

@castaway
Copy link
Collaborator

castaway commented Feb 26, 2020

This is a patch against a generated file - you'll need to patch the generation code in builder-lib, else the change will just get overwritten. It looks like this is set from a type of "Date", which translates to "timestamp". (See botocore/botocore/data/personalize-events/2018-03-22/service-2.json )

Timestamp is used in a number of places across the various services, so we'd need to know if this change can be to be universal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants