i am trying to add a message to queue in amazon aws sqs
so i tried this
root~# aws sqs send-message --queue-url "queue/url" --message-body "message with attribute" --message-attributes '{"Name": "somename", "Type":"String", "Value":"somevalue"}'
bit it gives me this error
'unicode' object has no attribute 'keys'
but if i remove the --message-attributes
part from the command
root~# aws sqs send-message --queue-url "queue/url" --message-body "message with attribute"
then it works perfect
http://docs.aws.amazon.com/cli/latest/reference/sqs/send-message.html
i guess that it is map type how can send this parameter in map format
--message-attributes (map)