Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change sentAt from Str to Int #379

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

2 participants