1VM::EC2::Volume::StatusU:s:eErveCnotn(t3r)ibuted Perl DoVcMu:m:eEnCt2a:t:iVoonlume::Status::Event(3)
2
3
4

NAME

6       VM::EC2::Volume::Status::Event - Object describing a scheduled volume
7       maintenance event
8

SYNOPSIS

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->type,' ',
15                    $event->description, ' ',
16                    $event->notBefore, ' ',
17                    $event->notAfter,"\n";
18           }
19        }
20

DESCRIPTION

22       This objects describes a scheduled maintenance event on an volume, and
23       is returned by calling the events() method of one of the status item
24       objects returned by $ec2->describe_volume_status().
25
26       NOTE: There is an inconsistency in the AWS documentation for this data
27       type. The events field is documented as being a list, but the examples
28       shown show a single object. At release time, I was unable to verify
29       which is correct and have written the code such that it will detect a
30       single value in the response object and return this as a single-element
31       list.
32

METHODS

34        eventType     -- The type of event
35
36        eventId       -- The ID of the event
37
38        description   -- A description of the event.
39
40        notBefore     -- The earliest scheduled start time for the event.
41
42        notAfter      -- The latest scheduled end time for the event.
43
44        type          -- Alias for eventType
45
46        id            -- Alias for eventId
47
48       When used in a string context, this object interpolates as a string
49       using the eventType.
50

SEE ALSO

52       VM::EC2 VM::EC2::Generic VM::EC2::Volume VM::EC2::Volume::Status
53       VM::EC2::Volume::StatusItem VM::EC2::Volume::Status::Details
54       VM::EC2::Tag
55

AUTHOR

57       Lincoln Stein <lincoln.stein@gmail.com>.
58
59       Copyright (c) 2012 Ontario Institute for Cancer Research
60
61       This package and its accompanying libraries is free software; you can
62       redistribute it and/or modify it under the terms of the GPL (either
63       version 1, or at your option, any later version) or the Artistic
64       License 2.0.  Refer to LICENSE for the full license text. In addition,
65       please see DISCLAIMER.txt for disclaimers of warranty.
66
67
68
69perl v5.28.0                      2018-07-15 VM::EC2::Volume::Status::Event(3)
Impressum