aws / Jobs-for-AWS-IoT-embedded-sdk

Client library for using AWS IoT Jobs service on embedded devices
MIT License
12 stars 35 forks source link

Fix: ExpectedVersion is optional in update msg #104

Closed kstribrnAmzn closed 1 week ago

kstribrnAmzn commented 2 weeks ago

Description of changes: Per the AWS documentation the 'ExpectedVersion' field is optional in an update msg for a job. This changes makes the expected version field optional.

https://docs.aws.amazon.com/iot/latest/apireference/API_iot-jobs-data_UpdateJobExecution.html#iot-iot-jobs-data_UpdateJobExecution-request-status

Issue #, if available: https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk/issues/100

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.