code: @Override
      public IndexDocumentsResult indexDocuments(IndexDocumentsRequest request) {
          request = beforeClientExecution(request);
          return executeIndexDocuments(request);
      }
docs: <p>
  Tells the search domain to start indexing its documents using the latest indexing options. This operation must be
  invoked to activate options whose <a>OptionStatus</a> is <code>RequiresIndexDocuments</code>.
  </p>
  
  @param indexDocumentsRequest
  Container for the parameters to the <code><a>IndexDocuments</a></code> operation. Specifies the name of
  the domain you want to re-index.
  @return Result of the IndexDocuments operation returned by the service.
  @throws BaseException
  An error occurred while processing the request.
  @throws InternalException
  An internal error occurred while processing the request. If this problem persists, report an issue from
  the <a href="http://status.aws.amazon.com/" target="_blank">Service Health Dashboard</a>.
  @throws ResourceNotFoundException
  The request was rejected because it attempted to reference a resource that does not exist.
  @sample AmazonCloudSearch.IndexDocuments