| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Redshift.RevokeClusterSecurityGroupIngress
Description
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 theEC2SecurityGroupNameparameter. The AWS access key ID is not an acceptable value. IfEC2SecurityGroupOwnerIdis specified,EC2SecurityGroupNamemust also be provided. andCIDRIPcannot be provided. Example:111122223333rcsgiEC2SecurityGroupName- The name of the EC2 Security Group whose access is to be revoked. IfEC2SecurityGroupNameis specified,EC2SecurityGroupOwnerIdmust also be provided andCIDRIPcannot 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. IfCIDRIPis specified,EC2SecurityGroupNameandEC2SecurityGroupOwnerIdcannot be provided.rcsgiClusterSecurityGroupName- The name of the security Group from which to revoke the ingress rule.
data RevokeClusterSecurityGroupIngress Source #
See: revokeClusterSecurityGroupIngress smart constructor.
Instances
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.
Instances
Response Lenses
rcsgirsClusterSecurityGroup :: Lens' RevokeClusterSecurityGroupIngressResponse (Maybe ClusterSecurityGroup) Source #
Undocumented member.
rcsgirsResponseStatus :: Lens' RevokeClusterSecurityGroupIngressResponse Int Source #
- - | The response status code.