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

[Bug]: RetrieveMessage is missing the MessageSystemAttributeNames parameter #515

Closed
ericfuxealth opened this issue Aug 18, 2024 · 4 comments · Fixed by #518
Closed

[Bug]: RetrieveMessage is missing the MessageSystemAttributeNames parameter #515

ericfuxealth opened this issue Aug 18, 2024 · 4 comments · Fixed by #518

Comments

@ericfuxealth
Copy link

ericfuxealth commented Aug 18, 2024

Describe the bug

AWS SDK v3 client-sqs's ReceiveMessageCommandInput takes a "MessageSystemAttributeNames" parameter.
See
https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sqs/Interface/ReceiveMessageCommandInput/

This option is currently not available in SQSConsumer

Your minimal, reproducible example

3.592.0

Steps to reproduce

AWS doc
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ReceiveMessage.html#API_ReceiveMessage_RequestSyntax

[AttributeNames]
This parameter has been deprecated but will be supported for backward compatibility. To provide attribute names, you are encouraged to use MessageSystemAttributeNames.

SQSConsumer should provide an option to pass in MessageSystemAttributeNames to client/sqs to be forward compatible.

Expected behavior

Consumer.create() should have an option to pass in MessageSystemAttributeNames

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

NodeJS 18

Package version

v11.0.2

AWS SDK version

3.633.0

Additional context

N/A

@nicholasgriffintn
Copy link
Member

Sorry, I didn't spot this, been working on the day to day, this makes sense, if you want to open a PR, I'll happily take a look through, otherwise, I'll take a look this Friday.

Copy link

github-actions bot commented Oct 1, 2024

🎉 This issue has been resolved in version 11.1.0-canary.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

github-actions bot commented Oct 1, 2024

🎉 This issue has been resolved in version 11.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants