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

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

πŸ’– 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 β€” a VM::EC2::Error object 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::EC2
  • VM::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