Class: Aws::Deadline::Types::CreateJobRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:template, :parameters, :description_override]

Instance Attribute Summary collapse

Instance Attribute Details

#attachmentsTypes::Attachments

The attachments for the job. Attach files required for the job to run to a render job.

Returns:



1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#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)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#description_overrideString

A custom description to override the job description derived from the job template.

Returns:

  • (String)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#farm_idString

The farm ID of the farm to connect to the job.

Returns:

  • (String)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  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)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#max_retries_per_taskInteger

The maximum number of retries for each task.

Returns:

  • (Integer)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#max_worker_countInteger

The maximum number of worker hosts that can concurrently process a job. When the maxWorkerCount is reached, no more workers will be assigned to process the job, even if the fleets assigned to the job's queue has available workers.

You can't set the maxWorkerCount to 0. If you set it to -1, there is no maximum number of workers.

If you don't specify the maxWorkerCount, Deadline Cloud won't throttle the number of workers used to process the job.

Returns:

  • (Integer)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#name_overrideString

A custom name to override the job name derived from the job template.

Returns:

  • (String)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#parametersHash<String,Types::JobParameter>

The parameters for the job.

Returns:



1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#priorityInteger

The priority of the job. The highest priority (first scheduled) is 100. When two jobs have the same priority, the oldest job is scheduled first.

Returns:

  • (Integer)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#queue_idString

The ID of the queue that the job is submitted to.

Returns:

  • (String)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#source_job_idString

The job ID for the source job.

Returns:

  • (String)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#storage_profile_idString

The storage profile ID for the storage profile to connect to the job.

Returns:

  • (String)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#tagsHash<String,String>

The tags to add to your job. Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.

Returns:

  • (Hash<String,String>)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#target_task_run_statusString

The initial job status when it is created. Jobs that are created with a SUSPENDED status will not run until manually requeued.

Returns:

  • (String)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#templateString

The job template to use for this job.

Returns:

  • (String)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end

#template_typeString

The file type for the job template.

Returns:

  • (String)


1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 1348

class CreateJobRequest < Struct.new(
  :farm_id,
  :queue_id,
  :client_token,
  :template,
  :template_type,
  :priority,
  :parameters,
  :attachments,
  :storage_profile_id,
  :target_task_run_status,
  :max_failed_tasks_count,
  :max_retries_per_task,
  :max_worker_count,
  :source_job_id,
  :name_override,
  :description_override,
  :tags)
  SENSITIVE = [:template, :parameters, :description_override]
  include Aws::Structure
end