line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::EC2::ReplaceNetworkAclEntry; |
3
|
1
|
|
|
1
|
|
381
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
has CidrBlock => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'cidrBlock' ); |
5
|
|
|
|
|
|
|
has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' ); |
6
|
|
|
|
|
|
|
has Egress => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'egress' , required => 1); |
7
|
|
|
|
|
|
|
has IcmpTypeCode => (is => 'ro', isa => 'Paws::EC2::IcmpTypeCode', traits => ['NameInRequest'], request_name => 'Icmp' ); |
8
|
|
|
|
|
|
|
has Ipv6CidrBlock => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'ipv6CidrBlock' ); |
9
|
|
|
|
|
|
|
has NetworkAclId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'networkAclId' , required => 1); |
10
|
|
|
|
|
|
|
has PortRange => (is => 'ro', isa => 'Paws::EC2::PortRange', traits => ['NameInRequest'], request_name => 'portRange' ); |
11
|
|
|
|
|
|
|
has Protocol => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'protocol' , required => 1); |
12
|
|
|
|
|
|
|
has RuleAction => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'ruleAction' , required => 1); |
13
|
|
|
|
|
|
|
has RuleNumber => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'ruleNumber' , required => 1); |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
5666
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'ReplaceNetworkAclEntry'); |
18
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); |
19
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
### main pod documentation begin ### |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Paws::EC2::ReplaceNetworkAclEntry - Arguments for method ReplaceNetworkAclEntry on Paws::EC2 |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 DESCRIPTION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
This class represents the parameters used for calling the method ReplaceNetworkAclEntry on the |
31
|
|
|
|
|
|
|
Amazon Elastic Compute Cloud service. Use the attributes of this class |
32
|
|
|
|
|
|
|
as arguments to method ReplaceNetworkAclEntry. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ReplaceNetworkAclEntry. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
As an example: |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
$service_obj->ReplaceNetworkAclEntry(Att1 => $value1, Att2 => $value2, ...); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
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. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 CidrBlock => Str |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
The IPv4 network range to allow or deny, in CIDR notation (for example |
48
|
|
|
|
|
|
|
C<172.16.0.0/24>). |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 DryRun => Bool |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Checks whether you have the required permissions for the action, |
55
|
|
|
|
|
|
|
without actually making the request, and provides an error response. If |
56
|
|
|
|
|
|
|
you have the required permissions, the error response is |
57
|
|
|
|
|
|
|
C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 B<REQUIRED> Egress => Bool |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
Indicates whether to replace the egress rule. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Default: If no value is specified, we replace the ingress rule. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head2 IcmpTypeCode => L<Paws::EC2::IcmpTypeCode> |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying |
72
|
|
|
|
|
|
|
the ICMP (1) protocol, or protocol 58 (ICMPv6) with an IPv6 CIDR block. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head2 Ipv6CidrBlock => Str |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
The IPv6 network range to allow or deny, in CIDR notation (for example |
79
|
|
|
|
|
|
|
C<2001:bd8:1234:1a00::/64>). |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head2 B<REQUIRED> NetworkAclId => Str |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
The ID of the ACL. |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head2 PortRange => L<Paws::EC2::PortRange> |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
TCP or UDP protocols: The range of ports the rule applies to. Required |
92
|
|
|
|
|
|
|
if specifying TCP (6) or UDP (17) for the protocol. |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head2 B<REQUIRED> Protocol => Str |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
The IP protocol. You can specify C<all> or C<-1> to mean all protocols. |
99
|
|
|
|
|
|
|
If you specify C<all>, C<-1>, or a protocol number other than C<tcp>, |
100
|
|
|
|
|
|
|
C<udp>, or C<icmp>, traffic on all ports is allowed, regardless of any |
101
|
|
|
|
|
|
|
ports or ICMP types or codes you specify. If you specify protocol C<58> |
102
|
|
|
|
|
|
|
(ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and |
103
|
|
|
|
|
|
|
codes allowed, regardless of any that you specify. If you specify |
104
|
|
|
|
|
|
|
protocol C<58> (ICMPv6) and specify an IPv6 CIDR block, you must |
105
|
|
|
|
|
|
|
specify an ICMP type and code. |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=head2 B<REQUIRED> RuleAction => Str |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
Indicates whether to allow or deny the traffic that matches the rule. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
Valid values are: C<"allow">, C<"deny"> |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head2 B<REQUIRED> RuleNumber => Int |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
The rule number of the entry to replace. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=head1 SEE ALSO |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method ReplaceNetworkAclEntry in L<Paws::EC2> |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=cut |
133
|
|
|
|
|
|
|
|