line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Amazon::EC2::Region; |
2
|
2
|
|
|
2
|
|
1214
|
use Moose; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
28
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
=head1 NAME |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
Net::Amazon::EC2::Region |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 DESCRIPTION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
A class representing a EC2 region |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=over |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=item region_name (required) |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
The name of the region. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=item region_endpoint (required) |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
The region service endpoint. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=back |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=cut |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
has 'region_name' => ( is => 'ro', isa => 'Str', required => 1 ); |
29
|
|
|
|
|
|
|
has 'region_endpoint' => ( is => 'ro', isa => 'Str', required => 1 ); |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable(); |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 AUTHOR |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Jeff Kim <cpan@chosec.com> |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 COPYRIGHT |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it |
40
|
|
|
|
|
|
|
under the same terms as Perl itself. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=cut |
43
|
|
|
|
|
|
|
|
44
|
2
|
|
|
2
|
|
10232
|
no Moose; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
10
|
|
45
|
|
|
|
|
|
|
1; |