Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify Jobs_UpdateMsg to support optional Expected version field #100

Closed
priyamourya25 opened this issue Jun 13, 2024 · 3 comments
Closed

Comments

@priyamourya25
Copy link

Please refer the description of expected version for iot jobs:
https://docs.aws.amazon.com/iot/latest/apireference/API_iot-jobs-data_UpdateJobExecution.html#API_iot-jobs-data_UpdateJobExecution_RequestSyntax

This is an optional field and the user should be allowed to not pass and still construct a payload without the field. The API forces to provide an optional field here:

if( ( expectedVersion != NULL ) && ( expectedVersionLength > 0U ) && ( bufferSize >=

Could you please modify the API so that it allows to append values only if they are passed by the user?

@rawalexe
Copy link
Member

Hello Priya,
Thank you for pointing this out. Can you please make a PR with the change, we can quickly go over the changes and have it merged.

Best Regards,
AR

@kstribrnAmzn
Copy link
Member

PR to add this feature - #104

@kstribrnAmzn
Copy link
Member

PR is now merged. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants