/usr/share/perl5/Net/Amazon/EC2/Volume.pm is in libnet-amazon-ec2-perl 0.31-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 79 80 81 82 83 84 85 86 87 | package Net::Amazon::EC2::Volume;
use Moose;
=head1 NAME
Net::Amazon::EC2::Volume
=head1 DESCRIPTION
A class representing a volume
=head1 ATTRIBUTES
=over
=item volume_id (required)
The ID of the volume.
=item size (required)
The size, in GiB (1GiB = 2^30 octects)
=item snapshot_id (optional)
The ID of the snapshot which this volume was created from (if any).
=item zone (required)
The availability zone the volume was creared in.
=item status (required)
The volume's status.
=item create_time (required)
The time the volume was created.
=item volume_type (optional)
The volume type.
=item iops (optional)
The number of I/O operations per second (IOPS) that the volume
supports (only applies to volumes with a volume_type of io1).
=item attachments (optional)
An array ref of Net:Amazon::EC2::Attachment objects.
=item tag_set (optional)
The associated tags (key:value) of the specified volume.
=back
=cut
has 'volume_id' => ( is => 'ro', isa => 'Str', required => 1 );
has 'size' => ( is => 'ro', isa => 'Str', required => 1 );
has 'snapshot_id' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
has 'zone' => ( is => 'ro', isa => 'Str', required => 1 );
has 'status' => ( is => 'ro', isa => 'Str', required => 1 );
has 'create_time' => ( is => 'ro', isa => 'Str', required => 1 );
has 'volume_type' => ( is => 'ro', isa => 'Str', default => 'standard');
has 'iops' => ( is => 'ro', isa => 'Maybe[Int]');
has 'encrypted' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
has 'attachments' => ( is => 'ro', isa => 'Maybe[ArrayRef[Net::Amazon::EC2::Attachment]]', required => 0 );
has 'tag_set' => ( is => 'ro', isa => 'Maybe[ArrayRef[Net::Amazon::EC2::TagSet]]', required => 0 );
__PACKAGE__->meta->make_immutable();
=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;
|