Amazon...essage(3pm)

πŸ’– Amazon::SQS::Simple::Message πŸ’–

okay so bestie, welcome to Amazon::SQS::Simple::Message β€” that's the page from your User Contributed Perl Documentation, the one the header abbreviates all cute like Amazon...essage(3pm) because terminals are dramatic and truncate everything πŸ’€. It's the OO API for representing messages from the Amazon Simple Queue Service. Yes, that Amazon. Yes, queues. Slay.


✨ INTRODUCTION ✨

🚨 DO NOT instantiate this class directly. Like, seriously, don't. Not me catching you trying to new this thing up πŸ™ˆ

Objects of this class get returned by various methods in Amazon::SQS::Simple::Queue. That's the whole vibe β€” this class is the result, not the entry point. It's giving supporting character who's actually the main character.

See Amazon::SQS::Simple::Queue for more details. Go read that one, it's where the plot happens 🫢


🌸 METHODS 🌸

Every one of these is a getter, and every single one of them ate. Let's go:

  • MessageBody() β€” Get the message body. That's the actual payload, the whole reason you showed up πŸ’…
  • MessageId() β€” Get the message unique identifier. Every message has its own little ID card, iconic behavior ⭐
  • MD5OfBody() β€” Get the MD5 checksum of the message body. Checksum bestie is here to keep things honest ✨
  • ReceiptHandle() β€” Get the receipt handle for the message. This one's special because it's used as an argument to DeleteMessage β€” like, that's literally its whole job. Hold onto it, you'll need it πŸ”₯

πŸ‘‘ AUTHOR πŸ‘‘

Copyright 2007-2008 Simon Whitaker <swhitaker@cpan.org> Copyright 2013-2017 Mike (no relation) Whitaker <penfold@cpan.org>

(not the "no relation" note in the docs, I cannot 😭 two Whitakers, zero bloodline, one CPAN page. legendary.)

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. So like, go wild responsibly 🌈


and that's the whole page, bestie!! πŸŽ€ it's from perl v5.32.0, dated 2021-01-09, and honestly? still relevant, still slaying, still very much giving "small class, big feelings". mwah πŸ’œπŸ§šπŸ’–

πŸ“¦ where this page comes from