code: @Override
      public AcceptSharedDirectoryResult acceptSharedDirectory(AcceptSharedDirectoryRequest request) {
          request = beforeClientExecution(request);
          return executeAcceptSharedDirectory(request);
      }
docs: <p>
  Accepts a directory sharing request that was sent from the directory owner account.
  </p>
  
  @param acceptSharedDirectoryRequest
  @return Result of the AcceptSharedDirectory operation returned by the service.
  @throws InvalidParameterException
  One or more parameters are not valid.
  @throws EntityDoesNotExistException
  The specified entity could not be found.
  @throws DirectoryAlreadySharedException
  The specified directory has already been shared with this AWS account.
  @throws ClientException
  A client exception has occurred.
  @throws ServiceException
  An exception has occurred in AWS Directory Service.
  @sample AWSDirectoryService.AcceptSharedDirectory
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AcceptSharedDirectory" target="_top">AWS API
  Documentation</a>