-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Struggling to make API Gateway call #458
Comments
Hi there and welcome to this repository! A maintainer will be with you shortly, but first and foremost I would like to thank you for taking the time to report this issue. Quality is of the highest priority for us, and we would never release anything with known defects. We aim to do our best but unfortunately you are here because you encountered something we didn't expect. Lets see if we can figure out what went wrong and provide a remedy for it. |
I think the only issue with your code is that you need to change credentials: credentials); into credentials: credentials.GetCredentials()); I assume that everything at that point should build. |
Maybe there is a bug in the |
There wasn't a bug in |
You were correct it was the credentials parameter after all that. I now have the code working... Thank you... |
Improve support for credentials inheriting from Amazon.Runtime.AWSCredentials. Closes #458
I've just released v2.0.0, and it has improved support for Specific to your issue, you should now be able to pass your instance of |
Just trying to write a simple console app to call API gateway using IAM authentication pulled from the IAM role associated with the EC2 instance the code is running on.
But I can't even get the code to compile, I must be missing something obvious but I have read the examples and cannot see what I am doing wrong. It's like .NET doesn't see the HttpClient() extensions your library provides.
I looked through the
test
folder and also Google'd for examples but came up empty.We are using .NET Core 2.1 at present, but soon to be .NET Core 3.1
NOTE: I removed the specifics of our environment.
Build error is
Any assistance would be greatly appreciated.
The text was updated successfully, but these errors were encountered: