File Coverage

blib/lib/Paws/EC2/RevokeSecurityGroupIngress.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::RevokeSecurityGroupIngress;
3 1     1   377 use Moose;
  1         2  
  1         6  
4             has CidrIp => (is => 'ro', isa => 'Str');
5             has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
6             has FromPort => (is => 'ro', isa => 'Int');
7             has GroupId => (is => 'ro', isa => 'Str');
8             has GroupName => (is => 'ro', isa => 'Str');
9             has IpPermissions => (is => 'ro', isa => 'ArrayRef[Paws::EC2::IpPermission]');
10             has IpProtocol => (is => 'ro', isa => 'Str');
11             has SourceSecurityGroupName => (is => 'ro', isa => 'Str');
12             has SourceSecurityGroupOwnerId => (is => 'ro', isa => 'Str');
13             has ToPort => (is => 'ro', isa => 'Int');
14              
15 1     1   6167 use MooseX::ClassAttribute;
  1         2  
  1         8  
16              
17             class_has _api_call => (isa => 'Str', is => 'ro', default => 'RevokeSecurityGroupIngress');
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::RevokeSecurityGroupIngress - Arguments for method RevokeSecurityGroupIngress on Paws::EC2
27              
28             =head1 DESCRIPTION
29              
30             This class represents the parameters used for calling the method RevokeSecurityGroupIngress on the
31             Amazon Elastic Compute Cloud service. Use the attributes of this class
32             as arguments to method RevokeSecurityGroupIngress.
33              
34             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RevokeSecurityGroupIngress.
35              
36             As an example:
37              
38             $service_obj->RevokeSecurityGroupIngress(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 CidrIp => Str
46              
47             The CIDR IP address range. You can't specify this parameter when
48             specifying a source security group.
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 FromPort => Int
62              
63             The start of port range for the TCP and UDP protocols, or an ICMP type
64             number. For the ICMP type number, use C<-1> to specify all ICMP types.
65              
66              
67              
68             =head2 GroupId => Str
69              
70             The ID of the security group. Required for a security group in a
71             nondefault VPC.
72              
73              
74              
75             =head2 GroupName => Str
76              
77             [EC2-Classic, default VPC] The name of the security group.
78              
79              
80              
81             =head2 IpPermissions => ArrayRef[L<Paws::EC2::IpPermission>]
82              
83             A set of IP permissions. You can't specify a source security group and
84             a CIDR IP address range.
85              
86              
87              
88             =head2 IpProtocol => Str
89              
90             The IP protocol name (C<tcp>, C<udp>, C<icmp>) or number (see Protocol
91             Numbers). Use C<-1> to specify all.
92              
93              
94              
95             =head2 SourceSecurityGroupName => Str
96              
97             [EC2-Classic, default VPC] The name of the source security group. You
98             can't specify this parameter in combination with the following
99             parameters: the CIDR IP address range, the start of the port range, the
100             IP protocol, and the end of the port range. For EC2-VPC, the source
101             security group must be in the same VPC. To revoke a specific rule for
102             an IP protocol and port range, use a set of IP permissions instead.
103              
104              
105              
106             =head2 SourceSecurityGroupOwnerId => Str
107              
108             [EC2-Classic] The AWS account ID of the source security group, if the
109             source security group is in a different account. You can't specify this
110             parameter in combination with the following parameters: the CIDR IP
111             address range, the IP protocol, the start of the port range, and the
112             end of the port range. To revoke a specific rule for an IP protocol and
113             port range, use a set of IP permissions instead.
114              
115              
116              
117             =head2 ToPort => Int
118              
119             The end of port range for the TCP and UDP protocols, or an ICMP code
120             number. For the ICMP code number, use C<-1> to specify all ICMP codes
121             for the ICMP type.
122              
123              
124              
125              
126             =head1 SEE ALSO
127              
128             This class forms part of L<Paws>, documenting arguments for method RevokeSecurityGroupIngress in L<Paws::EC2>
129              
130             =head1 BUGS and CONTRIBUTIONS
131              
132             The source code is located here: https://github.com/pplu/aws-sdk-perl
133              
134             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
135              
136             =cut
137