« blib/lib/Paws/EC2/RevokeSecurityGroupEgressResult.pm
↑ Summary
blib/lib/Paws/EC2/RevokeSecurityGroupIngressResult.pm »
| 1 | |||
| 2 | package Paws::EC2::RevokeSecurityGroupIngress; | ||
| 3 | use Moose; | ||
| 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 | use MooseX::ClassAttribute; | ||
| 16 | |||
| 17 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'RevokeSecurityGroupIngress'); | ||
| 18 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::RevokeSecurityGroupIngressResult'); | ||
| 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 L<Paws::EC2> | ||
| 27 | |||
| 28 | =head1 DESCRIPTION | ||
| 29 | |||
| 30 | This class represents the parameters used for calling the method RevokeSecurityGroupIngress on the | ||
| 31 | L<Amazon Elastic Compute Cloud|Paws::EC2> 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 | =head1 SYNOPSIS | ||
| 37 | |||
| 38 | my $ec2 = Paws->service('EC2'); | ||
| 39 | my $RevokeSecurityGroupIngressResult = $ec2->RevokeSecurityGroupIngress( | ||
| 40 | CidrIp => 'MyString', # OPTIONAL | ||
| 41 | DryRun => 1, # OPTIONAL | ||
| 42 | FromPort => 1, # OPTIONAL | ||
| 43 | GroupId => 'MySecurityGroupId', # OPTIONAL | ||
| 44 | GroupName => 'MySecurityGroupName', # OPTIONAL | ||
| 45 | IpPermissions => [ | ||
| 46 | { | ||
| 47 | FromPort => 1, | ||
| 48 | IpProtocol => 'MyString', | ||
| 49 | IpRanges => [ | ||
| 50 | { | ||
| 51 | CidrIp => 'MyString', | ||
| 52 | Description => 'MyString', | ||
| 53 | }, | ||
| 54 | ... | ||
| 55 | ], # OPTIONAL | ||
| 56 | Ipv6Ranges => [ | ||
| 57 | { | ||
| 58 | CidrIpv6 => 'MyString', | ||
| 59 | Description => 'MyString', | ||
| 60 | }, | ||
| 61 | ... | ||
| 62 | ], # OPTIONAL | ||
| 63 | PrefixListIds => [ | ||
| 64 | { | ||
| 65 | Description => 'MyString', | ||
| 66 | PrefixListId => 'MyString', | ||
| 67 | }, | ||
| 68 | ... | ||
| 69 | ], # OPTIONAL | ||
| 70 | ToPort => 1, | ||
| 71 | UserIdGroupPairs => [ | ||
| 72 | { | ||
| 73 | Description => 'MyString', | ||
| 74 | GroupId => 'MyString', | ||
| 75 | GroupName => 'MyString', | ||
| 76 | PeeringStatus => 'MyString', | ||
| 77 | UserId => 'MyString', | ||
| 78 | VpcId => 'MyString', | ||
| 79 | VpcPeeringConnectionId => 'MyString', | ||
| 80 | }, | ||
| 81 | ... | ||
| 82 | ], # OPTIONAL | ||
| 83 | }, | ||
| 84 | ... | ||
| 85 | ], # OPTIONAL | ||
| 86 | IpProtocol => 'MyString', # OPTIONAL | ||
| 87 | SourceSecurityGroupName => 'MyString', # OPTIONAL | ||
| 88 | SourceSecurityGroupOwnerId => 'MyString', # OPTIONAL | ||
| 89 | ToPort => 1, # OPTIONAL | ||
| 90 | ); | ||
| 91 | |||
| 92 | # Results: | ||
| 93 | my $Return = $RevokeSecurityGroupIngressResult->Return; | ||
| 94 | my $UnknownIpPermissions = | ||
| 95 | $RevokeSecurityGroupIngressResult->UnknownIpPermissions; | ||
| 96 | |||
| 97 | # Returns a L<Paws::EC2::RevokeSecurityGroupIngressResult> object. | ||
| 98 | |||
| 99 | 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. | ||
| 100 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/RevokeSecurityGroupIngress> | ||
| 101 | |||
| 102 | =head1 ATTRIBUTES | ||
| 103 | |||
| 104 | |||
| 105 | =head2 CidrIp => Str | ||
| 106 | |||
| 107 | The CIDR IP address range. You can't specify this parameter when | ||
| 108 | specifying a source security group. | ||
| 109 | |||
| 110 | |||
| 111 | |||
| 112 | =head2 DryRun => Bool | ||
| 113 | |||
| 114 | Checks whether you have the required permissions for the action, | ||
| 115 | without actually making the request, and provides an error response. If | ||
| 116 | you have the required permissions, the error response is | ||
| 117 | C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. | ||
| 118 | |||
| 119 | |||
| 120 | |||
| 121 | =head2 FromPort => Int | ||
| 122 | |||
| 123 | The start of port range for the TCP and UDP protocols, or an ICMP type | ||
| 124 | number. For the ICMP type number, use C<-1> to specify all ICMP types. | ||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | =head2 GroupId => Str | ||
| 129 | |||
| 130 | The ID of the security group. You must specify either the security | ||
| 131 | group ID or the security group name in the request. For security groups | ||
| 132 | in a nondefault VPC, you must specify the security group ID. | ||
| 133 | |||
| 134 | |||
| 135 | |||
| 136 | =head2 GroupName => Str | ||
| 137 | |||
| 138 | [EC2-Classic, default VPC] The name of the security group. You must | ||
| 139 | specify either the security group ID or the security group name in the | ||
| 140 | request. | ||
| 141 | |||
| 142 | |||
| 143 | |||
| 144 | =head2 IpPermissions => ArrayRef[L<Paws::EC2::IpPermission>] | ||
| 145 | |||
| 146 | The sets of IP permissions. You can't specify a source security group | ||
| 147 | and a CIDR IP address range in the same set of permissions. | ||
| 148 | |||
| 149 | |||
| 150 | |||
| 151 | =head2 IpProtocol => Str | ||
| 152 | |||
| 153 | The IP protocol name (C<tcp>, C<udp>, C<icmp>) or number (see Protocol | ||
| 154 | Numbers | ||
| 155 | (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). | ||
| 156 | Use C<-1> to specify all. | ||
| 157 | |||
| 158 | |||
| 159 | |||
| 160 | =head2 SourceSecurityGroupName => Str | ||
| 161 | |||
| 162 | [EC2-Classic, default VPC] The name of the source security group. You | ||
| 163 | can't specify this parameter in combination with the following | ||
| 164 | parameters: the CIDR IP address range, the start of the port range, the | ||
| 165 | IP protocol, and the end of the port range. For EC2-VPC, the source | ||
| 166 | security group must be in the same VPC. To revoke a specific rule for | ||
| 167 | an IP protocol and port range, use a set of IP permissions instead. | ||
| 168 | |||
| 169 | |||
| 170 | |||
| 171 | =head2 SourceSecurityGroupOwnerId => Str | ||
| 172 | |||
| 173 | [EC2-Classic] The AWS account ID of the source security group, if the | ||
| 174 | source security group is in a different account. You can't specify this | ||
| 175 | parameter in combination with the following parameters: the CIDR IP | ||
| 176 | address range, the IP protocol, the start of the port range, and the | ||
| 177 | end of the port range. To revoke a specific rule for an IP protocol and | ||
| 178 | port range, use a set of IP permissions instead. | ||
| 179 | |||
| 180 | |||
| 181 | |||
| 182 | =head2 ToPort => Int | ||
| 183 | |||
| 184 | The end of port range for the TCP and UDP protocols, or an ICMP code | ||
| 185 | number. For the ICMP code number, use C<-1> to specify all ICMP codes | ||
| 186 | for the ICMP type. | ||
| 187 | |||
| 188 | |||
| 189 | |||
| 190 | |||
| 191 | =head1 SEE ALSO | ||
| 192 | |||
| 193 | This class forms part of L<Paws>, documenting arguments for method RevokeSecurityGroupIngress in L<Paws::EC2> | ||
| 194 | |||
| 195 | =head1 BUGS and CONTRIBUTIONS | ||
| 196 | |||
| 197 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 198 | |||
| 199 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 200 | |||
| 201 | =cut | ||
| 202 |