Questions tagged [aws-sdk-cpp]

123 questions
0
votes
1 answer

Parse json file from AWS S3 with C++ and Jsoncpp

I have this C++ function that downloads S3 files as istreams using the AWS SDK C++: std::istream& s3read(std::string bucket, std::string key) { Aws::Client::ClientConfiguration aws_conf; aws_conf.region =…
Medical physicist
  • 2,510
  • 4
  • 34
  • 51
0
votes
1 answer

AWS SDK: manually install thrid-party tools

Issue Error while build AWD SDK (C++) library. I am trying to build the AWD SDK packages, and getting errors. It seems that something is wrong with the 'automatically download' of third party tools, and the install procedure gets stalled. (maybe my…
Theo
  • 1,385
  • 2
  • 10
  • 19
0
votes
1 answer

Is it possible to listing RDS using C ++? (AWS)

I would like to listing EC2 and RDS using the C ++ AWS SDK. The EC2 listing was successful with an example in the AWS document. However, I can not find an example of an RDS listing. I need help listing RDS in C ++. Is there a good example?
송민석
  • 3
  • 1
0
votes
1 answer

ACCESS DENIED to SQS (createqueue/deletequeue ) via AWS C++ SDK

I am getting following error when i try to create/delete queue using aws-sdk-cpp and aws-sdk-sqs:- error = {m_errorType=ACCESS_DENIED (15) m_exceptionName="AccessDenied" m_message="Access to the resource https://sqs.ap-south-1.amazonaws.com/ is…
AbhiK
  • 247
  • 3
  • 19
0
votes
1 answer

Difference in static linking between aws-sdk-cpp 1.4 and 1.5/1.6 causes mismatch error?

I've got a problem with the Core and S3 libraries and static linking of x64 Windows that I can reproduce in a small console application in Visual Studio 2017 v15.8.4. With the 1.4 libraries (exact versions below) obtained from NuGet, both the x86…
jeffm
  • 3,120
  • 1
  • 34
  • 57
0
votes
1 answer

C language wrapper for AWS SDK C++?

I'd like to use the AWS C++ SDK in a C library. However, the library build only supports C++. Does anyone know if there's a C wrapper for the SDK ? There are far too many methods to easily change the code. Or should I just call the mangled methods…
garyM
  • 802
  • 2
  • 12
  • 29
0
votes
0 answers

aws sdk c++ async http request?

Using AWS C++ SDK, how can I make an asynchronous http request and get my callback executed with the response? There is Aws::Http::HttpClient::MakeRequest but its synchronous.
krl
  • 1
0
votes
0 answers

Gmock object not being passed correctly into async function

I am trying to mock parts of the AWS SDK in C++ for testing. Specifically, I'm mocking a KMSClient and DecryptOutcome object. The MockKMSClient is set to pass in a MockDecryptOutcome into the DecryptResponseReceivedHandler. Here are my mocked…
Oscar Courchaine
  • 346
  • 3
  • 14
0
votes
1 answer

Can aws-sdk-cpp be built for QNX?

The goal is to upload to Amazon S3 from QNX software. Is it possible to target QNX as the build for the aws-sdk-cpp? Initial attempts seem to default to Windows.
cmonkey
  • 4,256
  • 1
  • 26
  • 46
0
votes
1 answer

aws-sdk-cpp simplest Makefile for POC

I'd like to use C++ sdk on my instance using GNU GCC. I am following this page: https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/examples-s3-objects.html and would like to download an object from s3. I will be using GNU GCC compiler. I…
Y. Eman
  • 33
  • 9
0
votes
1 answer

AWS-CPP-SDK download from git fails

I'd like to install the c++ sdk on my ec2 instance. The bash command to do this is given on this page: https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/setup.html "To build the SDK from source" ... "Clone with Git: git clone…
Y. Eman
  • 33
  • 9
0
votes
2 answers

AWS s3 cpp sdk reading more bytes than range specified

Using the AWS s3 cpp sdk we are trying to read froma bucket using the code below. When we specify a small range using Aws::S3::Model::GetObjectRequest object_request; object_request.SetRange(std::to_string(position) + "-" + std::to_string(position +…
flips
  • 308
  • 1
  • 2
  • 16
0
votes
1 answer

Amazon Sqs Queue abstraction

We have started working with Amazon SQS and implemented a queue abstraction with the help of snippets provided in documentation. While I was discovering the AWS SDK source on Github, I've found a class called SQSQueue which is %80 same with our own…
Murat Şeker
  • 1,651
  • 1
  • 16
  • 29
0
votes
1 answer

how to compile aws-sdk-cpp kinesis?

Trying to build a simple kinesis client app using aws-sdk-cpp The problem is that no one seems (not even the AWS website nudge) to have simple examples on kinesis with simple barebones example CMakeLists.txt for kinesis. On top of that, its either…
0
votes
1 answer

ListObjectVersions not behaving as expected (AWS SDK c++)

I am listing all the available versions of a particular key on s3. Two issues: The first 1000 version ids that I obtain are not valid "NoSuchVersion". The remaining version ids work fine. The IsTruncated flag never goes back to false once I loop…
1 2 3
8 9