Lincoln D. Stein > VM-EC2-1.22 > VM::EC2::Volume::Status::Action

Download:
VM-EC2-1.22.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  1
View/Report Bugs
Source   Latest Release: VM-EC2-1.27

NAME ^

VM::EC2::Volume::Status::Action - Object describing a scheduled volume maintenance event

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:

http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeVolumeStatus.html

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.

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

AUTHOR ^

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.

syntax highlighting: