Description of changes:
Adds a required field that is consistent with PutQueryDefinition API. This requires queryDef name, query string, and makes log group optional
Changes exception thrown when trying to update a non-existant resource from invalid request to not found as per CFN's contract testing requirements
Testing
Unit Tests
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.964 s
[INFO] Finished at: 2021-03-22T10:59:20-07:00
[INFO] ------------------------------------------------------------------------
Issue #, if available:
Description of changes: Adds a required field that is consistent with PutQueryDefinition API. This requires queryDef name, query string, and makes log group optional
Changes exception thrown when trying to update a non-existant resource from invalid request to not found as per CFN's contract testing requirements
Testing
Unit Tests
Contract tests:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.