@Override
    public DeleteSubnetGroupResult deleteSubnetGroup(DeleteSubnetGroupRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteSubnetGroup(request);
    }
<p>
Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.
</p>

@param deleteSubnetGroupRequest
@return Result of the DeleteSubnetGroup operation returned by the service.
@throws SubnetGroupInUseException
@throws SubnetGroupNotFoundException
@throws ServiceLinkedRoleNotFoundException
@sample AmazonMemoryDB.DeleteSubnetGroup
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteSubnetGroup" target="_top">AWS API
     Documentation</a>
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/AmazonMemoryDBClient.java