code: @Override
      public ModifyReplicationTaskResult modifyReplicationTask(ModifyReplicationTaskRequest request) {
          request = beforeClientExecution(request);
          return executeModifyReplicationTask(request);
      }
docs: <p>
  Modifies the specified replication task.
  </p>
  <p>
  You can't modify the task endpoints. The task must be stopped before you can modify it.
  </p>
  <p>
  For more information about AWS DMS tasks, see <a
  href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html">Working with Migration Tasks</a> in the
  <i>AWS Database Migration Service User Guide</i>.
  </p>
  
  @param modifyReplicationTaskRequest
  @return Result of the ModifyReplicationTask operation returned by the service.
  @throws InvalidResourceStateException
  The resource is in a state that prevents it from being used for database migration.
  @throws ResourceNotFoundException
  The resource could not be found.
  @throws ResourceAlreadyExistsException
  The resource you are attempting to create already exists.
  @throws KMSKeyNotAccessibleException
  AWS DMS cannot access the KMS key.
  @sample AWSDatabaseMigrationService.ModifyReplicationTask
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTask" target="_top">AWS API
  Documentation</a>