Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_db_subnet_group

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'
)
Parameters
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

Returns
None

Exceptions

  • DocDB.Client.exceptions.InvalidDBSubnetGroupStateFault
  • DocDB.Client.exceptions.InvalidDBSubnetStateFault
  • DocDB.Client.exceptions.DBSubnetGroupNotFoundFault