129 questions
1
vote
1
answer
108
views
Aws::ShutdownAPI crashes when called by shared_ptr
I am designing a library where I need AWS SDK for S3 and Kinesis as wrapped sub-components. In an executable, Aws::InitAPI() and Aws::ShutdownAPI() can be called once, so I am trying to design a ...
1
vote
0
answers
62
views
AWS SDK S3 GetObjectAsync crashes with ResponseStream in Unreal Engine - how to fix?
I'm using AWS SDK for C++ (v1.9+) in Unreal Engine to download files from S3, but I keep getting crashes in aws_cpp_sdk_core!Aws::Utils::Stream::ResponseStream::ReleaseStream()
Here's my exact code:
...
0
votes
0
answers
42
views
Presigned URL with filename using AWS SDK CPP
I managed to generate a presigned url to download a S3 file with AWS SDK CPP:
std::string presigned_url = s3_client.GeneratePresignedUrl(bucket, key, Aws::Http::HttpMethod::HTTP_GET, EXPIRATION_TIME);
...
0
votes
1
answer
158
views
IncompleteSignature exception with CloudWatchClient::PutMetricData
Sending a request with CloudWatchClient::PutMetricData in the AWS C++ SDK results in an IncompleteSignature exception with the following details: Authorization header requires 'Signature' parameter. ...
0
votes
1
answer
62
views
error: no type named 'IOStreamFactory' in namespace 'Aws' GCC
Issues setting up AWS CPP SDK. Following the hello_s3 example. compiler throws the error;
...include/aws/core/http/HttpClientFactory.h:60:123: error: no type named 'IOStreamFactory' in namespace 'Aws'
...
0
votes
0
answers
663
views
C++ Linking Problem with CURL, OpenSSL and AWS SDK S3 using conan, cmake
I am having trouble in linking two libraries, CURL, OpenSSL and AWS SDK S3, simultaneously. But the thing is I need to manage another libraries with conan 2.0.
I shrinked CMakeLists.txt and Example ...
1
vote
1
answer
169
views
AWS C++ SDK unresolved external "W" version of method [duplicate]
I'm using the AWS C++ SDK from a Visual Studio project. The SDK was installed using vcpkg. Building the project gives the following linker error:
LNK2001 unresolved external symbol "public: ...
0
votes
1
answer
147
views
Correct use of variable argument functions C API with C++ implementation
I want to use a C++ logging library in a mixed C/C++ application. The legacy application is full of printf style logging. The new library also supports that.
The C files are compiled with C compiler, ...
0
votes
1
answer
272
views
How do I change the format of logs in the AWS C++ SDK
I'm currently using the Aws::Utils::Logging::ConsoleLogSystem to log to stdout. This is great as my application logs to stdout too.
However, the AWS C++ SDK is a different format than my current ...
0
votes
1
answer
367
views
no matching function for call to ‘Aws::S3::S3Client::S3Client(Aws::Auth::AWSCredentials, Aws::Client::ClientConfiguration&)’
main.cpp: In function ‘void downloadFile(const string&, const string&, std::ostream&)’:
main.cpp:23:95: error: no matching function for call to ‘Aws::S3::S3Client::S3Client(Aws::Auth::...
0
votes
1
answer
400
views
AWS: How to assume role and set credentials to all consecutive client calls
The case: Multitenant C++ application using AWS C++ SDK, it processes jobs that may belong to multiple tennats account and each time I should assume another role and make somehow our infra to work ...
2
votes
0
answers
111
views
I wrote go code on macos(m2) using aws-sdk-cpp and libtorch(cpp) through cgo but got an errormessage: [ld: symbol(s) not found for architecture arm64]
my cgo args:
/*
#cgo LDFLAGS: -L/usr/local/libtorch/lib -ltorch -lc10 -lkineto -ltorch_cpu -laws-cpp-sdk-s3 -laws-cpp-sdk-sts -laws-cpp-sdk-iam -laws-cpp-sdk-core
#cgo CXXFLAGS: -std=c++14 -I/usr/...
0
votes
2
answers
707
views
Creating AWS VPC Gateway Endpoint for DynamoDB Breaks ECS Task
When I create a DynamoDB VPC Gateway Endpoint it breaks an ECS task that connects to DynamoDB. The ECS task/service/cluster is in the same VPC in the same region as the gateway endpoint on a private ...
0
votes
1
answer
386
views
aws-sdk-cpp + Localstack basic S3 queries don't working
I'm trying to make some S3 queries to Localstack by using the AWS C++ SDK. I've followed the examples provided by AWS in C++ in order to, for instance, list my buckets, but without any luck.
I share ...
0
votes
0
answers
385
views
How to use the SDK access AWS govcloud S3 bucket?
Using aws-sdk-cpp, I created AWS client to access S3 bucket. It works with Standard AWS Regions, but not AWS GovCloud (US).
Note that we only pass bucket name and region (us-gov-west-1) to SDK, ...