VM::EC...tionSet(3pm)
π VM::EC2::Reservation π
okay bestie, gather round, because we're doing a manual page and it's giving "perl, but make it cute" π
This one lives in the User Contributed Perl Documentation corner of your system, and the page itself is titled VM::EC...tionSet(3pm) (yes the name is truncated, no that's not a typo, the man page gods just have a character limit bestie π).
β¨ NAME β¨
VM::EC2::Reservation β it's the object that describes an instance reservation set. no cap. π¦
πΈ SYNOPSIS πΈ
here's the vibe, copy it exactly okay:
use VM::EC2;
$ec2 = VM::EC2->new(...);
@instances = $ec2->describe_instances();
for my $i (@instances) {
$res = $i->reservationId;
$req = $i->requesterId;
$owner = $i->ownerId;
@groups = $i->groups;
}
like. look at that. the girlies are looping, the fields are popping, it's a whole moment π
π«Ά DESCRIPTION π«Ά
so like, real talk β this object is used internally to manage the output of VM::EC2->describe_instances(). it's the backstage crew, not the main character. β¨
and because reservations are infrequently used, this object is not used directly. nope. instead, the reservation and requester IDs contained within it are stored in the VM::EC2::Instance objects that come back from describe_instances(). so it's basically handing off its info and stepping aside, iconic behaviour honestly π
π METHODS π
One object method is supported. just one. she's an only child and she ate. π
β @instances = $reservation_set->instances()
this will return the instances contained within the reservation set. that's it, that's the whole job, and she does it flawlessly π₯
π SEE ALSO π
go read these next, i'm obsessed:
VM::EC2VM::EC2::GenericVM::EC2::Instance
π AUTHOR π
Lincoln Stein <lincoln.stein@gmail.com>. a legend, fr fr π«Ά
Copyright (c) 2011 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 disclaimers bestie, no warranty is a whole mood but it's real π)
π that's the whole page, you understood it, i'm so proud π
this little love letter to perl docs came from perl v5.38.2, dated 2024-08-10, and filed under VM::EC...tionSet(3pm). periodt. π
β¨π
π¦ 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