| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Neptune.DeleteDBSubnetGroup
Description
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.
Constructors
| DeleteDBSubnetGroup' | |
Fields
| |
Instances
newDeleteDBSubnetGroup Source #
Arguments
| :: Text | |
| -> DeleteDBSubnetGroup |
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:
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.
Constructors
| DeleteDBSubnetGroupResponse' | |
Instances
newDeleteDBSubnetGroupResponse :: DeleteDBSubnetGroupResponse Source #
Create a value of DeleteDBSubnetGroupResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.