1VM::EC2::Volume::StatusU:s:eArctCioonnt(r3i)buted Perl DVoMc:u:mEeCn2t:a:tVioolnume::Status::Action(3)
2
3
4
6 VM::EC2::Volume::Status::Action - Object describing a scheduled volume
7 maintenance event
8
10 @status_items = $ec2->describe_volume_status();
11 for my $i (@status_items) {
12 for my $event ($i->events) {
13 print $i->volume_id,': ',
14 $event->code,' ',
15 $event->type, ' ',
16 $event->description,"\n";
17 }
18 }
19
21 This objects reflects the actions you may have to take in response to a
22 volume event, as described at:
23
24 http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeVolumeStatus.html
25
27 code -- The code identifying the action.
28
29 eventType -- The ID of the action.
30
31 description -- A description of the action.
32
33 type -- Alias for eventType
34
35 id -- Alias for eventId
36
37 When used in a string context, this object interpolates as a string
38 using the action code.
39
41 VM::EC2 VM::EC2::Generic VM::EC2::Volume VM::EC2::Volume::Status
42 VM::EC2::Volume::StatusItem VM::EC2::Volume::Status::Details
43 VM::EC2::Tag
44
46 Lincoln Stein <lincoln.stein@gmail.com>.
47
48 Copyright (c) 2012 Ontario Institute for Cancer Research
49
50 This package and its accompanying libraries is free software; you can
51 redistribute it and/or modify it under the terms of the GPL (either
52 version 1, or at your option, any later version) or the Artistic
53 License 2.0. Refer to LICENSE for the full license text. In addition,
54 please see DISCLAIMER.txt for disclaimers of warranty.
55
56
57
58perl v5.28.0 2018-07-15VM::EC2::Volume::Status::Action(3)