blib/lib/Paws/RedShift/RevokeClusterSecurityGroupIngress.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/RedShift/RestoreStatus.pm ↑ Summary blib/lib/Paws/RedShift/RevokeClusterSecurityGroupIngressResult.pm »
1  
2 package Paws::RedShift::RevokeClusterSecurityGroupIngress;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has CIDRIP => (is => 'ro', isa => 'Str');
5 1 has ClusterSecurityGroupName => (is => 'ro', isa => 'Str', required => 1);
6 1 has EC2SecurityGroupName => (is => 'ro', isa => 'Str');
7 1 has EC2SecurityGroupOwnerId => (is => 'ro', isa => 'Str');
8  
9 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'RevokeClusterSecurityGroupIngress');
12 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::RevokeClusterSecurityGroupIngressResult');
13 1 class_has _result_key => (isa => 'Str', is => 'ro', default => 'RevokeClusterSecurityGroupIngressResult');
14 1 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::RedShift::RevokeClusterSecurityGroupIngress - Arguments for method RevokeClusterSecurityGroupIngress on L<Paws::RedShift>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method RevokeClusterSecurityGroupIngress on the
25 L<Amazon Redshift|Paws::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 =head1 SYNOPSIS
31  
32 my $redshift = Paws->service('RedShift');
33 my $RevokeClusterSecurityGroupIngressResult =
34 $redshift->RevokeClusterSecurityGroupIngress(
35 ClusterSecurityGroupName => 'MyString',
36 CIDRIP => 'MyString', # OPTIONAL
37 EC2SecurityGroupName => 'MyString', # OPTIONAL
38 EC2SecurityGroupOwnerId => 'MyString', # OPTIONAL
39 );
40  
41 # Results:
42 my $ClusterSecurityGroup =
43 $RevokeClusterSecurityGroupIngressResult->ClusterSecurityGroup;
44  
45 # Returns a L<Paws::RedShift::RevokeClusterSecurityGroupIngressResult> object.
46  
47 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.
48 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/redshift/RevokeClusterSecurityGroupIngress>
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 CIDRIP => Str
54  
55 The IP range for which to revoke access. This range must be a valid
56 Classless Inter-Domain Routing (CIDR) block of IP addresses. If
57 C<CIDRIP> is specified, C<EC2SecurityGroupName> and
58 C<EC2SecurityGroupOwnerId> cannot be provided.
59  
60  
61  
62 =head2 B<REQUIRED> ClusterSecurityGroupName => Str
63  
64 The name of the security Group from which to revoke the ingress rule.
65  
66  
67  
68 =head2 EC2SecurityGroupName => Str
69  
70 The name of the EC2 Security Group whose access is to be revoked. If
71 C<EC2SecurityGroupName> is specified, C<EC2SecurityGroupOwnerId> must
72 also be provided and C<CIDRIP> cannot be provided.
73  
74  
75  
76 =head2 EC2SecurityGroupOwnerId => Str
77  
78 The AWS account number of the owner of the security group specified in
79 the C<EC2SecurityGroupName> parameter. The AWS access key ID is not an
80 acceptable value. If C<EC2SecurityGroupOwnerId> is specified,
81 C<EC2SecurityGroupName> must also be provided. and C<CIDRIP> cannot be
82 provided.
83  
84 Example: C<111122223333>
85  
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, documenting arguments for method RevokeClusterSecurityGroupIngress in L<Paws::RedShift>
92  
93 =head1 BUGS and CONTRIBUTIONS
94  
95 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
96  
97 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
98  
99 =cut
100  
« blib/lib/Paws/RedShift/RestoreStatus.pm ↑ Summary blib/lib/Paws/RedShift/RevokeClusterSecurityGroupIngressResult.pm »