1VM::EC2::Volume::StatusUIsteerm(C3o)ntributed Perl DocumVeMn:t:aEtCi2o:n:Volume::StatusItem(3)
2
3
4
6 VM::EC2::Volume::StatusItem - Object describing a volume status event
7
9 @status_items = $ec2->describe_volume_status();
10 for my $i (@status_items) {
11 print $i->volume_id,': ',$i->status,"\n";
12 if (my $e = $i->events) {
13 print $i->volume_id,' event = ',$e;
14 }
15 }
16
18 This object represents an volume status returned by
19 $ec2->describe_volume_status().
20
22 These object methods are supported:
23
24 volumeId -- The ID of the affected volume.
25 volume -- The VM::EC2::Volume object corresponding to the volume_id.
26
27 availability_zone -- The availability zone of this volume.
28
29 volumeStatus -- A VM::EC2::Volume::Status object indicating the status of the volume.
30 status -- Shorter version of the above.
31
32 actionsSet -- The list of actions that you might wish to take
33 in response to this status, represented as
34 VM::EC2::Volume::Status::Action objects.
35 actions -- Shorter version of the above.
36
37 eventsSet -- A list of VM::EC2::Volume::Status::Event objects
38 which provide information about the nature and time
39 of the event.
40 events -- Shorter version of the above.
41
42 NOTE: There are a number of inconsistencies in the AWS documentation
43 for this data type. The event and action fields are described as being
44 named eventSet and actionSet, but the XML example and practical
45 experience show the fields being named eventsSet and actionsSet. The
46 volumeStatus is documented as being a list, but practice shows that it
47 is a single value only.
48
50 VM::EC2 VM::EC2::Generic VM::EC2::Instance VM::EC2::Tag
51
53 Lincoln Stein <lincoln.stein@gmail.com>.
54
55 Copyright (c) 2012 Ontario Institute for Cancer Research
56
57 This package and its accompanying libraries is free software; you can
58 redistribute it and/or modify it under the terms of the GPL (either
59 version 1, or at your option, any later version) or the Artistic
60 License 2.0. Refer to LICENSE for the full license text. In addition,
61 please see DISCLAIMER.txt for disclaimers of warranty.
62
63
64
65perl v5.30.0 2019-07-26 VM::EC2::Volume::StatusItem(3)