Questions tagged [aws-sdk-cpp]

123 questions
3
votes
3 answers

Does AWS CPP S3 SDK support "Transfer acceleration"

I enabled "Transfer acceleration" on my bucket. But I dont see any improvement in speed of Upload in my C++ application. I have waited for more than 20 minutes that is mentioned in AWS Documentation. Does the SDK support "Transfer acceleration" by…
CadJunkie
  • 93
  • 1
  • 6
2
votes
1 answer

Undefined symbols compiling against AWS SDK for CPP

I'm trying to use the AWS C++ SDK from an Unreal Engine plugin, but I'm getting errors for various symbols that the code seems to expect to be externally defined; here are some of the ones it's complaining…
lharper71
  • 111
  • 1
  • 6
2
votes
0 answers

Will The Aws sdk for C++ refresh the assumed role once the time for assumed role is expired using STS?

I have a use case where i have to assume a role using ARN to access S3 resource but my concern is that will the STS automatically refresh the credentials once the time for assumed role is expired. The auto assuming role is present in Java Aws sdk…
2
votes
1 answer

AWS CPP SDK JsonValue add array of double or Integer to JSON

i wanted to create a JSON using Aws-sdk for C++. this is what i am doing so far. void convertStructToAwsJSON() { Aws::Utils::Json::JsonValue jsonValue = Aws::Utils::Json::JsonValue(); jsonValue.WithDouble("percentage", 93.6); …
2
votes
1 answer

Is there a way to get temporary role based credentials using the AWS C++ SDK?

ProfileConfigFileAWSCredentialsProvider used in DefaultAWSCredentialsProviderChain simply ignores roles in ~/.aws/config and ~/.aws/credentials. STSProfileCredentialsProvider appears as though it is meant to be used for this, but 1) it's not used in…
jk2607674
  • 101
  • 1
  • 3
2
votes
0 answers

What versions of the C++ standard library can I use within AWA Lambda?

Aws Lambda is supporting C++ since late 2018 (official announcement). I would like to know which versions of the C++ standard library I can use AWS Lambda. Could you point me to an official AWS document? Why I am asking this: I recently switched…
User12547645
  • 6,955
  • 3
  • 38
  • 69
2
votes
1 answer

Why does an assert(s_monitors) in MonitoringManager::OnRequestSucceeded() fail?

I upload a file to S3. Directly after the request I get an exception from the MonitoringManager and I don't know what I am doing wrong. We are using multiple threads in our application. Exception: Assertion failed. Program: ... Monitor...ger.cpp…
Michael Kemmerzell
  • 4,802
  • 4
  • 27
  • 43
2
votes
1 answer

AWS S3 C++ : List all the object when result is truncated

I use following code to list all the keys in my S3 bucket. I have around 15,000 objects in the bucket. However this code just loops through the first 1000 objects infinitly. Seems it doesnt respect the SetMarker() method. Any tips on how to fix this…
Ashika Umanga Umagiliya
  • 8,988
  • 28
  • 102
  • 185
2
votes
1 answer

How to wait for PooledThreadExecutor to finish?

Regarding the AWS c++ sdk thread pool feature, is there an elegant way to wait for PooledThreadExecutor to finish all tasks in the queue after calling -for example- getObjectAsync many times ? Or should I just use getObjectCallable, store references…
demon36
  • 377
  • 3
  • 10
2
votes
1 answer

How to override endpoint in AWS-SDK-CPP to connect to minio server at localhost:9000

I tried something like: Aws::Client::ClientConfiguration config; config.endpointOverride = Aws::String("localhost:9000"); It does not work. It seems that AWS-SDK-CPP by default uses virtual hosting: https://bucket-name/s3.amazonaws.com However, to…
Tianyi Cai
  • 103
  • 2
  • 9
2
votes
1 answer

Access Denied from Amazon S3 by using AWS CPP SDK

We are using AWS CPP SDK for download/upload from Amazon S3 , Its working fine for our lower environment but getting below error on while accessing buckets for one particular environment, AccessDenied Access…
2
votes
1 answer

How to set the flag BUILD_ONLY for multiple modules?

I am trying to build only certain modules, e.g. s2, dynamodb, and cognito from the source code. I use various settings to pass to cmake but none works. -DBUILD_ONLY=s3 -DBUILD_ONLY=dynamodb -DBUILD_ONLY=cognito. (Only the last one gets…
Herriman
  • 21
  • 3
1
vote
0 answers

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/local/libtorch/include -v // I added -arch arm64 but…
coderc
  • 11
  • 1
1
vote
0 answers

AWS-SDK-CPP: How to use multiple configurations of aws-sdk-cpp in one project?

I need to use AWS SDK in a project that has four configurations "Debug, RelWithDebInfo, MinSizeRel, and Release" If I follow the instructions to build and install the SDK from source, it seems I can only have one configuration installed at a…
Joe Kaplan
  • 11
  • 2
1
vote
0 answers

Compilation error while trying to compile AWS-SDK-CPP s3 example code

I am trying to use AWS C++ SDK to upload file to s3. However it seems that the existing example does not work. Following is my sample code: invocation_response putFileObject(S3::S3Client &client, const String& bucketName, const String& objectName)…
1
2
3
8 9