Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages
VM::EC2::Instance::Status::Event(3) User Contributed Perl Documentation VM::EC2::Instance::Status::Event(3)

VM::EC2::Instance::Status::Event - Object describing a scheduled instance maintenance event

 @status_items = $ec2->describe_instance_status();
 for my $i (@status_items) {
    for my $event ($i->events) {
       print $i->instance_id,': ',
             $event->code,' ',
             $event->description, ' ',
             $event->notBefore, ' ',

This objects describes a scheduled maintenance event on an instance, and is returned by calling the events() method of one of the status item objects returned by $ec2-> describe_instance_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.

 code()        -- The code for this event, one of "instance-reboot", 
                    "system-reboot", "instance-retirement"
 description() -- A description of the event.
 notBefore()   -- The earliest scheduled start time for the event.
 notAfter()    -- The latest scheduled end time for the event.
When used in a string context, this object interpolates as a string in the form:
 system-reboot [2011-12-05T13:00:00+0000 - 2011-12-06T13:00:00+000]

VM::EC2 VM::EC2::Generic VM::EC2::Instance VM::EC2::Instance::State VM::EC2::Instance::Status VM::EC2::Instance::StatusItem VM::EC2::Instance::Status::Details VM::EC2::Tag

Lincoln Stein <>.
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.
2019-01-01 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.