VM::EC2::Volume::Status::Action - Object describing a scheduled volume maintenance event
Contents
Description
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.htmlMethods
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.
Name
VM::EC2::Volume::Status::Action - Object describing a scheduled volume maintenance event
See Also
VM::EC2 VM::EC2::Generic VM::EC2::Volume VM::EC2::Volume::Status VM::EC2::Volume::StatusItem
VM::EC2::Volume::Status::Details VM::EC2::Tag
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";
}
}
