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 |
Deletes a DB subnet group.
The specified database subnet group must not be associated with any DB instances.
Synopsis
- data DeleteDBSubnetGroup = DeleteDBSubnetGroup' {}
- newDeleteDBSubnetGroup :: Text -> DeleteDBSubnetGroup
- deleteDBSubnetGroup_dbSubnetGroupName :: Lens' DeleteDBSubnetGroup Text
- data DeleteDBSubnetGroupResponse = DeleteDBSubnetGroupResponse' {
- newDeleteDBSubnetGroupResponse :: DeleteDBSubnetGroupResponse
Creating a Request
data DeleteDBSubnetGroup Source #
See: newDeleteDBSubnetGroup
smart constructor.
DeleteDBSubnetGroup' | |
|
Instances
newDeleteDBSubnetGroup Source #
Create a value of DeleteDBSubnetGroup
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:dbSubnetGroupName:DeleteDBSubnetGroup'
, deleteDBSubnetGroup_dbSubnetGroupName
- The name of the database subnet group to delete.
You can't delete the default subnet group.
Constraints:
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
Request Lenses
deleteDBSubnetGroup_dbSubnetGroupName :: Lens' DeleteDBSubnetGroup Text Source #
The name of the database subnet group to delete.
You can't delete the default subnet group.
Constraints:
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
Destructuring the Response
data DeleteDBSubnetGroupResponse Source #
See: newDeleteDBSubnetGroupResponse
smart constructor.
Instances
newDeleteDBSubnetGroupResponse :: DeleteDBSubnetGroupResponse Source #
Create a value of DeleteDBSubnetGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.