VM::EC2::Volume::Status::Action - Object describing a scheduled volume maintenance event
@status_items = $ec2->describe_volume_status(); for my $i (@status_items) { for my $event ($i->events) { print $i->volume_id,': ', $event->code,' ', $event->type, ' ', $event->description,"\n"; } }
This objects reflects the actions you may have to take in response to a volume event, as described at:
http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeVolumeStatus.html
code -- The code identifying the action. eventType -- The ID of the action. description -- A description of the action. type -- Alias for eventType id -- Alias for eventId
When used in a string context, this object interpolates as a string using the action code.
VM::EC2 VM::EC2::Generic VM::EC2::Volume VM::EC2::Volume::Status VM::EC2::Volume::StatusItem VM::EC2::Volume::Status::Details VM::EC2::Tag
Lincoln Stein <lincoln.stein@gmail.com>.
Copyright (c) 2012 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.
To install VM::EC2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VM::EC2
CPAN shell
perl -MCPAN -e shell install VM::EC2
For more information on module installation, please visit the detailed CPAN module installation guide.