delete_db_subnet_group
(**kwargs)¶Deletes a subnet group.
Note
The specified database subnet group must not be associated with any DB instances.
See also: AWS API Documentation
Request Syntax
response = client.delete_db_subnet_group(
DBSubnetGroupName='string'
)
[REQUIRED]
The name of the database subnet group to delete.
Note
You can't delete the default subnet group.
Constraints:
Must match the name of an existing DBSubnetGroup
. Must not be default.
Example: mySubnetgroup
Exceptions
DocDB.Client.exceptions.InvalidDBSubnetGroupStateFault
DocDB.Client.exceptions.InvalidDBSubnetStateFault
DocDB.Client.exceptions.DBSubnetGroupNotFoundFault