How to tell if boto.sqs.Queue.write() succeeded?
--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Techno Intrigue Looping
--
Chapters
00:00 How To Tell If Boto.Sqs.Queue.Write() Succeeded?
00:57 Accepted Answer Score 6
01:26 Thank you
--
Full question
https://stackoverflow.com/questions/2108...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #amazonwebservices #boto #amazonsqs
#avk47
    Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Techno Intrigue Looping
--
Chapters
00:00 How To Tell If Boto.Sqs.Queue.Write() Succeeded?
00:57 Accepted Answer Score 6
01:26 Thank you
--
Full question
https://stackoverflow.com/questions/2108...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #amazonwebservices #boto #amazonsqs
#avk47
ACCEPTED ANSWER
Score 6
The documentation quote you provide comes from the SQS tutorial. The SQS API docs correctly describe the current return value. The SQS tutorial is simply out of date and needs to be corrected. I have created an issue to track this.
If the write fails for any reason, the service will return an HTTP error code which, in turn, will cause boto to raise an SQSError exception. If no exception is raised, the write was successful.