VM::EC...etails(3pm)

πŸ“¦
version 1.28 Β· 7 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ NAME ✨

okay so bestie, welcome to VM::EC2::Volume::Status::Details β€” she's a Perl module, she lives in the 3pm section of your man pages, and she's literally the object that describes the details of a volume status check πŸ’–


🌸 SYNOPSIS 🌸

@status_items = $ec2->describe_volume_status();
for my $i (@status_items) {
   print $i->volume_id,': ',$i->status,"\n";
   if ($i->volume ne 'ok') {
     my @details = $i->volume_status->details;
     for my $d (@details) {
           print $d->name,"\n";
           print $d->status,"\n";
     }
  }
}

πŸ¦‹ DESCRIPTION πŸ¦‹

so this object is the little extra-tea sidekick that shows up when a system or volume status check failed 😭. It holds the extra details about that failure. That's her whole job. She's giving "receipts for why things went sideways" and honestly? iconic.


πŸ’… METHODS πŸ’…

these are the methods she supports, and yes she ate:

  • name() β€” the type of volume status detail, like for example "reachability". it's the what-went-wrong label πŸ’€
  • status() β€” how the check is doing: "passed", "failed", or "insufficient-data". three moods, no in-between πŸŽ€
  • impaired_since() β€” the moment the status check failed, delivered as a DateTime string. the timestamp of the betrayal ⏰
also!! when you use this object in a string context, she interpolates as name(). so if you just print her, you get the name. periodt ✨

πŸ‘‘ SEE ALSO πŸ‘‘

go read these too, they're the friend group 🫢

  • VM::EC2
  • VM::EC2::Generic
  • VM::EC2::Volume
  • VM::EC2::Volume::State
  • VM::EC2::Volume::StatusItem
  • VM::EC2::Volume::Status
  • VM::EC2::Volume::Status::Event
  • VM::EC2::Tag

🌈 AUTHOR 🌈

written by Lincoln Stein <lincoln.stein@gmail.com> πŸ’œ

Copyright (c) 2012 Ontario Institute for Cancer Research

this package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer to LICENSE for the full license text. In addition, please see DISCLAIMER.txt for disclaimers of warranty. read the fine print bestie, it's important πŸ“œ


and that's the whole page!! this one's running on perl v5.38.2, dated 2024-08-10, and it's VM::EC2::Volume::Status::Details(3pm) β€” mwah, stan a documentation queen πŸ’…βœ¨

πŸ“¦ where this page comes from