« blib/lib/Paws/EC2/RevokeClientVpnIngressResult.pm
↑ Summary
blib/lib/Paws/EC2/RevokeSecurityGroupEgressResult.pm »
| 1 | |||
| 2 | package Paws::EC2::RevokeSecurityGroupEgress; | ||
| 3 | use Moose; | ||
| 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 | use MooseX::ClassAttribute; | ||
| 15 | |||
| 16 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'RevokeSecurityGroupEgress'); | ||
| 17 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::RevokeSecurityGroupEgressResult'); | ||
| 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::RevokeSecurityGroupEgress - Arguments for method RevokeSecurityGroupEgress on L<Paws::EC2> | ||
| 26 | |||
| 27 | =head1 DESCRIPTION | ||
| 28 | |||
| 29 | This class represents the parameters used for calling the method RevokeSecurityGroupEgress on the | ||
| 30 | L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class | ||
| 31 | as arguments to method RevokeSecurityGroupEgress. | ||
| 32 | |||
| 33 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RevokeSecurityGroupEgress. | ||
| 34 | |||
| 35 | =head1 SYNOPSIS | ||
| 36 | |||
| 37 | my $ec2 = Paws->service('EC2'); | ||
| 38 | my $RevokeSecurityGroupEgressResult = $ec2->RevokeSecurityGroupEgress( | ||
| 39 | GroupId => 'MySecurityGroupId', | ||
| 40 | CidrIp => 'MyString', # OPTIONAL | ||
| 41 | DryRun => 1, # OPTIONAL | ||
| 42 | FromPort => 1, # OPTIONAL | ||
| 43 | IpPermissions => [ | ||
| 44 | { | ||
| 45 | FromPort => 1, | ||
| 46 | IpProtocol => 'MyString', | ||
| 47 | IpRanges => [ | ||
| 48 | { | ||
| 49 | CidrIp => 'MyString', | ||
| 50 | Description => 'MyString', | ||
| 51 | }, | ||
| 52 | ... | ||
| 53 | ], # OPTIONAL | ||
| 54 | Ipv6Ranges => [ | ||
| 55 | { | ||
| 56 | CidrIpv6 => 'MyString', | ||
| 57 | Description => 'MyString', | ||
| 58 | }, | ||
| 59 | ... | ||
| 60 | ], # OPTIONAL | ||
| 61 | PrefixListIds => [ | ||
| 62 | { | ||
| 63 | Description => 'MyString', | ||
| 64 | PrefixListId => 'MyString', | ||
| 65 | }, | ||
| 66 | ... | ||
| 67 | ], # OPTIONAL | ||
| 68 | ToPort => 1, | ||
| 69 | UserIdGroupPairs => [ | ||
| 70 | { | ||
| 71 | Description => 'MyString', | ||
| 72 | GroupId => 'MyString', | ||
| 73 | GroupName => 'MyString', | ||
| 74 | PeeringStatus => 'MyString', | ||
| 75 | UserId => 'MyString', | ||
| 76 | VpcId => 'MyString', | ||
| 77 | VpcPeeringConnectionId => 'MyString', | ||
| 78 | }, | ||
| 79 | ... | ||
| 80 | ], # OPTIONAL | ||
| 81 | }, | ||
| 82 | ... | ||
| 83 | ], # OPTIONAL | ||
| 84 | IpProtocol => 'MyString', # OPTIONAL | ||
| 85 | SourceSecurityGroupName => 'MyString', # OPTIONAL | ||
| 86 | SourceSecurityGroupOwnerId => 'MyString', # OPTIONAL | ||
| 87 | ToPort => 1, # OPTIONAL | ||
| 88 | ); | ||
| 89 | |||
| 90 | # Results: | ||
| 91 | my $Return = $RevokeSecurityGroupEgressResult->Return; | ||
| 92 | my $UnknownIpPermissions = | ||
| 93 | $RevokeSecurityGroupEgressResult->UnknownIpPermissions; | ||
| 94 | |||
| 95 | # Returns a L<Paws::EC2::RevokeSecurityGroupEgressResult> object. | ||
| 96 | |||
| 97 | 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. | ||
| 98 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/RevokeSecurityGroupEgress> | ||
| 99 | |||
| 100 | =head1 ATTRIBUTES | ||
| 101 | |||
| 102 | |||
| 103 | =head2 CidrIp => Str | ||
| 104 | |||
| 105 | Not supported. Use a set of IP permissions to specify the CIDR. | ||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | =head2 DryRun => Bool | ||
| 110 | |||
| 111 | Checks whether you have the required permissions for the action, | ||
| 112 | without actually making the request, and provides an error response. If | ||
| 113 | you have the required permissions, the error response is | ||
| 114 | C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. | ||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | =head2 FromPort => Int | ||
| 119 | |||
| 120 | Not supported. Use a set of IP permissions to specify the port. | ||
| 121 | |||
| 122 | |||
| 123 | |||
| 124 | =head2 B<REQUIRED> GroupId => Str | ||
| 125 | |||
| 126 | The ID of the security group. | ||
| 127 | |||
| 128 | |||
| 129 | |||
| 130 | =head2 IpPermissions => ArrayRef[L<Paws::EC2::IpPermission>] | ||
| 131 | |||
| 132 | The sets of IP permissions. You can't specify a destination security | ||
| 133 | group and a CIDR IP address range in the same set of permissions. | ||
| 134 | |||
| 135 | |||
| 136 | |||
| 137 | =head2 IpProtocol => Str | ||
| 138 | |||
| 139 | Not supported. Use a set of IP permissions to specify the protocol name | ||
| 140 | or number. | ||
| 141 | |||
| 142 | |||
| 143 | |||
| 144 | =head2 SourceSecurityGroupName => Str | ||
| 145 | |||
| 146 | Not supported. Use a set of IP permissions to specify a destination | ||
| 147 | security group. | ||
| 148 | |||
| 149 | |||
| 150 | |||
| 151 | =head2 SourceSecurityGroupOwnerId => Str | ||
| 152 | |||
| 153 | Not supported. Use a set of IP permissions to specify a destination | ||
| 154 | security group. | ||
| 155 | |||
| 156 | |||
| 157 | |||
| 158 | =head2 ToPort => Int | ||
| 159 | |||
| 160 | Not supported. Use a set of IP permissions to specify the port. | ||
| 161 | |||
| 162 | |||
| 163 | |||
| 164 | |||
| 165 | =head1 SEE ALSO | ||
| 166 | |||
| 167 | This class forms part of L<Paws>, documenting arguments for method RevokeSecurityGroupEgress in L<Paws::EC2> | ||
| 168 | |||
| 169 | =head1 BUGS and CONTRIBUTIONS | ||
| 170 | |||
| 171 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 172 | |||
| 173 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 174 | |||
| 175 | =cut | ||
| 176 |