libZSservicesZSamazonka-rdsZSamazonka-rds
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.RDS.RevokeDBSecurityGroupIngress

Description

Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC security groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId).

Synopsis

Creating a Request

data RevokeDBSecurityGroupIngress Source #

See: newRevokeDBSecurityGroupIngress smart constructor.

Constructors

RevokeDBSecurityGroupIngress' 

Fields

  • eC2SecurityGroupOwnerId :: Maybe Text

    The Amazon Web Services account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The Amazon Web Services access key ID isn't an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

  • eC2SecurityGroupName :: Maybe Text

    The name of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

  • cidrip :: Maybe Text

    The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId can't be provided.

  • eC2SecurityGroupId :: Maybe Text

    The id of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

  • dbSecurityGroupName :: Text

    The name of the DB security group to revoke ingress from.

Instances

Instances details
Eq RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

Read RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

Show RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

Generic RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

Associated Types

type Rep RevokeDBSecurityGroupIngress :: Type -> Type #

NFData RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

Hashable RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

AWSRequest RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

ToHeaders RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

ToPath RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

ToQuery RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

type Rep RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

type Rep RevokeDBSecurityGroupIngress = D1 ('MetaData "RevokeDBSecurityGroupIngress" "Amazonka.RDS.RevokeDBSecurityGroupIngress" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "RevokeDBSecurityGroupIngress'" '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 "eC2SecurityGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dbSecurityGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

newRevokeDBSecurityGroupIngress Source #

Create a value of RevokeDBSecurityGroupIngress 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:RevokeDBSecurityGroupIngress', revokeDBSecurityGroupIngress_eC2SecurityGroupOwnerId - The Amazon Web Services account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The Amazon Web Services access key ID isn't an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

$sel:eC2SecurityGroupName:RevokeDBSecurityGroupIngress', revokeDBSecurityGroupIngress_eC2SecurityGroupName - The name of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

$sel:cidrip:RevokeDBSecurityGroupIngress', revokeDBSecurityGroupIngress_cidrip - The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId can't be provided.

$sel:eC2SecurityGroupId:RevokeDBSecurityGroupIngress', revokeDBSecurityGroupIngress_eC2SecurityGroupId - The id of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

$sel:dbSecurityGroupName:RevokeDBSecurityGroupIngress', revokeDBSecurityGroupIngress_dbSecurityGroupName - The name of the DB security group to revoke ingress from.

Request Lenses

revokeDBSecurityGroupIngress_eC2SecurityGroupOwnerId :: Lens' RevokeDBSecurityGroupIngress (Maybe Text) Source #

The Amazon Web Services account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The Amazon Web Services access key ID isn't an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

revokeDBSecurityGroupIngress_eC2SecurityGroupName :: Lens' RevokeDBSecurityGroupIngress (Maybe Text) Source #

The name of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

revokeDBSecurityGroupIngress_cidrip :: Lens' RevokeDBSecurityGroupIngress (Maybe Text) Source #

The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId can't be provided.

revokeDBSecurityGroupIngress_eC2SecurityGroupId :: Lens' RevokeDBSecurityGroupIngress (Maybe Text) Source #

The id of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

revokeDBSecurityGroupIngress_dbSecurityGroupName :: Lens' RevokeDBSecurityGroupIngress Text Source #

The name of the DB security group to revoke ingress from.

Destructuring the Response

data RevokeDBSecurityGroupIngressResponse Source #

Constructors

RevokeDBSecurityGroupIngressResponse' 

Fields

Instances

Instances details
Eq RevokeDBSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

Read RevokeDBSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

Show RevokeDBSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

Generic RevokeDBSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

NFData RevokeDBSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

type Rep RevokeDBSecurityGroupIngressResponse Source # 
Instance details

Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress

type Rep RevokeDBSecurityGroupIngressResponse = D1 ('MetaData "RevokeDBSecurityGroupIngressResponse" "Amazonka.RDS.RevokeDBSecurityGroupIngress" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "RevokeDBSecurityGroupIngressResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbSecurityGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBSecurityGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRevokeDBSecurityGroupIngressResponse Source #

Create a value of RevokeDBSecurityGroupIngressResponse 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:dbSecurityGroup:RevokeDBSecurityGroupIngressResponse', revokeDBSecurityGroupIngressResponse_dbSecurityGroup - Undocumented member.

$sel:httpStatus:RevokeDBSecurityGroupIngressResponse', revokeDBSecurityGroupIngressResponse_httpStatus - The response's http status code.

Response Lenses