File: DescribeKeyPairsResponse.pm

package info (click to toggle)
libnet-amazon-ec2-perl 0.36-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 480 kB
  • sloc: perl: 3,323; makefile: 9
file content (47 lines) | stat: -rw-r--r-- 907 bytes parent folder | download | duplicates (2)
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
package Net::Amazon::EC2::DescribeKeyPairsResponse;
$Net::Amazon::EC2::DescribeKeyPairsResponse::VERSION = '0.36';
use strict;
use Moose;

=head1 NAME

Net::Amazon::EC2::DescribeKeyPairsResponse

=head1 DESCRIPTION

A class representing a key pair.

=head1 ATTRIBUTES

=over

=item key_name (required)

The name of the key pair.

=item key_fingerprint (required)

A fingerprint for the private key of the key pair. This is calculated as the SHA-1 of the DER version of the private key.

=cut

has 'key_name'          => ( is => 'ro', isa => 'Str', required => 1 );
has 'key_fingerprint'   => ( is => 'ro', isa => 'Str', required => 1 );

__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;