Copyright | (c) 2013-2015 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 |
Creates a new DB security group. DB security groups control access to a DB instance.
See: AWS API Reference for CreateDBSecurityGroup.
- createDBSecurityGroup :: Text -> Text -> CreateDBSecurityGroup
- data CreateDBSecurityGroup
- cdsgTags :: Lens' CreateDBSecurityGroup [Tag]
- cdsgDBSecurityGroupName :: Lens' CreateDBSecurityGroup Text
- cdsgDBSecurityGroupDescription :: Lens' CreateDBSecurityGroup Text
- createDBSecurityGroupResponse :: Int -> CreateDBSecurityGroupResponse
- data CreateDBSecurityGroupResponse
- cdbsgrsDBSecurityGroup :: Lens' CreateDBSecurityGroupResponse (Maybe DBSecurityGroup)
- cdbsgrsResponseStatus :: Lens' CreateDBSecurityGroupResponse Int
Creating a Request
Creates a value of CreateDBSecurityGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateDBSecurityGroup Source
See: createDBSecurityGroup
smart constructor.
Request Lenses
cdsgTags :: Lens' CreateDBSecurityGroup [Tag] Source
Undocumented member.
cdsgDBSecurityGroupName :: Lens' CreateDBSecurityGroup Text Source
The name for the DB security group. This value is stored as a lowercase string.
Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
- Must not be "Default"
- Cannot contain spaces
Example: mysecuritygroup
cdsgDBSecurityGroupDescription :: Lens' CreateDBSecurityGroup Text Source
The description for the DB security group.
Destructuring the Response
createDBSecurityGroupResponse Source
Creates a value of CreateDBSecurityGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateDBSecurityGroupResponse Source
See: createDBSecurityGroupResponse
smart constructor.
Response Lenses
cdbsgrsDBSecurityGroup :: Lens' CreateDBSecurityGroupResponse (Maybe DBSecurityGroup) Source
Undocumented member.
cdbsgrsResponseStatus :: Lens' CreateDBSecurityGroupResponse Int Source
The response status code.