File Coverage

blib/lib/Paws/RedShift/RevokeClusterSecurityGroupIngress.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::RedShift::RevokeClusterSecurityGroupIngress;
3 1     1   368 use Moose;
  1     1   4  
  1         7  
  1         510  
  1         3  
  1         9  
4             has CIDRIP => (is => 'ro', isa => 'Str');
5             has ClusterSecurityGroupName => (is => 'ro', isa => 'Str', required => 1);
6             has EC2SecurityGroupName => (is => 'ro', isa => 'Str');
7             has EC2SecurityGroupOwnerId => (is => 'ro', isa => 'Str');
8              
9 1     1   5990 use MooseX::ClassAttribute;
  1     1   3  
  1         10  
  1         6521  
  1         2  
  1         7  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'RevokeClusterSecurityGroupIngress');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::RevokeClusterSecurityGroupIngressResult');
13             class_has _result_key => (isa => 'Str', is => 'ro', default => 'RevokeClusterSecurityGroupIngressResult');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::RedShift::RevokeClusterSecurityGroupIngress - Arguments for method RevokeClusterSecurityGroupIngress on Paws::RedShift
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method RevokeClusterSecurityGroupIngress on the
25             Amazon Redshift service. Use the attributes of this class
26             as arguments to method RevokeClusterSecurityGroupIngress.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RevokeClusterSecurityGroupIngress.
29              
30             As an example:
31              
32             $service_obj->RevokeClusterSecurityGroupIngress(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 CIDRIP => Str
40              
41             The IP range for which to revoke access. This range must be a valid
42             Classless Inter-Domain Routing (CIDR) block of IP addresses. If
43             C<CIDRIP> is specified, C<EC2SecurityGroupName> and
44             C<EC2SecurityGroupOwnerId> cannot be provided.
45              
46              
47              
48             =head2 B<REQUIRED> ClusterSecurityGroupName => Str
49              
50             The name of the security Group from which to revoke the ingress rule.
51              
52              
53              
54             =head2 EC2SecurityGroupName => Str
55              
56             The name of the EC2 Security Group whose access is to be revoked. If
57             C<EC2SecurityGroupName> is specified, C<EC2SecurityGroupOwnerId> must
58             also be provided and C<CIDRIP> cannot be provided.
59              
60              
61              
62             =head2 EC2SecurityGroupOwnerId => Str
63              
64             The AWS account number of the owner of the security group specified in
65             the C<EC2SecurityGroupName> parameter. The AWS access key ID is not an
66             acceptable value. If C<EC2SecurityGroupOwnerId> is specified,
67             C<EC2SecurityGroupName> must also be provided. and C<CIDRIP> cannot be
68             provided.
69              
70             Example: C<111122223333>
71              
72              
73              
74              
75             =head1 SEE ALSO
76              
77             This class forms part of L<Paws>, documenting arguments for method RevokeClusterSecurityGroupIngress in L<Paws::RedShift>
78              
79             =head1 BUGS and CONTRIBUTIONS
80              
81             The source code is located here: https://github.com/pplu/aws-sdk-perl
82              
83             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
84              
85             =cut
86