VM::EC2::Volume::Status::Event3pm
Object describing a scheduled volume maintenance event
Usage
@status_items = $ec2->describe_volume_status();for my $i (@status_items) {for my $event ($i->events) {print $i->volume_id,': ',$event->type,' ',$event->description, ' ',$event->notBefore, ' ',$event->notAfter,"\n";}}
Overview
This objects describes a scheduled maintenance event on an volume, and is returned by calling the events() method of one of the status item objects returned by $ec2->describe_volume_status().
NOTE: There is an inconsistency in the AWS documentation for this data type. The events field is documented as being a list, but the examples shown show a single object. At release time, I was unable to verify which is correct and have written the code such that it will detect a single value in the response object and return this as a single-element list.
Methods
eventType -- The type of eventeventId -- The ID of the eventdescription -- A description of the event.notBefore -- The earliest scheduled start time for the event.notAfter -- The latest scheduled end time for the event.type -- Alias for eventTypeid -- Alias for eventId
When used in a string context, this object interpolates as a string using the eventType.
Releases
6 releases since Debian 8 (Jessie); the text changed 3 times.