pending_job_executions
Creates, updates, deletes, gets or lists a pending_job_executions resource.
Overview
| Name | pending_job_executions |
| Type | Resource |
| Id | aws.iot_jobs_data.pending_job_executions |
Fields
The following fields are returned by SELECT queries:
- get_pending_job_executions
| Name | Datatype | Description |
|---|---|---|
in_progress_jobs | array | A list of JobExecutionSummary objects with status IN_PROGRESS. |
queued_jobs | array | A list of JobExecutionSummary objects with status QUEUED. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_pending_job_executions | select | thing_name, region | Gets the list of all jobs for a thing that are not in a terminal status. Requires permission to access the GetPendingJobExecutions 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 |
|---|---|---|
region | string | AWS region (default: us-east-1) |
thing_name | string | The name of the thing that is executing the job. |
SELECT examples
- get_pending_job_executions
Gets the list of all jobs for a thing that are not in a terminal status. Requires permission to access the GetPendingJobExecutions action.
SELECT
in_progress_jobs,
queued_jobs
FROM aws.iot_jobs_data.pending_job_executions
WHERE thing_name = '{{ thing_name }}' -- required
AND region = '{{ region }}' -- required
;