delete_db_subnet_group

Neptune.Client.delete_db_subnet_group(**kwargs)

Deletes a DB 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'
)
Parameters
DBSubnetGroupName (string) --

[REQUIRED]

The name of the database subnet group to delete.

Note

You can't delete the default subnet group.

Constraints:

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

Returns
None

Exceptions

  • Neptune.Client.exceptions.InvalidDBSubnetGroupStateFault
  • Neptune.Client.exceptions.InvalidDBSubnetStateFault
  • Neptune.Client.exceptions.DBSubnetGroupNotFoundFault