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 subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the region.
See: AWS API Reference for CreateDBSubnetGroup.
- createDBSubnetGroup :: Text -> Text -> CreateDBSubnetGroup
- data CreateDBSubnetGroup
- cdbsgTags :: Lens' CreateDBSubnetGroup [Tag]
- cdbsgDBSubnetGroupName :: Lens' CreateDBSubnetGroup Text
- cdbsgDBSubnetGroupDescription :: Lens' CreateDBSubnetGroup Text
- cdbsgSubnetIds :: Lens' CreateDBSubnetGroup [Text]
- createDBSubnetGroupResponse :: Int -> CreateDBSubnetGroupResponse
- data CreateDBSubnetGroupResponse
- cdsgrsDBSubnetGroup :: Lens' CreateDBSubnetGroupResponse (Maybe DBSubnetGroup)
- cdsgrsStatus :: Lens' CreateDBSubnetGroupResponse Int
Creating a Request
Creates a value of CreateDBSubnetGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateDBSubnetGroup Source
See: createDBSubnetGroup
smart constructor.
Request Lenses
cdbsgTags :: Lens' CreateDBSubnetGroup [Tag] Source
Undocumented member.
cdbsgDBSubnetGroupName :: Lens' CreateDBSubnetGroup Text Source
The name for the DB subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example: mySubnetgroup
cdbsgDBSubnetGroupDescription :: Lens' CreateDBSubnetGroup Text Source
The description for the DB subnet group.
cdbsgSubnetIds :: Lens' CreateDBSubnetGroup [Text] Source
The EC2 Subnet IDs for the DB subnet group.
Destructuring the Response
createDBSubnetGroupResponse Source
Creates a value of CreateDBSubnetGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateDBSubnetGroupResponse Source
See: createDBSubnetGroupResponse
smart constructor.
Response Lenses
cdsgrsDBSubnetGroup :: Lens' CreateDBSubnetGroupResponse (Maybe DBSubnetGroup) Source
Undocumented member.
cdsgrsStatus :: Lens' CreateDBSubnetGroupResponse Int Source
The response status code.