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

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

πŸ’– NAME πŸ’–

VM::EC2::ReservedInstance::Modification::Result β€” bestie, it's literally an object that describes an Amazon EC2 reserved instance listing modification result. That's the whole vibe. πŸ‘‘


✨ SYNOPSIS ✨

okay so here's how you'd actually use it, no cap:

use VM::EC2;

$ec2       = VM::EC2->new(...);
@mods = $ec2->describe_reserved_instances_modifications();
for my $m (@mods) {
  print $m->modificationResult,"\n";
}

like… look at her go πŸ¦‹


🌸 DESCRIPTION 🌸

This object represents an Amazon EC2 reserved instance modification result, returned by VM::EC2->describe_reserved_instances_modifications().

so basically when you call describe_reserved_instances_modifications() you get a lil pile of these back, and each one is a whole reserved instance modification result. it's giving "receipts for your reserved instance changes" fr fr πŸ’…


πŸŽ€ METHODS πŸŽ€

These object methods are supported:

  • reservedInstancesId β€” the ID of the reserved instance πŸ†”
  • targetConfiguration β€” the configuration of the reserved instance βš™οΈ

that's it, that's the list, and honestly? iconic.


πŸ¦‹ STRING OVERLOADING πŸ¦‹

When used in a string context, this object will interpolate the reservedInstancesModificationId.

so like if you just print the object or shove it in a "$thing", it doesn't give you some cursed HASH(0x...) nonsense β€” it hands you the reservedInstancesModificationId instead. main character energy, truly. πŸ’œ


πŸ’œ SEE ALSO πŸ’œ

  • VM::EC2
  • VM::EC2::Generic

go read those too bestie, they're the supporting cast 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Lance Kinley <lkinley@loyaltymethods.com<gt>.

Copyright (c) 2014 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.

not me actually reading the license text 😭 but yeah β€” GPL v1-or-later or Artistic 2.0, your pick, and the fine print lives in LICENSE and DISCLAIMER.txt. read 'em, bestie, fr fr.

🌸 mwah, that's the whole page 🌸 β€” this was pulled from the User Contributed Perl Documentation, running under perl v5.38.2 and dated 2024-08-10. slay, go modify some reserved instances. πŸ’…βœ¨

πŸ“¦ where this page comes from