aws.iot.list_jobs
Example SQL Queries
SELECT * FROMaws.iot.list_jobs;Description
Lists jobs.
Requires permission to access the ListJobs action.
Table Definition
| Column Name | Column Data Type |
|---|---|
| namespace_id Input Column The namespace used to indicate that a job is a customer-managed job. When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format. $aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/ The namespaceId feature is only supported by IoT Greengrass at this time. For more information, see Setting up IoT Greengrass core devices. | VARCHAR |
| status Input Column The job summary status. | VARCHAR |
| target_selection Input Column Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group. We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created. | VARCHAR |
| thing_group_id Input Column The ID of the thing group. | VARCHAR |
| thing_group_name Input Column A filter that limits the returned jobs to those for the specified group. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| completed_at The time, in seconds since the epoch, when the job completed. | TIMESTAMP_S |
| created_at The time, in seconds since the epoch, when the job was created. | TIMESTAMP_S |
| is_concurrent Indicates whether a job is concurrent. Will be true when a job is rolling out new job executions or canceling previously created executions, otherwise false. | BOOLEAN |
| job_arn The job ARN. | VARCHAR |
| job_id The unique identifier you assigned to this job when it was created. | VARCHAR |
| last_updated_at The time, in seconds since the epoch, when the job was last updated. | TIMESTAMP_S |