Skip to main content

job_entities

Creates, updates, deletes, gets or lists a job_entities resource.

Overview

Namejob_entities
TypeResource
Idaws.deadline.job_entities

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
entitiesarrayA list of the job entities, or details, in the batch.
errorsarrayA list of errors from the job error logs for the batch.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_get_job_entityselectfarm_id, fleet_id, worker_id, regionGet batched job details for a worker.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
farm_idstringThe farm ID of the worker that's fetching job details. The worker must have an assignment on a job to fetch job details.
fleet_idstringThe fleet ID of the worker that's fetching job details. The worker must have an assignment on a job to fetch job details.
regionstringAWS region (default: us-east-1)
worker_idstringThe worker ID of the worker containing the job details to get.

SELECT examples

Get batched job details for a worker.

SELECT
entities,
errors
FROM aws.deadline.job_entities
WHERE farm_id = '{{ farm_id }}' -- required
AND fleet_id = '{{ fleet_id }}' -- required
AND worker_id = '{{ worker_id }}' -- required
AND region = '{{ region }}' -- required
;