| 1 | package Net::Amazon::EC2::DescribeKeyPairsResponse; | ||
| 2 | 2 | $Net::Amazon::EC2::DescribeKeyPairsResponse::VERSION = '0.36'; | |
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | =head1 NAME | ||
| 7 | |||
| 8 | Net::Amazon::EC2::DescribeKeyPairsResponse | ||
| 9 | |||
| 10 | =head1 DESCRIPTION | ||
| 11 | |||
| 12 | A class representing a key pair. | ||
| 13 | |||
| 14 | =head1 ATTRIBUTES | ||
| 15 | |||
| 16 | =over | ||
| 17 | |||
| 18 | =item key_name (required) | ||
| 19 | |||
| 20 | The name of the key pair. | ||
| 21 | |||
| 22 | =item key_fingerprint (required) | ||
| 23 | |||
| 24 | 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. | ||
| 25 | |||
| 26 | =cut | ||
| 27 | |||
| 28 | 2 | has 'key_name' => ( is => 'ro', isa => 'Str', required => 1 ); | |
| 29 | 2 | has 'key_fingerprint' => ( is => 'ro', isa => 'Str', required => 1 ); | |
| 30 | |||
| 31 | 2 | __PACKAGE__->meta->make_immutable(); | |
| 32 | |||
| 33 | =back | ||
| 34 | |||
| 35 | =head1 AUTHOR | ||
| 36 | |||
| 37 | Jeff Kim <cpan@chosec.com> | ||
| 38 | |||
| 39 | =head1 COPYRIGHT | ||
| 40 | |||
| 41 | Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it | ||
| 42 | under the same terms as Perl itself. | ||
| 43 | |||
| 44 | =cut | ||
| 45 | |||
| 46 | 2 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 47 | 2 | 1; | |