File Coverage

blib/lib/Paws/EC2/DescribeTags.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::EC2::DescribeTags;
3 1     1   521 use Moose;
  1     1   3  
  1         6  
  1         538  
  1         2  
  1         8  
4             has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
5             has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
6             has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
7             has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
8              
9 1     1   6244 use MooseX::ClassAttribute;
  1     1   3  
  1         10  
  1         6730  
  1         2  
  1         7  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeTags');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeTagsResult');
13             class_has _result_key => (isa => 'Str', is => 'ro');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::EC2::DescribeTags - Arguments for method DescribeTags on Paws::EC2
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method DescribeTags on the
25             Amazon Elastic Compute Cloud service. Use the attributes of this class
26             as arguments to method DescribeTags.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeTags.
29              
30             As an example:
31              
32             $service_obj->DescribeTags(Att1 => $value1, Att2 => $value2, ...);
33              
34             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 DryRun => Bool
40              
41             Checks whether you have the required permissions for the action,
42             without actually making the request, and provides an error response. If
43             you have the required permissions, the error response is
44             C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
45              
46              
47              
48             =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
49              
50             One or more filters.
51              
52             =over
53              
54             =item *
55              
56             C<key> - The tag key.
57              
58             =item *
59              
60             C<resource-id> - The resource ID.
61              
62             =item *
63              
64             C<resource-type> - The resource type (C<customer-gateway> |
65             C<dhcp-options> | C<image> | C<instance> | C<internet-gateway> |
66             C<network-acl> | C<network-interface> | C<reserved-instances> |
67             C<route-table> | C<security-group> | C<snapshot> |
68             C<spot-instances-request> | C<subnet> | C<volume> | C<vpc> |
69             C<vpn-connection> | C<vpn-gateway>).
70              
71             =item *
72              
73             C<value> - The tag value.
74              
75             =back
76              
77              
78              
79              
80             =head2 MaxResults => Int
81              
82             The maximum number of results to return in a single call. This value
83             can be between 5 and 1000. To retrieve the remaining results, make
84             another call with the returned C<NextToken> value.
85              
86              
87              
88             =head2 NextToken => Str
89              
90             The token to retrieve the next page of results.
91              
92              
93              
94              
95             =head1 SEE ALSO
96              
97             This class forms part of L<Paws>, documenting arguments for method DescribeTags in L<Paws::EC2>
98              
99             =head1 BUGS and CONTRIBUTIONS
100              
101             The source code is located here: https://github.com/pplu/aws-sdk-perl
102              
103             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
104              
105             =cut
106