We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c09c86e commit f0ad062Copy full SHA for f0ad062
examples/s3/main.cpp
@@ -73,8 +73,7 @@ int main()
73
config.region = Aws::Environment::GetEnv("AWS_REGION");
74
config.caFile = "/etc/pki/tls/certs/ca-bundle.crt";
75
76
- auto credentialsProvider = Aws::MakeShared<Aws::Auth::EnvironmentAWSCredentialsProvider>(TAG);
77
- S3::S3Client client(credentialsProvider, config);
+ S3::S3Client client(config);
78
auto handler_fn = [&client](aws::lambda_runtime::invocation_request const& req) {
79
return my_handler(req, client);
80
};
0 commit comments