VM::EC...Option(3pm)
π VM::EC2::DB::Instance::OrderableOption β bestie edition π
okay so this page is the manual for VM::EC2::DB::Instance::OrderableOption(3pm) β that's the Perl module you're looking at, and it lives in the User Contributed Perl Documentation. come on in, the vibes are immaculate π¦
β¨ NAME β¨
VM::EC2::DB::Instance::OrderableOption β an RDS Database Orderable Option. that's it, that's the whole name. short, sweet, main character energy π
πΈ SYNOPSIS πΈ
okay so here's the vibe, copy-paste this and go:
use VM::EC2;
$ec2 = VM::EC2->new(...);
@options = $ec2->describe_orderable_db_instance_options(-engine => 'mysql');
foreach $option (grep { $_->MultiAZCapable } @options) {
print $option->EngineVersion,' ',
$option->DBInstanceClass,' ',
join(',',grep { $_->ProvisionedIopsCapable } $option->AvailabilityZones),
"\n";
}
literally you make your $ec2 object, you ask for the orderable DB instance options filtered by -engine => 'mysql', then you loop through only the ones that are MultiAZCapable and print the engine version, the instance class, and the availability zones that are ProvisionedIopsCapable. chef's kiss, no notes π
π DESCRIPTION π
so like, what is this thing? it's an object that represents a DB Instance Orderable Option β the stuff that comes back when you call the VM::EC2->describe_orderable_db_instance_options() call. that's it. that's the job. she's an object, she holds data, she slays β¨
π¦ STRING OVERLOADING π¦
none
yeah bestie there's no string overloading here. don't try to stringify it and expect poetry, it will not give you that. π
β SEE ALSO β
go check out her friends, they're all iconic too:
VM::EC2VM::EC2::GenericVM::EC2::DB::Instance
π AUTHOR π
written by Lance Kinley <lkinley@loyaltymethods.com>. π
Copyright (c) 2013 Loyalty Methods, Inc.
okay so legal moment, but make it cute: 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. wanna read the whole thing? refer to LICENSE for the full license text. and also, please see DISCLAIMER.txt for disclaimers of warranty. fr fr, read the fine print, it's giving responsible π«Ά
and that's a wrap on this one! this page ships with perl v5.38.2, dated 2024-08-10. go forth and describe those orderable options, bestie ππΈπ
π¦ 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