-
Notifications
You must be signed in to change notification settings - Fork 348
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
Context::default() function or associated item not found in Context
#776
Comments
What do you use a default context with no data for? |
2 tasks
|
@calavera
use aws_credential_types::provider::SharedCredentialsProvider;
use aws_credential_types::Credentials;
let c = Credentials::new("x", "x", None, None, "my_provider_name");
aws_config::SdkConfig::builder()
.credentials_provider(SharedCredentialsProvider::new(c))
.region(Region::new("local-env"))
.endpoint_url("http://localhost:5001")
.build() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I've been using 0.8.1 and after updating to
0.9.0
I can no longer run tests.Although readme and examples still show
Context::default()
. Has that been removed on purpose?I replicated the issue on this project as well https://github.com/awslabs/aws-lambda-rust-runtime/tree/main/examples/basic-sdk/src
Tried it on the
lambda-runtime-0.8.1
- worked as expected, can confirm this still works in0.8.3
This seems to be a root issue:
53637e7#diff-ea9f9e8a3273dae249b71b478e9026be91d1ee33c280edec3d1aa25077f7bd11L100
#732
The text was updated successfully, but these errors were encountered: