2026/01/27 - AWSDeadlineCloud - 2 updated api methods
Changes AWS Deadline Cloud now supports editing job names and descriptions after submission.
{'descriptionOverride': 'string', 'nameOverride': 'string'}
Creates a job. A job is a set of instructions that Deadline Cloud uses to schedule and run work on available workers. For more information, see Deadline Cloud jobs.
See also: AWS API Documentation
Request Syntax
client.create_job(
farmId='string',
queueId='string',
clientToken='string',
template='string',
templateType='JSON'|'YAML',
priority=123,
parameters={
'string': {
'int': 'string',
'float': 'string',
'string': 'string',
'path': 'string'
}
},
attachments={
'manifests': [
{
'fileSystemLocationName': 'string',
'rootPath': 'string',
'rootPathFormat': 'windows'|'posix',
'outputRelativeDirectories': [
'string',
],
'inputManifestPath': 'string',
'inputManifestHash': 'string'
},
],
'fileSystem': 'COPIED'|'VIRTUAL'
},
storageProfileId='string',
targetTaskRunStatus='READY'|'SUSPENDED',
maxFailedTasksCount=123,
maxRetriesPerTask=123,
maxWorkerCount=123,
sourceJobId='string',
nameOverride='string',
descriptionOverride='string'
)
string
[REQUIRED]
The farm ID of the farm to connect to the job.
string
[REQUIRED]
The ID of the queue that the job is submitted to.
string
The unique token which the server uses to recognize retries of the same request.
This field is autopopulated if not provided.
string
The job template to use for this job.
string
The file type for the job template.
integer
[REQUIRED]
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.
dict
The parameters for the job.
(string) --
(dict) --
The details of job parameters.
int (string) --
A signed integer represented as a string.
float (string) --
A double precision IEEE-754 floating point number represented as a string.
string (string) --
A UTF-8 string.
path (string) --
A file system path represented as a string.
dict
The attachments for the job. Attach files required for the job to run to a render job.
manifests (list) -- [REQUIRED]
The manifest properties for the attachments.
(dict) --
The details of the manifest that links a job's source information.
fileSystemLocationName (string) --
The file system location name.
rootPath (string) -- [REQUIRED]
The file's root path.
rootPathFormat (string) -- [REQUIRED]
The format of the root path.
outputRelativeDirectories (list) --
The file path relative to the directory.
(string) --
inputManifestPath (string) --
The file path.
inputManifestHash (string) --
The hash value of the file.
fileSystem (string) --
The file system location for the attachments.
string
The storage profile ID for the storage profile to connect to the job.
string
The initial job status when it is created. Jobs that are created with a SUSPENDED status will not run until manually requeued.
integer
The number of task failures before the job stops running and is marked as FAILED.
integer
The maximum number of retries for each task.
integer
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.
string
The job ID for the source job.
string
A custom name to override the job name derived from the job template.
string
A custom description to override the job description derived from the job template.
dict
Response Syntax
{
'jobId': 'string'
}
Response Structure
(dict) --
jobId (string) --
The job ID.
{'description': 'string', 'name': 'string'}
Updates a job.
When you change the status of the job to ARCHIVED, the job can't be scheduled or archived.
See also: AWS API Documentation
Request Syntax
client.update_job(
clientToken='string',
targetTaskRunStatus='READY'|'FAILED'|'SUCCEEDED'|'CANCELED'|'SUSPENDED'|'PENDING',
priority=123,
maxFailedTasksCount=123,
maxRetriesPerTask=123,
lifecycleStatus='ARCHIVED',
maxWorkerCount=123,
name='string',
description='string',
farmId='string',
queueId='string',
jobId='string'
)
string
The unique token which the server uses to recognize retries of the same request.
This field is autopopulated if not provided.
string
The task status to update the job's tasks to.
integer
The updated job priority.
integer
The number of task failures before the job stops running and is marked as FAILED.
integer
The maximum number of retries for a job.
string
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.
integer
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, the default is -1.
The maximum number of workers that can process tasks in the job.
string
The updated job name.
string
The updated job description.
string
[REQUIRED]
The farm ID of the job to update.
string
[REQUIRED]
The queue ID of the job to update.
string
[REQUIRED]
The job ID to update.
dict
Response Syntax
{}
Response Structure
(dict) --