| 1 | package Net::Amazon::EC2::DescribeTags; | ||
| 2 | 2 | $Net::Amazon::EC2::DescribeTags::VERSION = '0.36'; | |
| 3 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | =head1 NAME | ||
| 6 | |||
| 7 | Net::Amazon::EC2::DescribeTags | ||
| 8 | |||
| 9 | =head1 DESCRIPTION | ||
| 10 | |||
| 11 | A class containing information about tags | ||
| 12 | |||
| 13 | =head1 ATTRIBUTES | ||
| 14 | |||
| 15 | =over | ||
| 16 | |||
| 17 | =item resource_id (required) | ||
| 18 | |||
| 19 | The resource_id of the tag. | ||
| 20 | |||
| 21 | =item resource_type (required) | ||
| 22 | |||
| 23 | The resource_type of the tag. | ||
| 24 | |||
| 25 | Values: | ||
| 26 | |||
| 27 | 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 | ||
| 28 | |||
| 29 | =item key (required) | ||
| 30 | |||
| 31 | The key of the tag. | ||
| 32 | |||
| 33 | =item value (required) | ||
| 34 | |||
| 35 | The value of the tag. | ||
| 36 | |||
| 37 | =back | ||
| 38 | |||
| 39 | =cut | ||
| 40 | |||
| 41 | 2 | has 'resource_id' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 ); | |
| 42 | 2 | has 'resource_type' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 ); | |
| 43 | 2 | has 'key' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 ); | |
| 44 | 2 | has 'value' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 ); | |
| 45 | |||
| 46 | 2 | __PACKAGE__->meta->make_immutable(); | |
| 47 | |||
| 48 | =head1 AUTHOR | ||
| 49 | |||
| 50 | Jeff Kim <cpan@chosec.com> | ||
| 51 | |||
| 52 | =head1 COPYRIGHT | ||
| 53 | |||
| 54 | Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it | ||
| 55 | under the same terms as Perl itself. | ||
| 56 | |||
| 57 | =cut | ||
| 58 | |||
| 59 | 2 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 60 | 2 | 1; | |
| 61 | |||