job_executions_for_jobs
Creates, updates, deletes, gets or lists a job_executions_for_jobs resource.
Overview
| Name | job_executions_for_jobs |
| Type | Resource |
| Id | aws.iot.job_executions_for_jobs |
Fields
The following fields are returned by SELECT queries:
- list_job_executions_for_job
| Name | Datatype | Description |
|---|---|---|
job_execution_summary | object | Contains a subset of information about a job execution. |
thing_arn | string | The ARN of the thing on which the job execution is running. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_job_executions_for_job | select | job_id, region | status, maxResults, nextToken | Lists 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.
| Name | Datatype | Description |
|---|---|---|
job_id | string | The unique identifier you assigned to this job when it was created. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of results to be returned per request. |
nextToken | string | The token to retrieve the next set of results. |
status | string | The status of the job. |
SELECT examples
- list_job_executions_for_job
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 }}'
;