SYNOPSIS
@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";
}
}
DESCRIPTION
This objects reflects the actions you may have to take in response to a volume event, as described at:METHODS
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.
AUTHOR
Lincoln Stein <[email protected]>.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.