Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group. To add an ingress rule, see AuthorizeClusterSecurityGroupIngress
. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide .
- revokeClusterSecurityGroupIngress :: Text -> RevokeClusterSecurityGroupIngress
- data RevokeClusterSecurityGroupIngress
- rcsgiEC2SecurityGroupOwnerId :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text)
- rcsgiEC2SecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text)
- rcsgiCIdRIP :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text)
- rcsgiClusterSecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress Text
- revokeClusterSecurityGroupIngressResponse :: Int -> RevokeClusterSecurityGroupIngressResponse
- data RevokeClusterSecurityGroupIngressResponse
- rcsgirsClusterSecurityGroup :: Lens' RevokeClusterSecurityGroupIngressResponse (Maybe ClusterSecurityGroup)
- rcsgirsResponseStatus :: Lens' RevokeClusterSecurityGroupIngressResponse Int
Creating a Request
revokeClusterSecurityGroupIngress Source #
Creates a value of RevokeClusterSecurityGroupIngress
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rcsgiEC2SecurityGroupOwnerId
- The AWS account number of the owner of the security group specified in theEC2SecurityGroupName
parameter. The AWS access key ID is not an acceptable value. IfEC2SecurityGroupOwnerId
is specified,EC2SecurityGroupName
must also be provided. andCIDRIP
cannot be provided. Example:111122223333
rcsgiEC2SecurityGroupName
- The name of the EC2 Security Group whose access is to be revoked. IfEC2SecurityGroupName
is specified,EC2SecurityGroupOwnerId
must also be provided andCIDRIP
cannot be provided.rcsgiCIdRIP
- The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. IfCIDRIP
is specified,EC2SecurityGroupName
andEC2SecurityGroupOwnerId
cannot be provided.rcsgiClusterSecurityGroupName
- The name of the security Group from which to revoke the ingress rule.
data RevokeClusterSecurityGroupIngress Source #
See: revokeClusterSecurityGroupIngress
smart constructor.
Request Lenses
rcsgiEC2SecurityGroupOwnerId :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text) Source #
The AWS account number of the owner of the security group specified in the EC2SecurityGroupName
parameter. The AWS access key ID is not an acceptable value. If EC2SecurityGroupOwnerId
is specified, EC2SecurityGroupName
must also be provided. and CIDRIP
cannot be provided. Example: 111122223333
rcsgiEC2SecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text) Source #
The name of the EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName
is specified, EC2SecurityGroupOwnerId
must also be provided and CIDRIP
cannot be provided.
rcsgiCIdRIP :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text) Source #
The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP
is specified, EC2SecurityGroupName
and EC2SecurityGroupOwnerId
cannot be provided.
rcsgiClusterSecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress Text Source #
The name of the security Group from which to revoke the ingress rule.
Destructuring the Response
revokeClusterSecurityGroupIngressResponse Source #
Creates a value of RevokeClusterSecurityGroupIngressResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rcsgirsClusterSecurityGroup
- Undocumented member.rcsgirsResponseStatus
- -- | The response status code.
data RevokeClusterSecurityGroupIngressResponse Source #
See: revokeClusterSecurityGroupIngressResponse
smart constructor.
Response Lenses
rcsgirsClusterSecurityGroup :: Lens' RevokeClusterSecurityGroupIngressResponse (Maybe ClusterSecurityGroup) Source #
Undocumented member.
rcsgirsResponseStatus :: Lens' RevokeClusterSecurityGroupIngressResponse Int Source #
- - | The response status code.