/usr/share/perl5/Net/Amazon/EC2/Snapshot.pm is in libnet-amazon-ec2-perl 0.29-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 | package Net::Amazon::EC2::Snapshot;
use Moose;
=head1 NAME
Net::Amazon::EC2::Snapshot
=head1 DESCRIPTION
A class representing a snapshot of a volume.
=head1 ATTRIBUTES
=over
=item snapshot_id (required)
The ID of the snapshot.
=item status (required)
The snapshot's status.
=item volume_id (required)
The ID of the volume the snapshot was taken from.
=item start_time (required)
The time the snapshot was started.
=item progress (required)
The current progress of the snapshop, in percent.
=item owner_id (required)
AWS Access Key ID of the user who owns the snapshot.
=item volume_size (required)
The size of the volume, in GiB.
=item description (optional)
Description of the snapshot.
=item owner_alias (optional)
The AWS account alias (e.g., "amazon", "redhat", "self", etc.) or AWS account ID that owns the AMI.
=back
=cut
has 'snapshot_id' => ( is => 'ro', isa => 'Str', required => 1 );
has 'status' => ( is => 'ro', isa => 'Str', required => 1 );
has 'volume_id' => ( is => 'ro', isa => 'Str', required => 1 );
has 'start_time' => ( is => 'ro', isa => 'Str', required => 1 );
has 'progress' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
has 'owner_id' => ( is => 'ro', isa => 'Str', required => 1 );
has 'volume_size' => ( is => 'ro', isa => 'Str', required => 1 );
has 'description' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
has 'owner_alias' => ( is => 'ro', isa => 'Maybe[Str]', 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;
|