VM::EC...iption(3pm)
π VM::EC2::DB::Event::Subscription β no wait, bestie, the real ones know it as VM::EC2::DB::Event::Subscription from the User Contributed Perl Documentation (3pm) π
Okay so. Pull up a chair, grab your boba, because we're talking about VM::EC2::DB::Event::Subscription β an RDS Database Event Subscription. Yes it's a mouthful. Yes it's iconic. Periodt.
β¨ NAME β¨
VM::EC2::DB::Event::Subscription β An RDS Database Event Subscription π
Like. That's the whole vibe. It's a subscription. To database events. In RDS. Slay.
πΈ SYNOPSIS πΈ
Here's the tea, literally, in code:
use VM::EC2;
$ec2 = VM::EC2->new(...);
@subs = $ec2->describe_event_subscriptions;
@db_subs = grep { $_->SourceType eq 'db-instance' } @subs;
@enabled = grep { $_->Enabled } @subs;
So you build your $ec2 object, you describe_event_subscriptions, and then you're filtering β greping for the ones where SourceType is 'db-instance', and greping for the ones that are Enabled. Chef's kiss. Very demure, very mindful, very filtered. π
π¦ DESCRIPTION π¦
Okay so this object? It represents an RDS Event Subscription. That's it, that's the whole job. π
It is the resultant output of a VM::EC2->describe_event_subscriptions() call and a VM::EC2->create_event_subscription() call. So like, either of those two calls hand you one of these babies back, and you're like "oh okay, cute, a subscription object." π«Ά
π STRING OVERLOADING π
When you use this object in a string context, it will output the CustSubscriptionId.
That's it. That's the overload. It's giving "I contain multitudes but when you ask me who I am I just say my ID." Main character energy fr fr. β¨
π SEE ALSO π
Go check out the besties:
VM::EC2VM::EC2::GenericVM::EC2::DB::Instance
They're all in the group chat, iykyk. π
π AUTHOR π
Lance Kinley <lkinley@loyaltymethods.com>.
Copyright (c) 2013 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.
Bestie, that's real legal text, not a vibe β the license terms are exactly what they say they are. ReadLICENSEandDISCLAIMER.txt, fr. π
And that's the whole page, babe! π This was documented with perl v5.38.2, dated 2024-08-10, and that's the last you'll hear from VM::EC...iption(3pm) β go forth and subscribe to some events, you gorgeous nerd. πβ¨π¦
π¦ 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