class NamingServiceResources {

    public String deleteInstanceGroupName(InstanceGroup instanceGroup) throws BadResponseException, IOException {
        Deleteelement deleteElement = namingRequestObjectBuilder.deleteElementMapper(instanceGroup.getId());
        List<Deleteelement> deleteElements = new ArrayList<>();
        deleteElements.add(deleteElement);
        return (namingClient
                .deleteNameGenRequest(namingRequestObjectBuilder.nameGenDeleteRequestMapper(deleteElements)));
    }

}