File Coverage

blib/lib/Paws/EC2/AuthorizeSecurityGroupEgress.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::AuthorizeSecurityGroupEgress;
3 1     1   449 use Moose;
  1         4  
  1         7  
4             has CidrIp => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'cidrIp' );
5             has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
6             has FromPort => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'fromPort' );
7             has GroupId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'groupId' , required => 1);
8             has IpPermissions => (is => 'ro', isa => 'ArrayRef[Paws::EC2::IpPermission]', traits => ['NameInRequest'], request_name => 'ipPermissions' );
9             has IpProtocol => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'ipProtocol' );
10             has SourceSecurityGroupName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sourceSecurityGroupName' );
11             has SourceSecurityGroupOwnerId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sourceSecurityGroupOwnerId' );
12             has ToPort => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'toPort' );
13              
14 1     1   5859 use MooseX::ClassAttribute;
  1         2  
  1         7  
15              
16             class_has _api_call => (isa => 'Str', is => 'ro', default => 'AuthorizeSecurityGroupEgress');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
18             class_has _result_key => (isa => 'Str', is => 'ro');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::EC2::AuthorizeSecurityGroupEgress - Arguments for method AuthorizeSecurityGroupEgress on Paws::EC2
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method AuthorizeSecurityGroupEgress on the
30             Amazon Elastic Compute Cloud service. Use the attributes of this class
31             as arguments to method AuthorizeSecurityGroupEgress.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AuthorizeSecurityGroupEgress.
34              
35             As an example:
36              
37             $service_obj->AuthorizeSecurityGroupEgress(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 CidrIp => Str
45              
46             The CIDR IPv4 address range. We recommend that you specify the CIDR
47             range in a set of IP permissions instead.
48              
49              
50              
51             =head2 DryRun => Bool
52              
53             Checks whether you have the required permissions for the action,
54             without actually making the request, and provides an error response. If
55             you have the required permissions, the error response is
56             C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
57              
58              
59              
60             =head2 FromPort => Int
61              
62             The start of port range for the TCP and UDP protocols, or an ICMP type
63             number. We recommend that you specify the port range in a set of IP
64             permissions instead.
65              
66              
67              
68             =head2 B<REQUIRED> GroupId => Str
69              
70             The ID of the security group.
71              
72              
73              
74             =head2 IpPermissions => ArrayRef[L<Paws::EC2::IpPermission>]
75              
76             A set of IP permissions. You can't specify a destination security group
77             and a CIDR IP address range.
78              
79              
80              
81             =head2 IpProtocol => Str
82              
83             The IP protocol name or number. We recommend that you specify the
84             protocol in a set of IP permissions instead.
85              
86              
87              
88             =head2 SourceSecurityGroupName => Str
89              
90             The name of a destination security group. To authorize outbound access
91             to a destination security group, we recommend that you use a set of IP
92             permissions instead.
93              
94              
95              
96             =head2 SourceSecurityGroupOwnerId => Str
97              
98             The AWS account number for a destination security group. To authorize
99             outbound access to a destination security group, we recommend that you
100             use a set of IP permissions instead.
101              
102              
103              
104             =head2 ToPort => Int
105              
106             The end of port range for the TCP and UDP protocols, or an ICMP type
107             number. We recommend that you specify the port range in a set of IP
108             permissions instead.
109              
110              
111              
112              
113             =head1 SEE ALSO
114              
115             This class forms part of L<Paws>, documenting arguments for method AuthorizeSecurityGroupEgress in L<Paws::EC2>
116              
117             =head1 BUGS and CONTRIBUTIONS
118              
119             The source code is located here: https://github.com/pplu/aws-sdk-perl
120              
121             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
122              
123             =cut
124