-
Notifications
You must be signed in to change notification settings - Fork 62
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
get_thing_shadow appears to discard the shadow name #672
Comments
I believe it is here that the request is built: Line 402 in 5ebf8ca
IIUC AWS.jl autogenerates the definitions from XML files so maybe we need to add support for some JSON services having some arguments as query parameters. maybe @mattBrzezinski could say more |
We generate based off of aws-sdk-js JSON definitions, here's where we look at the GetThingShadowRequest, it looks like this does specify the queryparam so it should be going into the correct position? To quickly unblock yourself, I think you could do something like...
Basically just write the "low-level" request yourself and send that over |
That's a helpful pointer. What I'm getting at though is we don't have AWS.jl/src/api_generation/high_level.jl Lines 127 to 128 in 5ebf8ca
So I think the generation code has be updated to handle the Does that seem accurate? |
Aha! I thought we already had this, but I guess not. This is how we would fix it in that case, do a similar
And append that to the URL |
My code:
Throws this error:
According to the AWS documentation and the AWS.jl documentation the
?name=shadowName
parameter should be included, but is not as we can see in that HTTP error.AWS.jl v1.90.4
I can work on fixing this but I am not sure where to look in the parameter handling code.
The text was updated successfully, but these errors were encountered: