DeleteDBSubnetGroup

    Note

    The specified database subnet group must not be associated with any DB instances.

    For information about the parameters that are common to all actions, see Common Parameters.

    DBSubnetGroupName

    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 . Must not be default.

    Example:

    Required: Yes

    For information about the errors that are common to all actions, see .

    DBSubnetGroupNotFoundFault

    doesn’t refer to an existing subnet group.

    HTTP Status Code: 404

    InvalidDBSubnetGroupStateFault

    The subnet group can’t be deleted because it’s in use.

    HTTP Status Code: 400

    InvalidDBSubnetStateFault

    The subnet isn’t in the available state.

    For more information about using this API in one of the language-specific AWS SDKs, see the following: