Allow constructing Update messages with key-value pairs in StatusDetails
#102
Labels
enhancement
New feature or request
StatusDetails
#102
statusDetails
is an optional field that can be used to update the Job status with additional details that can be used during verification step.Please refer the usage of statusDetails field in the documentation: https://docs.aws.amazon.com/iot/latest/apireference/API_iot-jobs-data_UpdateJobExecution.html#iot-iot-jobs-data_UpdateJobExecution-request-statusDetails
Can you add the support to append key-value pairs in status details and statusDetails field when a job update message is sent?
Few example of such message:
{"status":"FAILED","statusDetails":{"self_test":"ready","updatedBy":"0x1e240"}} -> to notify that download is complete and device will go in self-test mode
{"status":"FAILED","statusDetails":{"self_test":"accepted","reason":"v1.0.0"}} ->to notify that new image was committed.
The APIs should provide an interface to construct such messages because these were provided by older ota agent to notify the ota progress and were very helpful
The text was updated successfully, but these errors were encountered: