code: @Override
      public DefineIndexFieldResult defineIndexField(DefineIndexFieldRequest request) {
          request = beforeClientExecution(request);
          return executeDefineIndexField(request);
      }
docs: <p>
  Configures an <code><a>IndexField</a></code> for the search domain. Used to create new fields and modify existing
  ones. You must specify the name of the domain you are configuring and an index field configuration. The index
  field configuration specifies a unique name, the index field type, and the options you want to configure for the
  field. The options you can specify depend on the <code><a>IndexFieldType</a></code>. If the field exists, the new
  configuration replaces the old one. For more information, see <a
  href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-index-fields.html"
  target="_blank">Configuring Index Fields</a> in the <i>Amazon CloudSearch Developer Guide</i>.
  </p>
  
  @param defineIndexFieldRequest
  Container for the parameters to the <code><a>DefineIndexField</a></code> operation. Specifies the name of
  the domain you want to update and the index field configuration.
  @return Result of the DefineIndexField 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 LimitExceededException
  The request was rejected because a resource limit has already been met.
  @throws InvalidTypeException
  The request was rejected because it specified an invalid type definition.
  @throws ResourceNotFoundException
  The request was rejected because it attempted to reference a resource that does not exist.
  @sample AmazonCloudSearch.DefineIndexField