1VM::EC2::Instance::StatUusse:r:DCeotnatirlisb(u3t)ed PerVlM:D:oEcCu2m:e:nItnasttiaonnce::Status::Details(3)
2
3
4
6 VM::EC2::Instance::Status::Details - Object describing the details of
7 an instance status check
8
10 @status_items = $ec2->describe_instance_status();
11 for my $i (@status_items) {
12 print $i->instance_id,
13 ': instance check=',$i->instance_status,
14 ', system check=',$i->system_status,"\n";
15 if ($i->instance_status ne 'ok') {
16 my @details = $i->instance_status->details;
17 for my $d (@details) {
18 print $d->name,"\n";
19 print $d->status,"\n";
20 print $d->impaired_since,"\n";
21 }
22 }
23 }
24
26 This object represents additional details about a failed system or
27 instance status check.
28
30 These methods are supported:
31
32 name() -- The type of instance status detail, such as "reachability".
33 status() -- The status of the check, "passed", "failed" or "insufficient-data".
34 impaired_since() -- The time when a status check failed as a DateTime string.
35
36 In a string context, this object interpolates as the name().
37
39 VM::EC2 VM::EC2::Generic VM::EC2::Instance VM::EC2::Instance::State
40 VM::EC2::Instance::StatusItem VM::EC2::Instance::Status
41 VM::EC2::Instance::Status::Event VM::EC2::Tag
42
44 Lincoln Stein <lincoln.stein@gmail.com>.
45
46 Copyright (c) 2012 Ontario Institute for Cancer Research
47
48 This package and its accompanying libraries is free software; you can
49 redistribute it and/or modify it under the terms of the GPL (either
50 version 1, or at your option, any later version) or the Artistic
51 License 2.0. Refer to LICENSE for the full license text. In addition,
52 please see DISCLAIMER.txt for disclaimers of warranty.
53
54
55
56perl v5.30.0 2019-07-V2M6::EC2::Instance::Status::Details(3)