VM::EC...ription(3pm)
π VM::EC2::Spot::DatafeedSubscription π
okay bestie, gather round, because this is a page from the User Contributed Perl Documentation and it's the manual for VM::EC2::Spot::DatafeedSubscription (you'll see it living in section 3pm). it's literally an object that describes an Amazon EC2 spot instance datafeed subscription and honestly? she's lowkey iconic for it. π
β¨ NAME β¨
VM::EC2::Spot::DatafeedSubscription β the object that describes an Amazon EC2 spot instance datafeed subscription. no cap, that's the whole job description. π
πΈ SYNOPSIS πΈ
here's the vibe in code form, copy it exactly bestie:
use VM::EC2;
$ec2 = VM::EC2->new(...);
$sub = $ec2->create_spot_datafeed_subscription('myBucket','SPOT:');
my $owner = $sub->ownerId;
my $bucket = $sub->bucket;
my $prefix = $sub->prefix;
my $state = $sub->state;
my $error = $sub->fault;
see how she just pulls the owner, the bucket, the prefix, the state and the fault out like it's nothing? main character energy fr fr. π₯
π¦ DESCRIPTION π¦
so this object represents an Amazon EC2 spot instance datafeed subscription. that's the whole thing. she gets returned to you by VM::EC2->create_spot_datafeed_subscription() and also by VM::EC2->describe_spot_datafeed_subscription(). two doors, same queen. π
π METHODS π
these object methods are supported, and yes, we're listing every single one, because we do not skip:
ownerIdβ the ID of the owner of this subscription. who's her parent? this. π«Άbucketβ the bucket receiving the subscription files. that's where the goodies land. πprefixβ the prefix for log files written into the bucket. lil name tag on every file.stateβ the state of the subscription, and it's one of'Active'or'Inactive'. that's the whole vibe check. βfaultβ aVM::EC2::Errorobject describing errors in the subscription. yeah, this is the one that tells you when something's not okay. π
also, side note, the original page literally has a stray =head1 SEE ALSO line sitting right there in the middle of the METHODS list. we don't make the rules, we just report them. π
π SEE ALSO π
go read these next, they're the friend group:
VM::EC2VM::EC2::Generic
π AUTHOR π
this masterpiece is by Lincoln Stein <lincoln.stein@gmail.com>.
Copyright (c) 2011 Ontario Institute for Cancer Research
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.
okay that's the whole page, you ate it, periodt. π
β¨ this was perl v5.38.2, dated 2024-08-10, and the header up top goes by VM::EC...ription(3pm) β yeah she got truncated, she's mysterious like that. mwah. ππ
π¦ 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