VM::EC...chedule(3pm)
π VM::EC2::ReservedInstance::Listing::PriceSchedule π
okay so bestie, welcome to the User Contributed Perl Documentation corner of the internet, where we're about to get intimately acquainted with VM::EC2::ReservedInstance::Listing::PriceSchedule (3pm, obviously). it's giving very specific, very niche, and honestly? iconic. β¨
πΈ NAME πΈ
VM::EC2::ReservedInstance::Listing::PriceSchedule β bestie, this is the object that describes an Amazon EC2 reserved instance listing price schedule. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
here's how you actually use her:
use VM::EC2;
$ec2 = VM::EC2->new(...);
@listings = $ec2->describe_reserved_instances_listings();
for my $l (@listings) {
foreach ($l->priceSchedules) {
print $_,"\n";
}
}
look at that loop. look at it. she's looping, she's printing, she's living her truth. π
π DESCRIPTION π
so like, this object represents an Amazon EC2 reserved instance listing price schedule. the fancy technical name for that is PriceScheduleSetItemType, and yes we're saying it with our whole chest. π«Ά
β¨ METHODS β¨
these object methods are supported, bestie β memorize them, they're the main characters:
termβ the number of months remaining in the reservation. tick tock β³priceβ the fixed price for the term. your wallet is watching πcurrencyCodeβ the currency for transacting the Reserved Instance resale. and listen, at this time, the only supported currency isUSD. that's it. USD or nothing, no cap. π΅activeβ the current price schedule, as determined by the term remaining for the Reserved Instance in the listing. she's active, she's current, she's that girl. π
π STRING OVERLOADING π
when you use this object in a string context, it will interpolate the reservedInstancesListingId. so like, if you just casually drop it into a string, it knows what to do. self-sufficient. lowkey obsessed. π
π SEE ALSO π
VM::EC2VM::EC2::Generic
go read those too, they're part of the family. π§
π AUTHOR π
Lance Kinley <lkinley@loyaltymethods.com<gt>. (the <gt> is literally in there, we're not touching it, we respect the source π)
Copyright (c) 2014 Loyalty Methods, Inc.
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 worked hard on those and they matter. π
and that's the whole page bestie!! π₯³ this was perl v5.38.2, dated 2024-08-10, and honestly? slay. ate. no crumbs. π
β¨πΈπ¦
π¦ 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