Questions tagged [aws-sdk-cpp]
123 questions
0
votes
1 answer
aws c++ sdk s3 ListObjects in oldest to newest order
With AWS SDK for C++ ListObjectsRequest, is there a way to have the SDK return the newest objects in the bucket based on the value of Set Marker? In the below code, the problem is that the objects in the object_list vector are newest to oldest. So,…

user3472
- 173
- 9
0
votes
1 answer
Put an item in Amazon DynamoDB with AWS SDK CPP using as input the item in JSON format
Is there any easy way to put an item in Amazon DynamoDB with AWS SDK CPP using as input the item in JSON format? Something like
Aws::DynamoDB::Model::PutItemRequest…

Medical physicist
- 2,510
- 4
- 34
- 51
0
votes
1 answer
asw-sdk-cpp initAPI and ShutDownAPI
There is a function that tries to upload or download.
Should we keep calling initAPI and ShutdownAPI every time we call these functions?
Or can I just call it once?

Qt.jo.ha
- 1
0
votes
1 answer
Uploading list of files using aws-sdk-cpp
I am trying to upload a list of files on aws s3 using cpp sdk. But only few files are uploading and it is getting terminated before uploading all the files. I am using upload api of aws s3 cpp sdk.
bool OnUpload_test(bool status, const char*…

Mohsin Khan
- 21
- 5
0
votes
0 answers
Can't build AWS SDK CPP examples. Cmake can't find AWSSDKConfig.cmake, but the file is present on my disk
I installed the AWS SDK for C++ on my Ubuntu box using the instructions given in the Amazon doc:
https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/setup.html
I was able to compile the SDK without error.
Then I followed the README for…

Robert Oschler
- 14,153
- 18
- 94
- 227
0
votes
1 answer
How to fix aws lambda timeouts on synchronous invokes with C++ SDK?
When I invoke my lambda function it takes between 1 and 15 seconds to execute. If I invoke the function via the C++ SKD, I get timeouts. These timeouts seem to occur after a few seconds (this is human-judgment only, I did not actually time…

User12547645
- 6,955
- 3
- 38
- 69
0
votes
2 answers
Unresolved symbol linking with libaws-cpp-sdk-core.so on linux
I am building a Java app on Linux and calling CPP code via JNI. When I link my CPP objects with with libaws-cpp-sdk-core.so I get unresolved symbol:
Aws::Utils::Json::JsonValue::JsonValue(std::__cxx11::basic_string, std::allocator > const&)
The…

Rob Scott
- 11
- 3
0
votes
1 answer
Error while uploading file to S3 aws sdk cpp
so I am trying to upload a local file to aws s3 using the aws sdk cpp.
Here is the sample code that I took from an issue here
#include
#include
#include
#include…

Linda Naoui
- 147
- 13
0
votes
1 answer
Initialize Magick++ from stream buffer in C++
I can't seem to find an example of the proper syntax/method for initializing an ImageMagick Magick++ object from an iostream stream_buffer in C++.
I'm trying to use the result from an aws sdk getObject which seems to return a stream buffer to push…

Scott
- 7,983
- 2
- 26
- 41
0
votes
0 answers
Memory leak when reading an S3 object with AWS Lambda using the AWS Lambda C++ runtime
I am reading an S3 object with AWS Lambda using the AWS Lambda C++ runtime. I use this function:
void s3read(const std::string& bucket, const std::string& key, const std::string& filename_local) {
Aws::Client::ClientConfiguration client_conf;
…

Medical physicist
- 2,510
- 4
- 34
- 51
0
votes
1 answer
aws sdk c++ code don't work on release build
I have a .dll c++ project created in visual studio 2017. And I have code in it that uses aws sdk to get files from s3 bucket.
I built this dll project on Debug mode mode and uses it on my main application (c++ also). And it worked.
Now i did make a…

noyruto88
- 767
- 2
- 18
- 40
0
votes
1 answer
AWS SDK CPP and EBS fecthing
Based on my research, I found out that AWS SDK CPP allows upload/download files to bucket.
I need to have same upload/download access on an AWS EBS
volume of types st1, but I could not find any example or tutorials about it. Is there some way to…

Vuwox
- 2,331
- 18
- 33
0
votes
1 answer
How to use AWS SDK cpp async API's for S3?
I wish to use the aws sdk cpp async api's for s3 in my application. However I am not able to find documentation for the same. I have been through https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/cpp/example_code/s3 but there are no…

Shounak
- 136
- 1
- 12
0
votes
1 answer
Syntax help for creating a filter in aws ec2 describeinstance api call in c++
Using DescribeInstancesRequest (c++ sdk) to get response about a particular instance_id. I am having a problem constructing the filter.
I am adapting the example code provided by the aws-doc-sdk-examples c++ example code describe_instances.cpp. I…

Mark S.
- 27
- 7
0
votes
1 answer
S3 AWS C++ client Kerberos
How do I make aws c++ client use kerberos for S3 calls?
I cannot figure out how to overwrite Authorization header.
Also, don't seem to find a way to set CURLAUTH_GSSNEGOTIATE in their curl client(default on Linux).

Zok
- 33
- 4