amazonka-redshift-2.0: Amazon Redshift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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

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

  • 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

  • clusterSecurityGroupName :: Text

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

Instances

Instances details
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

AWSRequest 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 #

Read RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

Show RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

NFData RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

Eq RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

Hashable RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

type AWSResponse 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" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "RevokeClusterSecurityGroupIngress'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cidrip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eC2SecurityGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "eC2SecurityGroupOwnerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clusterSecurityGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:

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.

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.

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

RevokeClusterSecurityGroupIngress, revokeClusterSecurityGroupIngress_clusterSecurityGroupName - The name of the security Group from which to revoke the ingress rule.

Request Lenses

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_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_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_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
Generic 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

NFData RevokeClusterSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.Redshift.RevokeClusterSecurityGroupIngress

Eq 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" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" '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