AWS.IoTJobsDataPlane (aws-elixir v0.8.0) View Source

AWS IoT Jobs is a service that allows you to define a set of jobs — remote operations that are sent to and executed on one or more devices connected to AWS IoT.

For example, you can define a job that instructs a set of devices to download and install application or firmware updates, reboot, rotate certificates, or perform remote troubleshooting operations.

To create a job, you make a job document which is a description of the remote operations to be performed, and you specify a list of targets that should perform the operations. The targets can be individual things, thing groups or both.

AWS IoT Jobs sends a message to inform the targets that a job is available. The target starts the execution of the job by downloading the job document, performing the operations it specifies, and reporting its progress to AWS IoT. The Jobs service provides commands to track the progress of a job on a specific target and for all the targets of the job

Link to this section Summary

Functions

Gets the list of all jobs for a thing that are not in a terminal status.

Gets and starts the next pending (status IN_PROGRESS or QUEUED) job execution for a thing.

Link to this section Functions

Link to this function

describe_job_execution(client, job_id, thing_name, execution_number \\ nil, include_job_document \\ nil, options \\ [])

View Source

Gets details of a job execution.

Link to this function

get_pending_job_executions(client, thing_name, options \\ [])

View Source

Gets the list of all jobs for a thing that are not in a terminal status.

Link to this function

start_next_pending_job_execution(client, thing_name, input, options \\ [])

View Source

Gets and starts the next pending (status IN_PROGRESS or QUEUED) job execution for a thing.

Link to this function

update_job_execution(client, job_id, thing_name, input, options \\ [])

View Source

Updates the status of a job execution.