code: @Override
      public UpdateMaintenanceWindowTaskResult updateMaintenanceWindowTask(UpdateMaintenanceWindowTaskRequest request) {
          request = beforeClientExecution(request);
          return executeUpdateMaintenanceWindowTask(request);
      }
docs: <p>
  Modifies a task assigned to a Maintenance Window. You can't change the task type, but you can change the
  following values:
  </p>
  <ul>
  <li>
  <p>
  TaskARN. For example, you can change a RUN_COMMAND task from AWS-RunPowerShellScript to AWS-RunShellScript.
  </p>
  </li>
  <li>
  <p>
  ServiceRoleArn
  </p>
  </li>
  <li>
  <p>
  TaskInvocationParameters
  </p>
  </li>
  <li>
  <p>
  Priority
  </p>
  </li>
  <li>
  <p>
  MaxConcurrency
  </p>
  </li>
  <li>
  <p>
  MaxErrors
  </p>
  </li>
  </ul>
  <p>
  If a parameter is null, then the corresponding field is not modified. Also, if you set Replace to true, then all
  fields required by the <a>RegisterTaskWithMaintenanceWindow</a> action are required for this request. Optional
  fields that aren't specified are set to null.
  </p>
  
  @param updateMaintenanceWindowTaskRequest
  @return Result of the UpdateMaintenanceWindowTask operation returned by the service.
  @throws DoesNotExistException
  Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline,
  doesn't exist.</p>
  <p>
  For information about resource limits in Systems Manager, see <a
  href="http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm">AWS Systems
  Manager Limits</a>.
  @throws InternalServerErrorException
  An error occurred on the server side.
  @sample AWSSimpleSystemsManagement.UpdateMaintenanceWindowTask
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTask"
  target="_top">AWS API Documentation</a>