File Coverage

blib/lib/Net/Amazon/EC2/DescribeTags.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Net::Amazon::EC2::DescribeTags;
2 2     2   1139 use Moose;
  2         3  
  2         13  
3              
4             =head1 NAME
5              
6             Net::Amazon::EC2::DescribeTags
7              
8             =head1 DESCRIPTION
9              
10             A class containing information about tags
11              
12             =head1 ATTRIBUTES
13              
14             =over
15              
16             =item resource_id (required)
17              
18             The resource_id of the tag.
19              
20             =item resource_type (required)
21              
22             The resource_type of the tag.
23              
24             Values:
25              
26             customer-gateway | dhcp-options | image | instance | internet-gateway | network-acl | reserved-instances | route-table | security-group | snapshot | spot-instances-request | subnet | volume | vpc | vpn-connection | vpn-gateway
27              
28             =item key (required)
29              
30             The key of the tag.
31              
32             =item value (required)
33              
34             The value of the tag.
35              
36             =back
37              
38             =cut
39              
40             has 'resource_id' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 );
41             has 'resource_type' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 );
42             has 'key' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 );
43             has 'value' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 );
44              
45             __PACKAGE__->meta->make_immutable();
46              
47             =head1 AUTHOR
48              
49             Jeff Kim <cpan@chosec.com>
50              
51             =head1 COPYRIGHT
52              
53             Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
54             under the same terms as Perl itself.
55              
56             =cut
57              
58 2     2   10102 no Moose;
  2         3  
  2         9  
59             1;
60