Class: Aws::Deadline::Types::UpdateJobRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-deadline/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

The unique token which the server uses to recognize retries of the same request.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
# File 'lib/aws-sdk-deadline/types.rb', line 8756

class UpdateJobRequest < Struct.new(
  :client_token,
  :farm_id,
  :queue_id,
  :job_id,
  :target_task_run_status,
  :priority,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :lifecycle_status)
  SENSITIVE = []
  include Aws::Structure
end

#farm_idString

The farm ID of the job to update.

Returns:

  • (String)


8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
# File 'lib/aws-sdk-deadline/types.rb', line 8756

class UpdateJobRequest < Struct.new(
  :client_token,
  :farm_id,
  :queue_id,
  :job_id,
  :target_task_run_status,
  :priority,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :lifecycle_status)
  SENSITIVE = []
  include Aws::Structure
end

#job_idString

The job ID to update.

Returns:

  • (String)


8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
# File 'lib/aws-sdk-deadline/types.rb', line 8756

class UpdateJobRequest < Struct.new(
  :client_token,
  :farm_id,
  :queue_id,
  :job_id,
  :target_task_run_status,
  :priority,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :lifecycle_status)
  SENSITIVE = []
  include Aws::Structure
end

#lifecycle_statusString

The status of a job in its lifecycle. When you change the status of the job to ‘ARCHIVED`, the job can’t be scheduled or archived.

An archived jobs and its steps and tasks are deleted after 120 days. The job can’t be recovered.

Returns:

  • (String)


8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
# File 'lib/aws-sdk-deadline/types.rb', line 8756

class UpdateJobRequest < Struct.new(
  :client_token,
  :farm_id,
  :queue_id,
  :job_id,
  :target_task_run_status,
  :priority,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :lifecycle_status)
  SENSITIVE = []
  include Aws::Structure
end

#max_failed_tasks_countInteger

The number of task failures before the job stops running and is marked as ‘FAILED`.

Returns:

  • (Integer)


8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
# File 'lib/aws-sdk-deadline/types.rb', line 8756

class UpdateJobRequest < Struct.new(
  :client_token,
  :farm_id,
  :queue_id,
  :job_id,
  :target_task_run_status,
  :priority,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :lifecycle_status)
  SENSITIVE = []
  include Aws::Structure
end

#max_retries_per_taskInteger

The maximum number of retries for a job.

Returns:

  • (Integer)


8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
# File 'lib/aws-sdk-deadline/types.rb', line 8756

class UpdateJobRequest < Struct.new(
  :client_token,
  :farm_id,
  :queue_id,
  :job_id,
  :target_task_run_status,
  :priority,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :lifecycle_status)
  SENSITIVE = []
  include Aws::Structure
end

#priorityInteger

The job priority to update.

Returns:

  • (Integer)


8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
# File 'lib/aws-sdk-deadline/types.rb', line 8756

class UpdateJobRequest < Struct.new(
  :client_token,
  :farm_id,
  :queue_id,
  :job_id,
  :target_task_run_status,
  :priority,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :lifecycle_status)
  SENSITIVE = []
  include Aws::Structure
end

#queue_idString

The queue ID of the job to update.

Returns:

  • (String)


8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
# File 'lib/aws-sdk-deadline/types.rb', line 8756

class UpdateJobRequest < Struct.new(
  :client_token,
  :farm_id,
  :queue_id,
  :job_id,
  :target_task_run_status,
  :priority,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :lifecycle_status)
  SENSITIVE = []
  include Aws::Structure
end

#target_task_run_statusString

The task status to update the job’s tasks to.

Returns:

  • (String)


8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
# File 'lib/aws-sdk-deadline/types.rb', line 8756

class UpdateJobRequest < Struct.new(
  :client_token,
  :farm_id,
  :queue_id,
  :job_id,
  :target_task_run_status,
  :priority,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :lifecycle_status)
  SENSITIVE = []
  include Aws::Structure
end