code: private Attachment attachNewVersion (long sheetId, long attachmentId, InputStream inputStream, String contentType, long contentLength, String attachmentName)
              throws SmartsheetException {
          return super.attachFile("sheets/"+ sheetId + "/attachments/"+ attachmentId +"/versions", inputStream, contentType, contentLength, attachmentName);
      }
docs: Attach a new version of an attachment.
  
  It mirrors to the following Smartsheet REST API method: POST /attachment/{id}/versions
  
  @param sheetId the id of the sheet
  @param attachmentId the id of the object
  @param inputStream the {@link InputStream} of the file to attach
  @param contentType the content type of the file
  @param contentLength the size of the file in bytes.
  @param attachmentName the name of the file.
  @return the created attachment
  @throws IllegalArgumentException if any argument is null or empty string
  @throws InvalidRequestException if there is any problem with the REST API request
  @throws AuthorizationException if there is any problem with  the REST API authorization (access token)
  @throws ResourceNotFoundException if the resource cannot be found
  @throws ServiceUnavailableException if the REST API service is not available (possibly due to rate limiting)
  @throws SmartsheetException if there is any other error during the operation