File Coverage

blib/lib/Paws/EC2/DescribePrefixLists.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              
2             package Paws::EC2::DescribePrefixLists;
3 1     1   509 use Moose;
  1         3  
  1         6  
4             has DryRun => (is => 'ro', isa => 'Bool');
5             has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
6             has MaxResults => (is => 'ro', isa => 'Int');
7             has NextToken => (is => 'ro', isa => 'Str');
8             has PrefixListIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'PrefixListId' );
9              
10 1     1   6524 use MooseX::ClassAttribute;
  1         3  
  1         10  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribePrefixLists');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribePrefixListsResult');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::EC2::DescribePrefixLists - Arguments for method DescribePrefixLists on Paws::EC2
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method DescribePrefixLists on the
26             Amazon Elastic Compute Cloud service. Use the attributes of this class
27             as arguments to method DescribePrefixLists.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribePrefixLists.
30              
31             As an example:
32              
33             $service_obj->DescribePrefixLists(Att1 => $value1, Att2 => $value2, ...);
34              
35             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.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 DryRun => Bool
41              
42             Checks whether you have the required permissions for the action,
43             without actually making the request, and provides an error response. If
44             you have the required permissions, the error response is
45             C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
46              
47              
48              
49             =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
50              
51             One or more filters.
52              
53             =over
54              
55             =item *
56              
57             C<prefix-list-id>: The ID of a prefix list.
58              
59             =item *
60              
61             C<prefix-list-name>: The name of a prefix list.
62              
63             =back
64              
65              
66              
67              
68             =head2 MaxResults => Int
69              
70             The maximum number of items to return for this request. The request
71             returns a token that you can specify in a subsequent call to get the
72             next set of results.
73              
74             Constraint: If the value specified is greater than 1000, we return only
75             1000 items.
76              
77              
78              
79             =head2 NextToken => Str
80              
81             The token for the next set of items to return. (You received this token
82             from a prior call.)
83              
84              
85              
86             =head2 PrefixListIds => ArrayRef[Str|Undef]
87              
88             One or more prefix list IDs.
89              
90              
91              
92              
93             =head1 SEE ALSO
94              
95             This class forms part of L<Paws>, documenting arguments for method DescribePrefixLists in L<Paws::EC2>
96              
97             =head1 BUGS and CONTRIBUTIONS
98              
99             The source code is located here: https://github.com/pplu/aws-sdk-perl
100              
101             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
102              
103             =cut
104