Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Enables ingress to a DBSecurityGroup using one of two forms of authorization. First, EC2 or VPC security groups can be added to the DBSecurityGroup if the application using the database is running on EC2 or VPC instances. Second, IP ranges are available if the application accessing your database is running on the Internet. Required parameters for this API are one of CIDR range, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId for non-VPC).
You cannot authorize ingress from an EC2 security group in one region to an Amazon RDS DB instance in another. You cannot authorize ingress from a VPC security group in one VPC to an Amazon RDS DB instance in another.
For an overview of CIDR ranges, go to the Wikipedia Tutorial.
- authorizeDBSecurityGroupIngress :: Text -> AuthorizeDBSecurityGroupIngress
- data AuthorizeDBSecurityGroupIngress
- adsgiEC2SecurityGroupOwnerId :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text)
- adsgiEC2SecurityGroupName :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text)
- adsgiCIdRIP :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text)
- adsgiEC2SecurityGroupId :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text)
- adsgiDBSecurityGroupName :: Lens' AuthorizeDBSecurityGroupIngress Text
- authorizeDBSecurityGroupIngressResponse :: Int -> AuthorizeDBSecurityGroupIngressResponse
- data AuthorizeDBSecurityGroupIngressResponse
- adsgirsDBSecurityGroup :: Lens' AuthorizeDBSecurityGroupIngressResponse (Maybe DBSecurityGroup)
- adsgirsResponseStatus :: Lens' AuthorizeDBSecurityGroupIngressResponse Int
Creating a Request
authorizeDBSecurityGroupIngress Source #
Creates a value of AuthorizeDBSecurityGroupIngress
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AuthorizeDBSecurityGroupIngress Source #
See: authorizeDBSecurityGroupIngress
smart constructor.
Request Lenses
adsgiEC2SecurityGroupOwnerId :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text) Source #
AWS account number of the owner of the EC2 security group specified in
the EC2SecurityGroupName
parameter. The AWS Access Key ID is not an
acceptable value. For VPC DB security groups, EC2SecurityGroupId
must
be provided. Otherwise, EC2SecurityGroupOwnerId
and either
EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.
adsgiEC2SecurityGroupName :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text) Source #
Name of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,
EC2SecurityGroupOwnerId
and either EC2SecurityGroupName
or
EC2SecurityGroupId
must be provided.
adsgiCIdRIP :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text) Source #
The IP range to authorize.
adsgiEC2SecurityGroupId :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text) Source #
Id of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,
EC2SecurityGroupOwnerId
and either EC2SecurityGroupName
or
EC2SecurityGroupId
must be provided.
adsgiDBSecurityGroupName :: Lens' AuthorizeDBSecurityGroupIngress Text Source #
The name of the DB security group to add authorization to.
Destructuring the Response
authorizeDBSecurityGroupIngressResponse Source #
Creates a value of AuthorizeDBSecurityGroupIngressResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AuthorizeDBSecurityGroupIngressResponse Source #
See: authorizeDBSecurityGroupIngressResponse
smart constructor.
Response Lenses
adsgirsDBSecurityGroup :: Lens' AuthorizeDBSecurityGroupIngressResponse (Maybe DBSecurityGroup) Source #
Undocumented member.
adsgirsResponseStatus :: Lens' AuthorizeDBSecurityGroupIngressResponse Int Source #
The response status code.