/usr/share/perl5/Net/Amazon/EC2/InstanceState.pm is in libnet-amazon-ec2-perl 0.35-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | package Net::Amazon::EC2::InstanceState;
$Net::Amazon::EC2::InstanceState::VERSION = '0.35';
use Moose;
=head1 NAME
Net::Amazon::EC2::InstanceState
=head1 DESCRIPTION
A class representing the state of an instance.
=head1 ATTRIBUTES
=over
=item code (required)
An interger representing the instance state. Valid values are:
=over
=item * 0: pending
=item * 16: running
=item * 32: shutting-down
=item * 48: terminated
=item * 64: stopping
=item * 80: stopped
=back
=item name (required)
The current named state of the instance. Valid values are:
=over
=item * pending: the instance is in the process of being launched
=item * running: the instance launched (though booting may not be completed)
=item * shutting-down: the instance started shutting down
=item * terminated: the instance terminated
=item * stopping: the instance is in the process of stopping
=item * stopped: the instance has been stopped
=back
=cut
has 'code' => ( is => 'ro', isa => 'Int' );
has 'name' => ( is => 'ro', isa => 'Str' );
__PACKAGE__->meta->make_immutable();
=back
=head1 AUTHOR
Jeff Kim <cpan@chosec.com>
=head1 COPYRIGHT
Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
=cut
no Moose;
1;
|