code: @Override
      public GetFolderResult getFolder(GetFolderRequest request) {
          request = beforeClientExecution(request);
          return executeGetFolder(request);
      }
docs: <p>
  Returns the contents of a specified folder in a repository.
  </p>
  
  @param getFolderRequest
  @return Result of the GetFolder operation returned by the service.
  @throws RepositoryNameRequiredException
  A repository name is required but was not specified.
  @throws InvalidRepositoryNameException
  At least one specified repository name is not valid.</p> <note>
  <p>
  This exception only occurs when a specified repository name is not valid. Other exceptions occur when a
  required repository parameter is missing, or when a specified repository does not exist.
  </p>
  @throws RepositoryDoesNotExistException
  The specified repository does not exist.
  @throws InvalidCommitException
  The specified commit is not valid.
  @throws CommitDoesNotExistException
  The specified commit does not exist or no commit was specified, and the specified repository has no
  default branch.
  @throws PathRequiredException
  The folderPath for a location cannot be null.
  @throws InvalidPathException
  The specified path is not valid.
  @throws FolderDoesNotExistException
  The specified folder does not exist. Either the folder name is not correct, or you did not provide the
  full path to the folder.
  @throws EncryptionIntegrityChecksFailedException
  An encryption integrity check failed.
  @throws EncryptionKeyAccessDeniedException
  An encryption key could not be accessed.
  @throws EncryptionKeyDisabledException
  The encryption key is disabled.
  @throws EncryptionKeyNotFoundException
  No encryption key was found.
  @throws EncryptionKeyUnavailableException
  The encryption key is not available.
  @sample AWSCodeCommit.GetFolder
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFolder" target="_top">AWS API
  Documentation</a>