Skip to content

/AWS1/CL_IOT=>UPDATEJOB()

About UpdateJob

Updates supported fields of the specified job.

Requires permission to access the UpdateJob action.

Method Signature

IMPORTING

Required arguments:

IV_JOBID TYPE /AWS1/IOTJOBID /AWS1/IOTJOBID

The ID of the job to be updated.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/IOTJOBDESCRIPTION /AWS1/IOTJOBDESCRIPTION

A short text description of the job.

IO_PRESIGNEDURLCONFIG TYPE REF TO /AWS1/CL_IOTPRESIGNEDURLCONFIG /AWS1/CL_IOTPRESIGNEDURLCONFIG

Configuration information for pre-signed S3 URLs.

IO_JOBEXECSROLLOUTCONFIG TYPE REF TO /AWS1/CL_IOTJOBEXECSRLOUTCFG /AWS1/CL_IOTJOBEXECSRLOUTCFG

Allows you to create a staged rollout of the job.

IO_ABORTCONFIG TYPE REF TO /AWS1/CL_IOTABORTCONFIG /AWS1/CL_IOTABORTCONFIG

Allows you to create criteria to abort a job.

IO_TIMEOUTCONFIG TYPE REF TO /AWS1/CL_IOTTIMEOUTCONFIG /AWS1/CL_IOTTIMEOUTCONFIG

Specifies the amount of time each device has to finish its execution of the job. The timer is started when the job execution status is set to IN_PROGRESS. If the job execution status is not set to another terminal state before the time expires, it will be automatically set to TIMED_OUT.

IV_NAMESPACEID TYPE /AWS1/IOTNAMESPACEID /AWS1/IOTNAMESPACEID

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.

IO_JOBEXECUTIONSRETRYCONFIG TYPE REF TO /AWS1/CL_IOTJOBEXECSRETRYCFG /AWS1/CL_IOTJOBEXECSRETRYCFG

Allows you to create the criteria to retry a job.