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

Incorrect message_attributes definition for the Handler.MessageQueue #9

Open
altrr2 opened this issue Dec 20, 2022 · 0 comments
Open

Comments

@altrr2
Copy link

altrr2 commented Dec 20, 2022

If I do ...
aws sqs send-message
--message-attributes '{ "connectionId":{ "DataType":"String","StringValue":"12345657890" } }'
{.......}

... log details.message.message_attributes.connectionId in the handler...

I will get
connectionId { data_type: 'String', string_value: '12345657890' }

(not dataType and stringValue as it is currently in the function-ts-types/src/triggers/messageQueue.ts, which looks a bit off)

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

No branches or pull requests

1 participant