Copyright | (c) 2013-2021 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 |
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.
Synopsis
- data RevokeClusterSecurityGroupIngress = RevokeClusterSecurityGroupIngress' {}
- newRevokeClusterSecurityGroupIngress :: Text -> RevokeClusterSecurityGroupIngress
- revokeClusterSecurityGroupIngress_eC2SecurityGroupOwnerId :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text)
- revokeClusterSecurityGroupIngress_eC2SecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text)
- revokeClusterSecurityGroupIngress_cidrip :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text)
- revokeClusterSecurityGroupIngress_clusterSecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress Text
- data RevokeClusterSecurityGroupIngressResponse = RevokeClusterSecurityGroupIngressResponse' {}
- newRevokeClusterSecurityGroupIngressResponse :: Int -> RevokeClusterSecurityGroupIngressResponse
- revokeClusterSecurityGroupIngressResponse_clusterSecurityGroup :: Lens' RevokeClusterSecurityGroupIngressResponse (Maybe ClusterSecurityGroup)
- revokeClusterSecurityGroupIngressResponse_httpStatus :: Lens' RevokeClusterSecurityGroupIngressResponse Int
Creating a Request
data RevokeClusterSecurityGroupIngress Source #
See: newRevokeClusterSecurityGroupIngress
smart constructor.
RevokeClusterSecurityGroupIngress' | |
|
Instances
newRevokeClusterSecurityGroupIngress Source #
:: Text |
|
-> RevokeClusterSecurityGroupIngress |
Create a value of RevokeClusterSecurityGroupIngress
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eC2SecurityGroupOwnerId:RevokeClusterSecurityGroupIngress'
, revokeClusterSecurityGroupIngress_eC2SecurityGroupOwnerId
- The Amazon Web Services account number of the owner of the security
group specified in the EC2SecurityGroupName
parameter. The Amazon Web
Services access key ID is not an acceptable value. If
EC2SecurityGroupOwnerId
is specified, EC2SecurityGroupName
must also
be provided. and CIDRIP
cannot be provided.
Example: 111122223333
$sel:eC2SecurityGroupName:RevokeClusterSecurityGroupIngress'
, revokeClusterSecurityGroupIngress_eC2SecurityGroupName
- 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.
$sel:cidrip:RevokeClusterSecurityGroupIngress'
, revokeClusterSecurityGroupIngress_cidrip
- 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.
$sel:clusterSecurityGroupName:RevokeClusterSecurityGroupIngress'
, revokeClusterSecurityGroupIngress_clusterSecurityGroupName
- The name of the security Group from which to revoke the ingress rule.
Request Lenses
revokeClusterSecurityGroupIngress_eC2SecurityGroupOwnerId :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text) Source #
The Amazon Web Services account number of the owner of the security
group specified in the EC2SecurityGroupName
parameter. The Amazon Web
Services access key ID is not an acceptable value. If
EC2SecurityGroupOwnerId
is specified, EC2SecurityGroupName
must also
be provided. and CIDRIP
cannot be provided.
Example: 111122223333
revokeClusterSecurityGroupIngress_eC2SecurityGroupName :: 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.
revokeClusterSecurityGroupIngress_cidrip :: 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.
revokeClusterSecurityGroupIngress_clusterSecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress Text Source #
The name of the security Group from which to revoke the ingress rule.
Destructuring the Response
data RevokeClusterSecurityGroupIngressResponse Source #
See: newRevokeClusterSecurityGroupIngressResponse
smart constructor.
RevokeClusterSecurityGroupIngressResponse' | |
|
Instances
newRevokeClusterSecurityGroupIngressResponse Source #
Create a value of RevokeClusterSecurityGroupIngressResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clusterSecurityGroup:RevokeClusterSecurityGroupIngressResponse'
, revokeClusterSecurityGroupIngressResponse_clusterSecurityGroup
- Undocumented member.
$sel:httpStatus:RevokeClusterSecurityGroupIngressResponse'
, revokeClusterSecurityGroupIngressResponse_httpStatus
- The response's http status code.
Response Lenses
revokeClusterSecurityGroupIngressResponse_clusterSecurityGroup :: Lens' RevokeClusterSecurityGroupIngressResponse (Maybe ClusterSecurityGroup) Source #
Undocumented member.
revokeClusterSecurityGroupIngressResponse_httpStatus :: Lens' RevokeClusterSecurityGroupIngressResponse Int Source #
The response's http status code.