Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the AWS Region.
- 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)
- cdsgrsResponseStatus :: 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:
cdbsgTags
- Undocumented member.cdbsgDBSubnetGroupName
- The name for the DB subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default. Example:mySubnetgroup
cdbsgDBSubnetGroupDescription
- The description for the DB subnet group.cdbsgSubnetIds
- The EC2 Subnet IDs for the DB subnet group.
data CreateDBSubnetGroup Source #
See: createDBSubnetGroup
smart constructor.
Request Lenses
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 letters, numbers, periods, underscores, spaces, 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:
cdsgrsDBSubnetGroup
- Undocumented member.cdsgrsResponseStatus
- -- | The response status code.
data CreateDBSubnetGroupResponse Source #
See: createDBSubnetGroupResponse
smart constructor.
Response Lenses
cdsgrsDBSubnetGroup :: Lens' CreateDBSubnetGroupResponse (Maybe DBSubnetGroup) Source #
Undocumented member.
cdsgrsResponseStatus :: Lens' CreateDBSubnetGroupResponse Int Source #
- - | The response status code.