VM::EC...etails(3pm)
π VM::EC2::Instance::Status::Details β bestie edition π
okay so real talk, this page is from the User Contributed Perl Documentation crew, and it's all about VM::EC2::Instance::Status::Details, aka the little object that spills the tea on what exactly went wrong with your instance status check π«β¨
πΈ NAME πΈ
VM::EC2::Instance::Status::Details β an object describing the details of an instance status check π
β¨ SYNOPSIS β¨
no cap, here's how you actually use it:
@status_items = $ec2->describe_instance_status();
for my $i (@status_items) {
print $i->instance_id,
': instance check=',$i->instance_status,
', system check=',$i->system_status,"\n";
if ($i->instance_status ne 'ok') {
my @details = $i->instance_status->details;
for my $d (@details) {
print $d->name,"\n";
print $d->status,"\n";
print $d->impaired_since,"\n";
}
}
}
π¦ DESCRIPTION π¦
so basically, this object is the receipts π§Ύ β it represents the extra deets about a failed system or instance status check. it's giving "here's exactly what's wrong and when it started going wrong."
π METHODS π
these methods are supported, and they ate:
name()β the type of instance status detail, like"reachability". π (yes, reachability, iconic)status()β the status of the check:"passed","failed", or"insufficient-data". three moods, pick one.impaired_since()β the time when a status check failed, as aDateTimestring. β° lowkey the most important one ngl.
also! in a string context, this object interpolates as the name(). so if you just shove it in a string, it's gonna show up as its name. cute, right? π
π SEE ALSO π
go read these too, bestie, they're all part of the same friend group:
VM::EC2VM::EC2::GenericVM::EC2::InstanceVM::EC2::Instance::StateVM::EC2::Instance::StatusItemVM::EC2::Instance::StatusVM::EC2::Instance::Status::EventVM::EC2::Tag
π AUTHOR π
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.
fr fr, go readLICENSEandDISCLAIMER.txtβ the legal girlies deserve their moment too. no skipping. π
and that's the whole page, bestie!! πβ¨ this was perl v5.38.2, dated 2024-08-10, and it's part of the VM::EC2... docs family β stay hydrated, read your manpages, and may all your status checks be ok πππ¦
π¦ where this page comes from
- debian trixie: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- ubuntu resolute: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- ubuntu stonking: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms