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 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
- data RevokeDBSecurityGroupIngress = RevokeDBSecurityGroupIngress' {}
- newRevokeDBSecurityGroupIngress :: Text -> RevokeDBSecurityGroupIngress
- revokeDBSecurityGroupIngress_eC2SecurityGroupOwnerId :: Lens' RevokeDBSecurityGroupIngress (Maybe Text)
- revokeDBSecurityGroupIngress_eC2SecurityGroupName :: Lens' RevokeDBSecurityGroupIngress (Maybe Text)
- revokeDBSecurityGroupIngress_cidrip :: Lens' RevokeDBSecurityGroupIngress (Maybe Text)
- revokeDBSecurityGroupIngress_eC2SecurityGroupId :: Lens' RevokeDBSecurityGroupIngress (Maybe Text)
- revokeDBSecurityGroupIngress_dbSecurityGroupName :: Lens' RevokeDBSecurityGroupIngress Text
- data RevokeDBSecurityGroupIngressResponse = RevokeDBSecurityGroupIngressResponse' {}
- newRevokeDBSecurityGroupIngressResponse :: Int -> RevokeDBSecurityGroupIngressResponse
- revokeDBSecurityGroupIngressResponse_dbSecurityGroup :: Lens' RevokeDBSecurityGroupIngressResponse (Maybe DBSecurityGroup)
- revokeDBSecurityGroupIngressResponse_httpStatus :: Lens' RevokeDBSecurityGroupIngressResponse Int
Creating a Request
data RevokeDBSecurityGroupIngress Source #
See: newRevokeDBSecurityGroupIngress
smart constructor.
RevokeDBSecurityGroupIngress' | |
|
Instances
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 #
See: newRevokeDBSecurityGroupIngressResponse
smart constructor.
RevokeDBSecurityGroupIngressResponse' | |
|
Instances
Eq RevokeDBSecurityGroupIngressResponse Source # | |
Read RevokeDBSecurityGroupIngressResponse Source # | |
Show RevokeDBSecurityGroupIngressResponse Source # | |
Generic RevokeDBSecurityGroupIngressResponse Source # | |
NFData RevokeDBSecurityGroupIngressResponse Source # | |
Defined in Amazonka.RDS.RevokeDBSecurityGroupIngress rnf :: RevokeDBSecurityGroupIngressResponse -> () # | |
type Rep RevokeDBSecurityGroupIngressResponse Source # | |
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
revokeDBSecurityGroupIngressResponse_dbSecurityGroup :: Lens' RevokeDBSecurityGroupIngressResponse (Maybe DBSecurityGroup) Source #
Undocumented member.
revokeDBSecurityGroupIngressResponse_httpStatus :: Lens' RevokeDBSecurityGroupIngressResponse Int Source #
The response's http status code.