VM::EC...itoring(3pm)
π VM::EC2::REST::monitoring β the manual page, but make it make sense π
okay bestie, so this is the VM::EC2::REST::monitoring page, from the User Contributed Perl Documentation, and the whole vibe here is monitoring of instances. yep. that's the thing. turning instance monitoring on and off. iconic behavior honestly β¨
πΈ NAME πΈ
VM::EC2::REST::monitoring β Monitoring of instances π«Ά
β¨ SYNOPSIS β¨
use VM::EC2 ':misc';
that's it. that's the whole synopsis. she's minimal, she's clean, she ate π
π¦ METHODS π¦
so these methods are literally here to let you monitor and unmonitor your instances. that's the assignment. no cap π
@monitoring_state = $ec2->monitor_instances(@list_of_instanceIds)
@monitoring_state = $ec2->monitor_instances(-instance_id=>\@instanceIds)
this one turns monitoring ON for all the instances you list, and it hands you back a list of VM::EC2::Instance::MonitoringState objects. and like, the way that you can keep those objects around and use them later to activate and inactivate monitoring?? obsessed. they're yours, they're reusable, slay π
@monitoring_state = $ec2->unmonitor_instances(@list_of_instanceIds)
@monitoring_state = $ec2->unmonitor_instances(-instance_id=>\@instanceIds)
and this one does the opposite bestie β monitoring OFF for every instance you listed. same deal: you get back a list of VM::EC2::Instance::MonitoringState objects, and you can use those later to activate and inactivate monitoring. yes, same sentence as above, because it's the same truth fr fr π
side note: both methods return the exact same object type, so whichever direction you're going, the receipts are VM::EC2::Instance::MonitoringState π§
π SEE ALSO π
VM::EC2
that's the one. go read that if you want the full lore π
π AUTHOR π
Lincoln Stein <lincoln.stein@gmail.com> β a legend, periodt π
Copyright (c) 2011 Ontario Institute for Cancer Research
okay so legal bit, and it's important so don't skip it: 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. and ALSO, please go see DISCLAIMER.txt for the disclaimers of warranty π
and that's the whole page!! this manual came from perl v5.38.2 dated 2024-08-10, so shoutout to that version and that date, mwah π byeeee π¦πΈ
π¦ 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