libZSservicesZSamazonka-redshiftZSamazonka-redshift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.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.

Synopsis

Creating a Request

data RevokeClusterSecurityGroupIngress Source #

See: newRevokeClusterSecurityGroupIngress smart constructor.

Constructors

RevokeClusterSecurityGroupIngress' 

Fields

  • eC2SecurityGroupOwnerId :: Maybe Text

    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

  • eC2SecurityGroupName :: Maybe Text

    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.

  • cidrip :: Maybe Text

    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.

  • clusterSecurityGroupName :: Text

    The name of the security Group from which to revoke the ingress rule.

Instances

Instances details
Eq RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

Read RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

Show RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

Generic RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

Associated Types

type Rep RevokeClusterSecurityGroupIngress :: Type -> Type #

NFData RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

Hashable RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

AWSRequest RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

ToHeaders RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

ToPath RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

ToQuery RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

type Rep RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

type Rep RevokeClusterSecurityGroupIngress = D1 ('MetaData "RevokeClusterSecurityGroupIngress" "Amazonka.Redshift.RevokeClusterSecurityGroupIngress" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "RevokeClusterSecurityGroupIngress'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eC2SecurityGroupOwnerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eC2SecurityGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "cidrip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clusterSecurityGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

newRevokeClusterSecurityGroupIngress Source #

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 #

Instances

Instances details
Eq RevokeClusterSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

Read RevokeClusterSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

Show RevokeClusterSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

Generic RevokeClusterSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

NFData RevokeClusterSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

type Rep RevokeClusterSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

type Rep RevokeClusterSecurityGroupIngressResponse = D1 ('MetaData "RevokeClusterSecurityGroupIngressResponse" "Amazonka.Redshift.RevokeClusterSecurityGroupIngress" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "RevokeClusterSecurityGroupIngressResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterSecurityGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterSecurityGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses