VM::EC...:Event(3pm)

πŸ“¦
version 1.28 Β· 7 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– VM::EC2::DB::Event β€” the tea on RDS Database Events πŸ’–

okay bestie, welcome to the VM::EC2::DB::Event page 🫢 this one lives in the User Contributed Perl Documentation corner of the perl 3pm manual, and it's literally just one lil' object that holds an RDS event. no cap.


✨ NAME ✨

VM::EC2::DB::Event β€” an RDS Database Event. that's it, that's the name, slay πŸ’…


🌸 SYNOPSIS 🌸

here's the vibe, copy-paste core:

use VM::EC2;
$ec2 = VM::EC2->new(...);
my @events = $ec2->describe_events;
print $_,"\n" foreach grep { $_->SourceIdentifier eq 'mydbinstance' } @events;

so you spin up a VM::EC2 object, you call describe_events, and then you grep through the pile for the ones whose SourceIdentifier matches 'mydbinstance' β€” and print each one with a newline. iconic. πŸ¦‹


πŸŽ€ DESCRIPTION πŸŽ€

this object is giving event receipt πŸ“¬ it represents an event tied to:

  • DB instances
  • DB security groups
  • DB snapshots
  • DB parameter groups

…and specifically the events that have happened in the past 14 days. two weeks of lore, that's the window. periodt.


πŸ’… STRING OVERLOADING πŸ’…

when you use this thing in string context (like when you print it or stick it in a double-quoted string), it hands you back a string containing:

  • the date
  • the identifier of the source of the event
  • the event message

that's the whole string. no more, no less. it's lowkey the perfect little summary. πŸ’–


🌈 SEE ALSO 🌈

go read these too, they're the friend group:

  • VM::EC2
  • VM::EC2::Generic
  • VM::EC2::DB::Instance

πŸ‘‘ AUTHOR πŸ‘‘

Lance Kinley <lkinley@loyaltymethods.com>.

Copyright (c) 2013 Loyalty Methods, Inc.

real talk, bestie, the license tea: 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 disclaimers of warranty β€” yes, fr fr, warranty disclaimers live there.

and that's the whole page, bestie πŸ’œ this was perl v5.38.2, dated 2024-08-10, from the VM::EC2::DB::Event(3pm) manual β€” go forth and describe those events πŸŽ€βœ¨

πŸ“¦ where this page comes from