Closed acommodari closed 1 month ago
Hi @acommodari, thanks for reporting this. I have confirmed that MessageSystemAttributeNames is not available as an option in the ReceiveMessage request parameters, for what I will reach out to the SQS service regarding this. Once I have more details I will get back to you.
Thanks!
V1073281478
Hi @acommodari - thanks for your patience. I wanted to share an update that the fix has now been released by service team as of last week and I was able to confirm it with latest version of SDK. Resolving this now.
This issue is now closed.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Checkboxes for prior research
Describe the bug
Attribute Names as well as select CommandInput properties are missing from some Commands in SQS but are shown on the AWS Docs.
For my case I'm talking about
ReceiveMessageCommand
more specifically:These 2 Attribute Names are suddenly not working anymore as they are missing from the
QueueAttributeName
type. Also I noticedAttributeNames
is now deprecated but its replacementMessageSystemAttributeNames
is not an option in the types.SDK version number
@aws-sdk/client-sqs@^3.429
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v18.18.2
Reproduction Steps
I'm not sure of the exact point where this issue was introduced. I can say that in version
@aws-sdk/client-sqs@^3.427
it was fine and when i upgraded to@aws-sdk/client-sqs@^3.429
and later it no longer worked. I am usingtypescript@^5.2.2
and the code that triggers type errors is mentioned in the section above.Observed Behavior
Expected Behavior
As mentioned in the aws docs link i provided these attribute names should work. Also missing new property should be added.
ReceiveMessageCommand
is the only error I'm getting but there could be other Commands that are affected by something similar.Possible Solution
Add the missing Attributes to the type as well as the missing property.
Additional Information/Context
No response