blib/lib/Paws/EC2/DescribeNetworkAcls.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/EC2/DescribeKeyPairsResult.pm ↑ Summary blib/lib/Paws/EC2/DescribeNetworkAclsResult.pm »
1  
2 package Paws::EC2::DescribeNetworkAcls;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
5 1 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
6 1 has MaxResults => (is => 'ro', isa => 'Int');
7 1 has NetworkAclIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'NetworkAclId' );
8 1 has NextToken => (is => 'ro', isa => 'Str');
9  
10 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeNetworkAcls');
13 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeNetworkAclsResult');
14 1 class_has _result_key => (isa => 'Str', is => 'ro');
15 1 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::EC2::DescribeNetworkAcls - Arguments for method DescribeNetworkAcls on L<Paws::EC2>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method DescribeNetworkAcls on the
26 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
27 as arguments to method DescribeNetworkAcls.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeNetworkAcls.
30  
31 =head1 SYNOPSIS
32  
33 my $ec2 = Paws->service('EC2');
34 # To describe a network ACL
35 # This example describes the specified network ACL.
36 my $DescribeNetworkAclsResult =
37 $ec2->DescribeNetworkAcls( 'NetworkAclIds' => ['acl-5fb85d36'] );
38  
39 # Results:
40 my $NetworkAcls = $DescribeNetworkAclsResult->NetworkAcls;
41  
42 # Returns a L<Paws::EC2::DescribeNetworkAclsResult> object.
43  
44 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.
45 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/DescribeNetworkAcls>
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 DryRun => Bool
51  
52 Checks whether you have the required permissions for the action,
53 without actually making the request, and provides an error response. If
54 you have the required permissions, the error response is
55 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
56  
57  
58  
59 =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
60  
61 One or more filters.
62  
63 =over
64  
65 =item *
66  
67 C<association.association-id> - The ID of an association ID for the
68 ACL.
69  
70 =item *
71  
72 C<association.network-acl-id> - The ID of the network ACL involved in
73 the association.
74  
75 =item *
76  
77 C<association.subnet-id> - The ID of the subnet involved in the
78 association.
79  
80 =item *
81  
82 C<default> - Indicates whether the ACL is the default network ACL for
83 the VPC.
84  
85 =item *
86  
87 C<entry.cidr> - The IPv4 CIDR range specified in the entry.
88  
89 =item *
90  
91 C<entry.icmp.code> - The ICMP code specified in the entry, if any.
92  
93 =item *
94  
95 C<entry.icmp.type> - The ICMP type specified in the entry, if any.
96  
97 =item *
98  
99 C<entry.ipv6-cidr> - The IPv6 CIDR range specified in the entry.
100  
101 =item *
102  
103 C<entry.port-range.from> - The start of the port range specified in the
104 entry.
105  
106 =item *
107  
108 C<entry.port-range.to> - The end of the port range specified in the
109 entry.
110  
111 =item *
112  
113 C<entry.protocol> - The protocol specified in the entry (C<tcp> |
114 C<udp> | C<icmp> or a protocol number).
115  
116 =item *
117  
118 C<entry.rule-action> - Allows or denies the matching traffic (C<allow>
119 | C<deny>).
120  
121 =item *
122  
123 C<entry.rule-number> - The number of an entry (in other words, rule) in
124 the set of ACL entries.
125  
126 =item *
127  
128 C<network-acl-id> - The ID of the network ACL.
129  
130 =item *
131  
132 C<owner-id> - The ID of the AWS account that owns the network ACL.
133  
134 =item *
135  
136 C<tag>:E<lt>keyE<gt> - The key/value combination of a tag assigned to
137 the resource. Use the tag key in the filter name and the tag value as
138 the filter value. For example, to find all resources that have a tag
139 with the key C<Owner> and the value C<TeamA>, specify C<tag:Owner> for
140 the filter name and C<TeamA> for the filter value.
141  
142 =item *
143  
144 C<tag-key> - The key of a tag assigned to the resource. Use this filter
145 to find all resources assigned a tag with a specific key, regardless of
146 the tag value.
147  
148 =item *
149  
150 C<vpc-id> - The ID of the VPC for the network ACL.
151  
152 =back
153  
154  
155  
156  
157 =head2 MaxResults => Int
158  
159 The maximum number of results to return with a single call. To retrieve
160 the remaining results, make another call with the returned C<nextToken>
161 value.
162  
163  
164  
165 =head2 NetworkAclIds => ArrayRef[Str|Undef]
166  
167 One or more network ACL IDs.
168  
169 Default: Describes all your network ACLs.
170  
171  
172  
173 =head2 NextToken => Str
174  
175 The token for the next page of results.
176  
177  
178  
179  
180 =head1 SEE ALSO
181  
182 This class forms part of L<Paws>, documenting arguments for method DescribeNetworkAcls in L<Paws::EC2>
183  
184 =head1 BUGS and CONTRIBUTIONS
185  
186 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
187  
188 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
189  
190 =cut
191  
« blib/lib/Paws/EC2/DescribeKeyPairsResult.pm ↑ Summary blib/lib/Paws/EC2/DescribeNetworkAclsResult.pm »