Skip to main content

job_executions_for_jobs

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

Overview

Namejob_executions_for_jobs
TypeResource
Idaws.iot.job_executions_for_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
job_execution_summaryobjectContains a subset of information about a job execution.
thing_arnstringThe ARN of the thing on which the job execution is running.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_job_executions_for_jobselectjob_id, regionstatus, maxResults, nextTokenLists the job executions for a job. Requires permission to access the ListJobExecutionsForJob action.

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
job_idstringThe unique identifier you assigned to this job when it was created.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to be returned per request.
nextTokenstringThe token to retrieve the next set of results.
statusstringThe status of the job.

SELECT examples

Lists the job executions for a job. Requires permission to access the ListJobExecutionsForJob action.

SELECT
job_execution_summary,
thing_arn
FROM aws.iot.job_executions_for_jobs
WHERE job_id = '{{ job_id }}' -- required
AND region = '{{ region }}' -- required
AND status = '{{ status }}'
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;