https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sqs/send-message.html#examples
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sqs/send-message.html#examples
Input file (send-message.json):
{ "City": { "DataType": "String", "StringValue": "Any City" }, "Greeting": { "DataType": "Binary", "BinaryValue": "Hello, World!" }, "Population": { "DataType": "Number", "StringValue": "1250800" } }
==== Is incorrect. Running the command as indicated in the current version of the documentation, yields :
C:>aws sqs send-message --queue-url https://sqs.us-east-1.amazonaws.com/"aws account ID #" /manuel_Queue --message-body "testmessageaws" --delay-seconds 10 --message-attributes "file://D:/message.json"
Invalid base64: "Hello, World!"
===
"BinaryValue": "Hello, World!", should be "StringValue": "Hello, World!"
=== After making this change, the command succeeds without issue.
Thanks for the find, @manuelh2410!
closing issue
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please 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.