-
Notifications
You must be signed in to change notification settings - Fork 14
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
cloudwatchlogs.QueryStatusTimeout and cloudwatchlogs.QueryStatusUnknown missing #49
Comments
Hi @jszwedko, thanks for reaching out to us about this. This looks to be caused by a mismatch between the statuses the service actually returns and the statuses defined in the API model for the service. We use the API models provided to us by service teams to generate the code for the various service clients, since these statuses are not defined in the model they are not present in the generated client for I've reached out to the CloudWatch Logs team about having these statuses added to the API model, once I hear back from them I will update the issue accordingly. |
Latest SDK release includes these two aws/aws-sdk-go@8b85a9d#diff-12d82ac6c5878cff84bc38c42d5b2a4b8fb7c35bbe4d4ec582bdd6334309f496R1615-R1616 |
Thank you for pointing it out @RCHowell. QueryStatus now include I'll go ahead and close this, feel free to reach out if you have any other request. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug
There appear to be two missing CloudWatch Insights query statuses.
cloudwatchlogs.QueryStatusUnknown
which is documented in the QueryInfo page referred to by DescribeQueries.cloudwatchlogs.QueryStatusTimeout
which is noticeably missing from QueryInfo but is mentioned by GetQueryResults. That page also has a discrepancy between the two lists for thestatus
key documentation.We have personally observed a status of
Timeout
being returned by the SDK. We haven't seenUnknown
.Version of AWS SDK for Go?
v1.29.32
Version of Go (
go version
)?go version go1.14 linux/amd64
To Reproduce (observed behavior)
Run an Insights query via
StartQuery
that times out. I'm not sure exactly how to induce that, but we have observed it in production a number of times.Expected behavior
That
cloudwatchlogs.QueryStatusUnknown
andcloudwatchlogs.QueryStatusTimeout
are defined.The text was updated successfully, but these errors were encountered: